Find fractional exp. root

2 views (last 30 days)
Emre
Emre on 13 Feb 2024
Edited: the cyclist on 13 Feb 2024
How can I find root of this ? . 1/s + 1/s+3 + 1/s+10 = 0

Accepted Answer

the cyclist
the cyclist on 13 Feb 2024
Edited: the cyclist on 13 Feb 2024
I assume your equation is
1/s + 1/(s+3) + 1/(s+10) = 0
There are a couple different ways:
% With the Symbolic Math Toolbox
syms s
solve(1/s + 1/(s+3) + 1/(s+10))
ans = 
% Numerically in base MATLAB. (Required multiplying through by the
% denominator terms, to get the coefficients.)
roots([3 26 30])
ans = 2x1
-7.2961 -1.3706
Also, you didn't really MATLAB here. Just the quadratic formula.

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!