summaryrefslogtreecommitdiff
path: root/3754/CH9/EX9.4/9_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH9/EX9.4/9_4.sce')
-rw-r--r--3754/CH9/EX9.4/9_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH9/EX9.4/9_4.sce b/3754/CH9/EX9.4/9_4.sce
new file mode 100644
index 000000000..4ac151663
--- /dev/null
+++ b/3754/CH9/EX9.4/9_4.sce
@@ -0,0 +1,15 @@
+clear//
+
+//Variables
+
+VS = 12.0 //Source Voltage (in volts)
+VT = 10.0 //Terminal Voltage (in volts)
+RL = 10.0 //Load resistance (in ohm)
+
+//Calculation
+
+RS = RL*(VS / VT - 1) //Internal Resistance (in ohm)
+
+//Result
+
+printf("\n The internal resistance of the source is %0.3f ohm.",RS)