From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2252/CH6/EX6.4/Ex6_4.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2252/CH6/EX6.4/Ex6_4.sce (limited to '2252/CH6/EX6.4') 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 -- cgit