#include
#include
#include
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[])
{
floata = 3.2, b = 3.9, x = a, y, h = 0.1;
while (x <= b)<br> {
if (ctan(x) > -0.1)
y = (x-1)^sin(x);
else
y = (x+1)^sin(x);
printf("\ny(%f) = %f", x, y);
x += h;
}
system("PAUSE");
return 0;
}