summaryrefslogtreecommitdiff
path: root/3845/CH33/EX33.2/Ex33_2.sce
blob: 55887eda667e0f51de33c0b326ff87bc9e5d1963 (plain)
1
2
3
4
5
6
7
8
//Example 33.2
//V_gap=Sum of gap voltages/Number of gaps
//Sum of gap voltages=800MV, since to produce a 800MeV proton beam, the proton gains 1eV per volt across each gap it passes through
//Number of gaps=2000
V_gap=800*10^6/2000;
printf('The average voltage to be applied between the tubes = %d kV',V_gap/1000)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest