Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <math.h>
  3. #include <iostream>
  4.  
  5. int main()
  6. {
  7. float a, b;
  8. double x1, x2;
  9. printf("\n Enter alpha and betta:\n");
  10. scanf("%f%f", &a);
  11. x1 = (sin(pi/2 + 3*a)/(1 - sin(3*a-pi));
  12. x2 = ctg((5/4)*pi))+(3/2)*a);
  13. printf("\n x1 = %f\n x2 =%f\n",x1,x2);
  14. system("pause");
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement