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
Dominique used the inequality below to find the maximum number of sweatshirts she could purchase with her savings.
Kruka [31]
We just have to find the closest number that can be multiplied by 32 and still be under 300. Do this by following this step:

Divide by 32 on both sides.

x < 9.375

We can't buy 9.375 sweatshirts though, and we can't add more decimals or it will go over 300, so you round down to 9.

Dominique can buy 9 sweatshirts without going over $300!
6 0
3 years ago
Y=x 1 2y-2x=6 i cant under stand how to do this it always confuses me please help
e-lub [12.9K]
Is the question asking you to find x?


3 0
3 years ago
In a study relating the degree of warping, in mm, of a copper plate (y) to temperature in °C (x), the following summary statisti
elena-14-01-66 [18.8K]

Answer:

a)

y = 0.3035 + 0.0082x

b)

0.6315 mm

c)

x = 23.9634 °C

Step-by-step explanation:

a. Compute the least-squares line for predicting warping from temperature. Round the answers to four decimal places.

We need to find an equation of the form

y = b + mx

where m is the slope and b the Y-intercept.

The slope m can be computed with the formula

\bf m=\displaystyle\frac{\displaystyle\sum_{i=1}^n(x_i-\bar x)(y_i-\bar y)}{\displaystyle\sum_{i=1}^n(x_i-\bar x)^2}

Replacing the values in our formula (we will round at the end of the calculations)

\bf m=\displaystyle\frac{806.94}{98,775}=0.008169476

the Y-intercept b is computed with the formula

\bf b=\bar y-m\bar x

therefore we have

\bf b=0.5188-0.008169476*26.36=0.303452613

and the least-squares line rounded to 4 decimals would be

y = 0.3035 + 0.0082x

b. Predict the warping at a temperature of 40°C. Round the answer to three decimal places.

We simply replace x with 40 to get

y = 0.3035 + 0.0082*40 = 0.6315 mm

c. At what temperature will we predict the warping to be 0.5 mm? Round the answer to two decimal places

Here, we replace y with 0.5 and solve for x

0.5 = 0.3035 + 0.0082x ===> x = (0.5-0.3035)/0.0082 ===>

 

x = 23.9634 °C

6 0
3 years ago
The table shows the cost for ordering a certain number of tacos. What is the value of x if the cost is proportional to the numbe
schepotkina [342]

Answer:

it would be tacos times 1.3 so $7.80

8 0
3 years ago
Read 2 more answers
Question 2 (5 points)<br> What's the explicit rule for the sequence 9, 14, 19, 24, ...?
brilliants [131]

Answer:

adding by 5

Step-by-step explanation:

,...............................

6 0
3 years ago
Other questions:
  • Please help me... the perimeter of square WXYZ is 20 units. The coordinates of three of the vertices are W(3,2), X(3,7), and Y(8
    14·1 answer
  • Which system of inequalities has a lot of solution?
    15·2 answers
  • an elevator traveled up to the 9th floor and then down to the third floor. how many floors did the elevator travel down​
    8·1 answer
  • Which is true about the solution to the system of inequalities shown? y &gt; 3x + 1 y 3x + 1 are solutions. Only values that sat
    12·1 answer
  • X^4 - 1 =
    14·2 answers
  • if ben makes $35.00 per hour and then gets a ten percent raise what is his new salary. Show your work
    15·2 answers
  • What is 4=y−5 divided by 3
    10·1 answer
  • I need the answers pls!!
    5·2 answers
  • 1
    15·1 answer
  • What is the ratio of 0.09 to 2.7?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!