summaryrefslogtreecommitdiff
path: root/3769/CH13/EX13.8/Ex13_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH13/EX13.8/Ex13_8.sce')
-rw-r--r--3769/CH13/EX13.8/Ex13_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH13/EX13.8/Ex13_8.sce b/3769/CH13/EX13.8/Ex13_8.sce
new file mode 100644
index 000000000..098d48707
--- /dev/null
+++ b/3769/CH13/EX13.8/Ex13_8.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+E0=250 //V
+I0=10 //A
+
+//Calculation
+P=E0*I0
+P1=P/2.0
+
+//Result
+printf("\n (i) Peak power is %0.3f W", P)
+printf("\n (ii) Average power is %0.3f W",P1)