# BIOL398-05/S17:Week 2

BIOL398-05: Biomathematical Modeling

MATH 388-01: Survey of Biomathematics

Loyola Marymount University

This journal entry is due on Thursday, January 26, at midnight PST. (Wednesday night/Thursday morning). Note that the OpenWetWare server registers time in the Eastern time zone, so it will say 03:00 AM at midnight PST.

## Overview

The learning objective for this assignment is to develop basic MATLAB skills.

## Individual Journal Assignment

• Store this journal entry as "username Week 2" (i.e., this is the text to place between the square brackets when you link to this page).
• Create the following set of links. (HINT: These links should all be in your personal template that you created for the Week 1 Assignment; you should then simply invoke your template on each new journal entry.)
• Don't forget to add the "BIOL398-05/S17" category to the end of your wiki page.

### Homework Partners

In this course you will be completing the research projects in groups of two, three, or as an entire class. To initiate this process, you will be assigned a homework partner for this week's assignment. You will be expected to consult with your partner, in order to complete the assignment. However, unless otherwise stated, each partner must submit his or her own work as the individual journal entry (direct copies of each other's work is not allowed). Homework partners for this week are:

• Conor, Cameron, Lauren
• Maggie, Nika

### Electronic Lab Notebook

Complete your electronic notebook that gives the details of what you did for the assignment this week. Your notebook entry should contain:

1. The purpose: what was the scientific purpose of your investigations?
• Note that this is different than the learning purpose.
2. Your workflow or methods: what did you actually do? Give a step by step account.
• There should be enough detail provided so that you or another person could re-do it based solely on your notebook.
• You may copy protocol instructions to your page and modify them as to what you actually did, as long as you provide appropriate attribution in the acknowledgments and references section.
• Take advantage of the electronic nature of the notebook by providing screenshots, links to web pages, etc.
3. Your results: the answers to the questions in the protocol, plus any other results you gathered. Your results will include some or all of the following: images, plots, data, and files.
• Note that files left on the Desktop or My Documents or Downloads folders on the Seaver 120 computers will be deleted upon restart of the computers. Files stored on the T: drive will be saved. However, it is not a good idea to trust that they will be there when you next use the computer.
• Thus, it is a critical skill for data and computer literacy to back-up your data and files in at least two ways:
• References to data and files should be made within the methods and results section of your notebook, listed above.
• In addition to these inline links, create a Data and Files section of your notebook to make a list of the files generated in this exercise.
4. A scientific conclusion: what was your main finding for today's project? Did you fulfill the purpose? Why or why not?
5. The Acknowledgments section, see below.
6. The References section, see below.

#### Acknowledgments

In this section, you need to acknowledge anyone who assisted you with your assignment, either in person, electronically, or even anonymously without their knowledge.

1. You must acknowledge your homework partner or team members with whom you worked, giving details of the nature of the collaboration. You should include when and how you met and what content you worked on together. An appropriate statement could be (but is not limited to) the following:
• I worked with my homework partner (give name and link name to their user page) in class. We met face-to-face one time outside of class. We texted/e-mailed/chatted online three times. We worked on the <details> portion of the assignment together.
2. Acknowledge anyone else you worked with who was not your assigned partner. This could be Dr. Dahlquist or Dr. Fitzpatrick (for example, via office hours), the TA, other students in the class, or even other students or faculty outside of the class.
3. If you copied wiki syntax or a particular style from another wiki page, acknowledge that here. Provide the user name of the original page, if possible, and provide a link to the page from which you copied the syntax or style.
4. If you need to reference content (such as the methods of a protocol) also acknowledge it here and include a formal citation in your References section (see below).
5. You must also include this statement unless otherwise noted:
• "Except for what is noted above, this individual journal entry was completed by me and not copied from another source."

#### References

1. In this section, you need to provide properly formatted citations to any content that was not entirely of your own devising. This includes, but is not limited to:
• methods
• data
• facts
• images
• documents, including the scientific literature
2. The references in this section should be accompanied by in text citations on your page that refer to these references.
3. Do not include citations/references to sources that you did not use.
4. Generally, you should include a reference to that week's assignment page.
5. The references should be formatted according to the APA guidelines.
6. For more detailed instructions on how to cite journal articles, books, or web pages, please see the document Guidelines for Literature Citations in a Scientific Paper that you were given on the first day of class.

### This Week's Exercise

• Part I: Create a script that includes the following elements
• Define a vector u containing the elements 1,2,3,4,5,6,7,8,9,10 using the colon operation
• Define another vector v containing elements that are the square of the vector x
• Plot v versus u (make sure you know what that sentence means!!) using circles on the points that are connected with dashed lines
• Save your plot as a TIFF file
• Save your data into an excel spreadsheet using the MATLAB command xlswrite
• Part II: Create a script to compare logistic growth curves
• Define a vector t starting at 0, ending at 1, in steps of 0.01.
• Define K = 10 and x0 = 2 for carrying capacity and initial population size.
• Plot logistic growth curves for growth rates 0.5,1.0,1.5, and 2.0.
• Plot these four curves together in one figure, and add appropriate labels, title, and legend.
• Save your plot as a TIFF file

## Shared Journal Assignment

• Store your journal entry in the shared Class Journal Week 2 page. If this page does not exist yet, go ahead and create it (congratulations on getting in first :) )
• Sign your portion of the journal with the standard wiki signature shortcut (~~~~).
• Add the "BIOL398-05/S17" category to the end of the wiki page (if someone has not already done so).