Question

Write a Maple program to solve analytically the ordinary differential equation dy dt = y 2...

Write a Maple program to solve analytically the ordinary differential equation dy dt = y 2 + 1 with initial condition y(0) = 0. What solution is found? Verify (on paper) that the solution found satisfies the differential equation and initial condition.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Here are the initializations that we need to make before we start solving ODEs in MAPLE

with (DEtools):

with (LinearAlgebra):

with (Plots):

First of all we need to enter the ode into MAPLE. Here is the code for entering the ODE

ode := diff(y(t),t) = y^2 + 1;

Now we enter what the unknown function is. In this case it is y(t).

fn := y(t);

Now, to input the initial condition

ic := y(0)=0;

To solve the ODE we use the dsolve function

sol := dsolve({ode,ic}, fn);

Then sol is the solution for the ODE. You can now print the value of sol and find the solution.

Add a comment
Know the answer?
Add Answer to:
Write a Maple program to solve analytically the ordinary differential equation dy dt = y 2...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT