Skip to content

Latest Page Update: 23-09-2026

Exercise2 - Cameras and Lenses

Introduction

The purpose of this exercise is to use Python to calculate camera and scene specific values.

Learning Objectives

After completing this exercise, the student should be able to do the following:

  • Create a Python function that uses the thin lens equation to compute either the focal length (f), where the rays are focused (b) or an object distance (g) when two of the other measurements are given