play phryzby with physics

An Object Before a Concave Mirror

solved SphericalMirror

Q. An object is placed 10 cmdo=10cm in front of a concaveR=−rsize mirror of radius of curvature 15 cmrsize=15cm. Where is the image, in cm, measured along the incoming light from the mirror?

FCfuv = ?
Inputs
do
10 cm
rsize
15 cm
Outputs
wherev?

How it's solved

Solved with SphericalMirror

Given

  • do=10cm
  • rsize=15cm
  • R=−rsize from “concave”

Find v.

Working
  1. do=10cm=0.1m
  2. rsize=15cm=0.15m
  3. an object in front is against the light(mirror)u=−do
  4. u=−0.1
  5. u=−0.1m
  6. concaveR=−rsize
  7. R=−0.15
  8. R=−0.15m
  9. focus halfway to the centre(mirror)f=R2
  10. f=(−0.15)2
  11. f=−0.075m
  12. mirror equation(mirror)1v+1u=1f
  13. 1v+1(−0.1)=1(−0.075)
  14. v=−30cm
  15. v=−0.3m=−30cm
  16. v≈−30cmto 2 significant figures
Conclusion

Distances in front of the mirror are negative; the image at minus thirty centimetres is real, in front of the mirror, inverted and three times the size.

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 :an_object_before_a_concave_mirror do4  kind :numerical5  describes "An object is placed %{distance} in front of a concave mirror of radius of curvature %{radius}. " \6            "%{where}, in cm, measured along the incoming light from the mirror?"7  given distance: "10 cm"8  given radius: "15 cm"9  asks where: "Where is the image"10end
solution.rb
1require_relative "../questions/an_object_before_a_concave_mirror"2require_relative "../science/ray_optics_and_optical_instruments/spherical_mirror"34solve :an_object_before_a_concave_mirror, using: SphericalMirror do5  objects :mirror67  take distance: mirror.distance_in_front8  take radius: mirror.size_of_the_radius910  deduce_from "concave", mirror.radius_of_curvature => -mirror.size_of_the_radius1112  where = mirror.image_distance13  answer where:, in: "cm", figures: 21415  conclusion "Distances in front of the mirror are negative; the image at minus thirty centimetres is real, " \16             "in front of the mirror, inverted and three times the size."17end
playground.rb
1require_relative "../solutions/an_object_before_a_concave_mirror"23play_with :an_object_before_a_concave_mirror do4  title "An Object Before a Concave Mirror"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