# NDSolve for a system of second order differential equations

Posted 2 months ago
507 Views
|
5 Replies
|
3 Total Likes
|
 Hello everyone :) I'm new in using Mathematica, so I hope the script is clear! I'm trying to solve this system of two second order differential equations; they are linked by the boundary conditions (it's a physic model and it should be correct). When I evaluate the solution, this warning happens: "NDSolve:Equation or list of equations expected instead of True in the first \ argument". I checked if there are some mistakes in the script, but it should be correct. Could anyone help me by checking for some mistakes or improving the script? Attachments:
5 Replies
Sort By:
Posted 2 months ago
 Thanks! Still I have this warning: "NDSolve::ndnum: Encountered non-numerical value for a derivative at [Xi] == -1.." . Do you know if there is something wrong with some definitions I made, or something that tells to the NDSolve command to evaluate the equations for all the [Xi] except [Xi]=-1?
Posted 2 months ago
 Lorenzo,The first equation in eqns has Sqrt[1 + 0.2304*Subscript[ξ, 1]^2]. There is no definition for Subscript[ξ, 1]. There may be other issues as well.
Posted 2 months ago
 This is the updated file, still I have some problems: Attachments:
 Hi Lorenzo,The code in the attached notebook uses DSolve, the error you reported is from NDSolve. Did you attach the right notebook? The error message I get is DSolve::deqx: Supplied equations are not differential or integral equations of the given functions. DSolve[eqns, {x, y}, t] The equations in eqns do not depend on x, y, or t. Need to use the functions and independent variables in eqns as the arguments to DSolve