Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Example program
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main()
- {
- double x=1.54, v;
- v=cos(pow(x,3.0))+pow(sin(x),2.0)/exp(1.7);
- cout << "x=" << x << " v="<<v<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement