sketch R for a double integral