Home / Student Talk % width Posts: 4

# Find the Maximum of the function using GA

ams4u04 1 / 1
Oct 20, 2011   #1
Friends,
Can anybody help me in my project work. This is small part of my project. I have a project topic as " to find the maximum of the function using GA". There i already have the function as:

f(x)= 1 / ((1-x^2)+0.001)
daniel44992 13 / 29
Oct 22, 2011   #2
Take the derivative of the equation. Then set the equation equal to zero to find critical points. Plug those critical points (they are x values) into the original equation. This will give you max and mins. It should be common sense which is which. Or you could just graph it in a graphing calculator.

Good Luck!
OP ams4u04 1 / 1
Oct 24, 2011   #3
thank you.
I already done that but how to implement that x value in a genetic algorithm by which i can got a maximum time complexity. As i already describe that to find the maximum of a function using Genetic Algorithm. Ca you help me plzz
daniel44992 13 / 29
Oct 25, 2011   #4
Nope sorry. That just went way over my head lol. See, I didn't know what GA meant so I just kinda ignored it but if its some genetic algorithm thingy, well you're on your own. Sorry :/

 Home / Student Talk / Find the Maximum of the function using GA