//Example 19.4 d=2.5*10^-2;//Distance between plates (m) E=3*10^6;//Maximum electric field (V/m) V_AB=E*d;//Maximum voltage (V) printf('Maximum voltage = %d kV (approx)',V_AB/1000) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest