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 far apart are the 2 cities? See picture. <br> Show steps
Gennadij [26K]

9514 1404 393

Answer:

  373 miles

Step-by-step explanation:

The difference in latitude is ...

  39.1° -33.7° = 5.4° = 0.54°(π/180°) radians = 0.03π radians

The arc length is given by ...

  s = rθ, where θ is the angle in radians

The length of the arc along the longitude line is ...

  s = (3960 mi)(0.03π) ≈ 373 mi

The distance from Atlanta to Cincinnati is about 373 miles.

6 0
3 years ago
A DVD costs $17.45. What is 6.75% sales tax?
luda_lava [24]

6.75 % x 17.45

= $18.63

6 0
3 years ago
Read 2 more answers
Please answer clear i need answers now please
Salsk061 [2.6K]

Answer:

The answers would be:

9: $421.54

10: $872

11: $4,706.66

12: $645.83

13: $626.26

14: $3,981.22

15: $1,110.28

16: $210.50

5 0
3 years ago
Help me pleaseeeee thankls :)
storchak [24]

Answer:

582=-28-2287u272y7329=7373+272387##82838-78338=&*27882029··⇔㏒㏑∞°²³¥378c730+8383749=0891829.9279739383/03980339.83883383383)73837

Step-by-step explanation:

6 0
3 years ago
A basketball coach is purchasing 12 shirts for her team, each with a different number. At the checkout counter, the clerk places
ICE Princess25 [194]
Kidjov the answer I came up with for you is 792 I hope this helps
4 0
3 years ago
Read 2 more answers
Other questions:
  • Find the value of x to the nearest tenth (look at picture)
    7·1 answer
  • Find the value of x.<br><br> 80<br> 42<br> 60<br> 30
    9·1 answer
  • Determine if the following statement is sometimes, always, or never true. The central angle of a minor arc is an acute angle.
    9·1 answer
  • Create a real-world problem that represents 2/3 and 2/5.
    11·2 answers
  • 2/3 of a pizza has olives on it . If Vivian eats 1/2 of the olive pizza , what fraction of the whole pizza did she eat ? Comment
    9·1 answer
  • To the lovers of math: challenge : please help
    5·1 answer
  • In the question for exponential functions y=a•b^x how does the a term relate to a key feature of the graph
    13·1 answer
  • . Last year Abebe's salary was Birr 500. If he gets a 10% increment this year,
    6·2 answers
  • Give an equation for the result of shifting the graph of up by 4 units, and left by 2 units.
    5·1 answer
  • Help picture below problem 8
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!