//Example 19.11 E_cap=4*10^2;//Energy stored in capacitor (J) V=1*10^4;//Voltage (V) C=2*E_cap/V^2;//Capacitance (F)\ printf('Capacitance = %0.2e F',C) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest