MECH102
- Homework Hints, Answers, and Extra Requirements
Homework 2 (MathCAD)
FYI, this homework assignment does not involve the textbook.
Note:
- If you own a computer, you should install MathCad as soon as possible (see the course General Info page for more info). If you don't do this, be aware that MathCAD might not always be available via ENS computers and the Virtual Lab during peak times (e.g., weeknights) due to the limited number of licenses.
- You
cannot access MathCAD on the engineering network unless you have an engineering account. If you don't have
an account yet, you need to request one as soon as possible from ENS (Engineering Network Services).
ENS is located in the Glover building (just south of the Engineering building).
- MathCAD
can be accessed in any of the ENS on-campus computer labs and via the "Virtual
Lab" (goto http://www.engr.colostate.edu/virtual_lab for more information). You can access MathCAD under: Start menu - Engineering
Applications - MathCAD. If this doesn't work, try selecting Run in
the Start menu, and type in mathcad.
- If you use MathCad via ENS, be sure to never leave MathCad open when you are not using it. Never pull your ID out of a Sun Ray thin client with MathCad still open. And if you are using the Virtual Lab, be very careful to close MathCad before closing the Virtual Lab window. If you don't, nobody else will be able to run that copy (license) of MathCad. Always save your file and close the program when you plan to stop working for a while. It doesn't take very long to re-open a file when you want to continue working later. Irresponsible use of MathCad is tracked and will not be tolerated.
- If you don't have your own copy of MathCAD, and you don't have access to ENS, you can download a free 30-day trial version here: http://www.ptc.com/appserver/wcms/forms/index.jsp?im_dbkey=41685&icg_dbkey=482
For
this homework, you must recreate two MathCad files. The first is here (see problem S2 below for the second). In class, I will show you how to do much of the work.
You might find the reading assignments (see the syllabus) and the "Getting Started" content modules in the MathCAD
help system useful if you are having trouble getting started. My introductory
video might also be helpful.
Your submitted printouts should look
almost exactly like the printouts provided (including pagination and formatting), and should include everything shown. Part of learning MathCAD is learning how to make things look a certain way. You should use MathCAD to perform all symbolic calculations automatically where
appropriate (i.e., don't just type in the symbolic results shown). Make sure your
printout includes your full name and the date completed. A black and white
printout is acceptable.
[100 points]
Hints:
- Be very careful when
creating subscripts. Use the period (.) to create a "literal subscript,"
which performs no function (it just makes things look prettier). Use the open
bracket ([) to create an "iterative subscript," which performs a function
(e.g., vector or matrix indexing, or range-variable iteration).
- To enter
a variable name "i," enter "i" at the keyboard. To create
the imaginary number "i" in a complex number, via the keyboard, you
must type "1i" so MathCAD will know you mean the imaginary number
"i" (1 indicates a number) and not a predefined variable called "i."
- Symbolic
derivatives work for expressions only, so take your derivatives before you insert
the "f(x) :=" stuff in front of an expression.
- To find the magnitude
of a vector, make sure you use absolute value (e.g., from the Calculation Toolbar)
and not a matrix determinant (on the Matrix Toolbar).
- To change the number of displayed digits for a result, click on the result and select Result under the Format menu.
- In a solve block,
make sure the command "given" is not entered as text (e.g., by
entering a space after the word by mistake).
- To plot two functions on
the same graph (e.g., fa and fb), use a comma to separate the functions.
- To
change the size of a table of displayed numbers (e., g., in a range variable evaluation),
click on the table and drag the small "handle" boxes.
- The last
line of the "sum of first N numbers divisible by 3" program is a matrix
(1 row, 2 columns) that returns two values to the results variable.
- On page 5, when solving for the fa(x) solutions symbolically, depending on which version of MathCAD you are using, the two answers might be reported in a different order. That is OK, but you might need to change the subscript (e.g., from "1" to "0") for the value and plot to match what's in the handout.
- When solving for things symbolically. Don't worry if your expressions are not formatted exactly as in the file provided. The exact formatting will depend on the version of MathCAD being used.
- Your
printout may or may not show all multiplication dots. Don't worry about this.
- Don't
wait until the last minute to print your work. Sometimes, formatting issues (e.g., margin changes) come
up when you select a printer, and this might require some rework. Use File - Page Setup if you need to adjust margins.
S2
- Cue ball trajectory supplemental problem
[50 points]
Recreate the provided
MathCAD file which shows example results for the cue ball trajectory analysis
presented in TP A.4 and
discussed in class.