#include <stdio.h>
#include<stdlib.h>
#include <math.h>
main()
{
double F(int x);
int x;
printf("x \t f(x) \n\n");
for(x=1;x<=10;x++)
printf("f(%d)=\t %lf \n\n",x,F(x));
system ("pause");
}
double F(int x)
{
return sin(x)+log(x)-sqrt(x);
}
#include<stdlib.h>
#include <math.h>
main()
{
double F(int x);
int x;
printf("x \t f(x) \n\n");
for(x=1;x<=10;x++)
printf("f(%d)=\t %lf \n\n",x,F(x));
system ("pause");
}
double F(int x)
{
return sin(x)+log(x)-sqrt(x);
}