To illustrate l'Hospital's rule, you should include a small
epsilon.

N1=:}.@([EMAIL PROTECTED])N=: _64 0 0 1
D1=:}.@([EMAIL PROTECTED])D=: _12 _1 1
   ((N&p.%D&p.),.N1&p.%D1&p.) 4+1e_9
6.85714 6.85714

If you like, you might go further and try and
implement limit (projecting what the epsilon
would be as epsilon approaches zero), but
the implementation of floating point numbrs
can make this quite challenging.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to