#include <bits/stdc++.h>
using namespace std;
double dp[2000 + 9][2000 + 9];
signed main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL);
  double p, ans = 0;
  long long i, j, n, t;
  cin >> n >> p >> t;
  for (i = 1; i <= n; i++)
    for (j = 1; j <= t; j++)
      dp[i][j] = (dp[i - 1][j - 1] + 1.0) * p + (dp[i][j - 1]) * (1 - p);
  cout << fixed << setprecision(10) << dp[n][t];
}
