%file data.m for function [y,yy,av,md,s]=grades(t1,t2,f,hw,tp,,m,g,gp)

% y=grades(t1,t2,f,hw,tp,m,g,gp); tj=testj,f=final,m=maxscore(t1,t2,f,hw)
% tp=term paper, hw=homework, g=average grade, gp=grade pts per std


t1=[0 35 35 28 40 23 12 16 26 38 33 33 39 35 32 39 29];
t2=[0 31 24 10 40 3 11 12 12 25 14 27 27 25 15 32 6];
f=[2 65 56 5 58 27 15 18 9 53 47 38 46 41 53 61 22 ];
hw=[0 250 201 40 291 93 110 91 133 224 199 113 225 146  ...
186 286 136];
tp=[0 40 34 25 40 0 38 34 32 37 38 38 37 40 39 38 40];
m=[40 40 70 300 40];
g=3.6;
gp=.7;
