diff options
Diffstat (limited to '1592/CH2/EX2.1/example_2_1.sce')
-rwxr-xr-x | 1592/CH2/EX2.1/example_2_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1592/CH2/EX2.1/example_2_1.sce b/1592/CH2/EX2.1/example_2_1.sce new file mode 100755 index 000000000..cbd2edd34 --- /dev/null +++ b/1592/CH2/EX2.1/example_2_1.sce @@ -0,0 +1,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
|