How to solve a nonlinear non-transcendental equation numerically- I have a non-linear non-transcendental equation, I have tried vpasolve function but it does not provide correct roots, do you know how can I find the roots of such an equation? Thanks

2 visualizaciones (últimos 30 días)
(c1-c2*landa^4)*((sinh(landa*L))^2 - (sin(landa*L))^2) - (c1-c2*landa^4)*(cosh(landa*L)+cos(landa*L))^2 + c3*(cosh(landa*L)-cos(landa*L))*(sinh(landa*L)+sin(landa*L)) - (cosh(landa*L)-cos(landa*L))*(sinh(landa*L)+sin(landa*L)) = 0
% ci (c1,c2 c3), are all constant rational numbers, eqation should be solved for 'Landa'
  2 comentarios
Alireza Babaei
Alireza Babaei el 10 de Mzo. de 2020
I mean using vpasolve does not give correct answers ...
so I wasn wondering about the essence of a more generalized apporach for such nonlinear non-trnascendental equations

Iniciar sesión para comentar.

Respuesta aceptada

darova
darova el 10 de Mzo. de 2020
I tried this
clc,clear
c1 = 1;
c2 = 2;
c3 = 3;
L = 5;
syms landa
f = (c1-c2*landa^4)*((sinh(landa*L))^2 - (sin(landa*L))^2) - (c1-c2*landa^4)*(cosh(landa*L)+cos(landa*L))^2 + c3*(cosh(landa*L)-cos(landa*L))*(sinh(landa*L)+sin(landa*L)) - (cosh(landa*L)-cos(landa*L))*(sinh(landa*L)+sin(landa*L));
F = matlabFunction(f);
x = linspace(-1,1)/3;
y = F(x);
[~,ix] = min(abs(y));
plot(x,y,x(ix),y(ix),'*r')
grid on
result

Más respuestas (0)

Categorías

Más información sobre Systems of Nonlinear Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by