# Quiz #1

Below I am giving you a handful of problems. You don't need to do all of them, but you must do the first problem.

Question #1: Let st be your student id number. Enter the formula on the blackboard. The answer to the question determines which two other questions you should answer.

Question #2: Given a string w where length(w) is even, construct a string where the first and second characters are switched, the third and fourth characters are switched, the fifth and sixth characters are switched, etc. For instance, if w:="ABCDEFGH" then the output string out is "BADCFEHG".

Question #3: Given a string w where length(w) is even, construct a string consisting of the letters in the even positions, followed by the letters in the odd positions. For instance, if w:="ABCDEFGH" then the output string out is "BDFHACEG".

Question #4: Given a string w with letters and other symbols, construct a string where lower case letters are replaced by upper case letters and upper case letters are replaced by lower case letters. For instance if w:="What do YOU want with Me?", then the output string should be "wHAT DO you WANT WITH mE?"

Question #5: Show that the curves $\sqrt{25-x^2}$ and $sin(2(x-5)\pi)$ intersect in exactly two points. Find the area between the two curves.

Question #6: Find at least one point of intersection for $0 < x < 10$ between the curve $sin(5\pi x)$ and $\sqrt{10x-x^2}$. Give the value of $x$ to at least 3 decimal places. Hint: one way of doing this is to graph the difference of these curves and find the zeros.

Question #7 Find the area between the two curves $6 sin^3( \pi x)$ and $sin^3(3 \pi x) sin^3( \pi x)$ for $x$ between 0 and 2.

You should be able to complete this quiz within the class time. If you finish after the class time your overall grade for this assignment will be reduced by 10% per day. Make sure that your file is uploaded by 12:30pm. Upload your worksheet to the course moodle. You are expected to work alone on this assignment.