summaryrefslogtreecommitdiff
path: root/3845/CH20/EX20.9/Ex20_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH20/EX20.9/Ex20_9.sce')
-rw-r--r--3845/CH20/EX20.9/Ex20_9.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH20/EX20.9/Ex20_9.sce b/3845/CH20/EX20.9/Ex20_9.sce
new file mode 100644
index 000000000..703eeae32
--- /dev/null
+++ b/3845/CH20/EX20.9/Ex20_9.sce
@@ -0,0 +1,10 @@
+//Example 20.9
+V_rms=120;//Rms Voltage (V)
+P_ave=60;//Average power (W)
+V_0=sqrt(2)*V_rms;//Peak voltage (V)
+printf('a.Peak voltage = %0.1f V',V_0)
+P_0=2*P_ave;//Peak power consumption rate, equation got after derivation (W)
+printf('\nb.Peak power consumption rate = %0.1f W',P_0)
+//Answer varies due to round off error
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest