blob: 8621ef5f7b2b8b329c3e5b7c6971abf20c89699e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
clear;
PC=190 //optical Power generated in mW
I=25*10^-3 //in mA
V=1.5 //in V
//Calculation
P=V/I //Electrical Power
n=PC/P
format("v",5)
disp(n/10,"Power conversion efficiency (%)= ")
//The answer provided in the textbook is wrong
|