How can I use Euler's Method in order to find the value of a constant k given the differential equation?

855 Views Asked by At

So, I am trying to attempt part b of this problem using my answer from part a. I just want to confirm if I did part a correctly and how I can do part b?

enter image description here

1

There are 1 best solutions below

2
On BEST ANSWER

hint

There are two possibilities :

with Euler after, $\; $ at $ x=0 $, the equation is $$f'(0)=\frac{f(1)-f(0)}{\Delta x}=2f(0)+1$$

thus $ k=-\frac 13.$

Euler before, $\; $ at $ x=1 $, gives

$$f'(1)=\frac{f(1)-f(0)}{\Delta x}=3+2f(1)+1$$ hence $ k=- 4$.