diff options
Diffstat (limited to '3648/CH17/EX17.15')
-rw-r--r-- | 3648/CH17/EX17.15/Ex17_15.sce | 17 | ||||
-rw-r--r-- | 3648/CH17/EX17.15/Ex17_15.txt | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/3648/CH17/EX17.15/Ex17_15.sce b/3648/CH17/EX17.15/Ex17_15.sce new file mode 100644 index 000000000..78a08536b --- /dev/null +++ b/3648/CH17/EX17.15/Ex17_15.sce @@ -0,0 +1,17 @@ +//Example 17_15
+clc();
+clear;
+//To find the terminal potential of each battery
+v=18 //Units in V
+r=9 //Units in Ohms
+i=v/r //Units in A
+r1=0.1 //Units in Ohms
+v1=-i*r1 //Units in V
+v2=24 //Units in V
+v11=v1+v2 //Units in V
+r2=0.9 //Units in Ohms
+v3=i*r2 //Units in V
+v4=6 //Units in V
+v22=v3+v4 //Units in V
+printf("The Potential difference between d to c is=%.1f V",v11)
+printf("\nThe potential difference between b to a is=%.1f V",v22)
diff --git a/3648/CH17/EX17.15/Ex17_15.txt b/3648/CH17/EX17.15/Ex17_15.txt new file mode 100644 index 000000000..4d02765f8 --- /dev/null +++ b/3648/CH17/EX17.15/Ex17_15.txt @@ -0,0 +1,2 @@ +The Potential difference between d to c is=23.8 V
+The potential difference between b to a is=7.8 V
\ No newline at end of file |