# TypeError: unable to simplify to float approximation

Hi, when I try this code on Sage 8.0:

u = var('u'); D = RealDistribution('gaussian',1); f(u) = D.distribution_function(u)

I get the following error message:

TypeError: unable to simplify to float approximation

What I want is to get the numerical approximation of integral_numerical(f(u), u, a, b), for some fixed values a and b.

Thanks.

Tip: don't tick the "Community wiki" checkbox when posting questions. If it is ticked, upvotes to the question don't earn you karma. You need karma to be able to post links, to upvote questions and answers, etc.