Try this: > library(Ryacas) # http://ryacas.googlecode.com Loading required package: XML > > x <- Sym("x") > h <- Sym("h") > > # limit > Limit(1/(1-x), x, Infinity) [1] "Starting Yacas!" expression(0) > > # differentiation > deriv(x^3, x) expression(3 * x^2) > > # integration: indefinite and definite > Integrate(x^3, x) expression(x^4/4) > Integrate(x^3, x, 0, 1) expression(1/4) > > # mean value > Limit((cos(x+h)-cos(x))/h, h, 0) expression(-sin(x)) > > # min/max > Solve(deriv(x^2-x, x) == 0, x) expression(list(x == 1/2)) > > # continuity > Limit(sin(x+h^2) - sin(x-h^2), h, 0) expression(0)
On Sun, Mar 21, 2010 at 11:26 AM, ATANU <ata.s...@gmail.com> wrote: > > can anyone suggest how can i do calculus > (e.g.limit,differentiation,integrate,mean value theorem,definite > integral,convergence,maxima minima of functions,checking continuity) using > R?? > -- > View this message in context: > http://n4.nabble.com/calculus-using-R-tp1676727p1676727.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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@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.