mdnurnobihosen

3

Apr 18th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main()
  4. {
  5.     double c=299792.458,t;
  6.     int t1,v;
  7.     scanf("%d %d",&t1,&v);
  8.     t=t1/(sqrt(1-v*v/c*c));
  9.     printf("%.2lf",t);
  10.  
  11.  
  12.     return 0;
  13. }
Add Comment
Please, Sign In to add comment