#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  if (!b) return a;
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) { return b / gcd(a, b) * a; }
const int N = 2002;
int t, n;
double p;
double dp[N][N];
bool vis[N][N];
double calc(int rem, int c) {
  if (!rem || c == n) return c;
  if (vis[rem][c]) return dp[rem][c];
  vis[rem][c] = 1;
  double ret = 0;
  ret += calc(rem - 1, c + 1) * p;
  ret += calc(rem - 1, c) * (1 - p);
  return dp[rem][c] = ret;
}
int main() {
  cin >> n >> p >> t;
  printf("%0.8lf\n", calc(t, 0));
}
