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
 rushfan Junior Member Posts: 22 Joined: May 2017
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:

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
10-02-2018, 01:02 AM
Post: #2
 chromos Member Posts: 184 Joined: Jun 2015
RE: Missing solution for exponential equation

Geocaching Coords Solver, Number of triangles Puzzle
10-02-2018, 03:02 AM
Post: #3
 Albert Chan Senior Member Posts: 913 Joined: Jul 2018
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)
10-02-2018, 05:36 AM
Post: #4
 parisse Senior Member Posts: 1,103 Joined: Dec 2013
RE: Missing solution for exponential equation
Xcas 1, Matlab 0 :-)
 « Next Oldest | Next Newest »

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