Calculate the height of the image formed by a pinhole camera of length 12cm used…