Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1.  
  2. #include <iostream>
  3. #include <math.h>
  4.  
  5. int main()//=========================================================
  6. {
  7. int a = 20;
  8. int b = 8;
  9. double Y = 45;// градусы
  10. double S = a*b*sin(Y*M_PI/180)/2;
  11. std::cout << S << std::endl;
  12.  
  13. return 0;
  14. }//==================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement