Sgta 2
Sgta 2
Sgta 2
1 SGTA problems
This section contains problems that you should attempt at home in preparation for your SGTA.
Your instructor will work through with you those questions labelled with an ∗ during the SGTA.
1. Start to work through the Matlab manual (available on iLearn). This is a weekly task
and students should aim to complete the relevant topics in-line with the lecture material.
By now you should have registered a licence and installed the software on a laptop; or
learnt how to use Matlab online. Consult the section on iLearn and follow the link there
for installation instructions. Work through the manual to at least §1.3.3 (i.e., up to page
11) and §1.3.11.
2. Describe the following sets using a single interval (for example (0, 1] or [1, 2]), giving
a brief justification concerning the numbers at the ends of each interval or where joins
occur.
A B 3
1
D C
−7 −6 −5 −4 −3 −2 −1 0
∗ 7. Write down explicit expressions (for example, {1, 2, 3}) for the following sets; also give a
short ‘plain text’ description:
(a) {x ∈ Z : −2 ≤ x ≤ 2},
(b) {x2 : x ∈ Z and −2 ≤ x ≤ 2},
(c) Z ∩ (0, 3] .
∗ 8. Find the angle ∠BAC if A = (2, 2, 2), B = (4, 2, 1), C = (2, 3, 1).
5. (Use Matlab)
In this question, dot and norm commands may be useful (refer to pg. 14 of the manual).
In the command window
1
requires a complete restart of Matlab, so first save any work that you wish to keep. Then redo the
commands above.