I used to do this computation with Mathematica 9.0:
Hold[Simplify[Integrate[Integrate[
If[{x^2/a^2 + y^2/b^2 <= 1}, 1, 0],
{y, -Infinity, Plus[Infinity]}],
{x, -Infinity, Plus[Infinity]}], {a > 0, b > 0}]]
or alternative notation
Simplify[\!\(
\*SubsuperscriptBox[\(\[Integral]\), \(-\[Infinity]\), \(+\[Infinity]\)]\(\((
\*SubsuperscriptBox[\(\[Integral]\), \(-\[Infinity]\), \(+\[Infinity]\)]\((If[{x^2/a^2 + y^2/b^2 <= 1}, 1, \.010])\) \[DifferentialD]y)\) \[DifferentialD]x\)\), {a > 0, b > 0}]
and get a b Pi. However when I try to compute the same on Mathematica 10.2, it gets stuck. What’s going on? Thank your for your valuable time.