Register to reply

Euler's Method question.

by que
Tags: euler, method
Share this thread:
que
#1
Mar24-06, 05:27 PM
P: 3
I need some clarification please the question is:
-Using Euler's method with h = .25 given dy/dx = ycosx ,y(0) = 1 on the interval 0 <= x =< pi/4.

are the X's : pi/12, pi/6, pi/4 OR .25, .50, .75 ??

some help please

que.
Phys.Org News Partner Science news on Phys.org
'Office life' of bacteria may be their weak spot
Lunar explorers will walk at higher speeds than thought
Philips introduces BlueTouch, PulseRelief control for pain relief
Integral
#2
Mar25-06, 01:42 AM
Emeritus
Sci Advisor
PF Gold
Integral's Avatar
P: 7,337
[tex] x_0=0 [/tex]
[tex] x_1 = x_0 +h [/tex]
[tex] x_3 = x_0 + 2*h [/tex]

Continue until

[tex] x_n > \frac { \pi } 4 [/tex]
HallsofIvy
#3
Mar25-06, 06:01 AM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,683
Start at 0 and go by steps of h:
0, .25, .50, .75, 1, 1.25, 1.50.

It's a bit peculiar to use an h that does not divide evenly into the length of the interval. Are you sure you have read the problem correctly?

que
#4
Mar26-06, 12:04 AM
P: 3
Euler's Method question.

ok so what i get.
(x0,y0) = (0,1)
X1 = .25
Y1 = 1 + .25(1*cos(0)) = 1.25
i do this until x3,y3 where x3 = .75, and y3 = 1.8935
do i stop there since doing one more step will be > pi/4?

thanx.
que
#5
Mar26-06, 12:07 AM
P: 3
yes HallsofIvy i read the problem correctly that why i was confused since all the book problems use an h that is divide evenly into the length of the intervals.


Register to reply

Related Discussions
Fortran 90, Euler's method help Programming & Computer Science 2
Euler's Method General Math 2
Euler's method question Calculus & Beyond Homework 2
Euler's method Introductory Physics Homework 4
Euler's method Differential Equations 5