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
2 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]2 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
Please help with this :(
kirill [66]

Answer: -m^4

Step-by-step explanation:

8 0
2 years ago
Read 2 more answers
Write the equation of the circle. A with a center A(-4,-3) and radius 5
tiny-mole [99]

Answer:

(x+4)^2 + (y+3)^2 = 5^2

Step-by-step explanation:

The equation of a circle is

(x-h)^2 + (y-k)^2 = r^2

now substitute the known values

(x+4)^2 + (y+3)^2 = 5^2

and theres your equation

4 0
3 years ago
12. If you flip a dime 50 times:
nata0808 [166]

Answer: 25 heads 25 tails

Step-by-step explanation: you would have a 50/50 chance to get heads or tails so sence there are 2 sides you would get 25 heads and 25 tails

4 0
3 years ago
Read 2 more answers
Rico ran a race that was 3 km long. how many meters did rico run?
pishuonlain [190]
3000 meters in total.
4 0
3 years ago
MAX POINTS!!! Write and solve a system of equations. Be sure to label the variables. The difference of two numbers is two. Two t
Cerrena [4.2K]

Answer:

  • 5 and 3

Step-by-step explanation:

Let the numbers be x and y.

<u>The equations are:</u>

  • x - y = 2
  • 2x + y = 13

<u>Add up the equations to eliminate y and solve for x:</u>

  • x - y + 2x + y = 2 + 13
  • 3x = 15
  • x = 15/3
  • x = 5

<u>Now find the value of y:</u>

  • y = x - 2
  • y = 5 - 2
  • y = 3
3 0
2 years ago
Read 2 more answers
Other questions:
  • Given that (4,4) is on the graph of f(x), Find The Corresponding Point for the function f(x)+5
    6·2 answers
  • Use partial quotients to divide 198➗9 show the work
    5·1 answer
  • If a regular polygon has exterior angles that measure 36 each, how many sides does the polygon have?
    6·1 answer
  • 1.2x+1=7<br>2. 4×-2=6<br>3. -12x-3=-51​
    6·1 answer
  • You are installing wood trim in a room that is 144 inches long. You are required to use a finishing nail in
    12·2 answers
  • Jack buys a pool with 400 gallons, and it take 8 hours to fill. How many gallons were poured per hour?
    11·2 answers
  • Find 1 2/3 + (-2 1/2)
    14·2 answers
  • Given EH = 12 and EG = 20 , find FJ.
    15·1 answer
  • What is in between 2.5 and 3?
    12·2 answers
  • PLEASE HELP MEeeeeee D:
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!