Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: integrating with the symbolic toolbox
Replies: 2   Last Post: Nov 11, 2012 10:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ravi

Posts: 10
Registered: 5/3/12
integrating with the symbolic toolbox
Posted: Nov 10, 2012 9:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.