summaryrefslogtreecommitdiff
path: root/29/CH1/EX1.6.5/exa1_6_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /29/CH1/EX1.6.5/exa1_6_5.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 '29/CH1/EX1.6.5/exa1_6_5.sce')
-rwxr-xr-x29/CH1/EX1.6.5/exa1_6_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/29/CH1/EX1.6.5/exa1_6_5.sce b/29/CH1/EX1.6.5/exa1_6_5.sce
new file mode 100755
index 000000000..254ca960a
--- /dev/null
+++ b/29/CH1/EX1.6.5/exa1_6_5.sce
@@ -0,0 +1,17 @@
+//Caption:initial_value
+// example 1.6.5
+//page 11
+//I(s)=(C*s/(RCs+1))*E(s)
+//given: E(s)=100/s,R=2 megaohm ,C=1 uF
+// so, I(s)=(((1*10^-6)*s)/(2*s+1))*(100/s)
+syms t
+p=poly([0 10^-6],'s','coeff');
+q=poly([1 2],'s','coeff');
+r=poly([0 1],'s','coeff');
+F1=p/q;
+F2=1/r;
+F=F1*F2
+f=ilaplace(F,s,t);
+z=limit(f,t,0);//initial value theorem
+z=dbl(z);
+disp(z,"i(0+)=") \ No newline at end of file