Showing results 1 to 11 of 11
Search took 0.01 seconds.
Posts Made By: NubKnacker
Forum: JavaScript / DHTML / AJAX Jan 8th, 2007
Replies: 1
Views: 805
Posted By NubKnacker
Javascript implementation question

Small question about javascript. From my understanding, whenever I view a webpage that requires a js file, the file is downloaded to the client computer and accessed from there. Are any checks...
Forum: Computer Science and Software Design Aug 29th, 2005
Replies: 2
Views: 2,643
Posted By NubKnacker
Re: Calculating theta of a function

Thanks a lot. That helped me understand stuff a lot better although it still takes me time to figure out all the variables. I hope I get better at it eventually. :o
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 2
Views: 2,643
Posted By NubKnacker
Calculating theta of a function

The function is

6 * 2 ^ n + n ^ 2

From what I have read I need to find two constants c1 and c2 such that c1 g(n) <= f(n) <= c2 g(n) for all n >= n0. Would appreciate it if someone could explain...
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 57
Views: 69,166
Posted By NubKnacker
Re: Time complexity of algorithm

Sorry, that was a stupid question. I understood my own question on a second read of your earlier post, thanks again.
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 57
Views: 69,166
Posted By NubKnacker
Re: Time complexity of algorithm

Wow, I'm going to copy and keep that. Thank you very very much.

Quick question, since theta is an exact rate of growth, it can't have two values right, for the same algo/function?
Forum: C++ Aug 28th, 2005
Replies: 7
Views: 8,608
Posted By NubKnacker
TurboC 2.01 on Windows XP

I've been trying to get it to work but it just won't. For some reason everytime I run a program it freezes up my command prompt and I have to close it forcefully. Does anyone know a fix to this?...
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 57
Views: 69,166
Posted By NubKnacker
Re: Time complexity of algorithm

But theta is a tight bound right? So why does the theta of the same equation vary?

Sorry but I'm new to this and I think it's all in the english. My english isn't that great, one big reason why I'm...
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 57
Views: 69,166
Posted By NubKnacker
Re: Time complexity of algorithm

That's what I thought but this page (http://www2.toki.or.id/book/AlgDesignManual/BOOK/BOOK/NODE14.HTM) says different, rather the figures on the page say different. It's got me confused.
Forum: PHP Aug 28th, 2005
Replies: 1
Views: 979
Posted By NubKnacker
Re: Anyone familiar with Invision that could help?

Can you explain a bit more please? I can't understand what you're trying to do.
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 57
Views: 69,166
Posted By NubKnacker
Re: Time complexity of algorithm

Thanks for that narue.

One more question. I have understood how to calculate the O of a simple algorithm but does that O depend upon the size of N as well? I read in an online book somewhere that O...
Forum: Computer Science and Software Design Aug 28th, 2005
Replies: 57
Views: 69,166
Posted By NubKnacker
Re: Time complexity of algorithm

Thanks for the lovely explanation Narue. I have a couple of questions though.

I assume that when you said the complexity for the following code was O(N log (N)), you meant the average case...
Showing results 1 to 11 of 11

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:37 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC