EGR_102_Lab_10B_HW-1 - -15 ≤ y ≤ 15 using 31 elements...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EGR 102 Introduction to Engineering Modeling Lab 10B Homework Part 1. In the homework for Lab 07B, a function was developed to find the deflection of the free end of a beam δ for any combination of material property and beam shape. Create a MATLAB function which takes as input the beam length L and the load on the beam P . Modify the Lab 07B solution to use nested loops for calculating each element of the array D and generate outputs with the same formatting and input values as for the previous homework. Refer to the Lab 07B homework and solution for the data and equations necessary. Part 2. You are asked to analyze the distortion introduced into an image by a curved camera lens. Analysis has been done to show that the distortion in the image is modeled by the equation: ±²³´µ³±´¶(·¸ ¹) º » ¼ ½ · ¾ ¿ ¼ À ¹ ¾ Á Â ÃÄÃÃÅÆ Ç Â ÃÄÃÃÅÈ Ç Write a MATLAB script to calculate the value of the function above for the following ranges of x and y : -10 ≤ x ≤ 10 using 21 elements
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -15 ≤ y ≤ 15 using 31 elements Additionally, the script should calculate and display the maximum value of distortion(x,y) within the range specified above and the corresponding x and y coordinates that result in the maximum value (you may need to use a comparison operation and indexing). It is strongly recommended that you create a flowchart for each problem before you begin writing MATLAB code. Additionally, remember that you may use the debugging mode to check that the MATLAB code is working correctly. Copy your Command Window results and your M-files into a Word document and submit it to the Lab HW 10B drop box. Place your name and lab section number on the document. Title both your Word document and your submission to the drop box as follows: (lab section #)_(last name)_(first name)_HW10B For example: 1_Smith_John_HW10B (do not put zeros in the lab section #) Due Date: Before Lab 11A begins....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online