Docsity

Practice Questions for Mathematics Computer Lab | MATH 1200, Lab Reports of Mathematics

Toggle sidebar
bg1
Mathematics Computer Laboratory - Math 1200
Lab 3 - Mathematica Basics III
Due
For this lab you need a three and one-half inch high density windows disk (or a Zip disk). You can buy a
disk from the Bookstore.
1. The objective of this lab is to learn to produce a Mathematica do cument while reviewing the Math-
ematica functions from the last two labs. Mathematica has many of the word processing capabilities
of programs such as WordPerfect. Op en a new Mathematica noteb o ok.
A. Use Mathematica to nd the value (exact or numerical approximation) of each of the following. You
can look up the correct Mathematica syntax in your earlier labs.
(i)
f
25
,
3[11 + 4(7
,
9)]
g f
2[8
,
3(4
,
6)] + 3(7
,
2)
g
(ii)
9
2
,
3(4
2
,
3
2
)
[26
,
7(8
,
5)]
3
(iii) ln 5
:
71
(iv)
e
1
:
7
to 14 signicant gures
(v) log
6
85 to 20 signicant gures
2. You can make it easier to read a Mathematica window. To enlarge the screen, drag out any side of
it by moving the mouse to a side so that its pointer looks like
$
, then, holding down the left mouse
button, move it out. (In some machines, there might be only certain special areas for this pro cess.)
B. Use Mathematica to multiply out or combine the following expressions. You may need to use com-
mands
Simplify
,
Expand
,
Together
, or
Factor
.
(i)
x
+5
(
x
+1)(
x
,
1)
+
2
(
x
+2)(
x
+1)
(ii) (3
x
+
y
)(2
x
,
3
y
)(4
x
+ 5
y
)
(iii)
x
2
,
9
x
2
+2
x
,
3
,
2
x
2
,
x
,
1
4
x
2
+4
x
+1
(iv) 81
x
4
,
216
x
3
y
+ 216
x
2
y
2
,
96
xy
3
+ 16
y
4
3. A Mathematica document is called a notebook. To save your current noteb o ok, place your windows
disk (Zip disk) in the oppy disk driver (Zip disk driver). Click on the
Save As
button and nd
drive
A:
(or Zip disk drive). Then give your document a name (in place of Untitled-1) and click on
Save . (In some machines the necessary buttons are
Notebook
,
Save As
and OK .) The name of
your document should appear on the top bar and the le document-name
.nb
should appear on your
disk. It is a good idea to re-save documents periodically. If you do not wish to change a name just
click on the
Save
button.
pf3
pf4

Partial preview of the text

Download Practice Questions for Mathematics Computer Lab | MATH 1200 and more Lab Reports Mathematics in PDF only on Docsity!

Mathematics Computer Lab oratory - Math 1200 Lab 3 - Mathematica Basics I I I

Due

For this lab you need a three and one-half inch high density windows disk (or a Zip disk). You can buy a disk from the Bo okstore.

  1. The ob jective of this lab is to learn to pro duce a Mathematica do cument while reviewing the Math- ematica functions from the last two labs. Mathematica has many of the word pro cessing capabilities of programs such as WordPerfect. Op en a new Mathematica noteb o ok.

A. Use Mathematica to nd the value (exact or numerical approximation) of each of the following. You can lo ok up the correct Mathematica syntax in your earlier labs.

(i) f 25 3[11 + 4(7 9)]g  f2[8 3(4 6)] + 3(7 2)g (ii) 9

(^2) 3(4 (^2) 32 ) [267(85)]^3 (iii) ln 5 : 71 (iv) e^1 :^7 to 14 signi cant gures (v) log 6 85 to 20 signi cant gures

  1. You can make it easier to read a Mathematica window. To enlarge the screen, drag out any side of it by moving the mouse to a side so that its p ointer lo oks like $ , then, holding down the left mouse button, move it out. (In some machines, there might b e only certain sp ecial areas for this pro cess.)

