#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 3;
int n, t;
double long p;
double long dp[2003][2003];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> p >> t;
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= t; ++j) {
      dp[i][j] = (dp[i - 1][j - 1] + 1) * p + (1.0 - p) * dp[i][j - 1];
    }
  cout << fixed << setprecision(8) << dp[n][t];
}
