diff options
Diffstat (limited to '3809/CH19')
-rw-r--r-- | 3809/CH19/EX19.1/EX19_1.sce | 17 | ||||
-rw-r--r-- | 3809/CH19/EX19.2/EX19_2.sce | 18 |
2 files changed, 35 insertions, 0 deletions
diff --git a/3809/CH19/EX19.1/EX19_1.sce b/3809/CH19/EX19.1/EX19_1.sce new file mode 100644 index 000000000..7150b8542 --- /dev/null +++ b/3809/CH19/EX19.1/EX19_1.sce @@ -0,0 +1,17 @@ +//Chapter 19, Example 19.1 + +clc +//Initialisation +r3=1.222*10**3 //resistance in ohm +r4=1*10**3 //resistance in ohm +v1=0.7 //voltage +vz=4.7 + +//Calculation +vo=(vz+v1)*((r3+r4)/r4) //Output Voltage + + +//Results +printf("Output Voltage Vo = %d V",round(vo)) + + diff --git a/3809/CH19/EX19.2/EX19_2.sce b/3809/CH19/EX19.2/EX19_2.sce new file mode 100644 index 000000000..1591db671 --- /dev/null +++ b/3809/CH19/EX19.2/EX19_2.sce @@ -0,0 +1,18 @@ +//Chapter 19, Example 19.2 + +clc +//Initialisation +rl=5 //resistance in ohm +vo=10 //Output Voltage +vi=15 //input voltage + +//Calculation +io=vo/rl //current in ampere +po=vo*io //power delivered to load +pt=(vi-vo)*io //power delivered to output transistor + + +//Results +printf("Output Power on Load Po = %d W\n",round(po)) +printf("Output Power on O/P Transistor Pt = %d W",round(pt)) + |