diff options
Diffstat (limited to '3754/CH9/EX9.1')
-rw-r--r-- | 3754/CH9/EX9.1/9_1.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3754/CH9/EX9.1/9_1.sce b/3754/CH9/EX9.1/9_1.sce new file mode 100644 index 000000000..3bffbcffe --- /dev/null +++ b/3754/CH9/EX9.1/9_1.sce @@ -0,0 +1,18 @@ +clear//
+
+//Variables
+
+V = 1.5 //Source Voltage (in volts)
+RS = 0.2 //Resistance (in ohm)
+RL = 1 //Load Resistance (in ohm)
+
+//Calculation
+
+RT = RS + RL //Total Resistance (in ohm)
+I = V / RT //Current (in Ampere)
+VAB = I * RL //Voltage drop across AB (in volts)
+VR = V - VAB //Voltage drop due to internal resistance (in volts)
+
+//Result
+
+printf("\n Voltage drop across internal resistance is %0.3f volts.",VR)
|