summaryrefslogtreecommitdiff
path: root/3850/CH33/EX33.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH33/EX33.1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3850/CH33/EX33.1')
-rw-r--r--3850/CH33/EX33.1/Ex33_1.sce40
-rw-r--r--3850/CH33/EX33.1/Ex33_1.txt4
2 files changed, 44 insertions, 0 deletions
diff --git a/3850/CH33/EX33.1/Ex33_1.sce b/3850/CH33/EX33.1/Ex33_1.sce
new file mode 100644
index 000000000..527ebc7fc
--- /dev/null
+++ b/3850/CH33/EX33.1/Ex33_1.sce
@@ -0,0 +1,40 @@
+
+//To Calculate the Heat Developed in each of the three resistor
+
+//Example 33.1
+
+clear;
+
+clc;
+
+R1=6;//Resistance of the first resistor
+
+R2=3;//Resistance of the second resistor
+
+Req=R1*R2/(R1+R2);//Equivalent resistance of R1 and R2
+
+R3=1;//Resistance of the third resistor
+
+R=Req+R3;//Equivalent resistance of the circuit
+
+V=9;//Voltage across the battery
+
+i=V/R;//Current through the Circuit
+
+t=60;//Time in seconds
+
+H3=i^2*R3*t;//Heat developed in third resistor
+
+i1=i*R/(R1+R2);//Current through the 6 ohm resistor
+
+H1=i1^2*R1*t;//Heat developed in first resistor
+
+i2=i-i1;//current through the 3 ohm resistor
+
+H2=i2^2*R2*t;//heat developed in Second Resistor
+
+printf("Heat developed in the first resistor=%d J",H1);
+
+printf("\nHeat developed in the second resistor=%d J",H2);
+
+printf("\nHeat developed in the third resistor=%d J",H3);
diff --git a/3850/CH33/EX33.1/Ex33_1.txt b/3850/CH33/EX33.1/Ex33_1.txt
new file mode 100644
index 000000000..c6eaa6f03
--- /dev/null
+++ b/3850/CH33/EX33.1/Ex33_1.txt
@@ -0,0 +1,4 @@
+
+ Heat developed in the first resistor=360 J
+Heat developed in the second resistor=720 J
+Heat developed in the third resistor=540 J \ No newline at end of file