Re: hw15


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on August 01, 2000 at 22:33:28:

In Reply to: hw15 posted by adt on August 01, 2000 at 19:18:57:

: So we're supposed to some how use these three given operations..degree, coefficient, and changecoeffient to solve the a,b,c problems...true?

yes.

: Or, are we supposed to create one new operation for each problem? ...because seems to me that it's impossible to use the given operations to compute the sum of two polynomials.

assume that you can execute a c-style "for" loop controlled by an integer variable - that should be all the assumption you need

then, solve the problem in the context of 2 given polynomials (say, P and Q) whose sum must be stored in a third (say, R)

: For problem b, are we assuming P, the example, as the polynomial that we have to work on?

it it fine to assume that its name is P - do not assume that it is defined as in the example.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]