A user defined function x2+y2 is to be multiplied by 2 and result should be 2x**2+2y**2 showing an error cant multiply sequence by non integer of type