summaryrefslogtreecommitdiff
path: root/3755/CH9/EX9.1/Ex9_1.sce
blob: c7190219d695b6039b3ab229e36ee44c447564ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//
//

//Variable declaration    
I0=0.3;     //current(micro A)
V=0.15;      //voltage(V)

//Calculations
I=I0*(exp(40*V)-1);      //value of current(micro A)

//Result
printf("\n value of current is %0.2f micro A",I)