In the following table, there are 12 entries in the form nij, where i = 1, 2, 3 and j 1,2,3,4. Each of these entries denotes the largest integer n such that f(n) milliseconds = does not exceed t, where f(n) is the function corresponding to the row of the entry and t is the time corresponding to the column of the entry. For example, for entry n32, we have f(n) = 2^n and t = 1 minute. Hence n32 should be the largest integer n such that 2^n milliseconds is no more than 1 minute.
Q1 (12 points) In the following table, there are 12 entries in the form nij, where i = 1, 2, 3 and j 1,2,3,4. Each of these entries denotes the largest integer n such that f(n) milliseconds = does not exceed t, where f(n) is the function corresponding to the row of the entry and t is the time corresponding to the column of the entry. For example, for entry n32, we have f(n) = 2^n and t = 1 minute. Hence n32 should be the largest integer n such that 2^n milliseconds is no more than 1 minute.
On the answer sheet, enter the values for nij, i = 1, 2, 3, j = 1, 2, 3, 4.
Q1. Solution:
Aim: Each entry denotes the largest integer n such that f(n) milliseconds do not exceed t.
FIRST ROW...........................................
i) Solving n11 :
Here , f(n) = 100n + 200 And t = 1 second.
so, where n is an integer
: [t = 1second = 1000ms]
Ans:
ii) Solving n12
Here , f(n) = 100n + 200 And t = 1minute = 60sec = 60000ms
Ans :
iii) Solving n13
Here , f(n) = 100n + 200 And t = 1hr = 60min = 3600sec = 36*105 ms
Ans :
iv) Solving n14
Here , f(n) = 100n + 200 And t = 1day = 24hr = 1440min = 86400s = 86400*103ms
Ans :
SECOND ROW............................................................
v) Solving n21
Here, and t = 1second = 1000ms
After solving the above quadratic equation we get :
Ans :
vi) Solving n22
Here, and t = 1minute = 60sec = 60000ms
After solving the above quadratic equation we get :
Ans :
vii) Solving n23
Here, and t = 1hr = 60min = 3600sec = 36*105 ms
After solving the above quadratic equation we get :
Ans :
viii) Solving n24
Here, and t = 1day = 24hr = 1440min = 86400s = 86400*103ms
After solving the above quadratic equation we get :
Ans :
THIRD ROW...............................................................
ix)Solving n31
Here and t = 1second = 1000ms
Ans :
x)Solving n32
Here t = 1minute = 60sec = 60000ms
Ans :
xi)Solving n33
Here and t = 1hr = 60min = 3600sec = 36*105 ms
Ans :
xii) Solving n34
Here and t = 1day = 24hr = 1440min = 86400s = 86400*103ms
Ans :
The table above is filled as follows:
8 | 598 | 35998 | 863998 |
9 | 421 | 5520 | 28898 |
9 | 15 | 21 | 26 |
IF YOU HAVE ANY DOUBT REGARDING THESE QUESTION YOU CAN ASK IN THE COMMENT BELOW. PLEASE UPVOTE THE ANSWER.
Comments
Post a Comment