A Force Along a Constrained Path
Q. A body constrained to move along the z-axism, m of a coordinate system is subject to a constant force F given by F = (-1 NN) î + (2 NN) ĵ + (3 NN) k̂, where î, ĵ, k̂ are unit vectors along the x-, y- and z-axis of the system respectively. What is the work done by this force in moving the body a distance of 4 mm along the z-axis, in joules?
Inputs
Outputs
work?
How it's solved
Solved with Work
Given
- N
- N
- N
- m
- m from “constrained to move along the z-axis”
- m from “constrained to move along the z-axis”
Find .
Working
- work of a steady force(body, moving, 1)
- J
Conclusion
Only the part of the force along the way the body moves does work; the parts across the z-axis push against the constraint and do none.
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_force_along_a_constrained_path do4 kind :numerical5 describes "A body constrained to move along the z-axis of a coordinate system is subject to a constant force F " \6 "given by F = (%{fx}) î + (%{fy}) ĵ + (%{fz}) k̂, where î, ĵ, k̂ are unit vectors along the x-, y- and " \7 "z-axis of the system respectively. %{work} in moving the body a distance of %{distance} along the " \8 "z-axis, in joules?"9 given fx: "-1 N"10 given fy: "2 N"11 given fz: "3 N"12 given distance: "4 m"13 asks work: "What is the work done by this force"14end1require_relative "../questions/a_force_along_a_constrained_path"2require_relative "../science/work_energy_and_power/work"34solve :a_force_along_a_constrained_path, using: Work do5 objects :body, :agent6 axes :x, :y, :z7 body.goes(:moving)89 take fx: body.force(by: agent, along: x)10 take fy: body.force(by: agent, along: y)11 take fz: body.force(by: agent, along: z)12 take distance: body.displacement(along: z)1314 deduce_from "constrained to move along the z-axis", body.displacement(along: x) => "0 m",15 body.displacement(along: y) => "0 m"1617 work = body.work(by: agent)18 answer work:, in: "J"1920 conclusion "Only the part of the force along the way the body moves does work; the parts across the z-axis " \21 "push against the constraint and do none."22endplayground.rb
1require_relative "../solutions/a_force_along_a_constrained_path"23play_with :a_force_along_a_constrained_path do4 title "A Force Along a Constrained Path"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| volume | — | — | Vectors | |
| mass | kg | 0 … ∞ | Vectors | |
| speed | — | — | Vectors | |
| density | — | — | Vectors | |
| number of moles | — | — | Vectors | |
| angular frequency | — | — | Vectors | |
| work | J | — | Vectors | |
| current | — | — | Vectors | |
| temperature | — | — | Vectors | |
| pressure | — | — | Vectors | |
| time | s | 0 … 1e+05 | Vectors | |
| power | — | — | Vectors | |
| total path length | — | — | Vectors | |
| energy | — | — | Vectors | |
| gravitational potential | — | — | Vectors | |
| coefficient of friction | — | — | Vectors | |
| charge | — | — | Vectors | |
| acceleration | m/s² | — | Vectors | |
| velocity | m/s | — | Vectors | |
| displacement | m | — | Vectors | |
| angular velocity | — | — | Vectors | |
| force | N | — | Vectors | |
| angular momentum | — | — | Vectors | |
| linear momentum | — | — | Vectors | |
| electric field | — | — | Vectors | |
| average velocity | m/s | — | Vectors | |
| magnetic moment | — | — | Vectors | |
| relative velocity | — | — | Vectors | |
| impulse | — | — | Vectors | |
| first vector | — | 0 … ∞ | Vectors | |
| second vector | — | 0 … ∞ | Vectors | |
| angle between | — | 0 … 3.142 | Vectors | |
| resultant | — | 0 … ∞ | Vectors | |
| resultant direction | — | 0 … 3.142 | Vectors | |
| direction | — | -3.142 … 3.142 | Vectors | |
| x component | — | — | Vectors | |
| y component | — | — | Vectors | |
| position | m | — | Velocity | |
| path length | m | — | Velocity | |
| time taken | s | 0 … 1e+05 | Velocity | |
| average speed | m/s | — | Velocity | |
| starting position | m | — | Velocity | |
| final position | m | — | Velocity | |
| change of velocity | m/s | — | Acceleration | |
| average acceleration | m/s² | — | Acceleration | |
| starting velocity | m/s | — | Acceleration | |
| final velocity | m/s | — | Acceleration | |
| gravity | m/s² | — | UniformAcceleration | |
| net force | N | — | NewtonsSecondLaw | |
| weight | N | — | NewtonsSecondLaw | |
| work by gravity | J | — | Work | |
| net work | J | — | Work | |
| displacement of body during moving along x | m | — | ||
| position of body at end of moving along x | m | — | ||
| position of body at start of moving along x | m | — | ||
| displacement of body during moving along y | m | — | ||
| position of body at end of moving along y | m | — | ||
| position of body at start of moving along y | m | — | ||
| displacement of body during moving along z | m | — | ||
| position of body at end of moving along z | m | — | ||
| position of body at start of moving along z | m | — | ||
| average velocity of body during moving along x | m/s | — | ||
| time taken of moving | s | 0 … 1e+05 | ||
| average velocity of body during moving along y | m/s | — | ||
| average velocity of body during moving along z | m/s | — | ||
| average speed of body during moving | m/s | — | ||
| path length of body during moving | m | — | ||
| change of velocity of body during moving along x | m/s | — | ||
| velocity of body at end of moving from ground along x | m/s | — | ||
| velocity of body at start of moving from ground along x | m/s | — | ||
| change of velocity of body during moving along y | m/s | — | ||
| velocity of body at end of moving from ground along y | m/s | — | ||
| velocity of body at start of moving from ground along y | m/s | — | ||
| change of velocity of body during moving along z | m/s | — | ||
| velocity of body at end of moving from ground along z | m/s | — | ||
| velocity of body at start of moving from ground along z | m/s | — | ||
| average acceleration of body during moving along x | m/s² | — | ||
| average acceleration of body during moving along y | m/s² | — | ||
| average acceleration of body during moving along z | m/s² | — | ||
| acceleration of body during moving along x | m/s² | — | ||
| acceleration of body during moving along y | m/s² | — | ||
| acceleration of body during moving along z | m/s² | — | ||
| net force on body during moving along x | N | — | ||
| mass of body | kg | 0 … ∞ | ||
| net force on body during moving along y | N | — | ||
| net force on body during moving along z | N | — | ||
| mass of agent | kg | 0 … ∞ | ||
| weight on ground | N | — | ||
| weight on body | N | — | ||
| weight on agent | N | — | ||
| force on body by agent during moving | N | — | ||
| force on body by agent during moving along x | N | — | ||
| force on body by agent during moving along y | N | — | ||
| force on body by agent during moving along z | N | — | ||
| work on body by agent during moving | J | — | ||
| net work on body during moving | J | — | ||
| displacement of body during moving | m | — | ||
| position of body at end of moving | m | — | ||
| position of body at start of moving | m | — | ||
| average velocity of body during moving | m/s | — | ||
| change of velocity of body during moving | m/s | — | ||
| velocity of body at end of moving from ground | m/s | — | ||
| velocity of body at start of moving from ground | m/s | — | ||
| average acceleration of body during moving | m/s² | — | ||
| acceleration of body during moving | m/s² | — | ||
| net force on body during moving | N | — |