Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- #define y 617.3
- #define h 0.3
- #define xp 1.2
- #define xk 4.4
- #define dx 0.15
- main()
- {
- float x, t;
- for (x=xp;x<=xk; x+=dx)
- {
- t= (3*pow(y,1/3))/(x*cos(x+h)+log(x));
- if (t<0)
- printf("\nT=%f\t\t X=%f",t,x);
- else
- printf("\n\t\tT=%f\t\t X=%f", t,x);
- }
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement