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
Kristin wants to wrap a ribbon around the perimeter of a rectangle. The length is five less than twice the width. The perimeter
romanna [79]

The length of the rectangle is 51 inches while the width of the rectangle is 28 inches.

Since Kristin wants to wrap a ribbon around the perimeter of a rectangle, the perimeter of a rectangle P = 2(L + W) where L = length of rectangle and W = width of rectangle.

Given that the perimeter of the rectangle, P = 56 inches and the length of the rectangle, L is five less than twice the width of the rectangle, W we have that

L = 2W - 5

Substituting L into P, we have

P = 2(2W - 5 + W)

P = 2(W - 5)

Since P = 56, we have

2(W - 5) = 56

~Dividing both sides by 2, we have

W - 5 = 56/2

W - 5 = 23

Adding 5 to both sides, we have

W = 23 + 5

W = 28 inches

Substituting W into L, we have

L = 2W - 5

L = 2(28) - 5

L = 56 - 5

L = 51 inches

So, the length of the rectangle is 51 inches while the width of the rectangle is 28 inches.

Learn more about perimeter of a rectangle here:

brainly.com/question/16715918

5 0
3 years ago
Hello need help with this one to and thanks and have a great day or weekend and be safe
Mandarinka [93]

Answer:

a) It's a quadratic

b) f(x) = A(x-3)(x-7)

c) she is right

Step-by-step explanation:

(0-12)/(3-1) = -6

(-4-0)/(5-3) = -2

Since the slope is not constant, it can't be a linear.

Therefore a quadratic

Since the zeroes are 3 and 7,

Factors are (x - 3) and (x - 7)

f(x) = A(x - 3)(x - 7)

Use any one point besides the x-intercepts to find A

12 = A(1-3)(1-7)

12 = 12A

A = 1

f(x) = (x - 7)(x - 3)

f(x) = x² - 7x - 3x + 21

f(x) = x² - 10x + 21

She is right

7 0
3 years ago
Read 2 more answers
Help this is worth a lot of points
hjlf

Answer:

C

Step-by-step explanation:

a p e x

5 0
2 years ago
Read 2 more answers
I’m confused on this one
sammy [17]

The angles that form similarity are those that are vertically opposite and 2 pairs that are equal because the for a Z formation.


Since <LPM = <ONM then


\dfrac{LP}{NO}=\dfrac{LM}{MO}\\ \\\dfrac{5x - 10}{4x-9}=\dfrac{16}{12} Cross multiply

12*(5x - 10) = 16*(4x - 9) Remove the brackets on both sides.

60x - 120 = 64x - 144 Subtract 60x from both sides.

- 120 = 64x - 60x - 144

-120 = 4x - 144 Add 144 to both sides.

-120 + 144 = 4x

24 = 4x Divide by 4

24/4 = x

x = 6



5 0
3 years ago
What is the graph of the function y = |x| + 2? How is this graph different from the parent function?
Molodets [167]

Answer:

1

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • Measured in a map with a scale of 150 miles per inch, the distance from Chicago to Boston is 4.75. How many miles is it from Chi
    11·1 answer
  • Can someone help wil mark brainest if u can help and show work please help if u can
    8·1 answer
  • 3. Janet is flying a kite on a string that is 75m long. The kite is 62m above the ground. Estimate the distance between Janet an
    14·1 answer
  • Can someone answer this question please please help me I really need it if it’s correct I will mark you brainliest .
    9·1 answer
  • A single card is drawn from a standard 52 card deck.
    10·1 answer
  • 15 points Need ASAP- Use the table to write a proportion ~ (table on pic)
    12·1 answer
  • Find the second term of the arithmetic series described by a = -10, an = 26 and Sn = 200. 1. 1.5 2. -8.5 3. 16 4. 25
    10·1 answer
  • Helppp
    11·1 answer
  • Can someone plz help me with this one problem plz I’m being timed!!!!
    12·2 answers
  • 0.6 of it is 30 <br><br>find the number
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!