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
Justine and her cousin Natalie are picking out snacks at the corner store for movie night. Natalie spends $5.30. Justine spends
Kitty [74]

Answer:

34.45

Step-by-step explanation:

11÷2 = 5.5

so 5.5x5.30 = 29.15 + 5.30 = 34.45

8 0
3 years ago
How do you find the roots of this problem?
Sonja [21]
Simplifies the problem, you divide by a value which if plugged into x would equal 0. One example is dividing by (x-1) as x=1 results in 0
5 0
4 years ago
Complete the square of the following function:
I am Lyosha [343]
Coodinates are (2, -6)
7 0
4 years ago
Which line contains the point (1,-3)
Rzqust [24]
There are infinitely many lines that have the point (1,-3).

A line can be expressed as:

y=mx+b, where m=slope and b=y-intercept..

Our only restriction is that it passes through (1,-3) so

-3=1m+b

So as long as the sum of the slope and the y-intercept is equal to -3, that is one of the infinite number of lines that passes through (1, -3)

So we could also say b=-3-m then our infinite lines are:

y=mx-3-m, now any real value of m creates a specific line that passes through the point. ie the first few are

y=x-4, y=2x-5, y=3x-6 or even y=x√2-3-√2


4 0
4 years ago
What is the degree of the polynomial <br> T-4t^2+t^3
HACTEHA [7]

Answer:

3 degrees.

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • 2 divided by blank = 8
    13·1 answer
  • Write a variable expression for 9 more than a number s.
    8·1 answer
  • Write an inequality to model the situation.<br><br><br> A number exceeds 21
    12·1 answer
  • Which of the following could represent a diver’s position in relation to the surface of the water after diving into a pool?
    8·1 answer
  • Which is the solution to the inequality?
    12·1 answer
  • Convert .06 yards to inches. A) 2.16 inches B) 2.88 inches C) 21.6 inches D) 28.8 inches
    6·2 answers
  • 8. Solve for x: x/7 =11
    12·2 answers
  • Your password must be created only using the numbers 0 to 9 with repeated numbers allowed. If your password is four numbers long
    8·1 answer
  • I WILL GIVE BRAINLIEST!!!!!
    6·1 answer
  • Choose the best answer for the question below
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!