Convergence And Error Analysis Of Pinns