this are the errors that i get:
1>c:\users\ismael\desktop\hw8\hw8\hw8.cpp(9) : error C2365: 'y1' : redefinition; previous definition was 'function'
1> c:\program files (x86)\microsoft visual studio 8\vc\include\math.h(460) : see declaration of 'y1'
1>c:\users\ismael\desktop\hw8\hw8\hw8.cpp(27) : error C2065: 't' : undeclared identifier
1>c:\users\ismael\desktop\hw8\hw8\hw8.cpp(28) : error C2659: '=' : function as left operand
1>c:\users\ismael\desktop\hw8\hw8\hw8.cpp(39) : error C2659: '=' : function as left operand
1>c:\users\ismael\desktop\hw8\hw8\hw8.cpp(48) : error C2659: '=' : function as left operand
1>c:\users\ismael\desktop\hw8\hw8\hw8.cpp(57) : error C2659: '=' : function as left operand
*********************************************************
#include <stdlib.h>
#include <stdio.h>
#include <math.h>