How to put square root numbers into Matlab?

56 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.
Thanks,
Aparajith

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!