Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Computing Project 1: Getting to Know MATLAB Program The availability of programming tools like MATLAB is reshaping how engineering problems are solved

Computing Project 1: Getting to Know MATLAB Program The availability of programming tools like MATLAB is reshaping how engineering problems are solved

Computer Science

Computing Project 1: Getting to Know MATLAB

Program
The availability of programming tools like MATLAB is reshaping how engineering problems are solved.
These tools will allow you the unique opportunity to analyze and solve more realistic and complex problems
throughout your engineering education.
MATLAB is a very powerful computing tool and Computing Project 1 (CP 1) will familiarize you with
some of MATLAB’s features, basic functions and capabilities that will be needed in future projects and
engineering courses.
Please consult the Course Notes menu on the course Blackboard website and find the MATLAB Notes for
some basic information on what MATLAB is and its basic functions.
What You Need to Do
The first step is to download MATLAB from My Apps on My ASU and install it on your computer. Please

download MATLAB 2015b for Engineering Students. If you have any questions, help.asu.edu has a step-
by-step guide for installing MATLAB. Go to my.ASU > My Apps and search “MATLAB”. Once MATLAB

is installed feel free to play around with it and get to know MATLAB, it will become very useful.
CP 1 consists of three parts. You must create only one MATLAB script (.m) file that contains all three
parts along with one final report summarizing your results and findings. A template file is provided that
has much of the code already written for you. Use this template as a starting point for your code and rename
it with a descriptive file name such as CEE210_CP_1_Your_Name.m (no spaces are allowed in MATLAB
file names).
Part 1
For this part of the project, define 4 variables. Pick variable names that have meaning not only to you but
to anyone else who will be looking through your code. Using these variables, compute the following:
a) Variable1 + Variable4
b) Variable3 / Variable4
c) (Variable2) cos(Variable1)
d) (√Variable4)(Variable3)
2
e) |−Variable1 / log(Variable2)|
Output the results for each of these five computations into the Command Window and take a screenshot of
the results to use as a figure for your report. Also, take a screenshot of your workspace that shows the
numerical values you set for the four variables.
Part 2
For the second part of the project, we will use the vector and matrix capabilities. Create two 3x3 matrices,
MatrixA and MatrixB, and one 3x1 matrix, MatrixC. Compute the following:
a) MatrixA + MatrixB

CEE/CNE 210 Statics Arizona State University

© SSEBE Mechanics Group, 2016
b) MatrixA ? MatrixB
c) MatrixCT
? MatrixB
d) MatrixA−1

? MatrixC (see footnote 1)
e) MatrixB + MatrixC (see footnote 2)
The results from this part should be documented in the report using an equation editor. Be sure to indicate
the size and contents of MatrixA, MatrixB and MatrixC in proper matrix format.
Part 3
Given the following function

f(x) = x
3 − (5x)
2 + 2
x − 10000x

Use a while loop to compute f(x) for many evenly spaced values of 0 < x < 20 and create a plot of the results.
Given the following function

f(x) = 20000 ? log(x) − 3x

Use a for loop to compute f(x) for 1 < x < 20 and create a plot on the same plot window as the first plot.
Use a different line color and line weight for each plot.
Save the final graph that contains the plots for both functions as a .jpeg file and insert it into your report.
Report
Once all the parts have been completed, write a report documenting all your work and the results. Follow

the document CEE210 Guidelines for Computing Projects (posted on Blackboard). Include all your screen-
shots, plots and results for each part, along with a written explanation of the difference between a while

loop and for loop. Give examples of situations that would be appropriate for using each type of loop. Also
include any struggles you are still having with MATLAB. Include a copy of your entire MATLAB code
as an appendix in your report.
Convert your report file into a .pdf. Give descriptive names to your files, such as
CEE210_CP_1_Your_Name.pdf for your report and CEE210_CP_1_Your_Name.m for your MATLAB
script file. Submit your report .pdf and your MATLAB script file (.m) through the submittal link under the
Computing Projects menu on Blackboard prior to the deadline.

Most of the CP grade is based on the quality of your report. However, if your code does not run, then
your report will not be graded and you will receive no credit for the project.

Option 1

Low Cost Option
Download this past answer in few clicks

15.98 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE