MATLAB Answers

How to put square root numbers into Matlab?

8 views (last 30 days)
How do I put: 7 sqrt(2)/2 so that it equals 4.9497?

Accepted Answer

Aparajith Raghuvir
Aparajith Raghuvir on 7 Jun 2021
Hello Ryan,
There are 2 ways to go about it. One possible way is:
7 * sqrt(2) / 2
Another possible and more general way to compute any x to the power of y is
7 * 2^0.5 / 2
Hope this helps.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by