Given the equation $\displaystyle{\int_{-x}^x\exp({-t^2})dt}=-\ln(x)$:
a. Simplify the integral using Gauss method with 3 points.
b. Solve given equation by Newton Raphson iterative method
I succeeded simplifying the integral and got $\int\exp(-t^2)=\frac 8 9 +\frac {10} 9 e^{-0.36x^2}$ but I NR method required function (since the form of $x_{k+1}=x_k+\frac{f(x_k)}{f\prime(x_k)}$) which I haven't found yet here in $-\ln(x)=\frac 8 9 +\frac {10} 9 e^{-0.36x^2}$. which elements should I take to be my $f(x)$?
I did not check the first part , but I think there is an issue as we should be able to validate the LHS and RHS when we find our $x$, and that is not checking out. Note, you formula did not specify which Gauss method to use and that normally means Gauss-Legendre which use Legendre Polynomials as $\displaystyle \int_{-1}^1 f(x)~dx$ and then use a suitable transformation over $a, b$.
However, here is the process for part b that you are asking about.
$$\displaystyle f(x) = \ln(x)+\frac 8 9 +\frac {10} 9 e^{-0.36x^2}$$
Now, set-up your iteration formula for NR, choose a starting point and find $x$.
A plot shows and approximate location:
The iteration is given by:
$$x_{n+1} = x_n - \dfrac{f(x)}{f'(x)}$$
I chose $x_0 = 0.4$ and got $x = 0.13634195512062696$.
You can verify that at that value of $x$:
$$-\ln(x)=\frac 8 9 +\frac {10} 9 e^{-0.36x^2}$$
However, using a numerical integrator on the LHS with that value of $x$, does not match the RHS, $-\ln x$, so the Gaussian Quadrature result likely has an issue.
Using Cipra's update, we have:
$$\displaystyle f(x) = \ln(x)+ \frac 8 9 x +\frac {10} 9 e^{-3/5 x^2}x$$
A plot shows:
Using NR, with $x_0 = 0.4$ results in $x = 0.4386233081179400$, which checks out for both sides of:
$$\displaystyle{\int_{-x}^x\exp({-t^2})dt}=-\ln(x)$$