I got a list of numbers lets say A = [0.456, 0.4344, 1, -1, 4, 5, 6,8]
how can the function mentioned below be fixed in python using the list of numbers mentioned above and get the six different solutions of 'xf' for lets say the code mentioned below:
how can the function mentioned below be fixed in python using the list of numbers mentioned above and get the six different solutions of 'xf' for lets say the code mentioned below:
Code:
c=2 xfmin = 0.432*c xfmax = 0.528*c def xf(a, b): return a+(b-a)*A xfrn= xf(xfmin, xfmax) print "xf=", xfrn
Comment