Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Load the le thermo_scores.dat thermo_scores. (Enter only the numbers.) (a) Extra

ID: 3818978 • Letter: L

Question

Load the le thermo_scores.dat

thermo_scores. (Enter only the numbers.)

(a) Extract the scores and student number for student 5 into a row vector named student_5.

(b) Extract the scores for Test 1 into a column vector named test_1.
(c) Find the standard deviation and variance for each test.
(d) Assuming that each test was worth 100 points, nd each student’s final

total score and final percentage. (Be careful not to add in the student

number.)
(e) Create a table that includes the final percentages and the scores from the original table

original table

20                                    93                  90              92

student no. test 1 test2 test3 1 68 45 92 2 83 54 93 3 61 67 91 4 70 66 92 5 75 68 96 6 82 67 90 7 57 65 89 8 5 69 89 9 76 62 97 10 85 52 94 11 62 34 87 12 71 45 85 13 96 56 45 14 78 65 87 15 76 43 97 16 68 76 95 17 72 65 89 18 75 67 88 19 83 68 91

Explanation / Answer

load thermo_scores.dat
%a
fred = thermo_scores(5,:)
%b
test_1=thermo_scores(:,2)
%c
% One approach is to extract each test
test_2=thermo_scores(:,3);
test_3=thermo_scores(:,4);
std([test_1,test_2,test_3])
% Another approach is to extract all the scores at once
var(thermo_scores(:,2:4))
%d
total = sum(thermo_scores(:,2:4)')
percentage = total/300*100
%e
table=[thermo_scores,percentage']
%f
sortrows(table,5)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote