This document describes a sample assignment to simulate and optimize the range of a simplified trebuchet model. The model predicts projectile range based on the fulcrum position and launch angle. It defines variables for the launch angle and fulcrum position, evaluates the projectile range for combinations of these variables using a treb function, and plots the range as a surface over the variable values. The overall goal is to illustrate how optimization of design variables can maximize the projectile range for a trebuchet.