summaryrefslogtreecommitdiff
path: root/1760/CH1/EX1.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1760/CH1/EX1.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1760/CH1/EX1.5')
-rwxr-xr-x1760/CH1/EX1.5/EX1_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1760/CH1/EX1.5/EX1_5.sce b/1760/CH1/EX1.5/EX1_5.sce
new file mode 100755
index 000000000..0687a896a
--- /dev/null
+++ b/1760/CH1/EX1.5/EX1_5.sce
@@ -0,0 +1,11 @@
+ //EXAMPLE 1-5 PG NO-19
+V1=230; //VOLTAGE ONE
+P1=1000; //POWER
+R=V1*V1/P1; //RESISTANCE OF HEATER
+V2=210; //VOLTAGE TWO
+P2=V2*V2/R; //POWER OF HEATER WHEN VOLTAGE IS 210
+R=(V1*V1)/P1 //Resistance
+disp('i)RESISTANCE = '+string (R)+' ohm');
+P2=(V2*V2)/R; //Power
+disp('ii)POWER = '+string (P2)+' ohm');
+