Let $f(x,y)=x^n y^m=P$ If $x$ is doubled and $y$ is halved, the new value of $f$ is

1. $2^{n-m}P$
2. $2^{m-n}P$
3. $2(n-m)P$
4. $2(m-n)P$