1ans:
flowchart:
2 ans:
source code in python:
list=[[1,1,0,1,1],[1,0,1,0,1],[1,0,0,0,0],[1,0,1,1,1],[1,0,0,1,0],[1,1,1,1,1]]
print("a\tb\tc\td\te\tfitness\n")
for i in range(len(list)):
a=list[i][0]
b=list[i][1]
c=list[i][2]
d=list[i][3]
e=list[i][4]
fitness=(5*a)+(2*b*c)+d-e
print(str(a)+"\t"+str(b)+"\t"+str(c)+"\t"+str(d)+"\t"+str(e)+"\t"+str(fitness)+"\n")
#output:
#if you have any doubt comment below....
Q.4 (10 pointsi Consider the following fitness function fitness Sa +2bc+ d where a-e are all...
2) Consider the following production function for shirts: q=13/4K1/4, where L is worker-hours, and K is sewing machine-hours. The cost of one hour of labor L is w The cost of renting a sewing machine for one hour is r. What type of returns to scale does this production function have? a) b) Compute the marginal product of labor L and marginal product of capital K. What is the marginal rate of technical substitution of labor for capital .e. how...
10 Q.1 Figure Q1 shows a speed control system where Gi(s) 0.5s 1' and K(s)kp K(s) G,(s) Figure Q1: Speed Control System a) Determine the transfer function from d to y (4 marks) (b) Assuming the reference is zero, what is the steady-state error (e-r - y), in this case, you want yss since r 0) due to an unit step disturbance in d? What must the value of k be in order to make the steady-state error less than...