summaryrefslogtreecommitdiff
path: root/3754/CH3/EX3.26/3_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH3/EX3.26/3_26.sce')
-rw-r--r--3754/CH3/EX3.26/3_26.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH3/EX3.26/3_26.sce b/3754/CH3/EX3.26/3_26.sce
new file mode 100644
index 000000000..7ee91e2c4
--- /dev/null
+++ b/3754/CH3/EX3.26/3_26.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+P = 36.0 //Power consumed (in watt)
+V = 230.0 //Voltage (in volts)
+
+//Calculation
+
+I = P/V //Current (in Ampere)
+
+//Result
+
+printf("\n Current through filament is %0.3f A.",I)