Solve the differential equation

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation of the form dy/dx = cos(x^2)*exp(sin(x)), with an initial condition y(0) = 0, over the interval [0,10]. Participants are exploring methods to find a solution and evaluate y(10).

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Some participants identify the equation as separable and discuss the integration process. Others express uncertainty about the correctness of the differential equation and the integration results. There are attempts to use computational tools like MATLAB and Mathematica for solving the equation.

Discussion Status

The discussion is active, with participants sharing their attempts and questioning the validity of the differential equation. Some guidance has been provided regarding the integration process, but there is no consensus on how to proceed further with finding y(10).

Contextual Notes

Participants are grappling with the integration of the right-hand side of the equation and the implications of the initial condition. There is mention of difficulties in obtaining results from computational tools, which may affect their approach to finding a solution.

tuablink
Messages
24
Reaction score
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
That differential equation is separable.
 
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
 
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.
 
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.
 
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
 
I am positive. The original equation is dy/dx = cos(x^2)*exp(sin(x))
 
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.
 
But how can I find y(10)
 
  • #10
Look in post #9. There it is.
 

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K