Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 11-07-2006, 10:16 AM   #1 (permalink)
 
Newb Techie

Join Date: Aug 2006

Posts: 20

hassantaan

Default long devision code

Hi There

please i need the pseudocode of the long devision algorithm of polynomials or the code written in C++. am representing the polynomials as a binary string of onnes and zeros that represent the coefficients of the polnomial.


any help?

thanks
hassantaan is offline  
Old 11-07-2006, 11:41 AM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
or the code written in C++
Do your own homework. The idea is for you to learn how to do it.
jaeusm is offline  
Old 11-07-2006, 12:23 PM   #3 (permalink)
 
Newb Techie

Join Date: Aug 2006

Posts: 20

hassantaan

Default

well thats very useful jaeusm..thanks alot ...but i dont like ignorant people ******* around and giving me advices what to do...if you dont know how...just say so and dont be ashamed...you dont need to justify your ignorace by giving stupid advices....by the way...it is not a homework...and it is only a secondary matter in my project
sleep well
hassantaan is offline  
Old 11-07-2006, 12:38 PM   #4 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

Quote:
but i dont like ignorant people
This is the pot calling the kettle black.

Quote:
you dont need to justify your ignorace by giving stupid advices
I know. It's such stupid advice to tell someone to stop being lazy and do his own work. What was I thinking?

You didn't ask for help, you just asked for someone to do your work for you. Before you call others "ignorant" and "stupid", you should consider that it doesn't take a genius to use Google.
jaeusm is offline  
Old 11-09-2006, 12:19 PM   #5 (permalink)
 
Newb Techie

Join Date: Aug 2006

Posts: 20

hassantaan

Default

sorry i cant reply to you right now..am feeding my dog
hassantaan is offline  
Old 11-09-2006, 12:57 PM   #6 (permalink)
 
Super Techie

Join Date: Sep 2005

Posts: 341

hillbillybob

Default

^WTF.....your already at the comptuer?????
__________________
The greatest measure of a nation is not it\'s army or economy, but by how many people are trying to get in, and how many people are staying!!
Guns, Guts, and Alcohol made America free.
Born American, Die American
Ubuntu - it\'s all about the bun\'s baby!!!
hillbillybob is offline  
Old 11-09-2006, 01:01 PM   #7 (permalink)
 
Newb Techie

Join Date: Aug 2006

Posts: 20

hassantaan

Default

[SNIPPED]
hassantaan is offline  
Old 11-11-2006, 02:56 PM   #8 (permalink)
Chankama's Avatar
 
Monster Techie

Join Date: Jan 2005

Location: Canada

Posts: 1,522

Chankama will become famous soon enough

Default

Quote:
Originally posted by hassantaan
well thats very useful jaeusm..thanks alot ...but i dont like ignorant people ******* around and giving me advices what to do...if you dont know how...just say so and dont be ashamed...you dont need to justify your ignorace by giving stupid advices....by the way...it is not a homework...and it is only a secondary matter in my project
sleep well
This is an extremely easy question - and I am relatively sure that if jaeusm was given this problem, he'd do it in a heart beat. He said that you should do your homework, "not" because he doesn't know how to do it, but b/c it didn't even sound like you seriously attempted to do it.

Typically, when someone posts a question such as this, they will at least show that they made a serious attempt to solve the problem. You just posted the question itself and pretty much asked someone for the solution.

Quote:
Originally posted by hassantaan
am representing the polynomials as a binary string of onnes and zeros that represent the coefficients of the polnomial.
A binary string? What if one of the coefficients is greater than 1? 5x^2+3x+1..

For that matter what if you have more than one variable..

10x^3(y^2) + 10x^2(y^3)+5y^4, etc.

You should state any restrictions on the polynomial (e.g. one variable, etc.) and maybe describe a little bit more about what u meant by you used a "binary" string to represent the polynomial.
Chankama is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On