diff options
Diffstat (limited to '2672/CH6/EX6.17/Ex6_17.sce')
-rwxr-xr-x | 2672/CH6/EX6.17/Ex6_17.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2672/CH6/EX6.17/Ex6_17.sce b/2672/CH6/EX6.17/Ex6_17.sce new file mode 100755 index 000000000..8d22faa7a --- /dev/null +++ b/2672/CH6/EX6.17/Ex6_17.sce @@ -0,0 +1,16 @@ +//Example 6_17
+clc;
+clear;
+close;
+format('v',5);
+//given data :
+RL=3.15;//kohm
+rf=20;//ohm
+//v=230*sin(314*t)
+Vm=230;//V
+f=50;//Hz
+Irms=0.707*Vm/(rf+RL*1000);//A
+Im=Vm/(rf+RL*1000);//A
+Idc=0.637*Im
+Gamma=sqrt((Irms/Idc)^2-1);//Ripple factor
+disp(Gamma,"Ripple factor : ");
|