plot min(20, x/sqrt(sin^2 x+(1-cos x)^2)) (x from 0 to 40)