How to get the first Ten Solutions of nonlinear equations

1 visualizzazione (ultimi 30 giorni)
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!!!

Risposte (0)

Tag

Prodotti


Release

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by