Yes, ode45 can be used for higher-order differential equations. You need to convert the higher order equation to a system of first-order equations, then use ode45 on that system.
For example, if you have
... u'' + a·u' + b·u = f
you can define u1 = u, u2 = u' and now you have the system
... (u2)' + a·u2 + b·u1 = f
... (u1)' = u2
Rearranging, this is
... (u1)' = u2
... (u2)' = f - a·u2 - b·u1
ode45 is used to solve each of these. Now, you have a vector (u1, u2) instead of a scalar variable (u). A web search regarding using ode45 on higher-order differential equations can provide additional illumination, including specific examples.
...-1,8......................................
Answer:you would have saved $31 after 5 days
Step-by-step explanation:
You double the number of dollars in the envelopes from the day before. This means the amount in a day is double the amount in the previous day. Therefore, amount of money in the envelope is increasing in geometric progression. The formula for determining the sum of n terms of a geometric sequence is expressed as
Sn = a(r^n - 1)/r - 1
Where
a represents the first term.
r represents the common ratio.
From the information given,
a = 1
r = 2
n = 5 days
S5 = 1(2^5 - 1)/2 - 1
S5 = 32 - 1 = 31
Answer:
35
x
6
−
4
7
35x - 4
6 7
Step-by-step explanation:
Answer:
24 hours
Step-by-step explanation:
160 x 18 = 2880
2880/120 = 24