Question: Question 2 ( COI ) Suppose you have an equation f ( x ) = x 2 - 5 x + 6 . Assume x

Question 2(COI)
Suppose you have an equation f(x)=x2-5x+6. Assume x can be any number between 0 to 15.
Now your job is to find an appropriate value of x such that the value of f(x)=0 using Genetic
Algorithm
Consider the fact that every chromosome will have 4 genes, illustrate an appropriate
encoding technique to create an initial population of 4 randomly generated chromosomes.
Using an appropriate fitness function deduce the 2 fittest chromosomes and perform a
single pointer crossover from the middle to create two offspring.
Explain how you can mutate the offspring derived from (B) and comment on the fitness
of the final produced offspring.
Question 2 ( COI ) Suppose you have an equation f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!