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 /2252/CH6/EX6.4 | |
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 '2252/CH6/EX6.4')
-rwxr-xr-x | 2252/CH6/EX6.4/Ex6_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2252/CH6/EX6.4/Ex6_4.sce b/2252/CH6/EX6.4/Ex6_4.sce new file mode 100755 index 000000000..9b1d85eb5 --- /dev/null +++ b/2252/CH6/EX6.4/Ex6_4.sce @@ -0,0 +1,15 @@ +
+//e=100*sin(100*%pi*t)
+//calculating rate of change of voltage at t=.0025 sec
+t=.0025
+r1=10000*%pi*cos(100*%pi*t)
+mprintf("Rate of change of voltage at .0025 sec=%f V/sec\n",r1)
+//calculating rate of change of voltage at t=.005 sec
+t=.005
+r2=10000*%pi*cos(100*%pi*t)
+mprintf("Rate of change of voltage at .005 sec=%d V/sec\n",r2)
+//calculating rate of change of voltage at t=.01 sec
+t=.01
+r3=10000*%pi*cos(100*%pi*t)
+mprintf("Rate of change of voltage at .01 sec=%f V/sec\n",r3)
+//error in textbook answer in first and last case
|