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
How do you do this ? Need some help ASAP!
Ivan

Answer:

On what

Step-by-step explanation:

6 0
2 years ago
Mia wrote an equation to approximate the total number of calories in the strawberries she was eating. She used the equation y =
kifflom [539]

Answer: I think b but don’t take my word

Step-by-step explanation:

6 0
2 years ago
Read 2 more answers
A farmer bought a number of pigs for $160. However, 8 of them died before he could sell the rest at a profit of 6 per pig. His t
juin [17]

Answer:

The farmer bought 36 pigs in all.

Step-by-step explanation:

Given that a farmer bought a number of pigs for $ 160, but, however, 8 of them died before he could sell the rest at a profit of 6 per pig, and his total profit was $ 8, to determine how many pigs did he originally buy the following calculation must be performed:

160 + 8 = 168

168/6 = 28

28 + 8 = 36

Thus, the farmer bought 36 pigs in all.

6 0
3 years ago
Show all work to factor x^4 − 5x^2 + 4 completely.
Mademuasel [1]

Answer:

(x+1) (x-1) (x+2) (x-2)

Step-by-step explanation:

<u>Let u = x^2</u>

= u^2 - 5u + 4

<u>(Factor u^2 - 5u + 4)</u>

= (u-1) (u-4)

<u>Substitute back u = x^2</u>

= (x^2 -1 ) (x^2 - 4)

<u>Factor x^2 - 1 and x^2 -4</u>

= (x+1) (x-1) (x+2) (x-2)

Hope this helped... :)

If you need to see the work for yourself, copy/paste this link

https://www.symbolab.com/solver/factor-calculator/factor%20x%5E%7B4%7D%20%E2%88%92%205x%5E%7B2%7D%20%2B%204%20

3 0
3 years ago
Read 2 more answers
That or they on average Shantae drinks a 1/2 of a 6 oz glass of water and 2/3 of an hour how much water does she drink an hour​
nikklg [1K]

Answer:

7oz of water

Step-by-step explanation:

6(1/2)= 3; 6(2/3)= 4; 3+4=7

5 0
3 years ago
Other questions:
  • Math question down below
    5·2 answers
  • Can somebody help me
    7·1 answer
  • How do i solve this chart
    15·2 answers
  • Help solve #25-29 pls help me !!!
    13·1 answer
  • Simplify the expressions if it is possible. if the expression is already simplified write the word simplified.
    13·1 answer
  • What expression is equivalent to 5(6x + 3y)
    7·1 answer
  • Write the equation of a line in slope-intercept form with a slope of -1 and a y-intercept of -1. please answer b4 9:00 tdy ASAP.
    8·1 answer
  • Help help I will make you brain list!!
    5·1 answer
  • HELP ASAP PLSSS IM DESPERATE!!!! HELP IN 5MINS PLS!!!
    11·1 answer
  • Can someone PLEASE PLEASE HELP ME PLEASE correct answers only pls;-;)
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!