summaryrefslogtreecommitdiff
path: root/3754/CH4/EX4.4/4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH4/EX4.4/4_4.sce')
-rw-r--r--3754/CH4/EX4.4/4_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3754/CH4/EX4.4/4_4.sce b/3754/CH4/EX4.4/4_4.sce
new file mode 100644
index 000000000..174290ccf
--- /dev/null
+++ b/3754/CH4/EX4.4/4_4.sce
@@ -0,0 +1,17 @@
+clear//
+
+//Variables
+
+I = 250 * 10**-3 //Current (in Ampere)
+R = 1.5 * 10**3 //Resistance (in ohm)
+
+//Calculation
+
+Vs = I * R //Source voltage (in volts)
+I1 = 0.75 * I //New current (in Ampere)
+R1 = Vs / I1 //New Resistance (in ohm)
+R2 = R1 - R //Resistance to be added (in ohm)
+
+//Result
+
+printf("\n %0.3f ohm Resistance must be added in order to accomplish the reduction in current.",R2)