Graphics Programs Reference
In-Depth Information
Practice Set A
Algebraand
Arithmetic
Problems 3-8 require the Symbolic Math Toolbox. The others do not.
1. Compute:
(a) 1111
−
345.
(b)
e
14
and 382801
π
to 15 digits each. Which is bigger?
(c) the fractions 2709
/
1024, 10583
/
4000, and 2024
/
765. Which of these
is the best approximation to
√
7?
2. Compute to 15 digits:
(a) cosh(0.1).
(b) ln(2). (
Hint
: The natural logarithm in MATLAB is called
log
, not
ln
.)
(c) arctan(1/2).(
Hint
:TheinversetangentfunctioninMATLABiscalled
atan
, not
arctan
.)
3. Solve (symbolically) the system of linear equations
3
x
+
4
y
+
5
z
=
2
2
x
−
3
y
+
7
z
=−
1
x
−
6
y
+
z
=
3
.
Check your answer using matrix multiplication.
4. Try to solve the system of linear equations
3
x
−
9
y
+
8
z
=
2
2
x
−
3
y
+
7
z
=−
1
x
−
6
y
+
z
=
3
.
What happens? Can you see why? Again check your answer using matrix
multiplication. Is the answer “correct”?
5. Factor the polynomial
x
4
−
y
4
.
48
Search WWH ::
Custom Search