User Tools

Site Tools


gibson:teaching:spring-2015:math445:finaltopics

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gibson:teaching:spring-2015:math445:finaltopics [2015/05/05 06:55]
gibson [Matlab basics]
gibson:teaching:spring-2015:math445:finaltopics [2015/05/05 07:28] (current)
gibson [Math 445: final exam topics]
Line 1: Line 1:
 ====== Math 445: final exam topics ====== ====== Math 445: final exam topics ======
  
-Material to be covered on the final falls into three categories corresponding to three phases o  
- 
-  * matlab basics (exam 1 content) 
-  * functions, scripts, plotting, Newton solve, Monte Carlo methods (exam 2 topics) 
-  * 3D graphics and numerical integration of differential equations (material since exam 2) 
  
 ===== Matlab basics ===== ===== Matlab basics =====
Line 19: Line 14:
     * how Matlab represents true with 1 and false with 0     * how Matlab represents true with 1 and false with 0
     * comparison operators ''< ​ >  <=  >=  ==  ~='',​ e.g. ''​3 < 2''​ has value false, or 0     * comparison operators ''< ​ >  <=  >=  ==  ~='',​ e.g. ''​3 < 2''​ has value false, or 0
-    * logical operators ''&&​ || xor ~''​+    * logical operators ''&&​ || xor ~'' ​(and, or, exclusive or, not)
     * how to combine all these to make logical expressions,​ e.g. ''​3 < 2 || 4 > 1''​ has value true, or 1     * how to combine all these to make logical expressions,​ e.g. ''​3 < 2 || 4 > 1''​ has value true, or 1
   * Vectors and matrices   * Vectors and matrices
Line 32: Line 27:
     * elementwise operations: ''​- + .* ./ .^''​     * elementwise operations: ''​- + .* ./ .^''​
     * matrix-vector input/​output:​ ''​load/​save''​     * matrix-vector input/​output:​ ''​load/​save''​
-  * Plotting +  * Plotting ​functions of one variable ​ 
-    * making plots with ''​plot,​ semilogy, semilogx, loglog''​+    * making plots of 1d functions $f(x)$  ​with ''​plot,​ semilogy, semilogx, loglog''​
     * making plots with multiple graphs, colored, dashed, dot-dashed etc. lines, symbol markers     * making plots with multiple graphs, colored, dashed, dot-dashed etc. lines, symbol markers
     * annotation: ''​xlabel,​ ylabel, title, grid on, legend, axis, clf, legend, hold on, hold off''​     * annotation: ''​xlabel,​ ylabel, title, grid on, legend, axis, clf, legend, hold on, hold off''​
-    * graphical data analysis+    * graphical data analysis: be able to determine ''​y''​ as a function of ''​x''​ from a plot
       * ''​plot''​ for ''​y = mx + b''​       * ''​plot''​ for ''​y = mx + b''​
       * ''​semilogy''​ for ''​y = c 10^(mx)''​       * ''​semilogy''​ for ''​y = c 10^(mx)''​
       * ''​semilogx''​ for ''​y = m log x + b''​       * ''​semilogx''​ for ''​y = m log x + b''​
       * ''​loglog''​ for ''​y = c x^m''​       * ''​loglog''​ for ''​y = c x^m''​
 +  * Plotting functions of two variables ​
 +    * creating ''​X,​Y''​ matrices with ''​meshgrid''​
 +    * plotting functions of two variables with  ''​pcolor,​ contour, contourf, surf, surfc, quiver''​
 +    * changing colors with ''​colormap''​
 +    * displaying color scale with ''​colorbar''​
 +
 +
 +===== Matlab programming:​ functions, scripts, loops =====
 +
 +You should be able to write short Matlab programs to perform specified computations. ​
 +  * how to write a function in a file with ''​.m''​ extension
 +  * how to write an anonymous function, e.g. ''​f(x) = @(x) x^2 - 3*x + 2''​
 +  * how to write a ''​for''​ loop to evaluate a sum or product
 +  * how to write a ''​for''​ loop to perform a repeated computation
 +
 +===== Lab material =====
 +
 +You should have a good grasp of the underlying mathematics and implementation in Matlab code of these labs, i.e. how to ...
 +
 +  * [[gibson:​teaching:​spring-2015:​math445:​lab3]] solve a set of linear equations ''​Ax=b''​ with Matlab'​s backslash operator
 +  * [[gibson:​teaching:​spring-2015:​math445:​lab7]] solve a nonlinear equation $f(x) = 0$ by coding ''​f''​ as an anonymous function and calling Matlab'​s ''​fsolve''​ function.
 +  * [[gibson:​teaching:​spring-2015:​math445:​lab8]] determine a transition matrix from a network of links and compute the Google Page Rank.
 +  * [[gibson:​teaching:​spring-2015:​math445:​lab9]] simulate uncertain systems like coin flips and Presidential elections with Monte Carlo simulation.
 +  * [[gibson:​teaching:​spring-2015:​math445:​lab11]],​ [[gibson:​teaching:​spring-2015:​math445:​lab11]],​ [[gibson:​teaching:​spring-2015:​math445:​hw3]] do numerical integration of differential equations with ''​ode45''​
  
  
gibson/teaching/spring-2015/math445/finaltopics.1430834102.txt.gz · Last modified: 2015/05/05 06:55 (external edit)