summaryrefslogtreecommitdiff
path: root/3769/CH3/EX3.1/Ex3_1.sce
blob: ec7c83e5e1ea1b29c4b030065fbf1aa1008698b6 (plain)
1
2
3
4
5
6
7
8
9
10
clear
//Given
q=300*10**-6                   //c
V=6

//Calculation
W=q*V

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