Hi I am trying to calculate E(phi(X(1)) with X(t) satisfies the following d(X(t))=sigma(X(t))dW(t) X0)=x_0 where phi and sigma are arbitrary functions and W(t) is Brownian motion. I think I should apply Feynman–Kac formula but not sure about how to deal with terminal conditions. Is the following right? *U(x,t)=Ut+1/2* sigma^2 Uxx=0 U(x,1)=phi(x) It does not feel right as clearly the condition X(0)=x_0 is missing...