[R] help me

stephen sefick ssefick at gmail.com
Mon Jan 5 21:31:50 CET 2009


Is this homework?  Anyway, the attachment has been stripped off.  Here
is how to plot the function.

fun <- function(x, y){
	a <- 4
	b <- x^2
	d <- y^2
	z <- a-b-d
	return(z)
	}
	
a <- fun(seq(-1000,1000,1), seq(-1000,1000,1))
plot(a)

#integration should be easy enough...
help.search("integration")

numerical integrations is also possible and I know how to do this...
But this can't be homework.  Anyway this should get you started.

On Mon, Jan 5, 2009 at 2:33 PM, jolka sukyte <jolcka at gmail.com> wrote:
> Hello,
>
> I am a student and I working with R. I want to ask you  how to solve
> this integral which is shown in image attach with this letter. And how
> to draw this function  z = 4 – x2 – y2 , width intervals x = ±1, y =
> ±1. Thank You.
>
>
> Yours sincerely,
> Jolanta
>
> ______________________________________________
> 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.
>
>



-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis


More information about the R-help mailing list