Ask Your Question

Revision history [back]

From your description, it is not clear what do you want to do, but perhaps you should use Python function instead of symbolic function:

sage: func_noise = lambda x : x^2 + normalvariate(0,1)
sage: func_noise
<function <lambda> at 0xad99aa3c>
sage: func_noise(2)
3.1200300365934908
sage: func_noise(2)
2.6179089142775314
sage: func_noise(2)
3.9386360734990973
sage: func_noise(2)
4.340588637274914