On 21/05/2009, at 11:35 AM, Kon Knafelman wrote:
Hey guys, sorry im drawing a mental blank.
i have coded the function:
y <- function(x) 6*x^4-(1*x^2)^3
How do i evaluate this function for a given x?
i know this is a ridiculous question, but thanks anyway
> y(1.6)
or
> x <- 1.6
g
> Subject: [R] evaluate polynomial
>
>
> Hey guys, sorry im drawing a mental blank.
>
>
>
> i have coded the function:
>
>
>
> y <- function(x) 6*x^4-(1*x^2)^3
>
>
>
> How do i evaluate this function for a given x?
&
Hey guys, sorry im drawing a mental blank.
i have coded the function:
y <- function(x) 6*x^4-(1*x^2)^3
How do i evaluate this function for a given x?
i know this is a ridiculous question, but thanks anyway
_
[[elided
3 matches
Mail list logo