Курсовая работа: Система обработки научных данных
int a[100],b[100],c[100],d[100],e[100],f[100],g[100];
float men,medin,mod,cxy,vx,vy;
int a1,b1,c1,d1,e1,f1,g1,h1,i1,j1,k1,l1,m1,n1,o1,p1,q1;
long double z1=0,z2=0,z3=0,z4=0,z5=0,z6=0,z7=0,z8=0,byx=0,bxy=0,mx=0,my=0;
static int zzz;
s =0;
float s2 =0.0;
s3 =0;
s1 =0;
float sum =0.0;
float mean,variance,v1,v2,v3;
data();
clrscr();
switch(choice5)
{
case 1:
{
cout<<" Enter the total no of individual observations";
cin>>n;
for(int i=0;i<n;i++)
{
cout<<" X"<<i+1<< " =";
cin>>a[i];
s = s+ a[i];
}
mean = s/n;
for(i=0;i<n;i++)
{
sum = sum+ pow((a[i]-mean),2);