diff options
Diffstat (limited to '1733/CH2/EX2.15/2_15.sce')
-rwxr-xr-x | 1733/CH2/EX2.15/2_15.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1733/CH2/EX2.15/2_15.sce b/1733/CH2/EX2.15/2_15.sce new file mode 100755 index 000000000..b281ac419 --- /dev/null +++ b/1733/CH2/EX2.15/2_15.sce @@ -0,0 +1,8 @@ +//2.15
+clc;
+Vm=230*2^0.5;
+Vo=2*Vm/%pi;
+Idc=Vo/10;
+printf("dc output voltage = %.2f V", Vo )
+Pdc=Idc*Vo;
+printf("\ndc power = %.2f W", Pdc )
|