100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 6 out of 22 pages.
The preview shows page 4 - 6 out of 22 pages.
Week 2 HomeworkENGR 112Arrays and plottingName: George VillanuevaLab Time(ECampus write “ECampus”):W 1600Names of people you worked with:•Websites you used:-with-given-radius-and-centerApproximately how many hours did it take you to complete thisassignment (to nearest whole number)?By writing or typing your name below you affirm that all of the work containedherein is your own, and was not copied or copied and altered.Note: Failure to sign this page will result in a 50-point penalty. Failure to list people youworked with may result in no grade for this homework. Failure to fill out hoursapproximation will result in a 10-point penalty.
Week 2 HomeworkENGR 112Arrays and plottingTurn .zip files to Canvas or your assignment will not be graded
Week 2 HomeworkENGR 112Arrays and plottingLearning Objectives:You should accomplish the following:•Understand how to create arrays, calculate with them, and extract data from them.•Plot the results of calculations.•Be able to split up plots into multiple windows•Plot multiple things in the same window with different colors and attributes.Homework Guidelines:1)Use example scripts from online for help plotting and vectors.2)Save scripts as “HW2Script1.m” for problem 1, “HW2Script2.m” for problem 2, etc.Specific Coding Notes:Plotting–Label axes (with units when known), use titles, and use legend when plotting morethan one thing on a graph.Example:☹NO☹😊YES😊Warnings and Errors–You may see orange and red bars on the right-hand side of the editor.Orange bars are warnings and red bars are errors. Hovering with the cursor over a par will showyou the problem.Example:
Week 2 HomeworkENGR 112Arrays and plottingGrading CheckpointsCriteriaComponentNoYes[30%] Comments andPseudocodeDeclared units on all variables?English description of problem at top?Comments outlining your steps?[20%] Output formattingUsed fprintf() to make complete sentences(when required)?Correct units on answers?Correct number of decimal places?Proper labels on graphs/plots?[50%] FunctionalityScript computes/plots correct value(s)?Did you use the correctrangesfor inputvariables?