summaryrefslogtreecommitdiff
path: root/929/CH3/EX3.2/Example3_2.sce
blob: 609288de18dd76de3c362c2686d4601cb210155e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//Example 3.2

clear;

clc;

printf("\nThe problem requires to find Laplace Transform which is not possible in scilab. Hence standard procedure");

printf("\nfor finding the Integral Transforms has been used")

syms s t;

R=10;

C=40*10^(-6);

L=5*10^(-3);

Hsnum=(R/L)*s;

Hsden=((s^(2))+(R/L)*s+(1/(L*C)));

Hs=Hsnum/Hsden;//Transfer Function

vot=ilaplace(Hs);//Impulse Response of Circuit