Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Laboratory 10 - Introduction to Mathematical Software | MATHS 159, Lab Reports of Mathematics

Material Type: Lab; Class: Introduction to Mathematical Software.; Subject: MATHEMATICAL SCIENCE; University: Ball State University; Term: Fall 2009;

Typology: Lab Reports

2009/2010

Uploaded on 03/28/2010

koofers-user-pmr
koofers-user-pmr 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MATHS 159 Lab 10, Fall 2009
This lab is due on Friday, December 4, 2009. Using Excel, Mathematica, or MATLAB, as
appropriate to the question, answer each of the questions below. Include all of your work for this
lab, including written responses in appropriate files, as outlined below in each question. Be as
neat and complete as possible. Copies of the four files created for this lab should be emailed to
our class Graduate Assistant, Priyanka Bhatlapenumarthi at bhrrpriyanka@gmail.com.
1. (Matrices in Excel) Given the matrices A =
410
610
321
and B =
2
1
1
0
3
1
, from our class notes,
use Excel for each of the following:
(a) Find AB
(b) Find det(A)
(c) Find A-1
(d) Show AA-1 = A-1A = I
(e) Solve AX = b, for b set equal to each column in B (Hint: this can be done in one step).
Save your work in a single Excel workbook as LastnameFirstname15900XLab10problem1.xls,
where 00X is chosen to be 001 or 002, as appropriate to the section in which you are enrolled
and send a copy to Priyanka Bhatlapenumarthi.
2. (Matrices in Mathematica) Repeat question 1 with Mathematica. Can you find a way to make
matrices look like matrices? Save your work in a single Mathematica notebook as
LastnameFirstname159))XLab10problem2.nb, where 00X is chosen to be 001 or 002, as
appropriate to the section in which you are enrolled and send a copy to Priyanka
Bhatlapenumarthi.
3. (Graphing in MATLAB) Read the Handout
(http://www.bsu.edu/web/mkarls/159MatlabPlotting.pdf) on plotting functions in MATLAB.
(a) Create an M-file to plot the six functions in problems 1 – 6 on page 14 of the handout. Each
graph should appear as a subplot in a single figure, with axes labeled and appropriate titles for
each subplot. Save this M-file as LastnameFirstname15900XLab10problem3a.m, where 00X
is chosen to be 001 or 002, as appropriate to the section in which you are enrolled and send a
copy to Priyanka Bhatlapenumarthi.
(b) Create another M-file for problems 1 – 2 in Section 1.3.2 on pp. 18-19 of the handout. Save
this M-file as LastnameFirstname15900XLab10problem3b.m, where 00X is chosen to be 001
or 002, as appropriate to the section in which you are enrolled and send a copy to Priyanka
Bhatlapenumarthi. (Hint: the command ‘figure’ can be used to open a new window and the
command ‘hold’ will keep a graph in an open figure from being overwritten.)
Note: MATLAB will give an error message if you try to run an M-file whose name begins
with a number.

Partial preview of the text

Download Laboratory 10 - Introduction to Mathematical Software | MATHS 159 and more Lab Reports Mathematics in PDF only on Docsity!

MATHS 159 Lab 10, Fall 2009

This lab is due on Friday, December 4, 2009. Using Excel, Mathematica, or MATLAB, as appropriate to the question, answer each of the questions below. Include all of your work for this lab, including written responses in appropriate files, as outlined below in each question. Be as neat and complete as possible. Copies of the four files created for this lab should be emailed to our class Graduate Assistant, Priyanka Bhatlapenumarthi at bhrrpriyanka@gmail.com.

  1. ( Matrices in Excel ) Given the matrices A =

and B =

, from our class notes,

use Excel for each of the following:

(a) Find AB (b) Find det(A) (c) Find A- (d) Show AA -1^ = A-1A = I (e) Solve AX = b, for b set equal to each column in B (Hint: this can be done in one step).

Save your work in a single Excel workbook as LastnameFirstname15900XLab10problem1.xls , where 00X is chosen to be 001 or 002, as appropriate to the section in which you are enrolled and send a copy to Priyanka Bhatlapenumarthi.

  1. ( Matrices in Mathematica ) Repeat question 1 with Mathematica. Can you find a way to make matrices look like matrices? Save your work in a single Mathematica notebook as LastnameFirstname159))XLab10problem2.nb , where 00X is chosen to be 001 or 002, as appropriate to the section in which you are enrolled and send a copy to Priyanka Bhatlapenumarthi.
  2. (Graphing in MATLAB) Read the Handout (http://www.bsu.edu/web/mkarls/159MatlabPlotting.pdf) on plotting functions in MATLAB.

(a) Create an M-file to plot the six functions in problems 1 – 6 on page 14 of the handout. Each graph should appear as a subplot in a single figure, with axes labeled and appropriate titles for each subplot. Save this M-file as LastnameFirstname15900XLab10problem3a.m , where 00X is chosen to be 001 or 002, as appropriate to the section in which you are enrolled and send a copy to Priyanka Bhatlapenumarthi.

(b) Create another M-file for problems 1 – 2 in Section 1.3.2 on pp. 18-19 of the handout. Save this M-file as LastnameFirstname15900XLab10problem3b.m , where 00X is chosen to be 001 or 002, as appropriate to the section in which you are enrolled and send a copy to Priyanka Bhatlapenumarthi. (Hint: the command ‘figure’ can be used to open a new window and the command ‘hold’ will keep a graph in an open figure from being overwritten.)

Note: MATLAB will give an error message if you try to run an M-file whose name begins with a number.