summaryrefslogtreecommitdiff
path: root/1592/CH2/EX2.1/example_2_1.sce
blob: cbd2edd34333da121d73fdb9f8ed93698a1c889f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Scilab Code for Example 2.1 of Signals and systems by
//P.Ramakrishna Rao
//Laplace Transform
clear;
clc;
syms t s X
X=laplace(exp(-3*t)*cos(2*%pi*100*t),t,s)
disp('On Simplification')
//After Simplifying the above equation
X=(s+3)/((s+3)^2 + (200*%pi)^2);
disp("Re(s)>-3",X,"X(s)");
//Re(s)>-3