10pr=5040
10!(10−r)!=5040
We know 10!=5040,
(10−r)!=1⇒(10−r)!=1! or 0!
(10−r)!=(10−9)! or (10−10)!
On comparing, we get
Hence, r=9 or 10.