Solving 2 Equations with ODE and Diff

  • Thread starter TSN79
  • Start date
  • Tags
    Set
In summary, the conversation discusses the process of solving a set of two equations, one of which is an ODE, for Tm and TR. The equations involve various variables and constants, including T0 which may or may not be known. The steps to solve the equations involve manipulating them to eliminate T0 and then solving the resulting differential equation.
  • #1
TSN79
424
0
I'm trying to solve a set of two equations, one of which is an ODE. They are

[tex]
m \cdot C_P \cdot {{dT_M } \over {dt}} = U \cdot A\left( {T_R - T_M } \right)
[/tex]

and

[tex]
Q_P + \rho \cdot C_P \cdot \dot V\left( {T_O - T_R } \right) = U \cdot A\left( {T_R - T_O } \right)
[/tex]

I want to solve this set for [itex] T_M [/itex] and [itex] T_R [/itex], but I'm not sure about the procedure, because of the diff. Any help will be appreciated :smile:
 
Physics news on Phys.org
  • #2
Are we to assume that Tm, TR, and T0 are functions of t? If T0 is also unknown, then you don't have enough equations. If T0 is a known function of t, then from
[tex]Q_P + \rho \cdot C_P \cdot \dot V\left( {T_O - T_R } \right) = U \cdot A\left( {T_R - T_O } \right)[/tex]
[tex]Q_P - \rho \cdot C_P \cdot \dot V\left( {T_R - T_O } \right) = U \cdot A\left( {T_R - T_O } \right)[/tex]
[Tex]\left(U\cdot A+ \rho \cdot C_P \cdot \dot V\right)\left(T_R- T_O\right)= Q_P[/tex]
[tex]T_R- T_O=\frac{Q_P}{U\cdot A+ \rho \cdot C_P \cdot \dot V\right}[/tex]
[tex]T_R= T_O+ \frac{Q_P}{U\cdot A+ \rho \cdot C_P \cdot \dot V\right}[/tex]
Now put that function into
[tex]m \cdot C_P \cdot {{dT_M } \over {dt}} = U \cdot A\left( {T_R - T_M } \right)[/tex]
and solve the differential equation.
 
  • #3


To solve this set of equations, you will need to use a method called simultaneous differential equations. This involves solving both equations at the same time, rather than separately. The first step is to rearrange the equations to isolate the variables you want to solve for, in this case T_M and T_R. For the first equation, you can divide both sides by mC_P to get:

{{dT_M} \over {dt}} = {U \cdot A \over mC_P} \cdot (T_R - T_M)

Similarly, for the second equation, divide both sides by \rho C_P \cdot \dot V to get:

{T_O - T_R \over \dot V} = {U \cdot A \over \rho C_P \cdot \dot V} \cdot (T_R - T_O)

Now, you can substitute these expressions for dT_M/dt and (T_O - T_R)/\dot V into the first equation, and solve for T_R. Then, substitute this value for T_R into the second equation and solve for T_M. This will give you the values for both T_M and T_R at any given time.

However, keep in mind that this method may not always give an exact solution, and you may need to use numerical methods to approximate the values. It's also important to check your units and make sure they are consistent throughout the equations.

I hope this helps and good luck with solving your set of equations!
 

FAQ: Solving 2 Equations with ODE and Diff

How do you solve a system of two equations with ordinary differential equations (ODE) and differentiation (diff)?

Solving a system of two equations with ODE and diff involves using the given equations to create a system of first-order differential equations. This is done by setting up a system of equations where the derivatives of the variables are on the left side and the variables themselves are on the right side. Then, you can use numerical or analytical methods to solve the system of equations and find the solutions for the variables.

What is the difference between ODE and diff?

ODE stands for ordinary differential equations, which are equations that involve derivatives of a single variable with respect to another single variable. Diff, on the other hand, stands for differentiation, which is the process of finding the derivative of a function. While ODE is a type of equation, diff is a mathematical operation used to solve equations.

Can you solve a system of equations with ODE and diff without using numerical methods?

Yes, it is possible to solve a system of equations with ODE and diff without using numerical methods. This can be done by using analytical methods, such as separation of variables or substitution, to solve the system of equations. However, numerical methods may be more accurate and efficient for more complex systems.

What types of problems can be solved using ODE and diff?

ODE and diff are commonly used in mathematical and scientific fields to solve problems involving rates of change, such as population growth, radioactive decay, and chemical reactions. They can also be applied to physical systems involving motion, such as pendulums and springs.

Are there any limitations to using ODE and diff to solve equations?

While ODE and diff are powerful tools for solving equations, there are some limitations to their use. For example, not all equations can be solved using ODE and diff, and some may require more sophisticated methods. Additionally, numerical methods may introduce errors in the solutions, so it is important to check the accuracy of the results.

Back
Top