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
What value represents the number of ways in which the expected classes are free to vary in the chi-square goodness-of-fit test?
Ket [755]

In statistics, the number of degrees of freedom is the number of values in the final calculation of a statistic that are free to vary.

The number of independent ways by which a dynamic system can move, without violating any constraint imposed on it, is called number of degrees of freedom. In other words, the number of degrees of freedom can be defined as the minimum number of independent coordinates that can specify the position of the system completely.

<span>
The degree of freedom
represents the number of ways in which the expected classes are free to vary in the chi-square goodness-of-fit test.</span>

8 0
3 years ago
Evaluate 150 + 3p for p = 30
LiRa [457]

150+3p

p=30

150+3(30)

150+90

240

When p=30 in 150+3p, the final value is 240.

7 0
3 years ago
Read 2 more answers
Solve for x.<br> ASAP, please help me
LUCKY_DIMON [66]
The answer to this is 81
4 0
3 years ago
Select the values that make b≥-3 true
liq [111]

Answer:

-3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10+

Step-by-step explanation:

and anything above 10 would be true

6 0
3 years ago
How do I solve 9a-7=110
Sphinxa [80]
You'll need to isolate 9a on the left side of this equation
Please add 7 to both sides of the eqn, obtaining 9a = 117.

Solve for a by dividing both sides by 9:  a = 117/9 = 13 (answer)
6 0
3 years ago
Read 2 more answers
Other questions:
  • Equation for "five elevenths times a number is 55"
    7·1 answer
  • How do I show the work to figure out, how many inches are in 4.2 meters
    15·1 answer
  • X+23x+61°<br> What kind of pair is it
    12·1 answer
  • After six weeks the tomato plant that was given extra food and water was 26 cm tall . The tomato plant that was not given any ex
    5·1 answer
  • in the expression 9x - 3 the 9 is a .... A} coefficient B} constant C} term                                         I need it fo
    13·1 answer
  • If the centroid of the triangle formed by (x,0), (5.2) and (-8.y) is at (-2,1) then (x,y) is equal to
    10·1 answer
  • I need help please I don't understand
    9·2 answers
  • Help me please please
    12·1 answer
  • Determine whether the lines are parallel, perpendicular, or neither. 5x + 2y = 14 and y = −5x + 9
    7·1 answer
  • Find the slope (m) and y-intercept (b) for<br> y = 4x - 8.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!