summaryrefslogtreecommitdiff
path: root/226/CH1/EX1.4
diff options
context:
space:
mode:
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