blob: b58fc907d893b781a04cd20c06c6246f1ab84348 (
plain)
1
2
3
4
5
6
7
|
//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
|