Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 : Use one Excel file to submit your solutions; one worksheet per question; total number of worksheets in the Excel file should be

Part 1: Use one Excel file to submit your solutions; one worksheet per question; total number of worksheets in the Excel file should be 2. Data should be well organized and center-aligned vertically and horizontally. Independent variables should be programmed. Constants should not be embedded in the formulas.
1a. In an Excel spreadsheet, create a table of the function, f(x)=3x2-12.4x +3
for 0<= x <=4, step 0.1. Results should be in two decimal places.
1b. Using linear interpolation, determine the two points where f(x) crosses the x-axis.
1c. Write a VLOOKUP program to determine f(x) at any arbitrary point in the Table.
2. Using the equations for the canon ball problem shown here:
(a) Obtain a solution in an Excel spreadsheet for h(t) and x(t)
for 0<= t <=1.2 s, step 0.01 s. Initial speed, v =10 m/s.
Launch angle, \theta =35o. Gravity, g =9.81 m/s2.
(b) On the table generated, use the cell fill command to color code the cells containing the maximum height reached, the total flight time, and the total distance traveled at ground level.
Results should be in two decimal places. Your solution should look like the sample shown here.
Part 2: Name your M-files according to the question number and submit in the Dropbox:
3(a) Write a simple MATLAB script (M-file) to calculate the inverse of the following trigonometric functions; sine, cosine, and tangent of any angle.
3(b) For the right-angle triangle shown here, write a simple MATLAB script (M-file) to calculate h and given any input values of x and y.
4. Consider the analytic solution of the projectile problem described in Section 1.1.2. Write a MATLAB script that will prompt the user to enter the launch speed and angle, and will compute the peak height, flight time, and horizontal distance travelled using the analytic equations.
5. Write a MATLAB function that will take a (4\times 4) matrix as an input argument and will return a (4\times 1) array containing the averages of each of the four rows of the input matrix.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Climate And Environmental Database Systems

Authors: Michael Lautenschlager ,Manfred Reinke

1st Edition

1461368332, 978-1461368335

More Books

Students also viewed these Databases questions

Question

1. Describe the factors that lead to productive conflict

Answered: 1 week ago