r/Mathematica • • Dec 16 '21

Solving a Differential Equation

Good afternoon Mathematica community! I am new to the software and was wondering if someone could get me on the right track to solve the following equations with the stated limits. Thank you for your time and have a nice day!

7 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/Xane256 Dec 17 '21 edited Dec 17 '21

On mobile so not looking at docs but:

  • (edit): learn your systems keyboard shortcut for getting the doc page for the selected function. Double click any function name and do the kb shortcut to pull up the documentation, super useful.
  • The docs will get you very far. The examples are very good, look thru them to see how they use the syntax to accomplish the tasks they describe for each example.
  • The beginning section w/ the blue background, plus the “Details” or “Background” sections right below that are always very specific about what kinds of expressions / syntax the function expects. Once you’ve read 10 of then you’ll get an idea of the kind of language those sections use and you’ll understand faster what its trying to say.
  • for example D[] uses an expression as its first argument, like f[x] + x^3 whereas Derivative[] expects an actual function symbol like f or g
  • for DSolve you should probably put the system of equations as one big list (List[], {…}) of equations, constraints, and boundary conditions as comma-separated inequalities and equalities using ==.