Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1)
- #include <stdio.h>
- #include <math.h>
- int main() {
- float y = 2, t = 5 / (1 + y * y), z = 4;
- float x = 2 * 2 + 3 * sinh(t) - z;
- printf("%.2f\n", x);
- }
- -------------------------------
- 2)
- #include <stdio.h>
- #include <math.h>
- int main() {
- float t = 0.5, z = 6, y = t + 2 * (1 / tan(z));
- float x = 3 * pow(y,2) / (4 * tan(z) - 2 * pow(t,2));
- printf("%.2f", x);
- }
- --------------------------------
- 3)
- #include <stdio.h>
- #include <math.h>
- int main() {
- float t = 1, z = 3, y = sin(t);
- float x = 4 * pow(y, 2) / (4 * y * exp(z) - 2 * pow(t, 3));
- printf("%.2f", x);
- }
- ------------------------------
- 4)
- #include <stdio.h>
- #include <math.h>
- int main() {
- float t = 2, z = 3, y = cos(t + z);
- float x = 4 * log(pow(y, 3)) - z / t;
- printf("%.2f", x);
- }
- ------------------------------
- 5)
- #include <stdio.h>
- #include <math.h>
- int main() {
- float y = 2, z = 4, t = sin(2 + z);
- float x = 6 * pow(t, 2) - ((1 / tan(z)) + 1) / pow(y, 2);
- printf("%.4f", x);
- }
- ------------------------------
- 6)
- #include <stdio.h>
- #include <math.h>
- int main() {
- float z = 1, t = 2, y = tan(t) + z;
- float x = (8 * pow(z, 2) + 1) / (y * exp(t) + pow(t, 2));
- printf("%.2f", x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement