Two Ways from A to B
Q. In changing the state of a gas adiabaticallyJ from an equilibrium state A to another equilibrium state B, an amount of work equal to 22.3 JJ is done on the system. If the gas is taken from state A to B via a process in which the net heat absorbed by the system is 39.18 JJ, how much is the net work done by the system in the latter case, in joules?
Inputs
Outputs
work by?
How it's solved
Solved with FirstLawOfThermodynamics
Given
- J
- J
- J from “adiabatically”
- from “from an equilibrium state A to another equilibrium state B”
Find .
Working
- work on is work by turned round(adiabatically)
- J
- first law(adiabatically)
- J
- from an equilibrium state A to another equilibrium state B
- J
- first law(the other way)
- J
- Jto 3 significant figures
Conclusion
Internal energy depends only on the state, so both paths from A to B change it by the same amount; the heat the second path takes in, less that change, is the work it does.
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 :two_ways_from_a_to_b do4 kind :numerical5 describes "In changing the state of a gas adiabatically from an equilibrium state A to another equilibrium state " \6 "B, an amount of work equal to %{work_on} is done on the system. If the gas is taken from state A to B " \7 "via a process in which the net heat absorbed by the system is %{heat}, %{work_by}, in joules?"8 given work_on: "22.3 J"9 given heat: "39.18 J"10 asks work_by: "how much is the net work done by the system in the latter case"11end1require_relative "../questions/two_ways_from_a_to_b"2require_relative "../science/thermodynamics/first_law_of_thermodynamics"34solve :two_ways_from_a_to_b, using: FirstLawOfThermodynamics do5 objects :gas6 gas.goes(:adiabatically)7 gas.goes(:the_other_way)89 take heat: gas.heat_absorbed(during: the_other_way)10 take work_on: gas.work_done_on_the_system(during: adiabatically)1112 deduce_from "adiabatically", gas.heat_absorbed(during: adiabatically) => "0 J"13 deduce_from "from an equilibrium state A to another equilibrium state B",14 gas.change_of_internal_energy(during: the_other_way) => gas.change_of_internal_energy(during: adiabatically)1516 work_by = gas.work_done_by_the_system(during: the_other_way)17 answer work_by:, in: "J", figures: 31819 conclusion "Internal energy depends only on the state, so both paths from A to B change it by the same " \20 "amount; the heat the second path takes in, less that change, is the work it does."21endplayground.rb
1require_relative "../solutions/two_ways_from_a_to_b"23play_with :two_ways_from_a_to_b do4 title "Two Ways from A to B"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| heat absorbed | J | — | FirstLawOfThermodynamics | |
| work done by the system | J | — | FirstLawOfThermodynamics | |
| work done on the system | J | — | FirstLawOfThermodynamics | |
| change of internal energy | J | — | FirstLawOfThermodynamics | |
| heat absorbed of gas during adiabatically | J | — | ||
| change of internal energy of gas during adiabatically | J | — | ||
| work done by the system of gas during adiabatically | J | — | ||
| heat absorbed of gas during the other way | J | — | ||
| change of internal energy of gas during the other way | J | — | ||
| work done by the system of gas during the other way | J | — | ||
| work done on the system of gas during adiabatically | J | — | ||
| work done on the system of gas during the other way | J | — |