Pick any exercise in Chapter 12 of the calculus textbook. Post the solution or your attempt. Discuss any issues you might have had.
What were the most valuable elements you took away from this course?
Page 689
In Exercises 15 - 22, describe in words and sketch the level curves for the function and given c values.
Consider \(c=0\). Then \(f(x,y) = x-y^2 = c = 0\), so \(y = \pm\sqrt{x}\).
The horizontal plane at \(c=0\) will intersect the surface following a parabola that is facing right.
With \(c=-2\), \(y=\pm\sqrt{x+2}\) and with \(c=2\), \(y=\pm\sqrt{x-2}\), so the intersection will have the same shape (parabola) just shifted by 2.
Let us plot the 3 level curves.
x <- seq(-5,20,0.05)
y <- seq(-5, 5,0.05)
xy <- data.frame(expand.grid(x=x, y=y))
z <- xy$x-xy$y^2
f <- data.frame(xy, z)
ggplot(f, aes(x, y, z=z))+
geom_raster(aes(fill=z))+
geom_contour(breaks=c(-2,0,2), colour="white")+
xlab("x")+ylab("y")Even with contour coloring, it is somewhat difficult to imagine the surface. Luckily, rgl makes it incredible easy. And you can use your mouse to adjust graph perspective. Embedding the graph into an RMarkdown file proved to be more difficult.
After a long time I came in touch with my beloved higher mathematics again especially calculus and revisit old engineering mathematics concepts such as LU decomposition and many new R concepts which I was not aware, especially use of Latex to solve any mathematical problem without hand-written functions. This will really help me in my data science journey especially in machine learning and deep learning both in understanding and solving them.