Question: 1 . ( 4 points ) Find a simple function g of the smallest order so that f ( x ) is big - O
points Find a simple function g of the smallest order so that fx is bigO of gx In your estimation you can use theorems learned in lecture about the bigO estimates of sumsproducts of functions.
fxx xlnxxxxxxx
points Is there a smallest positive real number a for which xx is bigO of ax Explain your answer.
point Carry out the hexadecimal addition CAF directly in hexadecimal. Do not convert the numbers to decimal, add them in decimal and convert the sum back to hexadecimal.
point Carry out the binary multiplication times using only left bit shifts and addition.
points Use the Euclidean Algorithm to demonstrate that and are relatively prime to each other. Explain.
points Given an integer n show that you can multiply n by using only five multiplications by two additions and storing intermediate results in memory.
points Explain how you multiply an octal number n directly in octal by Illustrate your general explanation with n
points Explain how you divide an octal number directly in octal by Here, divide means to carry out the division algorithm and to find both quotient and remainder. Illustrate your general explanation with n
points Carry out the fast exponentiation algorithm to evaluate n mod for n and These three values suffice to derive a formula for n mod for all nonnegative integers n State this formula and explain.
points Give a closedform formula in term of n for the value of the hex number in terms of n Your answer must not contain unresolved
n digits sigma sums. Show your work.
extra credit, points Write a Python program that systematically finds and prints all integers a from a to for which the function fa : ;fx ax mod is bijective. Show your program and the output of your program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
