System of differential equations in Maple

Click For Summary
SUMMARY

This discussion focuses on solving a system of four differential equations using Maple 13 on Linux Mint. The equations involve the variables m1(t), m2(t), m3(t), and m4(t) with dependencies on the hyperbolic tangent function and cosine. The user successfully solved the system numerically and obtained specific values for m1, m2, m3, and m4 at t=0.8 using the DEtools and plots packages in Maple. The results demonstrate the effectiveness of Maple for handling complex differential equations.

PREREQUISITES
  • Familiarity with differential equations and their notation
  • Basic understanding of Maple 13 software
  • Knowledge of hyperbolic functions, specifically tanh
  • Experience with numerical methods for solving differential equations
NEXT STEPS
  • Explore Maple 13's DEtools for advanced differential equation solutions
  • Learn how to visualize solutions using Maple's plotting functions
  • Investigate the implications of initial conditions on the solution behavior
  • Study the stability of solutions for systems of differential equations
USEFUL FOR

Mathematicians, engineers, and researchers working with differential equations, particularly those utilizing Maple for numerical analysis and visualization.

RGB_Mendes
Hi everybody.

I'm using the Maple 13 software (in linux mint) to solve system compounded by the four below differential equations:

> ode1 := (diff(m1(t), t)) = - m1(t) + (1/2)*tanh( m2(t) + m4(t) + cos(t) );
> ode2 := (diff(m2(t), t)) = - m2(t) + (1/2)*tanh( m1(t) + cos(t) );
> ode3 := (diff(m3(t), t)) = - m3(t) + (1/2)*tanh( m4(t) + cos(t) );
> ode4 := (diff(m4(t), t)) = - m4(t) + (1/2)*tanh( m3(t) + m1(t) + cos(t) );Anyone knows how can I plot the "m1", "m2", "m3" and "m4" by the independent variable "t" ??
 
Physics news on Phys.org
Hi guys.

I found a way to solve the above problem. I didn't immediately plot the graphs, but I obtained the values of each greatness "mi(t)" through specific values of parametric variable "t". Below an example for t=0.8.

> restart;
> with(DEtools, DEplot);
> with(plots);
>
> # ode1 := diff(m1(t), t) = -m1(t)+(1/2)*tanh(m2(t)+m4(t)+cos(t));
> # ode2 := diff(m2(t), t) = -m2(t)+(1/2)*tanh(m1(t)+cos(t));
> # ode3 := diff(m3(t), t) = -m3(t)+(1/2)*tanh(m4(t)+cos(t));
> # ode4 := diff(m4(t), t) = -m4(t)+(1/2)*tanh(m3(t)+m1(t)+cos(t));
>
> dsys := {diff(m1(t), t) = -m1(t)+(1/2)*tanh(m2(t)+m4(t)+cos(t)), diff(m2(t), t) = -m2(t)+(1/2)*tanh(m1(t)+cos(t)), diff(m3(t), t) = -m3(t)+(1/2)*tanh(m4(t)+cos(t)), diff(m4(t), t) = -m4(t)+(1/2)*tanh(m3(t)+m1(t)+cos(t)),m1(0) = 0, m2(0) = 0, m3(0) = 0, m4(0) = 0};
> dsn1 := dsolve(dsys, numeric);
> dsn1(.8);
[t = 0.8, m1(t) = 0.225131111929745192, m2(t) = 0.211465317954931536, m3(t) = 0.211465317954931536, m4(t) = 0.225131111929745192]I expect this topic may be helpful.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K