diff options
Diffstat (limited to '1964/CH4/EX4.24')
-rwxr-xr-x | 1964/CH4/EX4.24/ex4_24.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1964/CH4/EX4.24/ex4_24.sce b/1964/CH4/EX4.24/ex4_24.sce new file mode 100755 index 000000000..72b8da676 --- /dev/null +++ b/1964/CH4/EX4.24/ex4_24.sce @@ -0,0 +1,15 @@ +//Chapter-4, Example 4.24, Page 148
+//=============================================================================
+clc
+clear
+//CALCULATIONS
+//e1=230*sin(100*%pi*t)
+C=20*10^-6;//capacitance in F
+//e2=230*sin(700*%pi*t)
+Vm1=230;//peak voltage for e1
+Vm2=35;//peak voltage for e2
+I1=Vm1*(100*%pi*C)/(sqrt(2));//current due to component e1
+I2=Vm2*(700*%pi*C)/(sqrt(2));//current due to component e2
+mprintf("thus current due to component e1 and e2 are %1.2fA and %1.2fA respectively",I1,I2);
+//=================================END OF PROGRAM======================================================================================================
+
|