summaryrefslogtreecommitdiff
path: root/3754/CH3/EX3.32/3_32.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH3/EX3.32/3_32.sce')
-rw-r--r--3754/CH3/EX3.32/3_32.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH3/EX3.32/3_32.sce b/3754/CH3/EX3.32/3_32.sce
new file mode 100644
index 000000000..253b5ced0
--- /dev/null
+++ b/3754/CH3/EX3.32/3_32.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+R = 36.0 //Resistance (in ohm)
+V = 230.0 //Voltage (in volts)
+
+//Calculation
+
+P = V**2/R //Power (in watt)
+
+//Result
+
+printf("\n Power rating is %0.3f kW.",P/1000)