From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 226/CH2/EX2.3/example3_sce.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 226/CH2/EX2.3/example3_sce.sce (limited to '226/CH2/EX2.3/example3_sce.sce') 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 -- cgit