Question: Assigning values

Hi,

Well i'm new to the maple program and i'm attempting to get my feet wet with a fairly simple problem. I'm attempting to make a system that all i have to do is enter the x value's and have it give me x-bar and then take the standard devation of those figures. So far this is what I have

S:=s->sqrt((sum(x-xb)^2)/(n-1))

 

If possible i can work this all I would want to enter is the x value and the n value and have the mean automaticaly taken to give me xb. Well thanks for taking time to look at this post and any help would be great

Please Wait...