1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ziro4ka [17]
4 years ago
12

My professor showed us in class today how to use ode45 to solve a differential equation numerically. i would like to use it on m

y homework but i have a second order differential equation and the example i saw in class was only first order. can ode45 be used for second order diffeqs? what do i need to do differently? the equation i am trying to solve is:
Mathematics
1 answer:
Brilliant_brown [7]4 years ago
7 0

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.

You might be interested in
Which events are independent?
Debora [2.8K]

Answer:

A six sided number cube is rolled and a coin is flipped

Step-by-step explanation:

These are two different objects that have 0 correlation with eachother

4 0
3 years ago
Grant collected 30 tokens the last 7 times he has played his video game. Which of the following is equivalent to Grant's tokens
Liula [17]

Answer:

A

Step-by-step explanation:

3 0
3 years ago
A firm buys 12 file cabinets at $140 each, with payment in full due in 90 days. How much must the firm deposit now to have enoug
anyanavicka [17]

Answer:

firm deposit  is $1667.50

Step-by-step explanation:

given data

buys 12 file = $140

time = 90 days

interest = 3%

solution

we get here return on money over 90 day period  is  

we know Return on 360 days = 3%

return on money over 90 day = 3% ÷ 4  = 0.75%

we consider here required amount = x

so

$140 × 12 = x (1+0.0075)

x  =  \frac{1680}{1+0.0075}

x = 1667.50

so firm deposit  is $1667.50

3 0
3 years ago
*HELP* *NEEDS IT ALSO TODAY RIGHT NOW*<br><br> Compare.
OverLord2011 [107]

it would be less because rt42 is closer to halfway between 6 and 7

7 0
2 years ago
Read 2 more answers
The formula V = Bh, where B represents the area of the base, can be used to find the volume of a cylinder. Which formula is equi
Aneli [31]

Answer: C) V = πr2h

Explanation: If we have a cylinder with the radius r and height h, the volume, V of the cylinder is:

V = πr2h

where π is a number that is approximately equal to 3.14.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Factor out the coefficient 1/4b + 1/2
    7·1 answer
  • Simplify 7x+3y-2+6x-1-y^2
    8·1 answer
  • Match each term to their definition. 1. additive identity the reciprocal of a number; if x is a number other than zero, then 1/x
    10·1 answer
  • A cylindrical piece of iron pipe is shown below. The wall of the pipe is 1.25 inches thick: The figure shows a cylinder of heigh
    13·1 answer
  • Algebra help!!! giving brainliest and you’ll get 20 points rather than 10!!! (asap please)
    9·2 answers
  • Antiderivative of Acceleration is???
    11·2 answers
  • Need answer with full work
    15·1 answer
  • Using F(x) = 5x^2- 3, what is f(-3)?<br><br> A. 42<br> B. -3<br> C.-48<br> D. -42
    8·1 answer
  • In PQR, P = 90°, Q = 40° and PR =9cm. Find the length of QR .​
    15·1 answer
  • The weather report says there is a 30%
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!