summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.12/Ex3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH3/EX3.12/Ex3_12.sce')
-rw-r--r--3630/CH3/EX3.12/Ex3_12.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3630/CH3/EX3.12/Ex3_12.sce b/3630/CH3/EX3.12/Ex3_12.sce
new file mode 100644
index 000000000..2eabf8d87
--- /dev/null
+++ b/3630/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,13 @@
+clc;
+//ex3.12
+Vac=12; //volt
+Vspk=Vac/0.707; //volt
+Vf=0.7; //volt
+Vlpk=(Vspk/2)-Vf; //volt
+Vave=(2*Vlpk)/%pi; //volt
+RL=120; //ohm
+Iave=Vave/RL; //Ampere
+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('V',Vave,"Vave="); //The answers vary due to round off error
+disp('mA',Iave*1000,"Iave="); //The answers vary due to round off error