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
What is 5 to the square root of 1/2?​
Pepsi [2]

Answer:

the answer is 2.5 hope it helps

4 0
3 years ago
Read 2 more answers
Find last year’s salary if this year’s salary is $48,200 after a 3% pay raise ?
viktelen [127]

Answer:

49646

Step-by-step explanation:

6 0
3 years ago
When you measure an angle you usually have to choose between two numbers because
Snezhnost [94]

Answer:

B= 25°

A=138° /139°

...

...

....

....

.....

...

4 0
2 years ago
What is the measure of angle LKJ?
Dmitry_Shevchenko [17]
Where is the angle? How can I solve this without the problem?
8 0
3 years ago
Sandy is helping her uncle at this coffee shop. She observes that, when ordering coffee, 13 of customers select chocolate flavor
valkas [14]
The answer is 2/5 :)

Have A Good Day
 
Please stay in school

Dont do drugs... Heroin is bad for your body

Love you dudes <3
6 0
3 years ago
Read 2 more answers
Other questions:
  • Rose bought a new hat when she was on vacation.The following formula describes the total amount Rose paid t = c + cb = total cos
    7·2 answers
  • PLEASE HELP ME WITH MATH Write an explicit formula for the following sequence. Then generate the first five terms.
    6·1 answer
  • The 38,483 employees at a manufacturing company must attend a meeting about finances. The meeting room holds 315 people. How man
    11·1 answer
  • Would a cup be a good tool for measuring the amount of water in a bathtub? Explain why or why not.
    15·1 answer
  • Write a quadratic function f whose zeros are 1 and -12
    7·1 answer
  • Which pair shows equivalent expressions?
    7·1 answer
  • Can someone answer this??
    11·1 answer
  • Let x represent the number of pages left to be read in a book consisting of 780 pages.
    14·1 answer
  • The manager at a grocery store took a survey to determine the price of milk at 10 other stores in the area. The prices are
    10·1 answer
  • Brainliest if correct
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!