Dear Sir, How to use nested def for two functions to integrate over a variable. The error displayed is TypeError: can't multiply sequence by non-int of type 'function Regards, M De