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
I will mark brainlest
Anna71 [15]

Answer:

1 / 4 ( or ) 0.25

Step-by-step explanation:

Let the missing number be " x ".

12 . x = 3

x = 3 / 12

x = 1 / 4

( or )

x = 0.25

3 0
3 years ago
Read 2 more answers
What is all of the surface area and volume of this Castle? Find the surface area and volume of all the figures below, then out o
motikmotik

Answer:

Step-by-step explanation:

There are a few formulas that are useful for this:

  • lateral area of a pyramid or cone: LA = 1/2·Ph, where P is the perimeter and h is the slant height
  • lateral area of a cylinder: LA = π·dh, where d is the diameter and h is the height
  • area of a rectangle: A = lw, where l is the length and w is the width
  • volume of a cone or pyramid: V = 1/3·Bh, where B is the area of the base and h is the height
  • volume of a cylinder or prism: V = Bh, where B is the area of the base and h is the height

You will notice that for lateral area purposes, a pyramid or cone is equivalent to a prism or cylinder of height equal to half the slant height. And for volume purposes, the volume of a pyramid or cone is equal to the volume of a prism or cylinder with the same base area and 1/3 the height.

Since the measurements are given in cm, we will use cm for linear dimensions, cm^2 for area, and cm^3 for volume.

___

The heights of the cones at the top of the towers can be found from the Pythagorean theorem.

  (slant height)^2 = (height)^2 + (radius)^2

  height = √((slant height)^2 - (radius)^2) = √(10^2 -5^2) = √75 = 5√3

The heights of the pyramids can be found the same way.

  height = √(13^2 -2^2) = √165

___

<u>Area</u>

The total area of the castle will be ...

  total castle area = castle lateral area + castle base area

These pieces of the total area are made up of sums of their own:

  castle lateral area = cone lateral area + pyramid lateral area + cylinder lateral area + cutout prism lateral area

and ...

  castle base area = cylinder base area + cutout prism base area

So, the pieces of area we need to find are ...

  • cone lateral area (2 identical cones)
  • pyramid lateral area (2 identical pyramids)
  • cylinder lateral area (3 cylinders, of which 2 are the same)
  • cutout prism lateral area
  • cylinder base area (3 cylinders of which 2 are the same)
  • cutout prism base area

Here we go ...

Based on the above discussion, we can add 1/2 the slant height of the cone to the height of the cylinder and figure the lateral area of both at once:

  area of one cone and cylinder = π·10·(18 +10/2) = 230π

  area of cylinder with no cone = top area + lateral area = π·1^2 +π·2·16 = 33π

  area of one pyramid = 4·4·(13/2) = 52

The cutout prism outside face area is equivalent to the product of its base perimeter and its height, less the area of the rectangular cutouts at the top of the front and back, plus the area of the inside faces (both vertical and horizontal).

  outside face area = 2((23+4)·11 -3·(23-8)) = 2(297 -45) = 504

  inside face area = (3 +(23-8) +3)·4 = 84

So the lateral area of the castle is ...

  castle lateral area = 2(230π + 52) +33π + 504 + 84 = 493π +692

  ≈ 2240.805 . . . . cm^2

The castle base area is the area of the 23×4 rectangle plus the areas of the three cylinder bases:

  cylinder base area = 2(π·5^2) + π·1^2 = 51π

  prism base area = 23·4 = 92

  castle base area = 51π + 92 ≈ 252.221 . . . . cm^2

Total castle area = (2240.805 +252.221) cm^2 ≈ 2493.0 cm^2

___

<u>Volume</u>

The total castle volume will be ...

  total castle volume = castle cylinder volume + castle cone volume + castle pyramid volume + cutout prism volume

As we discussed above, we can combine the cone and cylinder volumes by using 1/3 the height of the cone.

  volume of one castle cylinder and cone = π(5^2)(18 + (5√3)/3)

  = 450π +125π/√3 ≈ 1640.442 . . . . cm^3

 volume of flat-top cylinder = π·1^2·16 = 16π ≈ 50.265 . . . . cm^3

The volume of one pyramid is ...

  (1/2)4^2·√165 = 8√165 ≈ 102.762 . . . . cm^3

The volume of the entire (non-cut-out) castle prism is the product of its base area and height:

  non-cutout prism volume = (23·4)·11 = 1012 . . . . cm^3

The volume of the cutout is similarly the product of its dimensions:

  cutout volume = (23 -8)·4·3 = 180 . . . . cm^3

so, the volume of the cutout prism is ...

  cutout prism volume = non-cutout prism volume - cutout volume

  = 1012 -180 = 832 . . . .  cm^3

Then the total castle volume is ...

  total castle volume = 2·(volume of one cylinder and cone) + (volume of flat-top cylinder) +2·(volume of one pyramid) +(cutout prism volume)

  = 2(1640.442) + 50.265 +2(102.762) +832 ≈ 4368.7 . . . . cm^3

4 0
3 years ago
A self-service car wash has 3 individual car wash stalls. Customers wait in a single line before choosing the next available sta
jeka94

Answer:

single-channel, multi -phase

Step-by-step explanation:

The concept known as '' Queuing'' is not only important in the mathematical aspect alone but it is also useful in economic matters as signifies the abundance of resources that is when we have queues it means the reason for it is that the available resources is not enough.

From the question above we have that there are 3 individual car wash stalls, it is also given that the customers wait in a single line before choosing the next available stall. This means that there is only a single-channel.

Then, we have that from the single line initially, the queues then moves to multi -phase that is to  3 individual car wash stalls.

3 0
3 years ago
What are the values of x and y for which quadrilateral is ABCD is a parallelogram? Explain.
Mrac [35]

Answer:

The value of x = 2.

The value of y = 1.

Step-by-step explanation:

The length of opposite sides of a parallelogram are equal.

Hence, the length of 4x - 3 and x + 3 are equal.

Similarly, the lengths of 3y and 5y - 2 are equal.

$ \therefore 4x - 3 = x + 3 $

$ \implies 3x = 6 $

$ \implies \textbf{x = 2} $

And $ 3y = 5y - 2 $

$ 2y = 2 $

$ \implies \textbf{y = 1} $

Therefore, the values of x and y are: 2; 1 respectively.

6 0
3 years ago
Y=sin(1/2x) what would this look like on a 2pi graph
Andrew [12]
Just plot it and you get something like this ...

6 0
3 years ago
Other questions:
  • Two cars leave the same location traveling in opposite directions. One car leaves at 3:00 p.m. traveling at an average rate of 5
    6·1 answer
  • Which expression is equivalent to log Subscript 12 Baseline StartFraction x Superscript 4 Baseline StartRoot x cubed minus 2 End
    15·2 answers
  • - slope = 2/7 ; y-intercept = 0​
    7·1 answer
  • The circumference of a circle is 37.68 meters. What is the area of the circle?
    7·1 answer
  • The minute hand of a clock is 6 inches long and moves from 12 to 1 ​o'clock. How far does the tip of the minute hand​ move? Expr
    8·1 answer
  • Find the sum of 5x+20 and the opposite of 20 then write an equivalent expression on standard form
    8·1 answer
  • Graph x^2/49+y+1^2/4=1
    10·1 answer
  • The parabola with equation $y=ax^2+bx+c$ is graphed below:
    5·2 answers
  • 3. At the beach, you would like to fill 5 buckets with seashells. You have
    9·2 answers
  • Find the Area of the figure below, composed of a rectangle and a semicircle. The radius of the circle is shown. Round to the nea
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!