First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 13 years ago

Juanlu001 gravatar image

Difference between f and f(r)

I was experimenting with symbolic functions, and I was wondering what is the difference between these two forms of creating one:

sage: f1 = function('f', r)
sage: f2(r) = function('f', r)

I have made some experiments in this Sage worksheet, but except for some output differences, I don't know what will happen if I try to differentiate them, integrate them, put them into an equation, etc.

Any ideas?

click to hide/show revision 2
retagged

updated 13 years ago

Kelvin Li gravatar image

Difference between f and f(r)

I was experimenting with symbolic functions, and I was wondering what is the difference between these two forms of creating one:

sage: f1 = function('f', r)
sage: f2(r) = function('f', r)

I have made some experiments in this Sage worksheet, but except for some output differences, I don't know what will happen if I try to differentiate them, integrate them, put them into an equation, etc.

Any ideas?