potential_energy
Calculates electrostatic potential energy using the formula U = qV, where U is energy, q is charge, and V is voltage. (cost: 1 credit)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charge | No | number, required, electric charge, coulombs (C), no default | |
| voltage | No | number, required, electric potential difference, volts (V), no default |