#Plot2A: regular case in 3d - if the maximum is unique
# we can use the standard Laplace's approximation.
# In a small neighborhood of $\hat{theta}$ use
# quadratic approximation.
var('u,v')
p1=plot3d(exp(-2*(.5*(u-1/2)^2+2*(v-1/2)^2)),(u,0,1),(v,0,1),color=(0.7,0,0),opacity=0.3)
p2=plot3d(exp(-10*(.5*(u-1/2)^2+2*(v-1/2)^2)),(u,0,1),(v,0,1),color=(.7,.7,0),opacity=0.5)
p3=plot3d(exp(-50*(.5*(u-1/2)^2+2*(v-1/2)^2)),(u,0,1),(v,0,1),color=(0.1,.8,0.1),opacity=0.7)
p4=plot3d(exp(-200*(.5*(u-1/2)^2+2*(v-1/2)^2)),(u,0,1),(v,0,1),color=(.1,0.1,0.8),opacity=1)
show(p1+p2+p3+p4)