A Calorie Elsewhere
Q. A calorie is 4.2 JJ. In a system whose units of mass, length and time are α kg, β m and γ s, how many of the new units of energy is a calorie?
How it's solved
Solved with Dimensions
Given
- J
Find .
Working
- is [M L² T⁻²]as Dimensions says
- its new unit is (α kg)(β m)²(γ s)⁻² = α β² γ⁻² J
- so W = 4.2 J = 4.2 α⁻¹ β⁻² γ² new units
Conclusion
A unit changes as its dimensions say. Energy carries mass once, length twice and time to the minus two, so the new unit of energy is that mixture of the new base units, and a calorie is its old number divided by it.
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_calorie_elsewhere do4 kind :scq5 describes "A calorie is %{calorie}. In a system whose units of mass, length and time are α kg, β m and γ " \6 "s, how many of the new units of energy is a calorie?"7 given calorie: "4.2 J"89 option "4.2 α⁻¹ β⁻² γ²", as: :inverse10 option "4.2 α β² γ⁻²", as: :direct11 option "4.2 α⁻¹ β⁻¹ γ", as: :half_inverse12 option "4.2 α β γ", as: :plain13end1require_relative "../questions/a_calorie_elsewhere"2require_relative "../science/units_and_measurement/dimensions"34solve :a_calorie_elsewhere, using: Dimensions do5 take calorie: :W6 take inverse: "4.2 α-1 β-2 γ2", direct: "4.2 α β2 γ-2", half_inverse: "4.2 α-1 β-1 γ", plain: "4.2 α β γ"7 answer find_value(:W, in: { M: "α kg", L: "β m", T: "γ s" })89 conclusion "A unit changes as its dimensions say. Energy carries mass once, length twice and " \10 "time to the minus two, so the new unit of energy is that mixture of the new base " \11 "units, and a calorie is its old number divided by it."12endplayground.rb
1require_relative "../solutions/a_calorie_elsewhere"23play_with :a_calorie_elsewhere do4 title "A Calorie Elsewhere"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 |