So far, I have been looking into linear and nonlinear differential equations(Boundary value problem) that look like the following:
$\frac{d^2 \theta}{dz^2} + \sin(\theta) = 0$
I am now familiar with numerical methods of using finite difference or finite element methods to approximate the derivatives and Newton's method for solving them.
But now I have encountered a new problem (I'm not sure how such equations are called, but they are coupled nonlinear partial differential equations):
$\frac{d^2 \theta}{dz^2} + \cos(\theta)\frac{d^2 \phi}{dz^2}=0$
or
$\sin(\theta) \frac{d^2 \phi}{dz^2}=0$
say with boundary conditions:
$\phi(z=0)=0, \theta(z=0)=0 $ and $\phi(z = d)= 1, \theta(z=d)=1$
What are the numerical ways of solving such problems?
Can we make use of Newton's iteration method and finite difference method just as the way we did for a simple nonlinear ODE? Can these equations be written in weak form (variational form) for finite element method (FEM) calculations?