SHARE
TWEET

Untitled

a guest Feb 27th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4. int main()
  5. {
  6. setlocale(LC_ALL, "russian");
  7. double d, m, x,A;
  8. cout « "Введи количество штрихов ";
  9.     cin >> d;
  10. d = 1 / d;
  11. cout << "Введи порядок максимума m ";
  12.     cin >> m;
  13. cout << "Введи x,mm ";
  14.     cin >> x;
  15. double const l = 405*pow(10,-3);
  16. x = x * pow(10.0, -3);
  17. A = (d*x / (m*(sqrt(pow(x, 2) + pow(l, 2)))))*1e3;
  18. cout << "Бля братан держи : " << A << " mkm" « endl;
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top