plot 300 - p^2, p:0 to sqrt(300) axes label "p" "q"