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
Suppose the measure of angle 1 is 127 degrees. Find the measure of the other 3 angles:
alukav5142 [94]

Answer:

Angle 1 is 127°

∠2 is 53°

∠3 is 127°

∠4 is 53°

5 0
3 years ago
The temperature at 5 pm is 20F the temperature at 10pm is -5F. The temperature fell how many degrees
Julli [10]

To find how much the temperature fell we must find the difference of both numbers and to do this we subtract them;

20 - (-5) = 25 degrees

7 0
3 years ago
Karen works at Southern Technical College as a math teacher. She will be paid $900 for each credit hour she teaches. During the
Free_Kalibri [48]

Answer:

Option D

1360

Step-by-step explanation:

The minimum stipulated number of days to work is given as 170 days and since each day one works for 8 hours then total hours per year on minimum side will be 170*8=1360 hours

3 0
3 years ago
A mountain climber climbed a cliff 50 feet at a time. He did this 5 times in one day. What was the overall change in his elevati
Goshia [24]

Answer:

Step-by-step explanation:

The overall change is -150 feet. 50 times 5 is 150 feet, and the mountain climber descended. Therefore, the change is -150 feet in elevation.

4 0
3 years ago
6x-8=2x-32 step by step plz
trasher [3.6K]

Answer:

Step 1:   Add 8 to each side.    6x = 2x - 24

Step 2:  Add 2x to each side.   8x = -24

Step 3:  Divide each side by 8.    x = -3

Answer is   -3      :)

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Cody was 165 cm tall on the first day of school this year, which was 10% taller than he was on the first day of school last year
    5·1 answer
  • Factor the polynomial using the pattern x^2-15x+54
    12·2 answers
  • The physical plant at the main campus of a large state university recieves daily requests to replace florecent lightbulbs. The d
    8·1 answer
  • A math club has 40 members. The number of girls is 5 less than 2 times the number of boys. How many members are boys? How many m
    5·1 answer
  • What is the probability that the measurement of the segment is greater than 3 !!!
    12·1 answer
  • How to round 63 849 to the nearest ten, to the nearest hundred, to the nearest thousand, to the nearest ten thousand
    12·1 answer
  • In triangle PQR, PR = 23mm, QR = 39mm, and m&lt;R = 163 degrees. Find the area of the triangle to the nearest tenth.
    15·1 answer
  • Turn 621/2% into a fraction in simplest form
    10·2 answers
  • How many times would you expect to roll a 5 when a dice is thrown 3000 times
    12·1 answer
  • What is the decimal for 4/100?<br> What is the Answer
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!