summaryrefslogtreecommitdiff
path: root/275/CH1/EX1.1.76/Ch1_1_76.sce
blob: 363fe647d80fb06aa15c6d07d7fa21daca83e3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
disp("Example 1.76")
printf("\n")
disp("Find the diode current and power dissipation")
Vdc=12
Vz=4.3  //zener voltage
R=820
Iz=(Vdc-Vz)/R
Pd=Vz*Iz
printf("the diode current=\n%f ampere\n",Iz)
printf("the power dissipation=\n%f watt\n",Pd)