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]
3 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]3 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
A ball that is dropped from a height of 18 feet loses 25% of its height with each bounce
dangina [55]

Answer:

2.4

Step-by-step explanation:

5 0
3 years ago
L = $20 r = 4% t = 2 years
Annette [7]
I'm guessing this is a question about interest rates? If you have $20 that increases by 4% in one year, you need to multiply 20 by 1.04. This gets you $20.8.

If you are talking about compound interest, we will take this number and multiply it again by 1.04 for the second year. 20.8 x 1.04 = $21.632. 

If it is instead simple interest, we will simply add another .8 dollars for each year, instead of getting 4% interest compounded every year onto the new value. This gets you $21.6.
7 0
3 years ago
What is the slope of a line with endpoints at (3,4) and (2,5)?
Lesechka [4]

\bf (\stackrel{x_1}{3}~,~\stackrel{y_1}{4})\qquad (\stackrel{x_2}{2}~,~\stackrel{y_2}{5}) \\\\\\ slope = m\implies \cfrac{\stackrel{rise}{ y_2- y_1}}{\stackrel{run}{ x_2- x_1}}\implies \cfrac{5-4}{2-3}\implies \cfrac{1}{-1}\implies -1

6 0
3 years ago
Read 2 more answers
Find the center and radius of (x + 0.2)2 + (y + 0.1)2 = 0.3<br><br> (with an explanation please)
pshichka [43]
Hope this helps you!

8 0
3 years ago
HELP APPRECIATED PLEASEEE<br> WILL GIVE BRAINLIEST !!!
kakasveta [241]

Answer:

the first line

Step-by-step explanation:

because 1.75 is almost to the number 2

hope this helps

8 0
3 years ago
Other questions:
  • steven wants to buy a $565 bicycle. Steven has no money saved, but will be able to deposit $30 into a saving account when he rec
    7·1 answer
  • malcolm buys a 5/6 pound bag of black beans and a 3/4 pound bag of pinto beans. how many pond of beans does malcolm buy in all
    10·1 answer
  • Makayla is moving and must rent a truck. There is an initial charge of $40 for the rental plus a fee of $3 per mile driven. Writ
    14·1 answer
  • Please help me ASAP!!!
    10·1 answer
  • 3. On a morning walk, Betty, Christine and Ann step off together. Their steps measure 50, 75
    6·1 answer
  • A circular running track is 1/4 mile long. Elena runs on this track completing each lap in 1/4 of an hour. What is Elena's runni
    11·1 answer
  • Find all possible values for the variables. complete two of the three problems
    13·1 answer
  • Hi quick whats 18 x 1.25 <br> step by step !!
    8·1 answer
  • Michael started baking at 6:35 PM and finished at 7:22 PM. How long did it take him? Give your answer in minutes.
    5·1 answer
  • Please I need help. Thanks
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!