summaryrefslogtreecommitdiff
path: root/3769/CH2/EX2.14/Ex2_14.sce
blob: fe643358100d05ac7b171a8381824bfffcfc582b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
q=1*10**-6
a=2*10**-2
E=10**5

//Calculation
p=q*a
W=2*p*E

//Result
printf("\n Work done in the rotation is  %0.3f  *10**-3 J", W*10**3)