How to put square root numbers into Matlab?

 Akzeptierte Antwort

Aparajith Raghuvir
Aparajith Raghuvir am 7 Jun. 2021

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by