If limx→∞ psin2x+1-cos2xx+tanx=1, then the value of p is __________
limx→0 psin2x+1-cos2xx+tanx=1⇒ limx→0 2psin2x2x+1-cos2xx1+tanxx=1⇒2p+01+1=1⇒ p=1