My inputs X1 and X2 are the values from -12 and 12 including 0 (i.e:(-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12) for both X1 and X2 and my output y is the function y=(2*(X1^2))+(X2^2),...
My inputs X1 and X2 are the values from -12 and 12 including 0 (i.e:(-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12) for both X1 and X2 and my output y is the function y=(2*(X1^2))+(X2^2),...
What would i use to get my code to run or print values from a certain range like all the values between 12 and -12 ..I am using python and i need to use these values throughout my code .
my function is y=(2*(x1^2))+(x2^2), -12 < x1, x2 <12. I understand the concept its just going about coding it in python