Okay..thanks!
This question develops: "compute the dot products of x.x,, y.y, x.y checking that sinx and cosx are orthogonal..x.y=sum(x.y) "
I am really stuck here. Maybe that is my maths. My attempt is as pitifully follows:
include
Code:
#include <stdio.h>
#include <stlib.h>
#define PI 3.142
int main()
{
//stating variable type and titles of the arrays
int i;
float ,sinC, x[36], y[36], sumsq, sumsr, sumss;
for(i=0; i<=360; i++)
{
x[i]*y[i]= sin
y[i]*y[i]=
//shall i define the arrays? or the mulitiplied arrays?
x.y=absinc?
sumsq=x[i]*x[i]
sumsr=y[i]*y[i]
sumss=x[i]*y[i]
printf("%.2f\t %.2f% %.2f\n",sumq, sumsr, sumss);
}
scanf("d\n");
exit(0);
}