# LogicWorks Polynomial Comparator Help

Discussion in 'Homework Help' started by dbossnirvana, Dec 22, 2010.

1. ### dbossnirvana Thread Starter New Member

Dec 22, 2010
4
0
Hello,

I'm fairly new in using LogicWorks (took a seminar about a week ago about its functionalities) and I have been given an assignment in which I have to compare the results of two polynomials f(x,y,z) = (x-y)(x-z) g(x)= x^2-2x-3 and display its "error" on a 7-segment LED (as well as its inputs x,y,z on seperate 7-segment LEDs).

That said, I'm having trouble in how to start. I know much of the theoretical concepts, but I'm no sure how to apply it. For instance, do I have to create multipliers to express the function x^2 coupled with subtractors for the other terms in the function g(x)? And for the three input function, f(x,y,z), would mean that I have to make the inputs of x and y to go through a subtractor then use a multiplier to adjoin the outputs of (x-z) with (x-y). Is this a correct train of thought to follow to make this assignment?