#include <bits/stdc++.h>
using namespace std;
double dp[2010][2010];
double p;
int n, t;
int main() {
  cin >> n >> p >> t;
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= t; j++)
      dp[i][j] = p * (dp[i - 1][j - 1] + 1) + (1 - p) * dp[i][j - 1];
  printf("%.10lf", dp[n][t]);
  puts("19260817");
}
