answered 1 year ago
Try the following code, notice the "*" I added:
var('r') 2*r^2
I hope its what you want GPN