Solution of one variable parametric equation

1 visualizzazione (ultimi 30 giorni)
Dear colleagues,
I have an equation of the form x=c.tanh(a.x), where a and c are constants. I may ask for your kind suggestions to find the solution of equation.
Best regards, Imran

Risposta accettata

Torsten
Torsten il 24 Ott 2016
a=...;
c=...;
f=@(x)(x-c*tanh(a*x));
sol=fzero(f,1);
sol
By the way: x=0 is a solution.
Best wishes
Torsten.
  1 Commento
Muhammad Imran
Muhammad Imran il 24 Ott 2016
Dear Torsten,
Thank you for your quick response!
I achieve the roots of equation near to what I expect. Here, I presented very simple form of equation, the actual equation is rather quite complex.
Best regards, Imran

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by