Question: The shadow of your smile

a. How to write a  proc(a,h,A,B,C) procedure which calculates the area of the projection of the pyramid OKLMS on the plane p:A*x+B*y+C*z+D=0,where O(0,0,0), K(a,0,0), L(a,a,0), M(0,a,0), and S(a/2,a/2,h)?
b.  How to write a  proc(r,h,A,B,C) procedure which calculates the area of the projection of the cone
with the base {(x,y,z): x^2+y^2<=r^2,z=0} and the vertex S(0,0,h) on the plane p:A*x+B*y+C*z+D=0?

Please Wait...