How to get the first Ten Solutions of nonlinear equations

4 Ansichten (letzte 30 Tage)
dcydhb dcydhb
dcydhb dcydhb am 12 Mai 2019
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!!!

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by