A minimal example defining a function inline to calculate the area of a rectangle.