summaryrefslogtreecommitdiff
path: root/226/CH1/EX1.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH1/EX1.4
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 '226/CH1/EX1.4')
-rwxr-xr-x226/CH1/EX1.4/example4_sce.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/226/CH1/EX1.4/example4_sce.sce b/226/CH1/EX1.4/example4_sce.sce
new file mode 100755
index 000000000..6ff9fa5b0
--- /dev/null
+++ b/226/CH1/EX1.4/example4_sce.sce
@@ -0,0 +1,15 @@
+//chapter 1
+// eaxample 1.4
+//page 26
+printf("\n")
+printf("given")
+T1=25;T2=35;T3=45;
+I0=30//nA
+disp("I0(35)=I0*2^(T2-T1)/10")
+//on solving
+I0(35)=I0*2^((T2-T1)/10);
+printf("current at 35c is %dnA\n",I0(35))
+disp("I0(45)=I0*2^(T3-T1)/10")
+//on solving
+I0(45)=30*2^2;
+printf("current at 45c is %dnA\n",I0(45)) \ No newline at end of file