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.5 | |
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.5')
-rw-r--r-- | 3487/CH4/EX4.5/Ex4_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3487/CH4/EX4.5/Ex4_5.sce b/3487/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..8750d4122 --- /dev/null +++ b/3487/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,15 @@ +//Chapter 4,Example 4.5 Page 146 +clc +clear +V1 = 150*10^3 // V +PD = 1200 // potential divider ratio +I = 10^-6 // A +t = 8 // sec +V = V1/PD +R = V/I +C = t*10^6/R +printf (" V = %f V \n ",V) +printf (" R = %f M Ω \n ",R*10^-6) +printf (" C = %f μF \n ",C) + +// Answers provided in the textbook are wrong |