summaryrefslogtreecommitdiff
path: root/3828/CH13/EX13.3/Ex13_3.sce
blob: 4941e30361ad2c2f462beb519503f24869856128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Chapter 13 : Thin Film Preparation Techniques and their Applications

clear;

//Variable declaration
Pmax=21*10**-3        //maximum power output
Isc=100*10**-3        //short circuit voltage
Voc=500*10**-3        //open circuit voltage
Pin=35*10**-3         //Power input
A=4                   //area of solar cell

//Calculations
Fill_Factor=Pmax/(Isc*Voc)
n=(Pmax/(Pin*A))*100

//Result
mprintf("Fill factor = %.2f",Fill_Factor)
mprintf("\nPercentage of efficieny = %d percent",n)    

//The answer provided in the textbook is wrong