Question

You are given an algorithm that uses T(n) a n2b.3 basic operations to solve a problem of size n, where a and b are some real non-negative constants. Suppose that your machine can perform 400,000,000 basic operations per second (a) If a = b = 1, how long does it take for your algorithm to solve problems of size n = 10, 20, 50. For each size of n, include the time in seconds and also using a more appropriate unit (minutes, hours, days, years, centuries, or millennia! Assume that a year is 365 days.). (b) Let a = 0 and b = 1 /9. Find the largest value of n that that allows the algorithm to run in less than a year

0 0
Add a comment Improve this question Transcribed image text
Answer #1

According tu, give, problem Чоо , ooo , ooo ofen,hon take one second 47 x16 24 -12 3 CS 26 g. 기 3 mA 3

2 וי c 3n2 Hake o Seend Seqaon ill be h-2 33.79 g (3) So 235

Add a comment
Know the answer?
Add Answer to:
You are given an algorithm that uses T(n) a n2b.3" basic operations to solve a problem...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT