blob: 28d187361510c4e3bd8e6f691ba6249c3bdf62ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Example 3-2, page 63
clear;clc; close;
// Given data
v=1.2; // diode voltage in volts
i=1.75; // diode current in amperes
P(1)=5;// power rating in watts
// Calculations
P(2)=v*i; // power dissipation
disp("Watts",P(2),"Power dissipation")
// Result
// As power dissipation is lower than power rating the diode will not get destroyed.
|