play phryzby with physics

The Candle's Image

solved SphericalMirror

Q. A small candle, 2.5 cmho=2.5cm in size is placed at 27 cmdo=27cm in front of a concaveR=−rsize mirror of radius of curvature 36 cmrsize=36cm. A screen is placed to obtain a sharp image. What is the size of the image, in cm, counted negative when inverted?

FCfuh₀ = 0.025 mvhᵢ = ?
Inputs
ho
2.5 cm
do
27 cm
rsize
36 cm
Outputs
image heighthi?

How it's solved

Solved with SphericalMirror

Given

  • ho=2.5cm
  • do=27cm
  • rsize=36cm
  • R=−rsize from “concave”

Find hi.

Working
  1. ho=2.5cm=0.025m
  2. do=27cm=0.27m
  3. rsize=36cm=0.36m
  4. an object in front is against the light(mirror)u=−do
  5. u=−0.27
  6. u=−0.27m
  7. concaveR=−rsize
  8. R=−0.36
  9. R=−0.36m
  10. focus halfway to the centre(mirror)f=R2
  11. f=(−0.36)2
  12. f=−0.18m
  13. mirror equation(mirror)1v+1u=1f
  14. 1v+1(−0.27)=1(−0.18)
  15. v=−0.54m
  16. magnification of a mirror(mirror)m=−vu
  17. m=−(−0.54)(−0.27)
  18. m=−2
  19. magnification compares the heights(mirror)m=hiho
  20. (−2)=hi0.025
  21. hi=−5cm
  22. hi=−0.05m=−5cm
  23. hi≈−5.0cmto 2 significant figures
Conclusion

The image lies farther from the mirror than the candle does, so it is magnified; being real, it is inverted.

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.

question.rb
1require_relative "../physics"23question :the_candle_s_image do4  kind :numerical5  describes "A small candle, %{size} in size is placed at %{distance} in front of a concave mirror of radius of " \6            "curvature %{radius}. A screen is placed to obtain a sharp image. %{image_height}, in cm, counted " \7            "negative when inverted?"8  given size: "2.5 cm"9  given distance: "27 cm"10  given radius: "36 cm"11  asks image_height: "What is the size of the image"12end
solution.rb
1require_relative "../questions/the_candle_s_image"2require_relative "../science/ray_optics_and_optical_instruments/spherical_mirror"34solve :the_candle_s_image, using: SphericalMirror do5  objects :mirror67  take size: mirror.object_height8  take distance: mirror.distance_in_front9  take radius: mirror.size_of_the_radius1011  deduce_from "concave", mirror.radius_of_curvature => -mirror.size_of_the_radius1213  image_height = mirror.image_height14  answer image_height:, in: "cm", figures: 21516  conclusion "The image lies farther from the mirror than the candle does, so it is magnified; being real, it is " \17             "inverted."18end
playground.rb
1require_relative "../solutions/the_candle_s_image"23play_with :the_candle_s_image do4  title "The Candle's Image"5end
The laws it drew on
quantitywrittenunitswithinfrom
radius of curvatureRm—SphericalMirror
size of the radiusrsizem—SphericalMirror
distance in frontdom—SphericalMirror
focal lengthfm—SphericalMirror
size of the focal lengthfsizem—SphericalMirror
object distanceum—SphericalMirror
image distancevm—SphericalMirror
magnificationm——SphericalMirror
object heighthom—SphericalMirror
image heighthim—SphericalMirror
object distance of groundugm—
distance in front of grounddo,gm—
object distance of mirrorum—
distance in front of mirrordom—
focal length of groundfgm—
radius of curvature of groundRgm—
focal length of mirrorfm—
radius of curvature of mirrorRm—
image distance of groundvgm—
image distance of mirrorvm—
magnification of groundmg——
magnification of mirrorm——
image height of groundhi,gm—
object height of groundho,gm—
image height of mirrorhim—
object height of mirrorhom—
size of the radius of mirrorrsizem—
size of the focal length of mirrorfsizem—
um=−do,m
an object in front is against the light
fm=Rm2
focus halfway to the centre
1vm+1um=1fm
mirror equation
mm=−vmum
magnification of a mirror
mm=hi,mho,m
magnification compares the heights
ug=−do,g
an object in front is against the light(ground)
u=−do
an object in front is against the light(mirror)
fg=Rg2
focus halfway to the centre(ground)
f=R2
focus halfway to the centre(mirror)
1vg+1ug=1fg
mirror equation(ground)
1v+1u=1f
mirror equation(mirror)
mg=−vgug
magnification of a mirror(ground)
m=−vu
magnification of a mirror(mirror)
mg=hi,gho,g
magnification compares the heights(ground)
m=hiho
magnification compares the heights(mirror)
R=−rsize
concave