summaryrefslogtreecommitdiff
path: root/3769/CH6/EX6.18/Ex6_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH6/EX6.18/Ex6_18.sce')
-rw-r--r--3769/CH6/EX6.18/Ex6_18.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3769/CH6/EX6.18/Ex6_18.sce b/3769/CH6/EX6.18/Ex6_18.sce
new file mode 100644
index 000000000..c83e5edc9
--- /dev/null
+++ b/3769/CH6/EX6.18/Ex6_18.sce
@@ -0,0 +1,20 @@
+clear
+//Given
+AB=600 //cm
+AC=500.0 //cm
+l=40*10**-3 //A
+E=2
+r=10
+
+//Calculation
+R=2*AB/(AC*l)
+K=2/AC
+AC1=AC-r
+pd=K*AC1
+Iv=(E-pd)/r
+R1=pd/Iv
+
+//Result
+printf("\n (i) The resistance of the whole wire is %0.3f ohm", R)
+printf("\n (ii) Reading of voltmeter is %0.3f V", pd)
+printf("\n (iii) Resistance of the voltmeter is %0.3f ohm",R1)