summaryrefslogtreecommitdiff
path: root/2075/CH5/EX5.2/pe5_2.sce
blob: 37dbd81a8f3894f838380950196c05aa4b391103 (plain)
1
2
3
4
5
6
7
8
9
//example 5.2
clc; funcprot(0);
// Initialization of Variable
V=4.5;//voltage
T=25;//degreeC
Id=3.8;
disp(Id,"drain current in A:")
printf('Vth=4V is assumed')
clear()