Hi, I'm a student studing for Math. & Infor. Ing. in Tirana,Albania and a have a final project in R to finish in a week, so I badly need your help...
The topic of the project is "Hermite Interpolation" and a I have allready done a script that finds the approximation in a certan point x, H(x) ~f(x) but i want to find the value of his derivative H'(x)~f'(x) as well and to do this I need the polynomial form of H(x)=a1*x^(2n+1) + a2*x^(2n) + ... + an but R requires x to be a value not a declared variable. Then I want to find the derivative of this polynomial and evaluate it. So my point is how can I built a function f(x)=x^+x+1 and do its derivate dipending on x. I also tryed: >library(Ryacas) >x <- Sym("x") >Simplify(deriv(sqrt(1 - x^2),x,2)) but It didn't work please help me or I'll have to repeat the year and it's my last year. Thank you [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.