summaryrefslogtreecommitdiff
path: root/226/CH21/EX21.4/example4_sce.sce
blob: 6b6788488d9deba79c2ebe1c0138be6e33bd243f (plain)
1
2
3
4
5
6
7
8
9
//chapter 21
//example 21.4
//page 952
printf("\n")
printf("given")
Vcc=5;
N=(3*7)+(1*2)
It=N*10*10^-3
P=It*Vcc