Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- float FunFun();
- float FunFun2();
- int main()
- {
- float W, X, X1;
- X=FunFun();
- X1=cbrt(pow(X,-2));//x^-2/3 = raiz cubica de x a -2
- W=(pow(X,3))-X1;
- printf("Valor de W es %f", W);
- }
- float FunFun()
- {
- float X, Y;
- Y=FunFun2();
- X=(pow(Y,2))-(pow(Y,(-5/4)));
- return X;
- }
- float FunFun2()
- {
- float Z, Y;
- printf("Dame valor de Z\n");
- scanf("%f", &Z);
- Y=Z-(2*Z);
- return Y;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement