diff options
Diffstat (limited to 'Working_Examples/154/CH2/EX2.4/ch2_4.sce')
-rwxr-xr-x | Working_Examples/154/CH2/EX2.4/ch2_4.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Working_Examples/154/CH2/EX2.4/ch2_4.sce b/Working_Examples/154/CH2/EX2.4/ch2_4.sce new file mode 100755 index 0000000..623b4b9 --- /dev/null +++ b/Working_Examples/154/CH2/EX2.4/ch2_4.sce @@ -0,0 +1,17 @@ +clc
+disp("Example 2.4")
+printf("\n")
+printf("Given")
+disp("Current through diode is 30mA")
+//From the table the nearest value is at v=0.74V
+V=0.74;I=28.7*10^-3;
+R=V/I;
+delV=0.75-0.73
+delI=42.7*10^-3-19.2*10^-3
+r=delV/delI
+p=(V*I)*10^3
+printf("\n \n Static resistance is %3.2fohm\n",R)
+printf("Dynamic resistance is %3.2fohm\n",r)
+printf("Power consumption is %3.2fmW\n",p)
+
+
|