diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /226/CH2/EX2.5 | |
download | Scilab-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.5')
-rwxr-xr-x | 226/CH2/EX2.5/example5_sce.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/226/CH2/EX2.5/example5_sce.sce b/226/CH2/EX2.5/example5_sce.sce new file mode 100755 index 000000000..4c925b7c8 --- /dev/null +++ b/226/CH2/EX2.5/example5_sce.sce @@ -0,0 +1,12 @@ +//chapter 2
+//example 2.5
+//page 41
+printf("\n")
+printf("given")
+E=1.5;Vf=.7;R1=10;rd=.25;
+disp("a)")
+If=(E-Vf)/R1;
+printf(" forward current is %3.3fmA\n",If)
+disp("b)")
+If=(E-Vf)/(R1+rd);
+printf(" forward current is %3.3fmA\n",If)
\ No newline at end of file |