Solving differential equations in four variables

AI Thread Summary
The discussion centers on a MATLAB project involving a set of differential equations with four variables. The equations are complex and include relationships between derivatives of w, x, y, and z, defined by functions f(z), g(z), and j(z), which represent electromagnetic wave components in a waveguide. The user is considering whether MATLAB's ode45 or ode23 solvers would be adequate for this problem. Additionally, there is a suggestion to analyze the ratio of derivatives (dw/dt)/(dz/dt) to gain insights, though caution is advised regarding the implications of this approach. The user seeks guidance on effectively solving and plotting 'dw/dz' against 'z'.
Sridatta
Messages
2
Reaction score
0
I have been trying to solve a problem MATLAb regarding my project and it involves solving set of differential equations involving four variables. It is turning into quite a headache and i was actually wondering if ode45 or ode23 would be sufficient for such a problem.

Problem Structure
----------------------------------
dw/dt = f(z) * dy/dt
w * dx/dt = g(z) * dy/dt
w * dy/dt = f(z) + g(z) * dx/dt + j(z) * dz/dt
w * dz/dt = j(z) * dy/dt

x(0)=0, y(0)=0, z(0)=0, dx/dt(0)=0, dy/dt(0), dz/dt(0)=v

I am supposed to plot 'dw/dz' vs 'z'
----------------------------------

Any insights regarding the problem are extremely welcome.
Thank You,
Sridatta
 
Last edited:
Physics news on Phys.org
Do you know what f(), g() and j() are?

Different question, what if you just inspected your equations and wrote down (dw/dt)/(dz/dt)=
You need to be cautious with that and think about what it means and what you are doing. I'm not certain that will accomplish your goal.
 
yeah, f,g,j are complex exponential equations based on 'z' (actually they represent elctromagnetic wave components in a waveguide)
 

Similar threads

Back
Top