Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main(void)
- {
- float a,b,c;
- printf("Input A\n");
- scanf("%f", &a);
- printf("Input B\n");
- scanf("%f", &b);
- printf("Input G\n");
- scanf("%f", &c);
- printf("%f\n",a);
- printf("%f\n",b);
- printf("%f\n",c);
- float y = 0;
- y = (fabsf(a+b)*(2+(powf(cosf(c),2)/(a+b))))/(expf(a-b));
- printf("Y = %f",y);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement