blob: 8d9b959a0e4f729f715e63f9ce50827a03d25fbd (
plain)
1
2
3
4
5
6
7
|
// Scilab code Exa6.2.1 : To calculate the kinetic energy of protons : Page 264 (2011)
q = 1; // Number of proton,
V = 800; // Voltage applied to the dome, kV
E = q*V; // The kinetic energy of proton,keV
printf("\nThe kinetic energy of proton : %d keV", E);
// Result
// The kinetic energy of proton : 800 keV
|