Physcomp homework