A Beating Heart
Q. On an average, a human heart is found to beat 75 times in 1 minmin. What is its frequency, in hertz?
Inputs
Outputs
frequency?
How it's solved
Solved with PeriodicMotion
Given
- min
Find .
Working
- mins
- frequency is repetitions a second(beating)
- Hz
- Hzto 3 significant figures
Conclusion
Frequency counts the beats in each second, so the beats in a minute are shared out over its sixty seconds.
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_beating_heart do4 kind :numerical5 describes "On an average, a human heart is found to beat %{beats} times in %{time}. %{frequency}, in hertz?"6 given beats: "75"7 given time: "1 min"8 asks frequency: "What is its frequency"9end1require_relative "../questions/a_beating_heart"2require_relative "../science/oscillations/periodic_motion"34solve :a_beating_heart, using: PeriodicMotion do5 objects :heart6 heart.goes(:beating)78 take beats: heart.repetitions9 take time: beating.time_taken1011 frequency = heart.frequency12 answer frequency:, in: "Hz", figures: 31314 conclusion "Frequency counts the beats in each second, so the beats in a minute are shared out over " \15 "its sixty seconds."16endplayground.rb
1require_relative "../solutions/a_beating_heart"23play_with :a_beating_heart do4 title "A Beating Heart"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| position | m | — | Velocity | |
| displacement | m | — | Velocity | |
| path length | m | — | Velocity | |
| time taken | s | 0 … 1e+05 | Velocity | |
| average velocity | m/s | — | Velocity | |
| average speed | m/s | — | Velocity | |
| starting position | m | — | Velocity | |
| final position | m | — | Velocity | |
| repetitions | — | — | PeriodicMotion | |
| frequency | Hz | 0 … ∞ | PeriodicMotion | |
| period | s | — | PeriodicMotion | |
| displacement of heart during beating | m | — | ||
| position of heart at end of beating | m | — | ||
| position of heart at start of beating | m | — | ||
| average velocity of heart during beating | m/s | — | ||
| time taken of beating | s | 0 … 1e+05 | ||
| average speed of heart during beating | m/s | — | ||
| path length of heart during beating | m | — | ||
| frequency of heart | Hz | 0 … ∞ | ||
| repetitions of heart during beating | — | — | ||
| period of ground | s | — | ||
| frequency of ground | Hz | 0 … ∞ | ||
| period of heart | s | — |