Hi, I seem to have got stuck up with an apparently simple problem with the symbolic toolbox. Would appreciate help in solving this.
%%%%% syms x y % I want to integrate a second derivative int(diff(y,x,2),x,0,x) %%%%%
I am trying to follow a derivation in a textbook. There, the answer seems to be : 1/2*(dy/dx)^2. I would have thought that it was (dy/dx). I get an answer of 0 from the above code. What is my mistake in coding? Would appreciate it if somebody could point out the error in my understanding also. Thanks, Ravi