Solve the differential equation

In summary, the conversation discusses finding the solution to a separable differential equation and calculating y(10) for the given equation. The process involves separating the equation and using integration to find the solution. The final result for y(10) is given in post #9.
  • #1
tuablink
24
0

Homework Statement


a.Find solution to the differential equation
dy/dx=cos(x^2)*exp(sin(x));y(0)=0 for x in the interval [0,10]
b.find y(10)


Homework Equations





The Attempt at a Solution


I don't know where to begin
 
Physics news on Phys.org
  • #2
That differential equation is separable.
 
  • #3
I got:
y = cos(x^2)*exp(sin(x))
integral(y) = integral(cos(x^2)*exp(sin(x)))
I got stuck. What do I need to do next
 
  • #4
After separation you should have
[tex]\int dy~=~\int cos(x^2)e^{sin(x)}dx[/tex]

Now is a good time to verify that you have given us the correct differential equation.
 
  • #5
I actually use ODE45 in MATLAB to solve the equation and plot it simultaneously.
I tried to integrate the equation using 'int' command but it did not work.
I have no clue how to solve it with only one variable on the right hand side because to solve the separable differential equation you need x and y.
 
  • #6
are u sure this is the right differential equation?

u get [tex]Y =~\int cos(x^2)e^{sin(x)}dx[/tex]

but i enter the right side in mathematica and get no result
 
  • #7
I am positive. The original equation is dy/dx = cos(x^2)*exp(sin(x))
 
  • #8
For the a part,
[tex]y(x)~=~\int_{t = 0}^{x} cos(t^2)e^{sin(t)}dt[/tex]

For the b part,
[tex]\int_{x = 0}^{10} dy~=~\int_{x = 0}^{10} cos(x^2)e^{sin(x)}dx[/tex]
[tex]\Rightarrow y(10) - y(0)~=~\int_{x = 0}^{10} cos(x^2)e^{sin(x)}dx[/tex]
Since y(0) = 0, then
[tex]y(10)~=~\int_{x = 0}^{10} cos(x^2)e^{sin(x)}dx[/tex]

I don't think you can do much more with this if the exact solution is what is wanted.
 
  • #9
But how can I find y(10)
 
  • #10
Look in post #9. There it is.
 

Related to Solve the differential equation

1. How do you solve a differential equation?

Solving a differential equation involves finding the function that satisfies the equation. This can be done through various methods such as separation of variables, substitution, and using integrating factors.

2. What is the difference between an ordinary and a partial differential equation?

Ordinary differential equations involve only one independent variable, while partial differential equations involve multiple independent variables. This means that the solution to a partial differential equation is a function of more than one variable.

3. Can all differential equations be solved analytically?

No, not all differential equations have analytic solutions. Some equations may only have numerical solutions, which can be approximated through numerical methods such as Euler's method or Runge-Kutta methods.

4. How do initial and boundary conditions affect the solution of a differential equation?

Initial conditions specify the value of the dependent variable at a specific point, while boundary conditions specify the behavior of the function at the boundaries of the domain. These conditions are necessary for finding a unique solution to a differential equation.

5. What are some real-world applications of differential equations?

Differential equations are used to model various physical and natural phenomena, such as population growth, electrical circuits, and fluid flow. They are also used in economics, engineering, and other fields to analyze and predict behaviors and trends.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
212
  • Calculus and Beyond Homework Help
Replies
10
Views
575
  • Calculus and Beyond Homework Help
Replies
7
Views
474
  • Calculus and Beyond Homework Help
Replies
1
Views
913
  • Calculus and Beyond Homework Help
Replies
27
Views
352
  • Calculus and Beyond Homework Help
Replies
2
Views
828
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
638
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
365
Back
Top