summaryrefslogtreecommitdiff
path: root/2045/CH13/EX13.1/Ex13_1.sce
blob: 09628761a7f8e788dbded7342fe8db839336f2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
//pagenumber 578 example 1
clear
quanti=3*10^17;
voltag=10*10^3;//volt
distan=40*10^-3;//metre per minute
w=quanti*1.6*10^-19*voltag
w=w/60;//per second


disp("power to electrons   =   "+string((w))+"watts");