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 I divide whole numbers by fraction? (Ex: 12 ÷ 1⁄2)
Readme [11.4K]
That would be 6 just put the the whole number over one and keep flip change
7 0
2 years ago
Read 2 more answers
What is the distance of 1.5 to -2 on a number line and how can you show it
user100 [1]

Answer:

The distance is 3.5

Step-by-step explanation:

5 0
3 years ago
What is the solution of the equation?-10 + sqrt x+8 = -4
pantera1 [17]
D:x+8\geq0\to x\geq-8\\\\-10+\sqrt{x+8}=-4\ \ \ /+10\\\\\sqrt{x+8}=-4+10\\\\\sqrt{x+8}=6\iff x+8=36\\\\x=36-8\\\\x=28\in D
6 0
2 years ago
Drag each equation to the model and situation it matches.<br> (Picture) *I will give a brainliest
arlik [135]

Answer:

First model gets the equation: y = 2 . 2^z

Second model gets the equation: y = 4^z

Third model gets the equation: y: = 4 . 2^z

7 0
2 years ago
How can exponents express such numbers as 16
KonstantinChe [14]
You can do 4 to the second power and get 16
7 0
2 years ago
Other questions:
  • The braking distance of an automobile varies directly as the square of the speed. If
    15·1 answer
  • Solve for f.<br><br> –7f − 9 = 9 − 4f<br><br> f =
    5·1 answer
  • When you measure the length of an object to the eighth of an inch and again to the fourth of an inch, which measurement is more
    13·1 answer
  • Which expression is equivalent to ^3 square root 343 x^9 v^12 z^6?
    15·1 answer
  • The green darner is one of the largest dragonflies. It weighs about four hundredths of an ounce. Write four hundredths in standa
    7·1 answer
  • At the market,
    7·2 answers
  • Solve the equation q(t)= 4t^2 +5 / t^2 ; t= -x
    10·1 answer
  • Which of the following do indexes and scales have in common?
    14·1 answer
  • Explain why triangle pqs is isosceles
    10·1 answer
  • Absolute value of 35+|-35|=​
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!