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
Suppose a jar contains 5 red marbles and 25 blue marbles. If you reach in the jar and pull out one marble at random, do not repl
dsp73

Answer:

Probability that event will have both red marbles will be 2.3% or 0.023.

Step-by-step explanation:

Given:

Total red marbles=5

Total blue marbles=25

Total number of marbles =30

To Find:

The probability that both are red without replacement of marbles.

Solution:

Now

Total sample space is 30 and total red marbles are 5

For a event that getting red marble probability is ,

=Total red marbles /total marbles.

=5/30

=1/6

So probability if getting red marble is 1/6

<em>Now for second chance there will be 4 red marbles remaining and 29 total marbles so,</em>

In second chance  probability if getting red marble will be

=total red marbles present/total marbles remaining

=4/29

Now ,

The required probability will be getting both at a time

i.e probability getting red AND red marble so here AND operator which means multiple both the probability.

Probability both will have red =1/6*4/29

=4/(29*6)=2/(29*3)

=0.022988

=0.023

=2.3 %

8 0
3 years ago
Kristen can type a 50-page paper in 8 hours. Last month, Kristen and Courtney typed a 50-page paper in 6 hours. How long would i
Vladimir [108]

Answer:

24 hours

Step-by-step explanation:

Kristen = 8 hours

Kristen and Courtney = 6 hours

Courtney = x hours

in six hours kirsten can do 6/8 of the job

6/8 = 3/4

So kirsten is going to be doing 3/4 of the job

Courtney is only going to do 1/4 of the job

Number of hours it takes Courtney to do the job

6/x = 1/4

Cross product

6 * 4 = x * 1

24 = x

x = 24 hours

It will take Courtney 24 hours to type a 50-page paper on her own

5 0
2 years ago
PLEASE HELP ME !!!! WILL GIVE BRAINLIEST TO WHOEVER ANSWERS CORRECTLY
Margarita [4]

Answer:

(8x + 1)° + ( 4x+11)° = 180° (linear pair )

8x +1 + 4x +11 = 180

8x + 4x + 1 + 11 = 180

12x + 12 = 180

12x = 180 - 12

12x = 168

x= 168/12

x = 14

3 0
3 years ago
3. Crystal has decided to drive her new car on the west coast from California to Washington, which is about 930
antoniya [11.8K]

Answer:

The correct option is the first graph (Yes)

Step-by-step explanation:

The given function is W(d) = 930/d

Where;

W(d) = The number of days it would take to get to Washington

d = The distance travelled each day in miles

We note that the given graphs have number of days in the y-axis and the miles in the x-axis, and that in the function, the distance Crystal travels each day is constant, <em>d</em>, while the 930 is the total distance from California to Washington, while W(d) is the time

Therefore, the variables for crystal are W(d) and the part of 930 miles completed, while the constant is the speed, d = miles/day, which gives;

W(d) = 930/d

W(d) ∝ Part of 930 miles completed × Constant

∴ W(d) which is the time is directly proportional to the distance

The graph which represents the number of days, W(d) it will take Crystal to get to Washington (miles completed) as a function of distance traveled per day, <em>d</em>, which is constant is a straight line graph which is the first graph

7 0
2 years ago
What number is a factor of 24 but not a multiple of 12 Answer choices A) 8 B) 9 C) 5 D)
schepotkina [342]
It’s A because 3 8’s are 24 but it’s not a mulitiple of 12
5 0
2 years ago
Read 2 more answers
Other questions:
  • Find the area of a triangle with an 11-inch base and a 6-inch height.<br> A =
    6·1 answer
  • How many times does 63 go into 100,000
    15·2 answers
  • At a track meet with 200 participants, 45 participate in jumping event, 1/3 of these jumpers are female, and 1/2 of the the tota
    12·1 answer
  • HOW TO CHANGE THE PERCENT INTO DECIMAL?<br> 98%= ?
    8·2 answers
  • =
    11·1 answer
  • Assessment timer and count
    10·1 answer
  • You are making a salad. The ratio of olives to croutons is 5 : 3. You put 12 croutons in your salad. How many olives do you put
    13·2 answers
  • 1. 4(x-3)=-24<br>2. 5(x+3)=30<br>solve for x​
    13·2 answers
  • Three stores have the same tablet computer on sale. The regular price of the tablet is $150. Store A is offering the tablet on s
    8·1 answer
  • Select ALL of the real-life situations could be represented by finding surface area.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!