summaryrefslogtreecommitdiff
path: root/3769/CH12/EX12.9/Ex12_9.sce
blob: 7b0fa3f32d9f113e305ccb3594f8c16565f3acdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
g=9.8
h=10
B=1.7*10**-5
l=1               //m

//Calculation
//
v=sqrt(2*g*h)
e=B*l*v

//Result
printf("\n Potential difference between its end is %0.3f  *10**4 V", e*10**4)