Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Only need number 10. Student number is 101058264. Please liste detailed explanat

ID: 3904456 • Letter: O

Question

Only need number 10. Student number is 101058264. Please liste detailed explanation clearly! thanks will upvote

algorithms are used to search for an element of a list when the size of the list doubles from n to 2n, where n is a positive integer. a) Linear search b) Binary search 2 marks] 9. Plot the graph of fx) -3x+ 4 where (x | xE Z,-3 sx s3). Provide a table with the x and 12 marks] f(x) values. 10. Let a be the last digit in your student number, b be the second-to-last digit in your student number, c-10a, and d=6b. For the functions f and g defined as: f: z ? z ; f(x) = ax + c and g: Z ? Z ; g(x)-C2-d, compute the following: a. fog 11. In your own words, define 'countablility'. Give an example for something that is and another example for something that is not countable and exnlain why thev are/are

Explanation / Answer

Hello Student!

I am happy to help you!

Student number which was given is - 101058264

Last digit - 4

Second last digit - 6

a = 4 ; b = 6 ; c = 40 ; d = 36

a) f * g = f ( g(x) )

f ( c2- d )

f (1600 - 36 )

f ( 1564 )

a*1564 + c

4*1564 + 40

6296 is the answer.

b) g * f = g ( f(x) )

g(4*a + 40)

As, the g(x) doesn't contain any x on the R. H. S. Therefore it is independent of 'x'.

g(56) = c2 - d

1600 - 36 = 1564

c) ( f * g ) * g

As we have already computed f*g in first part.

Lets, k = f*g and as per the part a) f*g = a*(c2-d) + c

So, k = a*(c2-d)+c

We need to find k*g or (f*g)*g

k(g(x)) = k(c2-d)

Now, the equation k is independent of the variable 'x'. So, we can say that -

k(c2-d) = a*(c2-d) + c

4*(1600-36) + 40

6296 is the answer

Thank you. Feel free to ask anything. Please upvote, if you like the answer. Thank you again.