WolframAlpha computational knowledge AI
p=3000000, c=500, g=1000, 1-1(1-c/p)^g //N