summaryrefslogtreecommitdiff
path: root/3754/CH4/EX4.12/4_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH4/EX4.12/4_12.sce')
-rw-r--r--3754/CH4/EX4.12/4_12.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3754/CH4/EX4.12/4_12.sce b/3754/CH4/EX4.12/4_12.sce
new file mode 100644
index 000000000..038a4e686
--- /dev/null
+++ b/3754/CH4/EX4.12/4_12.sce
@@ -0,0 +1,13 @@
+clear//
+
+//Variables
+
+R1=10;R2=10;
+
+//Calculation
+
+Req = R1*R2 / (R1 + R2) //Equivalent Resistance (in kilo-ohm)
+
+//Result
+
+printf("\n The equivalent resistance is %0.3f kilo-ohm.",Req)