Question

In: Mechanical Engineering

Day High temperature, C Low temperature, C 1 30 25 2 32 26 3 34 23...

Day High temperature, C Low temperature, C
1 30 25
2 32 26
3 34 23
4 29 20
5 31 19
6 30 21
7 25 18

The high and low temperatures of each day in Wichita KS are given in Table. (1 pt) (a) Plot the high temperature for 7 days as a function of day, i.e., high temperature on y-axis, and day # on x-axis. Use the red, empty square as a marker with the solid line. (b) Plot both the high and low temperature for 7 days as a function of day in the same plot. Use the red, empty square as a marker with the solid line for high temperature, and blue, empty circle as a marker with the dotted line for low temperature.

For Octave/Matlab

Solutions

Expert Solution

a)

Matlab Code:

day = [ 1 2 3 4 5 6 7];
High_temp = [30 32 34 29 31 30 25];
Low_temp = [25 26 23 20 19 21 18];
plot(day,High_temp,'-s','MarkerSize',10,...
'MarkerEdgeColor','red',...
'MarkerFaceColor','red')
xlabel('Day');
ylabel('Temperature');

b) .

Matlab Code:

day = [ 1 2 3 4 5 6 7];
High_temp = [30 32 34 29 31 30 25];
Low_temp = [25 26 23 20 19 21 18];
plot(day,High_temp,'-s','MarkerSize',10,...
'MarkerEdgeColor','red',...
'MarkerFaceColor','red')
hold on
plot(day,Low_temp,'-o','MarkerSize',10,...
'MarkerEdgeColor','blue',...
'MarkerFaceColor','none')
legend('High temperature','Low temperature')
xlabel('Day');
ylabel('Temperature');


Related Solutions

Music Group Control Group 30 28 30 23 32 25 23 26 28 30 24 20...
Music Group Control Group 30 28 30 23 32 25 23 26 28 30 24 20 26 29 29 20 30 28 26 26 20 27 20 21 24 29 26 23 33 27 21 20 31 26 22 26 26 28 25 27 30 27 SPSS.1 A study reveals that older adults work out a little harder when they listen to music. The table below contains the data from two groups of older adults: one group listened to music...
Manufacturer           A   B   C   D 25   23   25   27 23   21   25   26 21  ...
Manufacturer           A   B   C   D 25   23   25   27 23   21   25   26 21   23   25   27 23   24   21   26 To test whether the mean time needed to mix a batch of material is the same for machines produced by 4 manufacturers, the Jacobs Chemical Company obtained the following data on the time (in minutes) needed to mix the material. What is the p value? Does the data provide strong evidence evidence against Ho or weak evidence?...
A random sample of BMI from college students were collected as follows: 23 32 34 26...
A random sample of BMI from college students were collected as follows: 23 32 34 26 23 28 38 33 25 29 28 Find sample size. Find sample median. Find sample mean. Find IQR. Construct a box plot. Mention one reason that box plot is useful What aspect of the data are both the sample standard deviation and IQR measuring? List an advantage and disadvantage of each. If each person’s BMI in the sample increase the same amount, 5, how...
Record No. Length-mm 1 22 2 30 3 23 4 22 5 26 6 23 7...
Record No. Length-mm 1 22 2 30 3 23 4 22 5 26 6 23 7 27 8 18 9 39 10 31 11 36 12 23 13 31 14 23 15 32 16 35 17 24 18 23 19 24 20 43 21 30 22 31 23 34 24 21 25 25 26 37 27 26 28 35 29 28 30 36 1. suppose you the fisher men want to use mosquito fish that are greater than 29 mm...
Record No. Length-mm 1 22 2 30 3 23 4 22 5 26 6 23 7...
Record No. Length-mm 1 22 2 30 3 23 4 22 5 26 6 23 7 27 8 18 9 39 10 31 11 36 12 23 13 31 14 23 15 32 16 35 17 24 18 23 19 24 20 43 21 30 22 31 23 34 24 21 25 25 26 37 27 26 28 35 29 28 30 36 1. suppose you the fisher men want to use mosquito fish that are greater than 29 mm...
old by years Interval Frequency 35-37 two 32-34 three 29-31 five 26-28 Six 23-25 four 20-22...
old by years Interval Frequency 35-37 two 32-34 three 29-31 five 26-28 Six 23-25 four 20-22 five 17-19 nine 14-16 Sixteen Calculate the above when Passport first used 1- what is the shape of the old distribution? 2- Which accurate statements can describe the relationship between the mean and median old? he mean and median are the same The mean is bigger than the median The mean is less than the median 3- Calculate percentile rank corresponding to the old...
Salaries of men and women Woman Man 26 29 28 31 30 33 32 29 34...
Salaries of men and women Woman Man 26 29 28 31 30 33 32 29 34 33 48 56 52 54 22 28 27 33 You are trying to determine whether male and female Central Bank employees, having equal qualifications, receive different salaries. The data contain the salaries (in thousands of dollars) for 9 male and 9 female employees. Assume salaries are normally distributed. a. Assume that each row of data represents paired observations, and using alpha=0.05, can you conclude...
Is an npp of 50 C m^-2 day^-1 high?
Is an npp of 50 C m^-2 day^-1 high?
1- 25 28 24 21 28 26 23 22 29 21 29 24 22 25 26...
1- 25 28 24 21 28 26 23 22 29 21 29 24 22 25 26 18 27 26 29 23 21 26 27 21 25 27 24 29 22 25 24 24 21 29 22 25 21 22 22 25 22 25 Calculate a) arithmetic mean and b) standard deviation of the sample. A) b) - Represent a classified frequency table. Answer the following questions in this table with column calculations. Calculate a) arithmetic mean, b) quadratic mean, c)...
Question 12 (1 point) X 28 23 30 48 40 25 26 Y 91 106 112...
Question 12 (1 point) X 28 23 30 48 40 25 26 Y 91 106 112 192 155 130 101 The coefficient of determination for the above bivariate data is: Question 12 options: 0.60 0.70 0.80 0.90
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT