User Tools

Site Tools


gibson:teaching:fall-2013:math445:lab3

====== 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:fall-2013:math445:lab3 [2013/09/09 18:18]
gibson
gibson:teaching:fall-2013:math445:lab3 [2013/09/16 18:23] (current)
gibson [Math 445 Lab 3: Sorting, Interest, Exponentials, and Limits]
Line 1: Line 1:
-===== Math 445 Lab 3: Sorting, ​Interest, Exponentials,​ and Limits =====+===== Math 445 Lab 3: Interest, Exponentials,​ and Limits =====
  
 Time Estimate: 4-6 hours. ​ Time Estimate: 4-6 hours. ​
Line 212: Line 212:
 Note the ''​log''​ function in matlab is the natural logarithm. How would you  Note the ''​log''​ function in matlab is the natural logarithm. How would you 
 calculate $\log_{10}$ , $\log_2$ , or $\log_5$? calculate $\log_{10}$ , $\log_2$ , or $\log_5$?
- 
-==== Problem 8====  ​ 
-Write a function ''​mysort.m''​ that will take in a vector of any size and sort  
-it from least to greatest. Use the strategy of comparing neighbors and swapping 
-them if necessary. If this process is done throughout the entire vector ​ 
-repeatedly enough times, it will work. Rewrite your code so that it does not  
-go through the matrix too many time using first the commands ''​if,​ break''​ and  
-then by switching the outer loop to use a ''​while''​ command. 
- 
  
  
gibson/teaching/fall-2013/math445/lab3.1378775911.txt.gz · Last modified: 2013/09/09 18:18 by gibson