Calculate the hypotenuse of a right triangle without using ^ and sqrt () - MATLAB Cody - MATLAB Central

Problem 43560. Calculate the hypotenuse of a right triangle without using ^ and sqrt ()

Difficulty:Rate

Find out the hypotenuse of right triangle.

Say a = 4, b = 3 then c = 5

Please don't use ^ and sqrt() function.

Solution Stats

53.04% Correct | 46.96% Incorrect
Last Solution submitted on May 03, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
2
4
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers93

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page