Re: [R] Hello!

From: Dennis Murphy <djmuser_at_gmail.com>
Date: Mon, 30 May 2011 01:42:57 -0700

Hi:

Use the PolynomF package. Once you've installed it from CRAN, try the following code:

library(PolynomF)
example(PolynomF)

The example contains a block of code to construct a list of Hermite polynomials which are stored in a list object named H. After you've run the example, try

deriv(H)
integral(H)

A careful reading of the documentation should help you solve a number of useful problems.

HTH,
Dennis

On Sun, May 29, 2011 at 12:27 PM, Amanda Zeqiri <amandazeqiri_at_hotmail.com> wrote:
>
> 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.
>



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 Mon 30 May 2011 - 08:44:42 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 - 09:00: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