#include #include using namespace std; using ll = long long; #define REP(i,n) for(int i=0;i void chmin(T& a, T b) { a = min(a, b); } template void chmax(T& a, T b) { a = max(a, b); } #define PR(x) cerr << #x << "=" << x << endl using i128 = __int128_t; int main() { double r, k; cin >> r >> k; vector ans(k); REP(i, k / 2) { double ok = M_PI / 2, ng = 0; while(ok - ng > 0.00000001) { double ch = (ok + ng) / 2; if(ch - sin(ch) * cos(ch) > M_PI / (k + 1) * (i + 1)) ok = ch; else ng = ch; } ans[i] = -cos(ok) * r; ans[k-i-1] = cos(ok) * r; } REP(i, k) cout << fixed << setprecision(10) << ans[i] << endl; return 0; }