summaryrefslogtreecommitdiff
path: root/3769/CH3/EX3.5/Ex3_5.sce
blob: b67ae03a236c679d4fe8515849087fd93b6e49f3 (plain)
1
2
3
4
5
6
7
8
9
10
clear
//Given
m=9*10**9
q=4*10**-6

//Calculation
V=2*q*m

//Result
printf("\n Electric potential is  %0.3f  *10**3 V", V*10**-3)