diff options
Diffstat (limited to '3754/CH3/EX3.21/3_21.sce')
-rw-r--r-- | 3754/CH3/EX3.21/3_21.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH3/EX3.21/3_21.sce b/3754/CH3/EX3.21/3_21.sce new file mode 100644 index 000000000..250817144 --- /dev/null +++ b/3754/CH3/EX3.21/3_21.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+R = 1.5 * 10**3 //Resistance (in ohm)
+I = 16 * 10**-3 //Current (in Ampere)
+
+//Calculation
+
+V = I*R //Voltage (in volts)
+
+//Result
+
+printf("\n The voltage that must be applied to the relay coil to energize it is %0.3f volts." ,V)
|