summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3630/CH3/EX3.4/Ex3_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3630/CH3/EX3.4/Ex3_4.sce b/3630/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..43d874e3a
--- /dev/null
+++ b/3630/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,15 @@
+clc;
+//ex3.4
+Vprms=120; //volt
+Vppk=Vprms/0.707; //volt
+Ns=1;
+Np=3;
+Vspk=(Ns/Np)*Vppk; //volt
+Vf=0.7; //volt
+VLpk=Vspk-Vf; //volt
+RL=10000; //ohm
+ILpk=VLpk/RL; //Ampere
+disp('V',Vppk,"Vppk="); //The answers vary due to round off error
+disp('V',Vspk,"Vspk="); //The answers vary due to round off error
+disp('V',VLpk,"VLpk="); //The answers vary due to round off error
+disp('mA',ILpk*1000,"ILpk="); //The answers vary due to round off error