The .rmd file is available here.
Plot the function and its derivatives $F=(x-5)^2+6x$. Find the minimum of the function.
The R script for the solution is available here.
A lamp is hanging above the center of a circular table with a radius of $r$. Illumination is directly proportional to the cosine of the angle of incidence of the light rays and inversely proportional to the square of the distance to the light source. At what height $x$ above the table will the illumination of an object lying on the edge of the table be optimal? Let $r=1 m$. Plot the dependence of brightness on the height of the lamp suspension. Find the derivative of this function and plot its graph.
$F=\frac{\cos(a)}{r^2+x^2}=[\cos(a)=\frac{x}{\sqrt{r^2+x^2}}]=\frac{x}{(r^2+x^2)(\sqrt{r^2+x^2})}$, $\frac{dF}{dx}=\frac{r^2-2x^2}{(r^2 + x^2)^{5 / 2}}$.
The R script for the solution is available here.
Plot the three-dimensional and contour graph of the function $F=3x^2+xy+2y^2-x-4y$. Find the partial derivatives. Determine the points of maximum, minimum, and inflection. $\frac{dF}{dx}=6x+y-1$, $\frac{dF}{dy}=x+4y-4$.
The R script for the solution is available here.
Find the partial derivatives of the function $F=xy$ and the point where they are equal to 0. Plot the three-dimensional and contour graph. Identify any special points.
The R script for the solution is available here.