nikolas_serafini

Lista 2 - Exercício 55

May 29th, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4.  
  5. int main()
  6. {
  7.     float num,eq;
  8.  
  9.     printf("Entre com o valor de x:\n"); scanf("%f",&num);
  10.  
  11.     eq = (5*num + 3)/(sqrt(pow(num,2) - 16));
  12.     printf("%f\n",eq);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment