© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu
Quick Links
Easy Studies

Home Lab Exercise Data Structures Lab Exercise ProgramsAdding Two Polynomial Equations▼

Adding Two Polynomial Equations:

Algorithm Steps:

Step 1: Read the cofficient and power of the polynomial euation one and assign it's elements into a linked list.

step 2: Read the cofficient and power of the polynomial quation two and assign it's elements into a linked list.

step 3: Sorting the first polynomial in power order wise.

          Compare the first node's power with next nodes power,if  second node's power is  greate than first Node then swap.Repeat the process until we get the proper order.

Step 4: Sorting the second polynomial in power order wise.

          Compare the first node's power with next nodes power,if  second node's power is greate than first Node then swap.Repeat the process until we get the proper order.

Step 5 :Add the two polynomial.

           If power part of the two list is qual than add the coffiecient

C Program To Add two Polynomial equations

CPP Program To Add two Polynomial equations

 
 
SLogix Student Projects
bottom