# [R] Help me...!!!

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Tue May 26 18:00:49 CEST 2009

```Is this homework?

Specifically, "Basic statistics and classroom homework:  R-help is not
intended for these."

http://www.r-project.org/posting-guide.html

abel1682 wrote:
> Hi to all...i'm a new R'user and i have to solve some exercies so i ask to
> tou for an help...
>
> 1.) How i can demonstrate  in R that  the limit for x-->infinite of
> (1+1/x)^x is equal to "e"?
> 2.) if i have a vector of values how can i create a function that, applied
> to my vector, give me "median", "mean", "Var" and "length" togheter?
> 3.)Find the minimum of this function:
>                                                     f(x)=(x-3)^4
> with the Newton method.
>
> 4.) Define a function that is able to calculate the geometric mean of a
> seriation:
>
> Sorry for all these questions...
> Thanks a lot!!!...

--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.6057

```