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 is the of 80,000×200
Eddi Din [679]
The answer for 80,000 * 200 is 16,000,000
4 0
4 years ago
The nation of Finlandia has 120,000 people. Of these, 20,000 are children under 16, 72,000 have jobs, 8,000 don't have jobs but
stepan [7]

Answer: labor force participation rate  =60%

unemployment rate = 6.67%

Step-by-step explanation:

The labor force participation rate is computed as

\text{labor force participation rate}=\dfrac{\text{Total employed persons}}{\text{Total population}}

i.e. \text{labor force participation rate}= \dfrac{72000}{120000}

= 0.6\ or\ 60 \%

The unemployment rate is computed as:

\text{unemployment rate}=\dfrac{\text{Number of personsdon't have jobs }}{\text{Total population}}\\\\\text{unemployment rate}=\dfrac{8000}{120000}\\\\\text{unemployment rate}=0.0667\ or\ 6.67\%

Hence, labor force participation rate  =60%

unemployment rate = 6.67%

6 0
2 years ago
Draw the angle given in degrees on the unit circle where 0 radians corresponds to the positive portion of the horizontal axis: 2
vivado [14]
Ur answer will c as I Claus
4 0
3 years ago
Read 2 more answers
The sum of four consecutive integers is at least 18. What's the smallest consecutive integer to make this statement true?
Ghella [55]

Let the four consecutive integers be

x , x+1, x+2, x+3

ATQ, Their sum is 18

\sf \: x + x + 1 + x + 2 + x + 3 = 18

\sf \: 4x + 1 + 2 + 3 = 18

\sf4x + 6 = 18

\sf4x = 18 - 6

\sf4x = 12

\boxed{ \mathfrak{x = 3}}

<h3>Now,</h3>

  • 1st number = x = 3
  • 2nd number = x+1 = 3+1 = 4
  • 3rd number = x+2 = 3+2 = 5
  • 4th number = x+3 = 3+3 = 6

<em>The four numbers are 3,4,5,6 respectively and the smallest number among them is 3</em><em>.</em><em>.</em><em>.</em><em>~</em>

6 0
3 years ago
Read 2 more answers
Marilyn purchased a book that had a regular price of $19. She used a coupon that reduced the regular price by 15%. Sales tax for
Alika [10]

Answer:

2.80

Step-by-step explanation:

The discount is the regular price times the discount

discount = 19 *15%

discount = 2.85

The new price is the regular price minus the discount

new price = 19-2.85

                 =16.15

Now she has to pay the sales tax

tax = new price * tax rate

tax= 16.15 * 6.5%

     = 16.15 *.065

       =1.05

We add the tax to the new price to get the final price

final price = new price+tax

                = 16.15 +1.05

                =17.20

She pays with a 20 dollar bill

Change = payment - final price

              =20.00 - 17.20

              = 2.80

4 0
3 years ago
Other questions:
  • Express the number using scientific notation: 57,000,000<br> HELP PLZ!!!
    14·2 answers
  • Write a division problem whose quotient has its first digit in the hundreds place
    9·1 answer
  • The rabbit population on a small island is observed to be given by the function
    12·1 answer
  • 0.00065 in Standard form
    11·2 answers
  • After the debate, how many votes will Rebecca and Craig receive?
    10·1 answer
  • Belkin Co. provides medical care and insurance benefits to its retirees. In the current year, Belkin agrees to contribute 5% of
    8·1 answer
  • Find the value of x help me pls
    6·2 answers
  • Find the product of 2r^2(6r^3+14r^2-30r+14)
    14·2 answers
  • Dont mind this i just need the achivement
    14·2 answers
  • Suppose that in a random sample of 240 smartphone users, 160 used an iPhone. Conduct a hypothesis test at significance level 0.0
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!