diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /215/CH9/EX9.1/ex9_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '215/CH9/EX9.1/ex9_1.sce')
-rwxr-xr-x | 215/CH9/EX9.1/ex9_1.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/215/CH9/EX9.1/ex9_1.sce b/215/CH9/EX9.1/ex9_1.sce new file mode 100755 index 000000000..a20494a10 --- /dev/null +++ b/215/CH9/EX9.1/ex9_1.sce @@ -0,0 +1,18 @@ +//Example 9.1
+//Calculate resistor values for underdamped and overdamped responses
+printf("Given")
+disp('L=10mH and C=100uF')
+L=10*10^-3;C=100*10^-6
+w0=sqrt(1/(L*C))
+printf("w0=%drad/s\n",w0)
+//alpha(a)=1/(2*R*C)
+disp('For an overdamped response')
+disp('a > w0')
+//On solving
+disp('Hence')
+disp('R<5ohm')
+disp('For an underdamped response')
+disp('a < w0')
+//On solving
+disp('Hence')
+disp('R>5ohm')
\ No newline at end of file |