diff options
Diffstat (limited to '3754/CH3/EX3.20')
-rw-r--r-- | 3754/CH3/EX3.20/3_20.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH3/EX3.20/3_20.sce b/3754/CH3/EX3.20/3_20.sce new file mode 100644 index 000000000..9840692d5 --- /dev/null +++ b/3754/CH3/EX3.20/3_20.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+R = 8 //Resistance (in ohm)
+I = 2.5 //Current (in Ampere)
+
+//Calculation
+
+V = I*R //Voltage (in volts)
+
+//Result
+
+printf("\n The maximum safe voltage is %0.3f volts.",V)
|