Recently I've started a few programming projects which involve simulating physical systems. However, more than most involve a differential equation which needs to be solved. Some examples are:
$$\frac{d^2\theta}{dt^2} = -\frac{g}{l}\sin \theta$$ $$\left(\frac{da}{dt}\times\frac{1}{a}\right)^2 = \frac{8\pi G\rho}{3} - \frac{kc^2}{a^2}$$
The technique I have been doing so far is using Wolfram Alpha to integrate the equation and then plot the result. For some of the equations I have found, WA has struggled, leaving me clueless.
I don't know a huge amount about differential equations beyond simple equations such as $\frac{dy}{dx}=2xy$, so I am unable to integrate the equations by hand.
That was why I was wondering if there is a way to find the solution on the fly, so to speak. For example, I would like to generate a graph of $\theta(t)$ in the first equation without first integrating it.
I mostly use JavaScript and Python, but am willing to use another, free, language which has the tools which will help me complete my projects.