summaryrefslogtreecommitdiff
path: root/3543/CH4/EX4.23/Ex4_23.sce
blob: 157821ccbc8b9c5008c1bdc56e16de68fa4db0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Example 4.23  
// Calculation of overall external efficiency of a Laser diode
// Page no 486

clc;
clear;
close;

//Given data
eg=1.43;            // Bandgap energy
v=2.5;              // Voltage applied
nd=0.30;            // Optical efficiency of laser diode

//// Overall external efficiency 
ne=(nd*eg/v)*100;   

//Display result in the command window
printf("\n Overall external efficiency (percentage)= %0.0f .",ne);