A Needle Before a Convex Mirror
Q. A 4.5 cmcm needle is placed 12 cmcm away from a convex mirror of focal length 15 cmcm. What is the location of the image, in cm, measured along the incoming light from the mirror?
Inputs
Outputs
where?
How it's solved
Solved with SphericalMirror
Given
- cm
- cm
- cm
- from “convex mirror”
Find .
Working
- cmm
- cmm
- cmm
- an object in front is against the light(mirror)
- m
- convex mirror
- m
- mirror equation(mirror)
- cm
- mcm
- cmto 2 significant figures
Conclusion
A convex mirror's focus lies behind it, so the image is virtual, behind the mirror and between the pole and the focus.
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_needle_before_a_convex_mirror do4 kind :numerical5 describes "A %{size} needle is placed %{distance} away from a convex mirror of focal length %{focal_length}. " \6 "%{where}, in cm, measured along the incoming light from the mirror?"7 given size: "4.5 cm"8 given distance: "12 cm"9 given focal_length: "15 cm"10 asks where: "What is the location of the image"11end1require_relative "../questions/a_needle_before_a_convex_mirror"2require_relative "../science/ray_optics_and_optical_instruments/spherical_mirror"34solve :a_needle_before_a_convex_mirror, using: SphericalMirror do5 objects :mirror67 take size: mirror.object_height8 take distance: mirror.distance_in_front9 take focal_length: mirror.size_of_the_focal_length1011 deduce_from "convex mirror", mirror.focal_length => mirror.size_of_the_focal_length1213 where = mirror.image_distance14 answer where:, in: "cm", figures: 21516 conclusion "A convex mirror's focus lies behind it, so the image is virtual, behind the mirror and between the " \17 "pole and the focus."18endplayground.rb
1require_relative "../solutions/a_needle_before_a_convex_mirror"23play_with :a_needle_before_a_convex_mirror do4 title "A Needle Before a Convex Mirror"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| radius of curvature | m | — | SphericalMirror | |
| size of the radius | m | — | SphericalMirror | |
| distance in front | m | — | SphericalMirror | |
| focal length | m | — | SphericalMirror | |
| size of the focal length | m | — | SphericalMirror | |
| object distance | m | — | SphericalMirror | |
| image distance | m | — | SphericalMirror | |
| magnification | — | — | SphericalMirror | |
| object height | m | — | SphericalMirror | |
| image height | m | — | SphericalMirror | |
| object distance of ground | m | — | ||
| distance in front of ground | m | — | ||
| object distance of mirror | m | — | ||
| distance in front of mirror | m | — | ||
| focal length of ground | m | — | ||
| radius of curvature of ground | m | — | ||
| focal length of mirror | m | — | ||
| radius of curvature of mirror | m | — | ||
| image distance of ground | m | — | ||
| image distance of mirror | m | — | ||
| magnification of ground | — | — | ||
| magnification of mirror | — | — | ||
| image height of ground | m | — | ||
| object height of ground | m | — | ||
| image height of mirror | m | — | ||
| object height of mirror | m | — | ||
| size of the radius of mirror | m | — | ||
| size of the focal length of mirror | m | — |