diff options
Diffstat (limited to '3754/CH12/EX12.3/12_3.sce')
-rw-r--r-- | 3754/CH12/EX12.3/12_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH12/EX12.3/12_3.sce b/3754/CH12/EX12.3/12_3.sce new file mode 100644 index 000000000..754b0f39b --- /dev/null +++ b/3754/CH12/EX12.3/12_3.sce @@ -0,0 +1,16 @@ +clear//
+
+//Variables
+
+I1 = 0.5 * 10**-3 //Diode current1 (in Ampere)
+V1 = 340 * 10**-3 //Voltage1 (in volts)
+I2 = 15 * 10**-3 //Diode current2 (in Ampere)
+V2 = 440 * 10**-3 //Voltage2 (in volts)
+
+//Calculation
+
+n = 4/log(30) //By solving both the given equations
+
+//Result
+
+printf("\n Value of n is %0.2f .",n)
|