How to solve this equation in Matlab
1 view (last 30 days)
Show older comments
Carlos Galvis Correa
on 3 Dec 2020
Commented: Star Strider
on 5 Dec 2020
Dear All,
Can anyone please let me know how to solve the equation showed in the picture using Matlab, please.
Regards,
Carlos G
0 Comments
Accepted Answer
Star Strider
on 3 Dec 2020
Put everything on the right-hand side, so:
f = @(d) expression - 30.19/d^2;
then use fzero or fsolve or the Symbolic Math Toolbox solve function (since it may have two roots, and with slightly different coding) to evaluate it.
2 Comments
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!