diff options
Diffstat (limited to '1991/CH7/EX7.7')
-rwxr-xr-x | 1991/CH7/EX7.7/7.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1991/CH7/EX7.7/7.sce b/1991/CH7/EX7.7/7.sce new file mode 100755 index 000000000..1bc46b3ca --- /dev/null +++ b/1991/CH7/EX7.7/7.sce @@ -0,0 +1,10 @@ +clc
+clear
+//input
+l1=82.3//balance length with switch open
+l2=75.8//balance length with switch closed
+R=9//resistance
+//calculation
+r=(R*l1/l2)-R//internal resistance
+//output
+printf("the internal resistence is %3.3f ohm",r)
|