Post Reply 
Missing solution for exponential equation
10-01-2018, 11:45 PM (This post was last modified: 10-01-2018 11:51 PM by rushfan.)
Post: #1
Missing solution for exponential equation
The peak response of an underdamped second order system is:

Mpt = 1 + e^((-z*pi)/sqrt(1-z^2))

Where Mpt is real.

For Mpt = 5, the command:
solve( 5 = 1 + e^((-z*pi)/sqrt(1-z^2)) ,z)

Returns:

[Image: 3shiKA2.png]

Which is only the negative result. The same happens in the Solve app, I only get the negative result.

The same code in matlab:

clc; syms z;
eqn = 5 == 1+ exp((-z*pi)/sqrt(1-z^2));
vpa(solve(eqn,z))

produces:

ans =
0.40371275194342068038575605143555
-0.40371275194342068038575605143555
Find all posts by this user
Quote this message in a reply
10-02-2018, 01:02 AM
Post: #2
RE: Missing solution for exponential equation
Try both answers from matlab in your expression. :-)

Prime, 15C CE
Find all posts by this user
Quote this message in a reply
10-02-2018, 03:02 AM
Post: #3
RE: Missing solution for exponential equation
What is inside e^(...) must be positive, so (-z*pi)/sqrt(1-z^2) > 0, this imply z < 0

Matlab positive z is a mistake. (Probably just return solved quadratic roots)
Find all posts by this user
Quote this message in a reply
10-02-2018, 05:36 AM
Post: #4
RE: Missing solution for exponential equation
Xcas 1, Matlab 0 :-)
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)