Announcements
- 2015/02/19 Quiz 3 and its solutions are posted. Also, check out the symbolics_are_bad.m MATLAB example, which solves the problem from one of the MATLAB assignments in two ways and checks the timing.
- 2015/02/5 You now can submit suggestions/requests to the TA anonymously via this survey.
- 2015/02/5 Quiz 2 and its solutions are posted.
- 2015/02/4 Quiz 1 and its solutions are posted.
- 2015/02/3 MATLAB symbolic & numeric computation examples posted. See the no_magic_example.m for an intro to how the black-box functions are implemented.
- 2015/01/25 Welcome to the Spring 2015 Calculus II!
Additional reading
Quizzes
Quiz 1 | Solutions | ||||
Quiz 2 | Solutions | ||||
Quiz 3 | Solutions |
MATLAB examples
Examples from the lab:
symbolics_1.m | A simple example using symbolic variables (defining, solving, simplifying, etc.) |
symbolics_2.m | An involved example using symbolics: solving, integrating, computing areas |
symbolics_3.m | An example using symbolics and computing the volume of the solid of revolution |
numerics_example.m | How one really SHOULD do all of the above in Matlab: using numerical tools |
no_magic_example.m |
Magic demystified in this closer-to-the-metal example. Do all of the above using basic syntax only - this transfers to other languages, too. |
symbolics_are_bad.m |
The problem: find b s.t. average of f on [0, b] is 7. Solved in 2 ways (num. and sym.).
Watch the symbolic toolkit crash and burn here (and why you really should not use it for problems like this). |
Cool examples:
mandelbrot.m | Draws the Mandelbrot fractal |
sierp.m | Draws the Sierpinski triangle |
sierp_better.m | Draws the Sierpinski triangle in a better way |
dragon.m | Draws the Dragon curve |
game_of_life.m | Plays Conway's game of Life |
cycloida.m | Draws a nice cycloida curve |
curveplot_anim.m | Draws an animated curve in 3-dimensional space |
anim_plot.m | Draws an animated surface plot |
a_3d_line_plot.m | Draws a plot of a curve in 3-space |
a_3d_surface_plot.m | Draws a plot of a hyperbolic paraboloid |
approximate_pi.m | Approximates Pi with square roots |
Other examples:
curvelength.m | Plotting a parametric curve and numerically computing its length |
step_size_importance.m | Illustrates why picking a small step size is important |
Useful Links
- Professor's course webpage
- TAMU Calclabs
- MATLAB alternatives: