How to get the first Ten Solutions of nonlinear equations
3 views (last 30 days)
Show older comments
how to get the only one root of f==0 and the first 10 positive roots of g==0,
and when i change the value of
omega
it will also get the roots,
codes are as this
clc;
clear all;
close all;
g=9.8;
h=20;
hgang=20;
omega=4;
nu=omega^2*hgang/g;
f=(m0)*tanh(m0)-nu;
g=(i*m1)*tanh(i*m1)-nu;
thanks a lot!!!
0 Comments
Answers (0)
See Also
Categories
Find more on Logical 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!