blob: 566e19f1a46f728c0db928006b87974d13d5900b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
//Example 14.11
//Install Symbolic toolbox
//Calculate f(inf)
syms s t ;
disp('Given function is f(t)=1-exp(-a*t)')
u=laplace(1)
v=laplace(exp(-2*t))
F=u-v
x=s*F
//From final value theorem
y=limit(x,s,0)
disp(y,'f(inf)=')
|