MATLAB Answers

integrating a function using int

1 view (last 30 days)
syms s t d e
y=((0.005659*s^2+0.05206*s+0.004496)/(s^3+9.357*s^2+2.228*s+0.06147))*((27.5084*d)+(27.5084*(e/s)))
z=vpa(ilaplace(y,s,t),5)
x=((0.003013)/(s^3+9.357*s^2+2.228*s+0.06147))*((-20.6533*d)+(-20.6533*(e/s)))
v=vpa(ilaplace(x,s,t),5)
C=z+v
B=sign(C-1)*(C-1)
w=(7.4513/B)
I=int(w,t,0,2000)
i am not getting any output , its been running for over a hour how to resolve this(the integration should only be done w.r.t 't' only and 'd and e' should be remain as they are

Accepted Answer

Walter Roberson
Walter Roberson on 3 Aug 2021
syms s t d e real
y=((0.005659*s^2+0.05206*s+0.004496)/(s^3+9.357*s^2+2.228*s+0.06147))*((27.5084*d)+(27.5084*(e/s)))
z = ilaplace(y,s,t)
You are not going to get anywhere with symbolic integration until you convert the sum of root() into an expression without root() .
Even then you are not likely to get anywhere until you substitute in numeric d and e values.

More Answers (0)

Categories

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!