diff options
Diffstat (limited to '3648/CH17/EX17.10')
-rw-r--r-- | 3648/CH17/EX17.10/Ex17_10.sce | 17 | ||||
-rw-r--r-- | 3648/CH17/EX17.10/Ex17_10.txt | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/3648/CH17/EX17.10/Ex17_10.sce b/3648/CH17/EX17.10/Ex17_10.sce new file mode 100644 index 000000000..17a4b7dc7 --- /dev/null +++ b/3648/CH17/EX17.10/Ex17_10.sce @@ -0,0 +1,17 @@ +//Example 17_10
+clc();
+clear;
+//To find the current in battery
+r1=3 //Units in Ohms
+r2=6 //Units in Ohms
+ra=(r1*r2)/(r1+r2) //Units in Ohms
+r3=2 //Units in Ohms
+r4=4 //Units in Ohms
+rb=r3+r4 //Units in Ohms
+r5=6 //Units in Ohms
+rc=(r5*rb)/(r5+rb) //Units in Ohms
+r6=9 //Units in Ohms
+r=r6+rc //Units in Ohms
+v=6 //Units in V
+i=v/r //Units in Ohms
+printf("The current in battery is I=%.2f A",i)
diff --git a/3648/CH17/EX17.10/Ex17_10.txt b/3648/CH17/EX17.10/Ex17_10.txt new file mode 100644 index 000000000..d72bd3dcf --- /dev/null +++ b/3648/CH17/EX17.10/Ex17_10.txt @@ -0,0 +1 @@ +The current in battery is I=0.50 A
\ No newline at end of file |