Question: f ) Consider the following problems that need to be solved using a Genetic Algorithm: ( i ) Find a 2 0 - bit binary

f) Consider the following problems that need to be solved using a Genetic Algorithm:
(i) Find a 20-bit binary string that contains exactly five 1s.
(ii) Find the integer coefficients for xi
that will solve the following equation:
x1+2x2+3x3+4x4=30
(iii) Find all the real-valued intersection points of the following three functions:
f1(x)= x +1, f2(x)= x
2
, f3(x)= x
5+1
(iv) Find real-valued solutions for x and y in the equation:
2x
24x + y =1
For each of these tasks:
Design an appropriate chromosome to represent solutions to the task. Write down your
definition of the chromosome, using appropriate terminology.
Design a fitness function, keeping the criteria for good fitness functions in mind. Write
down your definition of the fitness function, using appropriate terminology.

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!