# TAM 2XX

## PrairieLearn Tips:

• No Fractions: Do not use fractions as your input answer. Instead use decimal numbers (e.g. 2/3 is not accepted as a correct answer, however 0.667 is).
• Don't copy negative numbers: The Linux MATE calculator app uses a non-standard character for the minus sign that PrairieLearn does not recognize. Copying directly from the calculator to PrairieLearn will cause your answer to be graded as incorrect, even if it looks correct to you. To avoid this, do not copy negative numbers from the calculator app. This problem does not affect MATLAB or Mathematica, and you can copy from these programs without issue.
• Error tolerance is 1%: Your answer must be accurate to within a relative tolerance of 0.01.
• MATLAB Note: By default, MATLAB displays five digits of any stored variable -- NOT five significant digits (this is "format short"). If that variable is a small number (as strain values commonly are), this can lead to fewer than three significant digits being displayed.

For example, you may (correctly) compute a strain value of x = 1.17*10^(-3) using symbolic expressions. If you ask MATLAB to print x, it will return x = 0.0012 (exactly five digits, and two significant digits). However, PrairieLearn will mark the answer 0.0012 incorrect, as the difference between these two values is about 2.5% (that is, (1.2-1.17)/1.17 = 0.0256) and exceeds PL's tolerance for correct answers.

Note that MATLAB has not rounded the actual stored value; only the displayed value. You can ask MATLAB to always print the full stored value by entering the command "format long" before computing. MATLAB will then print 0.00117, to full precision. Be careful, as this setting reverts to "format short" when you close Matlab!

• Parenthesis: You should be obsessive about making sure your equations are typed correctly.
• Example: Powers - the entire base is wrapped in parenthesis as well as the power (i.e. 3*2^1/3 vs. (3*2)^(1/3)).
• Example: Division - the numerator and denominator are both individually wrapped in parenthesis (i.e. 1/2*3 vs. 1/(2*3)).
• Your code should look like you don't trust the built-in order of operations. Be obsessive.
• Units: It is your responsibility to check the units in your problem.
• You should know the base units (i.e. $\rm\ MPa = \frac{\rm N}{\rm mm^2}$, $\rm\ ksi = \frac{\rm kips}{\rm in^2}$, etc.) and how to convert given units (i.e. $\rm\ MPa = 10^6 \ Pa$, $12 \ \text{in} = 1 \ \text{ft}$, etc.). This is another thing that you should be very careful about. When doing a problem, it is good to write out the units as a separate equation to make sure that it makes sense. For example: \begin{align} \delta &= \frac{FL}{EA} \\ [\rm mm] &= \frac{[\rm kN][\rm mm]}{[\rm MPa][\rm mm^2]} \\ [\rm mm] &= \frac{[\rm kN][\rm mm]}{[\frac{\rm N}{\rm mm^2}][\rm mm^2]} = \frac{[10^3 \rm N][\rm mm^3]}{[\rm N][\rm mm^2]} \\ \therefore [\rm mm] &= [\rm mm] \end{align} Note: The $10^3$ conversion would need to be applied to the force for the final equation to be true.
• If everything is given in $\rm\ N$ and $\rm\ m$, but the answers ask for $\rm\ kN$ and $\rm\ mm$, then it is your responsibility to convert the answer. Be obsessive about checking these things before submitting your answer.

## Reviewing for CBTF Quizzes:

Review for quizzes with the relevant homework assignment. The course website tells you which homeworks are relevant and explicitly states the topics covered in each quiz. The quiz problems are similar to those found on the homework.

Doing the homework, itâ€™s important to make sure that you fully understand as completely as possible the solution you reach for each question. When reviewing your homework problems, you should make sure that you can do the problem on paper, type it into your calculator of choice (MATLAB, Mathematica, Python, etc.), and get the correct answer on the first try. Itâ€™s easy to overlook some key concepts in the course by â€œbrute forcingâ€ť signs and units in the homework (see above). If you find you are consistently getting answers off by factors of 10, or making a sign error, it can be easy to correct and overlook while doing the homework, but be very costly during the quiz.

If you are arriving at the correct answer on your first try for each of the homework questions, then the next step would be to consider potential modifications to the questions. How would the procedure for solving the problem change if you were given different information? What information was absolutely necessary to solve the problem? Do you understand why you were able to make all of the assumptions you did?

Using a script is strongly recommended as is can help you keep track of your work. For MATLAB, there is an example in this introductory document: Matlab Introduction.

## Computer Based Testing Facility (CBTF):

If you are not familiar with taking computer based tests at UIUC, we strongly recommend watching this video as well as reviewing the policies and procedures on their website.

If you are not familiar with the Linux OS, you can log-in to a virtual machine using your NetID and password to login at the following URL: https://fastx.ews.illinois.edu