I have the following code and I am trying to get an output, and I keep getting an error y is not defined. Could you please help?
 var('y')
 f = sage_eval(str(input("What is the function:" )), locals = {'y' == y})
 integral(f,y,0,16)
|   | 1 |  initial version  | 
I have the following code and I am trying to get an output, and I keep getting an error y is not defined. Could you please help?
 var('y')
 f = sage_eval(str(input("What is the function:" )), locals = {'y' == y})
 integral(f,y,0,16)
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.