diff options
Diffstat (limited to '3754/CH4/EX4.2/4_2.sce')
-rw-r--r-- | 3754/CH4/EX4.2/4_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH4/EX4.2/4_2.sce b/3754/CH4/EX4.2/4_2.sce new file mode 100644 index 000000000..9958b1f77 --- /dev/null +++ b/3754/CH4/EX4.2/4_2.sce @@ -0,0 +1,15 @@ +clear//
+
+//Variables
+
+R1 = 4 //Resistance (in kilo-ohm)
+R2 = 6 //Resistance (in kilo-ohm)
+R3 = 2 //Resistance (in kilo-ohm)
+
+//Calculation
+
+R = R1 + R2 + R3 //Equivalent Resistance(in kilo-ohm)
+
+//Result
+
+printf("\n Equivalent Resistance is %0.3f kilo-ohm." ,R)
|