Weak Solutions of a degenerate Monge-Ampere equation