summaryrefslogtreecommitdiff
path: root/226/CH3/EX3.7/example7_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH3/EX3.7/example7_sce.sce')
-rwxr-xr-x226/CH3/EX3.7/example7_sce.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/226/CH3/EX3.7/example7_sce.sce b/226/CH3/EX3.7/example7_sce.sce
new file mode 100755
index 000000000..d55f9a9bc
--- /dev/null
+++ b/226/CH3/EX3.7/example7_sce.sce
@@ -0,0 +1,12 @@
+//chapter 3
+//example 3.7
+//page 89
+printf("\n")
+printf("given")
+Vf=.7;Eo=21;Il=40*10^-3;Vp=115;
+Vs=.707*(Vf+Eo);
+printf(" Vrms voltage is %3.3fV\n",Vs)
+Is=3.6*Il;
+printf(" rms current is %3.3fA\n",Is)
+Ip=(Vs*Is)/Vp;
+printf("primary current is %3.3fA\n",Ip) \ No newline at end of file