subject

Represent a polynomial using a list of its (real) coefficients, starting with the constant coefficient and going only as high as necessary. For example, 3x^2+5x+1 would be represented as the list [1.0 5.0 3.0] and x^3-2x as [0.0 -2.0 0.0 1.0]. Write a function poly of type real list * real -> real that takes a polynomial represented this way and returns the value of the polynomial at the given x. For example poly ([1.0 5.0 3.0],2.0) should evaluate to 23.0, because when x=2, 3x2+5x+1=23.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:30
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
question
Computers and Technology, 22.06.2019 17:40
Consider the simple 3-station assembly line illustrated below, where the 2 machines at station 1 are parallel, i.e., the product only needs to go through one of the 2 machines before proceeding to station 2.what is the throughput time of this process?
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
You know the right answer?
Represent a polynomial using a list of its (real) coefficients, starting with the constant coefficie...
Questions
question
World Languages, 28.11.2020 14:00
question
World Languages, 28.11.2020 14:00
question
Health, 28.11.2020 14:00
question
Mathematics, 28.11.2020 14:00
Questions on the website: 13722367