summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3630/CH3/EX3.2/Ex3_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3630/CH3/EX3.2/Ex3_2.sce b/3630/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..9123673c3
--- /dev/null
+++ b/3630/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,12 @@
+clc;
+//ex3.2
+Vprms=120; //volt
+Vppk=Vprms/0.707; //volt
+Np=5;
+Ns=1;
+Vspk=(Ns/Np)*Vppk; //volt
+Vf=0.7; //volt
+VLpk=Vspk-Vf //volt
+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