Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. // Example program
  2. #include <iostream>
  3. #include <math.h>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. double x=1.54, v;
  9. v=cos(pow(x,3.0))+pow(sin(x),2.0)/exp(1.7);
  10. cout <<  "x=" << x << " v="<<v<<endl;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement