anayak7 / Polynomials

A program that evaluates polynomials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polynomial

This is a program that uses linked lists to store polynomials based off of a term's degree. There are 3 methods total: add, evaluate, and multiply.

Add

Simply adds two polynomials and returns the sum in a new linked list.

Evaluate

Takes in a value and plugs into the polynomial and returns the value as a double.

Multiply

Simply multiplies two polynomials and returns the product in a new linked list.

To Run This Program

Polytest.java is the driver for Polynomial.java

About

A program that evaluates polynomials


Languages

Language:Java 100.0%