## numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

Limits, differentiation, related rates, integration, trig integrals, etc.
BRAIN
Posts: 6
Joined: Thu Mar 26, 2009 9:28 pm
Contact:

### numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

How to obtain Numerical solution for the range x=1 to x=1.5 with intervals of 0.1 if dy/dx=3-y/x?
if dy/dx=3-y/x

Martingale
Posts: 333
Joined: Mon Mar 30, 2009 1:30 pm
Location: USA
Contact:

### Re: numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

How to obtain Numerical solution for the range x=1 to x=1.5 with intervals of 0.1 if dy/dx=3-y/x?
if dy/dx=3-y/x
Since you didn't indicate which technique to use I'd assume that you are wanting to use the Euler method.

where are you stuck?

BRAIN
Posts: 6
Joined: Thu Mar 26, 2009 9:28 pm
Contact:

### Re: numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

Thank you for answer, yes I am using Euler method, I actually worked out to use of euler method but my problem is that to differentiate the dy/dx = 3 - y/x at the beginnining.!?
Thank you

Martingale
Posts: 333
Joined: Mon Mar 30, 2009 1:30 pm
Location: USA
Contact:

### Re: numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

Thank you for answer, yes I am using Euler method, I actually worked out to use of euler method but my problem is that to differentiate the dy/dx = 3 - y/x at the beginnining.!?
Thank you

why would you want to differentiate $\frac{dy}{dx} = 3 - \frac{y}{x}$?

BRAIN
Posts: 6
Joined: Thu Mar 26, 2009 9:28 pm
Contact:

### Re: numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

Well I am not sure if I really need to differentiate this equation but in my other class exercise we differentiate dy/dx + y = 2x to 2x-y !
so I thought I need to differentiate dy/dx = 3 - y/x too ! so I was confused with all, Am I wrong?

If I don't need to then I can carry on using Euler method!?

Thanks

Martingale
Posts: 333
Joined: Mon Mar 30, 2009 1:30 pm
Location: USA
Contact:

### Re: numerical solns to dy/dx=3-y/x on [1,1.5] w/ 0.1 intervals

Well I am not sure if I really need to differentiate this equation but in my other class exercise we differentiate dy/dx + y = 2x to 2x-y !
This is not differentiating... this is just solving for dy/dx (which you want to do). In your problem you already have dy/dx as a function of x and y.

so I thought I need to differentiate dy/dx = 3 - y/x too ! so I was confused with all, Am I wrong?

If I don't need to then I can carry on using Euler method!?

Thanks
no you don't need to differentiate and you can use Euler's method. Just follow the outline in your book, notes or the link I provided above.