diff options
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
|