summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.39/Ex9_39.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH9/EX9.39/Ex9_39.sce')
-rw-r--r--3769/CH9/EX9.39/Ex9_39.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3769/CH9/EX9.39/Ex9_39.sce b/3769/CH9/EX9.39/Ex9_39.sce
new file mode 100644
index 000000000..d688a77cb
--- /dev/null
+++ b/3769/CH9/EX9.39/Ex9_39.sce
@@ -0,0 +1,15 @@
+clear
+//Given
+R1=1200.0 //ohm
+R2=600 //ohm
+Vab=5 //V
+V=35
+
+//Calculation
+Rp=(R1*R2)/(R1+R2)
+I=Vab/Rp
+pd=V-Vab
+R=pd/I
+
+//Result
+printf("\n value of unknown resistance is %0.3f ohm", R)