Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have this differential equation $y'=\frac{y(\sin t)}{t}$, $y(0)=2$, and $h=\frac{1}{4}$. The first set of values, the inital, are $(0,2)$. For the next iteration would it be $y_1=2+(\frac{1}{4})\left(\frac{2\cdot\sin(0)}{0}\right)$? I know you can't divide by zero, so what would should I do in this case?

Thank you.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Use the fact that $$ \lim_{x\to 0} \frac{\sin(x)}{x}=1. $$

share|improve this answer
    
Great, I didn't think of that, thanks! –  Alti Nov 28 '12 at 4:54
    
@Alti: You are welcome. –  Mhenni Benghorbal Nov 28 '12 at 5:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.