ESC 152 TTh HW 2 Fall 2017 (Dr. Serrano) Due Thursday 2017 09 19 Write a script
ID: 3111940 • Letter: E
Question
ESC 152 TTh HW 2 Fall 2017 (Dr. Serrano) Due Thursday 2017 09 19 Write a script file to execute each task. Submit hardcopy o 1) the script file and the output A rocket fltying straight up measures the ge with the horinan at different heighes& Write MATLAB program in a script file that calculates the radius of the data point and then determines the average of all the val- 0m)412 16 20 24 2832 36 40 20 29 33 41 45 50 54 37 61 64 2) A truss is a structure made of members shown in the figure, the Sorces in the nine members are delermnized by sol ing the following ysiem of ine oqa tions means compressive force. Display the reauls in a table where the rst oolum displays the member-anbemdthe-d elum displays te correpn. ing force 3) The p ph ofthe function 3-">,Ava + er.. pa through the points and d. (Write a system of four oquations with four unknowes, and use MAT- LAB to solve the equatioes) 4) The sarface of many airfoils can be described with an oquation ef the form where is the maximum thickness as a fraction of the chord length e (eg, -es). Given dat e-1-ind 1-02n, de followmg vales Ir y have been measured for a particular airfoil: (m)|| 0.15 | 0.35 | 0.5 | 07 | 085 (m) 00909 0.09914 0.0823 0107 0342 Determine the constants @pa> a.anda. (White "yem of feequa- tions and five uknowms, and une MATLAR to solve the equtions)Explanation / Answer
1)
>> clear all
close all
clc %clears screen of command window
h=[4 8 12 16 20 24 28 32 36 40];%Height in KM
theta=[2 2.9 3.5 4.1 4.5 5 5.4 5.7 6.1 6.4];% angle measured in degree
R=h.*cosd(theta)./(1-cosd(theta));
disp('values of R at each data point are:')
fprintf(' %3.3f',R)
Avgr=mean(R);
fprintf(' Average radius is %3.3f KM ',Avgr)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.