B. Use Mathematica to multiply out or combine the following expressions. You may need to use com- mands Simplify, Expand, Together, or Factor.

(i) (^) (x+1)(x+5x1) +^ (x+2)(^2 x+1) (ii) (3x + y )(2x 3 y )(4x + 5 y ) (iii) x (^2) 9 x^2 +2x 3 ^

2 x^2 x 1 4 x^2 +4x+ (iv) 81 x^4 216 x^3 y + 216 x^2 y 2 96 xy 3 + 16 y 4

  1. A Mathematica do cument is called a noteb o ok. To save your current noteb o ok, place your windows disk (Zip disk) in the oppy disk driver (Zip disk driver). Click on the Save As button and nd drive A: (or Zip disk drive). Then give your do cument a name (in place of Untitled-1) and click on Save. (In some machines the necessary buttons are Noteb o ok, Save As and OK .) The name of your do cument should app ear on the top bar and the le do cument-name.nb should app ear on your disk. It is a go o d idea to re-save do cuments p erio dically. If you do not wish to change a name just click on the Save button.

C. De ne functions f (x) = x^2 3 x + 2 , g (x) = x^2 1 and h(x) = x^2 x 2 and p erform the following op erations.

(i) Evaluate f (g (2)). (ii) Factor f (x). (iii) Multiply out f (x)h(x). (iv) Simplify f g^ ((xx)). (v) Combine (^) g (^1 x) (^) h(^1 x) into a single fraction and simplify.

  1. Let's create a title for this do cument. Click right b efore the top cell (the mouse p ointer will lo ok like

    <) and push the return key j^. Now, you should have a new cell.

Before typing the title we should let Mathematica know that this cell if for text not mathematics. Highlight this cell by clicking on its bracket ] on the far right side. It should b e overlayed by a small black rectangle. Then click consecutively on Format, Style and Text.

Since we like to have the title in larger font, rst click consecutively on Format, Style and Title and then typ e in the title \Mathematica Basics I I I". This title should b e in larger font. (You may also typ e in the title rst, highlight it by holding down the left mouse button and dragging it over the title, and then click consecutively on Format, Style and Title.)

To center the title, highlight it (hold down the left mouse button and drag it over the title) and then click on buttons Format, TextAlignment and Align Center in that order. You may also nd it necessary to adjust your window size. In the future, you way want to make this op eration simpler by using the center button on the to ol bar which you can display by clicking on Format and then Show To olBar.

  1. For b etter viewing and prop er printing we will adjust word wrapping and pap er width. Turn on the ruler bar by clicking consecutively on Format and Show RulerBar. You will see a ruler which is visible on the left side starting at 0 : 75 inch; the right side has a solid triangle p ointing toward the left at ab out 7 : 75 inch. These set the default right and left printing margins for standard 82 1 inch^ by 11 inch pap er. For now, we will not change them.

Now highlight the title cell by clicking on its bracket ] on the far right side. (It should b e overlayed by a small black rectangle.) Set the word wrapping to the width of the pap er by clicking consecutively on Format, Word Wrapping and Wrap at Pap er Width while the cell is highlighted. Now you can adjust the line width in the cell by moving the indicators b and c b elow the ruler. Do not move them outside the printing area. Set b at 1 inch and c at 7 : 5 inch. Notice this will result in the title b eing re-centered.

These settings are only valid in the cell you are working. To use them in several cells, you must highlight all those cells and rep eat this pro cedure. You should set word wrapping and the margins for all cells simultaneously at the end of your work.

  1. Mathematica has many other word pro cessing features including Font, tags, Headers and Fo oters, and Style Sheet. You can even save a noteb o ok in HTML format with Hyp erlinks for delivery over the internet. Exp eriment and learn more ab out Mathematica's capabilities.
  2. It is essential, b oth as a courtesy to future users, and to continued problem-free usage, to leave the computers as you nd them. When you are done, close the software b eing used and/or log o prop erly. Rememb er to take your disk with you!