can anyone help me fix ant-colony optimization for continuous domain code to solve quadratic equation?

in the link above is the example of coding for ant-colony optimization for continuos domain and had been used to calculate sphere.
ive been asked to change the code so that it can solve quadratic equation ( fiding maximum or minimum value)
ive been trying about 4 days to study, change and fix the program but still dead end for me.
can anyone help me to change the code or maybe give me some tips on how to change the code.
thank you.

1 Comment

Can you post your problem here?
What kind of equation are you trying to solve?
This is quadratic equation
ax^2 + bx + c = 0

Sign in to comment.

Answers (0)

Categories

Asked:

on 19 Sep 2019

Commented:

on 19 Sep 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!