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 new truck costs $32,000 if the truck is worth 24,500 after three years write an explicit formula for the value of the car afte
Debora [2.8K]

Answer:

Step-by-step explanation:

depreciation for three years = 32000 - 24500 = $ 7500

depreciation per year = 7500/3 = $ 2500

depreciation % = (2500/32000)*100 = 7.81%

Value of truck after n years = 32000 * (7.81%)*n

8 0
3 years ago
1. A 25% discount on a skateboard is $24.75. What is the cost before the discount?
klasskru [66]

Answer:

1. $33

2. 25%

3. 20%

4. Masako

5. 53.20

6.57.46

Step-by-step explanation:

5 0
2 years ago
What is the perimeter of a square with s = 8 centimeters?
andrew11 [14]

Answer:

32centimeters

Step-by-step explanation:

4 sides are in a sqaure and all of them are equal so

8 times 4 is 32

3 0
3 years ago
What is x when the equation is 5|2x+3|=45?
storchak [24]
1.)divide by 5 on each side to obtain
Abs(2x+3)=45
2x+3=45 or 2x+3=-45
2x=42 or 2x=-48
x=21 or x=-24
6 0
3 years ago
Read 2 more answers
There are 3x-2 trees planted in each row of a rectangular Parcel of land. If there are a total of 24x-16 trees planted and the p
STatiana [176]
There are 8 rows of trees
3 0
3 years ago
Other questions:
  • A balloon has a circumference of 23 cm. Use the circumference to approximate the surface area of the balloon to the nearest squa
    6·2 answers
  • Simplify open parentheses x to the 2 ninths power close parentheses to the 3 eighths power. x to the 5 seventeenths power x to t
    9·2 answers
  • Please help me solve all of these for M and B.
    9·1 answer
  • Write the equation in standard form 4x-3=5y
    9·2 answers
  • Jenny just went shoe shopping. Now she has 5 more pairs of shoes than her brother does. Together, they have 25 pairs of shoes.
    10·2 answers
  • Find the Area of the shape below.
    11·1 answer
  • Help me plsss giving out 16 points
    14·1 answer
  • Please help me awarding brainliest!
    11·2 answers
  • -9x -2y=3<br> - 2x-y=-1<br> HELP ASAP
    5·1 answer
  • Determine the area of figure round to the nearest tenth if necessary..
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!