Ask Experts Questions for FREE Help !
Ask

Calculation system of differential equations in mathcad

Asked Apr 28, 2012, 12:32 PM — 1 Answer
I would like to learn to solve system of differential equation in MathCad like this one:
dI(t)/dt = coeff * I(t) * S(t)

dS(t)/dt = -coeff * I(t) * S(t)

N = S(t) + I(t)

where 'N' and 'coeff' are user specified coefficients

In MathCad I did:
( coeff * y0 * y1 )
D(t, y) := ( )
( -coeff * y0 * y1 )

( 1 )
ic := ( )
( 9 )

But :
S := rkfixed (ic, 0, 10, 100, D)

returns: D - this function can't be used here.

And I don't know how and where insert N=S(t) + I(t) equation

1 Answer
Chic_Bowdrie's Avatar
Chic_Bowdrie Posts: 54, Reputation: 31
Junior Member
 
#2

May 15, 2012, 12:13 PM
I don't have MathCad, but the solution is straight forward by substituting S = N - L into the deritative equation dL/dt. Separate the variables, L on one side and dt on the other, then integrate both sides of the following:



C is the coeff in your differential equations. The integration gives you t as a function of the log of L. The solution for L is



where x is an integration constant. Do the same for dS/dt and you get

Helpful

Not your question? Ask your question View similar questions

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Add your answer here.

Remove Text Formatting

Undo
Redo
 
Decrease Size
Increase Size
Bold
Italic
Underline
Align Left
Align Center
Align Right
Ordered List
Unordered List
Decrease Indent
Increase Indent
Insert Email Link
Wrap [QUOTE] tags around selected text
Wrap [CODE] tags around selected text
Wrap [HTML] tags around selected text
Wrap [PHP] tags around selected text
Wrap [YOUTUBE] tags around selected text
Notification Type:



Check out some similar questions!

Differential Equations, Linear models [ 0 Answers ]

Find the eigenvalues and eigenfunction for the BVP: y''' + λ^(2)y' = 0 , y(0) = 0, y’(0) = 0 and y’(L) = 0

Differential Equations, Linear models [ 0 Answers ]

Find the charge on the capacitor in an LRC series at t = 0.02 sec when L = 0.05 h, R = 2 Ohm, C = 0.01 farad. The initial conditions are q(0) = 5 C, i(0) = 0 Ampere. Determine the firt time at which the charge on the capacitor is equal to zero. Also, find the current at any time t.

Linear Differential Equations [ 1 Answers ]

Determine whether the given relation is an implicit solution to the given equation. Sin(y)+xy-x^3=2-----relation Y''=(6xy'+((y')^3)sin(y)-2(y')^2)/((3x^2)-y)-----equation The book says yes it is a solution but for some reason I am not getting it. You have to use implicit...

Second order differential equations [ 1 Answers ]

The following differential equation , m (d^2 y)/(dt^2 )+6.1dy/dt+90.2y=1.3cos⁡(3.4t) represents the motion of a spring. When a 10kg mass is attached to the spring and released from a starting point 0.1m from the original point .the plotted results of displacement over time give an expected...

Calculus differential equations [ 1 Answers ]

Solve the following differential equations: A) dy/dx=24x(3x^2+9)^2 B) dy/dx=2sin(3x+infinity) infinity is a constant I have done question (a) and got 216x^5+1296x^3+1944x as the answer. I don't know if this is correct. I have no clue how to do (b).


View more Mathematics questions Search