We don't do homework on this list: also, this is basic calculus, not quadratic programming.
Best, Michael On Jul 24, 2012, at 1:10 PM, Joel Muli <joe...@yahoo.com> wrote: > hi, > what code in R would I use to solve the problem below? > > An apartment complex has 250 apartments to rent.If they rent x apartments > then their monthly profit is given by: > p(x)= -8^x^2 + 3200x -80000 > > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.