[R] Hello!

From: Amanda Zeqiri <amandazeqiri_at_hotmail.com>
Date: Sun, 29 May 2011 21:27:58 +0200

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_at_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. Received on Sun 29 May 2011 - 22:36:31 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 30 May 2011 - 08:50:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive