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 /3487/CH4/EX4.6 | |
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 '3487/CH4/EX4.6')
-rw-r--r-- | 3487/CH4/EX4.6/Ex4_6.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3487/CH4/EX4.6/Ex4_6.sce b/3487/CH4/EX4.6/Ex4_6.sce new file mode 100644 index 000000000..fc60543fd --- /dev/null +++ b/3487/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,23 @@ +//Chapter 4,Example 4.6 Page 146 +clc +clear +i = 8*10^3 // i(t) +V0 = 8 // V0(t) +I = 8*10^3 // A +rcI = 10^10 // rate of change of current in A/sec +R = 8*10^3 // ohm +RCbyM = i/V0 // R*C/M +t = I/rcI // 1/4 of cycle +T = t*4 +f = 1/T +CR = 5/f +M = CR/RCbyM +C = CR/R +printf (" Time for 1/4 cycle = %e sec \n ",t) +printf (" Full time = %e sec \n ",T) +printf (" f = %e Hz \n ",f) +printf (" M = %e H \n ",M) +printf (" C = %e F \n ",C) +printf (" R = %e Ω \n ",R) + +// Answers may vary due to round off error |