#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long LL; typedef unsigned long long ULL; #define MEM(a,b) memset((a),(b),sizeof(a)) const LL INF = 1e9 + 7; const int N = 1e2 + 10; const double pi = 2 * acos(0.0); double ans[N]; int main() { //freopen("input.txt", "r", stdin); //freopen("output.txt", "w", stdout); int R, k; cin >> R >> k; double s = pi * R * R / (k + 1); ans[0] = -pi / 2; for (int i = 1; i <= k; i++) { double l = ans[i - 1]; double r = pi / 2; int cnt = 60; double key = s * i; while (cnt--) { double mid = (l + r) / 2; double h = sin(mid) * R; double x = cos(mid) * R; double mid2 = pi - mid; double s = (mid2 - mid) * R * R / 2 - x * h; s = pi * R * R - s; if (s > key) r = mid; else l = mid; } ans[i] = l; printf("%.15f\n", sin(l) * R); } return 0; }