1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
defon
3 years ago
11

) Evaluating a polynomial limit analytically You should have learned by now the process for finding the derivative of a polynomi

al (as another polynomial). Write a program that will read in from the user a cubic polynomial f(x) (as a set of 4 coefficients), and use this to compute the derivative polynomial (i.e. compute the three coefficients of the derivative f’(x)). Then, read in a value for x from a user, and evaluate the derivative polynomial at that x. Print out that value. b) Evaluating a polynomial derivative numerically
Mathematics
1 answer:
wolverine [178]3 years ago
8 0

Answer:

This code or is program to find a given value of derivative of  a polynomial.

Step-by-step explanation:

We know already how to apply or make the procedures mathematically talking so this short program will eventually help you how to find logic.

// libraries

#include <stdio.h>

#include <conio.h>

//use to control floating elements

float poly(float a[], int, float);

//main

int main()

{

// Enter the degree of polynomial equation

float x, a[10], y1;

int deg, i;

printf("Enter the degree of polynomial equation: ");

scanf("%d", &deg);

printf("Ehter the value of x for which the equation is to be evaluated: ");

// Enter the coefficient of x to the power

scanf("%f", &x);

for(i=0; i<=deg; i++)

{

 printf("Enter the coefficient of x to the power %d: ",i);

 scanf("%f",&a[i]);

}

// The value of polynomial equation for the value of x

y1 = poly(a, deg, x);

 

printf("The value of polynomial equation for the value of x = %.2f is: %.2f",x,y1);

 

return 0;

}

/* function for finding the value of polynomial at some value of x */

float poly(float a[], int deg, float x)

{

float p;

int i;

 

p = a[deg];

 

for(i=deg;i>=1;i--)

{

 p = (a[i-1] + x*p);

}

 

return p;

}

You might be interested in
How to know if a number is proportional
Dafna1 [17]

Ratios are proportional if they represent the same relationship. One way to see if two ratios are proportional is to write them as fractions and then reduce them. If the reduced fractions are the same, your ratios are proportional. To see this process in action, check out this tutorial!

:

7 0
3 years ago
What is the solution for <br> -2(x-5)=4
tiny-mole [99]
The answer to your question is x=3
6 0
3 years ago
Read 2 more answers
Write an equation for slope of -2/3 and y-intercept of 5
goldenfox [79]

Answer:

y=-2/3x+5

Step-by-step explanation:

8 0
4 years ago
Read 2 more answers
What is 527 divided by 7
Tatiana [17]
I have 75.286. Good luck
8 0
3 years ago
Read 2 more answers
12 is 25% of what number using a ratio table
Contact [7]
% means 'parts out of 100' so
25%=25/100

is 12 is 25 parts out of 100 of a number
so 12=(25/100)x
   25/100 simplifies to 1/4
or if 12=(1/4)x
we multiply both sides by 4 and get
48=1x
5 0
3 years ago
Other questions:
  • Please solve no. 8 if you can all but at lesat no. 8​
    9·1 answer
  • Rachael is a nurse. She earns 12 vacation days after working 768 hours. How many hours does Rachael need to work to earn 1 vacat
    6·2 answers
  • Customers can pick their own pumpkins at the great pumpkin patch. They pay 4$ to enter the patch and 3$ per pound for the pumpki
    14·1 answer
  • Work out the size of angle x
    10·2 answers
  • Lacey already owns 7 hair bands, and additional hair bands are priced at 1 for a dollar. How
    7·1 answer
  • Point M on line segment LN.Given MN=<br> 2 and LM=<br> 4. determine the length LN
    13·1 answer
  • Note: Enter your answer and show all the steps that you use to solve this problem in the space provided.
    12·1 answer
  • The diameter of a dinner plate is 13 inches. What is the approximate area of the plate to
    10·1 answer
  • Consider the following 8 numbers, where one labelled x
    14·1 answer
  • On a quiz show, Linda won $10 less than three times as much as Charlie. If Linda won $800, how much did Charlie win?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!