A Joule in Ergs
Q. The erg is the unit of work in grams, centimetres and seconds. How many ergs make a jouleJ?
Inputs
Outputs
ergs?
How it's solved
Solved with Dimensions
Given
- J
Find .
Working
- Jerg
- ergto 1 significant figure
Conclusion
To change the units of a derived quantity, change each base unit in it, raised to the power its dimensions give it. Work is [M L² T⁻²], so the gram counts once and the centimetre twice.
The web of concepts
given read from the words equation asked
The Ruby that solves it
The question and its solution are small Ruby files. The engine runs them.
1require_relative "../physics"23question :a_joule_in_ergs do4 kind :numerical5 describes "The erg is the unit of work in grams, centimetres and seconds. %{ergs} %{joule}?"6 given joule: "1 J", as: "a joule"7 asks ergs: "How many ergs make"8end1require_relative "../questions/a_joule_in_ergs"2require_relative "../science/units_and_measurement/dimensions"34solve :a_joule_in_ergs, using: Dimensions do5 take joule: :W6 take ergs: :W7 answer find_value(:ergs, in: "erg", figures: 1)89 conclusion "To change the units of a derived quantity, change each base unit in it, raised to " \10 "the power its dimensions give it. Work is [M L² T⁻²], so the gram counts once and " \11 "the centimetre twice."12endplayground.rb
1require_relative "../solutions/a_joule_in_ergs"23play_with :a_joule_in_ergs do4 title "A Joule in Ergs"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| speed of light | m/s | — | Units | |
| avogadro constant | mol⁻¹ | — | Units | |
| length | m | 0 … ∞ | Units | |
| mass | kg | — | Units | |
| time | s | 0 … ∞ | Units | |
| electric current | A | — | Units | |
| temperature | K | — | Units | |
| amount of substance | mol | — | Units | |
| luminous intensity | cd | — | Units | |
| arc length | m | — | Units | |
| radius | m | 0 … ∞ | Units | |
| plane angle | — | — | Units | |
| area | m² | — | Units | |
| solid angle | — | — | Units | |
| light time | s | — | Units | |
| light distance | m | — | Units | |
| number of entities | — | — | Units | |
| baseline | m | — | Units | |
| distance away | m | — | Units | |
| parallax angle | — | — | Units | |
| pi | — | 0 … ∞ | Dimensions | |
| gravitational constant | N m² kg⁻² | — | Dimensions | |
| volume | m³ | — | Dimensions | |
| speed | m/s | — | Dimensions | |
| acceleration | m/s² | — | Dimensions | |
| force | N | — | Dimensions | |
| density | kg/m³ | — | Dimensions | |
| work | J | — | Dimensions | |
| surface area | m² | — | Dimensions | |
| height | m | — | Dimensions | |
| breadth | m | — | Dimensions | |
| cylinder surface area | m² | — | Dimensions | |
| volume of a slab | m³ | — | Dimensions | |
| relative density | — | — | Dimensions | |
| density of water | kg/m³ | — | Dimensions | |
| linear magnification | — | — | Dimensions | |
| image length | m | — | Dimensions | |
| object length | m | — | Dimensions | |
| image area | m² | — | Dimensions | |
| object area | m² | — | Dimensions | |
| volume of them all | m³ | — | Dimensions | |
| molar volume | m³ | — | Dimensions | |
| room to spare | — | — | Dimensions |