blob: 6c96b69b2cdc2e99c84a25a64aed7ffbda2e36fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Example 4.22
// Computation of overall external efficiency
// Page no 486
clc;
clear;
close;
//Given data
eg=1.43; // Bandgap energy
v=2.5; // Electrical supply Voltage
nd=0.18; // Optical efficiency of laser diode
// Computation of overall external efficiency
ne=(nd*eg/v)*100;
//Display result in the command window
printf("\n Overall external efficiency (percentage)= %0.0f .",ne);
|