We get an error while using the following function.Please advise.

 newton.method(FUN = function(b) 10/b+sum(a)-10*sum((x^b)*a)/sum(x^b), init
= 5,    tol = 0.001)

Error in deriv.default(as.expression(body(FUN)), nms, function.arg = TRUE)
:
        Function 'sum' is not in the derivatives table

-- 
Kanchan Jain
Professor
Deptt. of Statistics
Panjab University
Chandigarh-160014 (India)
+919872641634
+919814301634
RES: House No. 34, Sector 16,
Panchkula -134113 (India)
Ph: 0172-2572505, 0172-2567781

	[[alternative HTML version deleted]]

