summaryrefslogtreecommitdiff
path: root/1760/CH1/EX1.37/EX1_37.sce
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.37/EX1_37.sce
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.37/EX1_37.sce')
-rwxr-xr-x1760/CH1/EX1.37/EX1_37.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1760/CH1/EX1.37/EX1_37.sce b/1760/CH1/EX1.37/EX1_37.sce
new file mode 100755
index 000000000..b41e6d73e
--- /dev/null
+++ b/1760/CH1/EX1.37/EX1_37.sce
@@ -0,0 +1,11 @@
+T=2000; //TEMPERATURE
+T1=15; //ROOM TEMPERATURE
+V=220; //VOLTAGE
+P=40; //POWER
+A15=0.005;
+R=V*V/P; //RESISTANCE
+R15=R/(1+A15*(T-T1)); //RESISTANCE AT TIME OF SWITICHING
+I=V/R15; //CURRENT
+disp('i)resistance = '+string (R)+' ohm')
+disp('ii)resistance = '+string (R15)+' ohm')
+disp('iii)current = '+string (I)+' A')