summaryrefslogtreecommitdiff
path: root/2045/CH12/EX12.10/Ex12_10.sce
blob: 6e99f66386d15bed839a224a922972dfcc0ea84b (plain)
1
2
3
4
5
6
7
8
9
10
11
//pagenumber 557 example 10
clear
re=1*10^3;//ohm
i1=5*10^-3;//ampere

voltag=re*i1+2;
disp("voltage   =   "+string((voltag))+"volt");


disp("this voltage makes to off");