Computer lab 1
BIOS 20151 Introduction to Quantitative Modeling in Biology
MATLAB introduction
Figure 1: View of the MATLAB console with dierent functions indicated
To start using MATLAB, go to the Applications folder (in your Macs Finder) and
double-clic
Computer lab 2 - Part 2
BIOS 20151
Assignment Overview
In the second half of Lab 2 we will compute the least-squares line using a built-in function
called regression. This function has the following format (for more information, type
help regression into
Computer lab 3 - Part 2
BIOS 20151
Assignment Overview
TO TURN IN (both parts 1 and 2 are due by 5 pm on Friday May 11):
1. Write your scripts in the cells of the template.
2. Save and turn in your modied functions separately, one for each task.
3. Type y
Computer lab 4 - Part 2
BIOS 20151
Assignment Overview
TO TURN IN (both parts 1 and 2 are due by 5 pm on Friday May 25):
1. Write your scripts in the cells of the template.
2. Type your answers to questions as comments in each cell.
Grading: 5 points for
Practice questions for BIOS 20151
1. Solve the following dierential equations by separation of variables and integration,
then using the initial value to specify the integration constant.
(a)
dx
= 2x; x(0) = 100
dt
(b)
dx
= 2(1 x); x(0) = 2
dt
(c)
dx
= 5