- #1
mmont012
- 39
- 0
Hello,
I am currently taking ODE's and the class has an optional lab to accompany it. So far in the lab we've been doing some pretty basic stuff. But we've finally moved on to entering in differential equations, and I'm confused. 1. Homework Statement
dydx+2x=2y
How do I enter this equation into maple?
I've tried
de1:=diff(y(x), x) +2x=2y;
Which gives me d/dx*y(x) +2x=2y
This isn't correct because it's not like the original problem.
Then I tried to solve it
dsolve(de1) ;
And it gave me an error message saying that I can't have y(x) in the same equation as y.
Any guidance will be extremely helpful. This is my first go at a programming language, so I'm not very familiar with a lot of things.
I am currently taking ODE's and the class has an optional lab to accompany it. So far in the lab we've been doing some pretty basic stuff. But we've finally moved on to entering in differential equations, and I'm confused. 1. Homework Statement
dydx+2x=2y
How do I enter this equation into maple?
Homework Equations
The Attempt at a Solution
I've tried
de1:=diff(y(x), x) +2x=2y;
Which gives me d/dx*y(x) +2x=2y
This isn't correct because it's not like the original problem.
Then I tried to solve it
dsolve(de1) ;
And it gave me an error message saying that I can't have y(x) in the same equation as y.
Any guidance will be extremely helpful. This is my first go at a programming language, so I'm not very familiar with a lot of things.