Inorder to do it by integration by substitution

-Have you read the complete thread?

-What's the main question you have?

---------------------------------------------

--If it is that we can substitute this directly in the formula

----than the formula is also derived like this