summaryrefslogtreecommitdiff
path: root/3754/CH3/EX3.33/3_33.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH3/EX3.33/3_33.sce')
-rw-r--r--3754/CH3/EX3.33/3_33.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH3/EX3.33/3_33.sce b/3754/CH3/EX3.33/3_33.sce
new file mode 100644
index 000000000..5e574355e
--- /dev/null
+++ b/3754/CH3/EX3.33/3_33.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+P = 36 //Power (in watt)
+V = 230.0 //Voltage (in volts)
+
+//Calculation
+
+R = V**2/P //Resistance (in ohm)
+
+//Result
+
+printf("\n Resistance of the heating element is %0.0f ohm.",R)