Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Create function after DSolve' topicStudent Support Forum > General > Archives > "Create function after DSolve"

Next Comment >Help | Reply To Topic
Author Comment/Response
Rasmus J
05/31/04 3:31pm

Hello.

Im using the following command to solve a diff. egn.

Simplify[DSolve[{u''''[x] == q(1 - x^2/l^2)/EI, u[0] == 0, u[l] == 0, u'[0] == 0, u''[l] == 0}, u[x], x]]

This works well and Mathematica returns this:

{{u[x] -> qx^2(33l^4 - 61l^3x + 30l^2x^2 - 2x^4)/(720 EI l^2}}

Which is the correct solution.

Now i want to create the function u[x_]:= the above.

Of cause copy paste works, but is there an easier way??

I used to do my calc im maple but got tired of the bugs, but here you could refer to the result with rhs(%) {righthandside of %) but can't find that command here.

Anyone who know's how to do this???

M[x_]:=% doesn't work

URL: ,

Subject (listing for 'Create function after DSolve')
Author Date Posted
Create function after DSolve Rasmus J 05/31/04 3:31pm
Re: Create function after DSolve Carlo 06/09/04 3:55pm
Re: Create function after DSolve Henry Lamb 06/10/04 03:04am
Next Comment >Help | Reply To Topic