Hi there i need help about for loop. I have a code that gives me max value of a function. But i need to see which x value is making maximum this function.
maxy1 = max(maxy1,abs(y1));
output should be like maxy1=3.9 when x=0.3.