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.3/example3_sce.sce | |
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.3/example3_sce.sce')
-rwxr-xr-x | 226/CH2/EX2.3/example3_sce.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/226/CH2/EX2.3/example3_sce.sce b/226/CH2/EX2.3/example3_sce.sce new file mode 100755 index 000000000..5db024135 --- /dev/null +++ b/226/CH2/EX2.3/example3_sce.sce @@ -0,0 +1,9 @@ +//chapter 2
+//example 2.3
+//page 40
+printf("\n")
+printf("given")
+R1=4.7*10^3;E=15;Vf=.7;
+disp("diode current is E=If*R1+Vf")
+If=((E-Vf)/R1)*10^3;
+printf(" diode current is %3.2fmA\n",If)
\ No newline at end of file |