diff options
Diffstat (limited to '3754/CH12')
-rw-r--r-- | 3754/CH12/EX12.1/12_1.sce | 14 | ||||
-rw-r--r-- | 3754/CH12/EX12.10/12_10.sce | 16 | ||||
-rw-r--r-- | 3754/CH12/EX12.11/12_11.sce | 17 | ||||
-rw-r--r-- | 3754/CH12/EX12.12/12_12.sce | 16 | ||||
-rw-r--r-- | 3754/CH12/EX12.13/12_13.sce | 15 | ||||
-rw-r--r-- | 3754/CH12/EX12.14/12_14.sce | 17 | ||||
-rw-r--r-- | 3754/CH12/EX12.15/12_15.sce | 33 | ||||
-rw-r--r-- | 3754/CH12/EX12.2/12_2.sce | 17 | ||||
-rw-r--r-- | 3754/CH12/EX12.3/12_3.sce | 16 | ||||
-rw-r--r-- | 3754/CH12/EX12.4/12_4.sce | 15 | ||||
-rw-r--r-- | 3754/CH12/EX12.5/12_5.sce | 14 | ||||
-rw-r--r-- | 3754/CH12/EX12.6/12_6.sce | 18 | ||||
-rw-r--r-- | 3754/CH12/EX12.8/12_8.sce | 16 | ||||
-rw-r--r-- | 3754/CH12/EX12.9/12_9.sce | 16 |
14 files changed, 240 insertions, 0 deletions
diff --git a/3754/CH12/EX12.1/12_1.sce b/3754/CH12/EX12.1/12_1.sce new file mode 100644 index 000000000..68e99e189 --- /dev/null +++ b/3754/CH12/EX12.1/12_1.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+I0 = 2 * 10**-7 //Current (in Ampere)
+VF = 0.1 //Forward voltage (in volts)
+
+//Calculation
+
+I = I0 * (exp(40*VF)-1) //Current through diode (in Ampere)
+
+//Result
+
+printf("\n Current throrough diode is %0.2f micro-Ampere.",I*10**6)
diff --git a/3754/CH12/EX12.10/12_10.sce b/3754/CH12/EX12.10/12_10.sce new file mode 100644 index 000000000..24df1a6bf --- /dev/null +++ b/3754/CH12/EX12.10/12_10.sce @@ -0,0 +1,16 @@ +clear//
+
+//Variables
+
+VS = 12.0 //Source coltage (in volts)
+R = 470.0 //Resistance (in ohm)
+
+//Calculation
+
+VD = 0 //Voltage drop across diode (in volts)
+VR = VS //Value of VR (in volts)
+I = VS/R //Current (in Ampere)
+
+//Result
+
+printf("\n Value of VD is %0.3f V.\nValue of VR is %0.3f V.\nCurrent through the circuit is %0.2f mA.",VD,VR,I*10**3)
diff --git a/3754/CH12/EX12.11/12_11.sce b/3754/CH12/EX12.11/12_11.sce new file mode 100644 index 000000000..60ab9ceba --- /dev/null +++ b/3754/CH12/EX12.11/12_11.sce @@ -0,0 +1,17 @@ +clear//
+
+//Variables
+
+VS = 6 //Source voltage (in volts)
+R1 = 330 //Resistance (in ohm)
+R2 = 470 //Resistance (in ohm)
+VD = 0.7 //Diode voltage (in volts)
+
+//Calculation
+
+RT = R1 + R2 //Total Resistance (in ohm)
+I = (VS - 0.7)/RT //Current through the diode
+
+//Result
+
+printf("\n Current through the circuit is %0.3f mA.",I * 10**3)
diff --git a/3754/CH12/EX12.12/12_12.sce b/3754/CH12/EX12.12/12_12.sce new file mode 100644 index 000000000..0e2b05b21 --- /dev/null +++ b/3754/CH12/EX12.12/12_12.sce @@ -0,0 +1,16 @@ +clear//
+
+//Variables
+
+VS = 5 //Source voltage (in volts)
+R = 510 //Resistance (in ohm)
+VF = 0.7 //Forward voltage drop (in volts)
+
+//Calculation
+
+VR = VS - VF //Net voltage (in volts)
+I = VR / R //Current through the diode
+
+//Result
+
+printf("\n Voltage across the resistor is %0.3f V.\nThe circuit current is %0.2f mA.",VR,I*10**3)
diff --git a/3754/CH12/EX12.13/12_13.sce b/3754/CH12/EX12.13/12_13.sce new file mode 100644 index 000000000..39504a76d --- /dev/null +++ b/3754/CH12/EX12.13/12_13.sce @@ -0,0 +1,15 @@ +clear//
+
+//Variables
+
+VS = 6 //Source voltage (in volts)
+VD1=0.7;VD2=0.7;
+R = 1.5 * 10**3 //Resistance (in ohm)
+
+//Calculation
+
+I = (VS - VD1 - VD2)/R //Current (in Ampere)
+
+//Result
+
+printf("\n Total current through the circuit is %0.3f mA." ,I * 10**3)
diff --git a/3754/CH12/EX12.14/12_14.sce b/3754/CH12/EX12.14/12_14.sce new file mode 100644 index 000000000..9b8712960 --- /dev/null +++ b/3754/CH12/EX12.14/12_14.sce @@ -0,0 +1,17 @@ +clear//
+
+//Variables
+
+VS = 12 //Source voltage (in volts)
+R1 = 1.5 * 10**3 //Resistance (in ohm)
+R2 = 1.8 * 10**3 //Resistance (in ohm)
+VD1=0.7;VD2=0.7;
+
+//Calculation
+
+RT = R1 + R2 //Total Resistance (in ohm)
+I = (VS - VD1 - VD2)/RT //Current (in Ampere)
+
+//Result
+
+printf("\n Total current through the circuit is %0.3f mA." ,I * 10**3)
diff --git a/3754/CH12/EX12.15/12_15.sce b/3754/CH12/EX12.15/12_15.sce new file mode 100644 index 000000000..d9f2d2138 --- /dev/null +++ b/3754/CH12/EX12.15/12_15.sce @@ -0,0 +1,33 @@ +clear//
+
+//Variables
+
+R = 3.3 * 10**3 //Resitance (in ohm)
+
+//Calculation
+
+//Case (a)
+
+V11=0;V21=0;
+V01 = 0 //Output Voltage (in volts)
+
+//Case (b)
+
+V21 = 0 //Voltage (in volts)
+V22 = 5 //Voltage (in volts)
+V02 = V22 - 0.7 //Output voltage (in volts)
+
+//Case (c)
+
+V31 = 5 //Voltage (in volts)
+V32 = 0 //Voltages (in volts)
+V03 = V31 - 0.7 //Output voltage (in volts)
+
+//Case (d)
+
+V41=5;V42=5;
+V04 = V41 - 0.7 //Output voltage (in volts)
+
+//Result
+
+printf("\n Output Voltage in case 1 is %0.3f V.\nOutput Voltage in case 2 is %0.3f V.\nOutput Voltage in case 3 is %0.3f V.\nOutput Voltage in case 4 is %0.3f V.",V01,V02,V03,V04)
diff --git a/3754/CH12/EX12.2/12_2.sce b/3754/CH12/EX12.2/12_2.sce new file mode 100644 index 000000000..29041ac35 --- /dev/null +++ b/3754/CH12/EX12.2/12_2.sce @@ -0,0 +1,17 @@ +clear//
+
+//Variables
+
+VF = 0.22 //Forward voltage (in volts)
+T = 298.0 //Temperature (in kelvin)
+I0 = 10**-3 //Current (in Ampere)
+n = 1
+
+//Calculation
+
+VT = T/11600 //Volt equivalent of temperature (in volts)
+I = I0*(exp(VF/(n*VT))-1) //Diode Current (in Ampere)
+
+//Result
+
+printf("\n Diode current is %0.1f A.",I)
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)
diff --git a/3754/CH12/EX12.4/12_4.sce b/3754/CH12/EX12.4/12_4.sce new file mode 100644 index 000000000..564177a98 --- /dev/null +++ b/3754/CH12/EX12.4/12_4.sce @@ -0,0 +1,15 @@ +clear//
+
+//Variables
+
+I300 = 10 * 10**-6 //Current at 300 kelvin (in Ampere)
+T1 = 300 //Temperature (in kelvin)
+T2 = 400 //Temperature (in kelvin)
+
+//Calculation
+
+I400 = I300 * 2**((T2-T1)/10) //Current at 400 kelvin (in Ampere)
+
+//Result
+
+printf("\n Current at 400 k is %0.1f mA.",I400*10**3)
diff --git a/3754/CH12/EX12.5/12_5.sce b/3754/CH12/EX12.5/12_5.sce new file mode 100644 index 000000000..db9955c36 --- /dev/null +++ b/3754/CH12/EX12.5/12_5.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+rb = 2 //bulk resistance (in ohm)
+IF = 12 * 10**-3 //FOrward current (in Ampere)
+
+//Calculation
+
+VF = 0.6 + IF * rb //Voltage drop (in volts)
+
+//Result
+
+printf("\n Voltage drop across a silicon diode is %0.3f V.",VF)
diff --git a/3754/CH12/EX12.6/12_6.sce b/3754/CH12/EX12.6/12_6.sce new file mode 100644 index 000000000..22cf8006b --- /dev/null +++ b/3754/CH12/EX12.6/12_6.sce @@ -0,0 +1,18 @@ +clear//
+
+//Variables
+
+T = 398.0 //Temperature (in kelvin)
+I0 = 30 * 10**-6 //Reverse saturation current (in Ampere)
+V = 0.2 //Voltage (in volts)
+
+//Calculation
+
+VT = T/11600 //Volt equivalent of temperature (in volts)
+I = I0 * (exp(V/VT)-1) //Diode current (in Ampere)
+rac = VT/I0 * exp(-V/VT) //dynamic resistance in forward direction (in ohm)
+rac1 = VT/I0 * exp(V/VT) //dynamic resistance in reverse direction (in ohm)
+
+//Result
+
+printf("\n Dynamic resistance in forward direction is %0.2f ohm.\nDynamic resistance in backward direction is %0.3f Mega-ohm.",rac,rac1/10**6)
diff --git a/3754/CH12/EX12.8/12_8.sce b/3754/CH12/EX12.8/12_8.sce new file mode 100644 index 000000000..2d3e7990d --- /dev/null +++ b/3754/CH12/EX12.8/12_8.sce @@ -0,0 +1,16 @@ +clear//
+
+//Variables
+
+PDmax = 0.5 //power dissipation (in watt)
+VF = 1 //Forward voltage (in volts)
+VBR = 150 //Breakdown voltage (in volts)
+
+//Calculation
+
+IFmax = PDmax/VF //Maximum forward current (in Ampere)
+IR = PDmax/VBR //Breakdwon current that burns out the diode (in Ampere)
+
+//Result
+
+printf("\n Maximum forward current is %0.3f A.\nBreakdwon current that burns out the diode is %0.2f mA.",IFmax,IR*10**3)
diff --git a/3754/CH12/EX12.9/12_9.sce b/3754/CH12/EX12.9/12_9.sce new file mode 100644 index 000000000..77fab8003 --- /dev/null +++ b/3754/CH12/EX12.9/12_9.sce @@ -0,0 +1,16 @@ +clear//
+
+//Variables
+
+R = 330 //Resistance (in ohm)
+VS = 5 //Source voltage (in volts)
+
+//Calculation
+
+VD = VS //Voltage drop across diode (in volts)
+VR = 0 //Voltage drop across the resistance (in volts)
+I = 0 //Current through circuit
+
+//Result
+
+printf("\n Voltage drop across the diode is %0.3f V.\nVoltage drop across the resistance is %0.3f V.\nCurrent through the circuit is %0.3f A.",VD,VR,I)
|