#include<stdio.h>
int main() {
float E, N, A, B, b, T, X, Y, Z, s;
printf("enter the values of \n N, s, B, T, b\n");
scanf("%f %f %f %f %f", &N, &s, &B, &b, &T);
X = b - B;
A = s * s;
Y = A * X;
Z = Y / T;
E = N * Z;
printf("the value of E is %f",E);
return 0;
}