Problem 1 (Jeopardy!)

This problem works best with a group of 2-4 students, and should be completed on the command window, NOT a script. First, select who gets to be Alex Trebek (if anyone in your group is from Canada or is over 60 they get to be Alex Trebek by default).

This person should then create the Jeopardy! board and store it to a variable. Here is an example of what a general Jeopardy board looks like. We use 2 categories (Getting started and Arrays) and 3 levels (100$200$, and 300$).

Next, “Alex” should create score variables for each contestant to track their score. Initialize them with 0. Now, you can start playing by calling the jeopardy function (the jeoapardy.m function and questions.mat data are included in the tutorial materials), e.g., :

>> jeopardy(1,2)

This will reveal the first question (100$) in the second category (Arrays) to the first player.

Once a spot on the board has been selected, run the appropriate command in the command window to set the selected position to 0. Update the score variables accordingly. Don’t forget to subtract points for incorrect answers! If your group only has two members, you can take turns being Alex and asking questions, or join up with another group.

Problem 2 (Help)

Using MATLAB’s help function and the MATLAB documentation, figure out how to get MATLAB to display Euler’s number e. Find out how to display more than 4 decimal places.

Problem 3 (Matrix creation & Load)

Create a column vector times going from 0 to 24 in 2 hour increments. Load the matrix thermocouple (the file is included in the tutorial materials) and combine the times vector with this matrix, such that the first column in the new matrix contains the times and the 2nd to 4th column contains the temperature measurements in Farenheit.

Determine the values of times at which the maxima and minima occur in each column.