summaryrefslogtreecommitdiff
path: root/226/CH2/EX2.9/example9_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /226/CH2/EX2.9/example9_sce.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 '226/CH2/EX2.9/example9_sce.sce')
-rwxr-xr-x226/CH2/EX2.9/example9_sce.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/226/CH2/EX2.9/example9_sce.sce b/226/CH2/EX2.9/example9_sce.sce
new file mode 100755
index 000000000..d7a3adee4
--- /dev/null
+++ b/226/CH2/EX2.9/example9_sce.sce
@@ -0,0 +1,14 @@
+//chapter 2
+//example 2.9
+//page 48
+printf("\n")
+printf("given")
+P1=700*10^-3;Vf=.7;
+//at 25C
+If=P1/Vf;
+disp("If")
+//at 65C
+D=5*10^-3;T=65-25;
+P2=P1-D*T
+If=P2/Vf;
+printf( "maximum forward current at 65C is %3.3fA\n",If) \ No newline at end of file