Problem
Write the Python code that finds the points where thef(x)=sin(x)+sin((10/3)∗x)function takes the maximum and minimum values in the range of[-10,10]with the particle swarm optimization algorithm.
1. Write the Python code that finds the point where it gets the maximum value with the particle swarm optimization algorithm.
2. Write the Python code that finds the point where it gets the minimum value with the particle swarm optimization algorithm.
3. While finding the maximum and minimum values, show the change of fitness in each iteration with a separate graph for both problems.