x=.4
  ]N=.(x^3)-64 NB. numerator
0
  ]D=.((x^2)-x)-12 NB. denominator
0
  N%D NB. ratio
0
  NB. apply l'Hopistal's rule:
  ]N1=.3*x^2 NB. first derivative of the numerator
48
  ]D1=.(2*x)-1 NB. first derivative of the denominator
7
  N1%D1 NB. ratio of derivatives
6.85714
  (N%D)=N1%D1
0 NB. contradiction of l'Hospital
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to