summaryrefslogtreecommitdiff
path: root/46/CH7/EX7.1/Example7_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /46/CH7/EX7.1/Example7_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '46/CH7/EX7.1/Example7_1.sce')
-rwxr-xr-x46/CH7/EX7.1/Example7_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/46/CH7/EX7.1/Example7_1.sce b/46/CH7/EX7.1/Example7_1.sce
new file mode 100755
index 000000000..088c1ca88
--- /dev/null
+++ b/46/CH7/EX7.1/Example7_1.sce
@@ -0,0 +1,15 @@
+//Example 7.1
+clc
+s=%s;
+tau1=0.5;
+tau2=1;
+R2=1;
+//From Eq.(7.8)
+g=R2/((tau1*s+1)*(tau2*s+1))
+disp(g,'H2(s)/Q(s)=')
+Qs=1/s;
+H2s=g*Qs;
+disp(H2s,'H2(s)=')
+syms t;
+H2t=ilaplace(H2s,s,t);
+disp(H2t,'H2(t)=') \ No newline at end of file