Answer:
Step-by-step explanation:
yes just a different spelling
solve the equation 4x^3 + 32x^2 + 42x - 16 = 0, given that one root is equal to the sum of the other two roots
The solutions to the equation are x = -1, x = -8, and x = 1/2.
How to calculate the valueThe equation 4x³ + 32x² + 42x - 16 = 0 can be divided throuh by 2 as follows:
2x³ + 16x² + 21x - 8 = 0
We can test each of these possible roots by substituting them into the equation and seeing if we get 0. When we substitute -1, we get 0, so -1 is a root of the equation. We can then factor out (x + 1) from the equation to get:
(x + 1)(2x² + 15x - 8) = 0
We can then factor the quadratic 2x² + 15x - 8 by grouping to get:
(x + 8)(2x - 1) = 0
This gives us two more roots, x = -8 and x = 1/2.
Therefore, the solutions to the equation are x = -1, x = -8, and x = 1/2.
Learn more about equations on
https://brainly.com/question/2972832
#SPJ1
Taylor wants to buy a bag of chips for all of her classmates. If each bag of chips costs
$1.25 and she has 13 classmates, how much money will she spend?
Answer:
B) $16.25
Step-by-step explanation:
$1.25 x 13=$16.25
Mr. Hartman, the school librarian, is ordering new keyboards and mice for all of the school's computer labs. Each keyboard costs $13.50, and each mouse costs $6.50. There are 3 computer labs in the school, and each computer lab has s computer stations. Pick all the expressions that represent how much Mr. Hartman will spend on new keyboards and mice.
Answer:
3 * 20s
Step-by-step explanation:
In order to find out how much Mr. Hartman will spend in total we first need to multiply the price of the keyboard and mouse by the number of computers in a single computer station. Once we have these products we add them together. Finally, we multiply this new value by 3 since there are a total of 3 computer stations. If we turn this into an expression it would be the following...
3 * (13.50s + 6.50s)
We can even simplify this by first adding the cost of the keyboard and mouse and then multiplying by s
3 * 20s
if the cycle time is 2 minutes/customer then how many customers are served per hour? multiple choice question. 15 20 30 60
If the cycle time is 2 minutes per customer, 30 customers can be served per hour.
The given cycle time is 2 minutes per customer. To calculate how many customers can be served per hour, we need to calculate the number of minutes in an hour as follows: 60 minutes = 1 hour.
The time taken for each customer is 2 minutes. Therefore, the number of customers that can be served per hour can be calculated as follows:
Number of customers per hour = (60 minutes/hour) ÷ (2 minutes/customer)
Number of customers per hour = 30 customers.
Therefore, the number of customers that can be served per hour is 30, according to the given cycle time of 2 minutes per customer.
To know more about cycle time refer here:
https://brainly.com/question/29669039
#SPJ11
f(x) = 3x + 2
What is the function?
Answer: f−1(y)=y−23.
Step-by-step Explanation: Let y=f(x)=3x+2. Solve for x ... Subtract 2 from both ends to get: y−2=3x. Divide both sides by 3 to get: x=y−23.
-3x+7=-x-1
Simplify and solve for the variable
suppose the true proportion of voters in the county who support a restaurant tax is 0.55. consider the sampling distribution for the proportion of supporters with sample size n
The mean of this distribution is 0.55
The standard error of this distribution is 0.0384
We have the following:
p=0.55
sample size, n=168
Mean of distribution:
Mean=true proportion of voters who support a restaurant
Mean=p=0.55
Hence, the mean of distribution is 0.55
Standard error of the distribution:
\(=\sqrt{\frac{p(1-p)}{n} }\)
\(=\sqrt{\frac{0.55(1-0.55)}{168} }\)
=0.0384
Hence, the standard error is 0.0384
Learn more about mean and standard error of distributions here:
https://brainly.com/question/14467769
#SPJ4
The questions was incomplete, the complete question is given below:
Suppose the true proportion of voters in the county who support a restaurant tax is 0.55. Consider the sampling distribution for the proportion of supporters with sample size n = 168.
What is the mean of this distribution?
What is the standard error of this distribution?
Determine which answer in the solution set will make the equation true.
2p + 9 = 4p − 13
S: {−11, 0, 11, 22}
Answer:
11
Step-by-step explanation:
If you input the number and then solve, you should get that #=#
2(11)+9=4(11)-13
22+9=44-13
31=31
Answer: 11
Step-by-step explanation: 2(11)+9=4(11)-13, 22+9=44-13, 31=31
Directions:Simplify the following monomials.SHOW ALL STEPS!
ANYONE PLEASE HELP ME I REALLY NEED THE ANSWER RIGHT NOW BECAUSE I HAVE TO PASS THIS TOMORROW:(
I’LL MARK YOU AS THE BRAINLIEST!
Answer:
\(1) \frac{y^4}{y^2}\)
\(y^{4-2}\)\(y^2\)_________
\(2) \frac{k^{6} }{k^{6} }\)
\(6-6\)\(1\)_________
\(3)\frac{x^{4} y^{5} }{x^{3} y^{2} }\)
\(\frac{x^4y^5}{x^3y^2}\)\(\frac{x^{4} }{x^{3} } =x\)\(\frac{xy^5}{y^2}\)\(\frac{y^{5} }{y^{2}} =y^{3}\)\(xy^3\)___________
\(4)\frac{mn^3}{n^2}\)
\(mn^{3-2}\)\(mn^1\)\(mn\)___________
\(5) \frac{15a^3}{3a}\)
\(\frac{3\cdot \:5a^3}{3a}\)\(\frac{5a^3}{a}\)\(5a^2\)__________
\(6)\frac{8x^5y^4}{\:4x^2y^2}\)
\(\frac{4\cdot \:2x^5y^4}{4x^2y^2}\)\(\frac{2x^5y^4}{x^2y^2}\)\(\frac{x^{5} }{x^{2} }=x^{3}\)\(\frac{2x^3y^4}{y^2}\)\(\frac{y^{4} }{y^{2}}=y^{2}\)\(2x^3y^2\)____________
OAmalOHopeO
Evaluate the integral: S1 0 (-x³ - 2x² - x + 3)dx
The integral: S1 0 (-x³ - 2x² - x + 3)dx is -1/12
An integral is a mathematical operation that calculates the area under a curve or the value of a function at a specific point. It is denoted by the symbol ∫ and is used in calculus to find the total amount of change over an interval.
To evaluate the integral:
\($ \int_0^1 (-x^3 - 2x^2 - x + 3)dx $\)
We can integrate each term of the polynomial separately using the power rule of integration, which states that:
\($ \int x^n dx = \frac{x^{n+1}}{n+1} + C $\)
where C is the constant of integration.
So, we have:
\($ \int_0^1 (-x^3 - 2x^2 - x + 3)dx = \left[-\frac{x^4}{4} - \frac{2x^3}{3} - \frac{x^2}{2} + 3x\right]_0^1 $\)
Now we can substitute the upper limit of integration (1) into the expression, and then subtract the result of substituting the lower limit of integration (0):
\($ \left[-\frac{1^4}{4} - \frac{2(1^3)}{3} - \frac{1^2}{2} + 3(1)\right] - \left[-\frac{0^4}{4} - \frac{2(0^3)}{3} - \frac{0^2}{2} + 3(0)\right] $\)
Simplifying:
\($ = \left[-\frac{1}{4} - \frac{2}{3} - \frac{1}{2} + 3\right] - \left[0\right] $\)
\($ = -\frac{1}{12} $\)
Therefore,
\($ \int_0^1 (-x^3 - 2x^2 - x + 3)dx = -\frac{1}{12} $\)
To learn more about substituting visit:
https://brainly.com/question/10423146
#SPJ11
Find 9 - (-2). The difference is
Answer:
11
Step-by-step explanation:
A manufacturer can lease a machine for 6 years at $2,680 per quarter, payable at the beginning of each quarter. Alternatively, they can purchase the machine for $60,000 and sell it for $5,900 in 6 years. The cost of capital is 7.3% compounded annually. What is the present value of the cost: (enter a positive value accurate to the nearest dollar)
We must compare the current values of both choices in order to determine which is more cost-effective. The present value of the lease installments will be calculated using the formula for the present value of an annuity, and the buy and repurchase will be calculated using the formula for the present value of a lump amount.
Option 1: Rent the equipment
For a period of six years, or 24 quarters, the lease payments are $2,680 each. The quarterly discount rate is 7.3% multiplied yearly, with the cost of capital being 7.3%.
r = (1 + 0.073)^(1/4) - 1 = 0.017424
The present worth of the lease money is calculated using the following formula:
PV is equal to PMT * ((1 - (1 + r)-n) / r).
where n is the number of quarters, r is the quarterly discount rate, PMT is the quarterly payout, and PV is the current value.
PV = 2680 * ((1 - (1 + 0.017424)^-24) / 0.017424)
PV = $49,869
Option 2: Buying and Reselling
The machine costs $60,000 to buy, and its resale value after 6 years is $5,900. The present value of this choice, calculated using the method for the present value of a lump sum, is:
PV is equal to (FV / (1 plus r)n)- PV.
where n is the number of years, r is the annual discount rate, and PV is the present value. FV is the future value.
We will use the same quarterly discount rate as before, multiplied for 24 quarters, to determine the present worth of the resale value in today's dollars:
r = (1 + 0.073)^(1/4) - 1 = 0.017424
4 quarters in a year times 24 quarters equals 6 years.
PV = (5900 / (1 + 0.017424)^6) - 60000
PV = $35,696
Analyzing the Alternatives:
The lease installments are worth $49,869 in present value, and the buy and resale are worth $35,696 in current value. Consequently, the renting choice is more economical.
The contract choice will cost $49,869 in today's money. Consequently, the response is $49869.
To know more about cost-effective examples -
brainly.com/question/18596440
#SPJ4
please help me !!!!!!!!!!!!!!!!!!1
The value of the expressions 2⁻⁵ and (4/5)⁻³ will be 1/32 and 125/64, respectively.
What is Algebra?The analysis of mathematical representations is algebra, and the handling of those symbols is logic.
The expressions are given below.
2⁻⁵ and (4/5)⁻³
We know that a⁻ⁿ = 1 / aⁿ. Then the value of the function will be given as,
⇒ 2⁻⁵
⇒ 1 / 2⁵
⇒ 1 / 32
⇒ (4/5)⁻³
⇒ 1 / (4/5)³
⇒ (5/4)³
⇒ 125 / 64
The value of the expressions 2⁻⁵ and (4/5)⁻³ will be 1/32 and 125/64, respectively.
More about the Algebra link is given below.
https://brainly.com/question/953809
#SPJ1
Terrence gets a loan with a $50 processing fee. The loan is for $700 with an interest rate of 8% for one
year.
The interest on the loan is
The APR on this loan is
Answer:
15.14%
Step-by-step explanation:
The formula for APR is stated thus:
APR=fees+interest/principal/n*365*100
principal is the loan amount of $700
fees is the processing fees on the loan which is $50
interest amount=principal*interest %=$700*8%=$56
n is the number of days of the loan which is a year i.e 365 days
APR=($50+$56)/$700/365*365*100
APR=$106/$700/365*365*100
APR=0.151428571 /365*365*100
APR=0.151428571 *100=15.14%
The annual percentage rate on the loan is 15.14% which represents the actual cost on the loan not just the interest cost of 8% annually
QUESTION 1 What is Statistical Process Control and Control Charts? O It is a method that uses basic graphics and statistical tools to analyze, control and reduce variability within a process by taking
Statistical Process Control (SPC) is a methodology used to monitor, control, and improve processes by analyzing data and applying statistical techniques. Control charts are a key tool in SPC.
It involves the collection and analysis of data from a process to understand and control its variability. The goal of SPC is to ensure that a process operates within specified limits and remains stable over time, leading to consistent and predictable outcomes.
Control charts are a key tool in SPC. They provide a visual representation of process data over time and help to distinguish between common cause variation (inherent to the process) and special cause variation (resulting from specific factors).
Control charts display process measurements, such as sample means or individual measurements, plotted against time or the sequence of data collection.
Control charts typically include three lines: a centerline, an upper control limit (UCL), and a lower control limit (LCL). The centerline represents the process mean, while the control limits are calculated based on the process variability.
These control limits act as thresholds, indicating when the process is operating within acceptable limits or when it has deviated from its usual behavior.
By monitoring the data points on the control chart, process operators can identify patterns, trends, or unusual observations that may signal special causes of variation. When special causes are detected, actions can be taken to investigate and eliminate them, thereby improving process performance and reducing variability.
The use of SPC and control charts provides several benefits, including early detection of process issues, reduction of defects and waste, improved process stability, and the ability to make data-driven decisions for process improvement.
By focusing on understanding and controlling variability, organizations can achieve higher process quality, efficiency, and customer satisfaction.
For more question on methodology visit:
https://brainly.com/question/31773959
#SPJ8
construct a box plot from the given data. diameters of cans in an assembly line: 5.7,5.6,5.1,5.4,5.2,5.6,5.7,5.3,5.8,5.2
The resulting box plot for the given data would show a box ranging from 5.2 to 5.7, with the median at 5.4.
A box plot, also known as a box-and-whisker plot, is a graphical representation of numerical data that displays the distribution of a dataset. It provides a visual summary of the minimum, first quartile, median, third quartile, and maximum values, as well as any outliers that may be present.
To construct a box plot from the given data (diameters of cans in an assembly line: 5.7, 5.6, 5.1, 5.4, 5.2, 5.6, 5.7, 5.3, 5.8, 5.2), follow these steps:
1. Sort the data in ascending order: 5.1, 5.2, 5.2, 5.3, 5.4, 5.6, 5.6, 5.7, 5.7, 5.8.
2. Find the median (middle value) of the dataset, which is 5.4.
3. Determine the first quartile (Q1), which is the median of the lower half of the data. In this case, it is the median of the numbers below 5.4: 5.2.
4. Find the third quartile (Q3), which is the median of the upper half of the data. In this case, it is the median of the numbers above 5.4: 5.7.
5. Calculate the interquartile range (IQR) by subtracting Q1 from Q3: 5.7 - 5.2 = 0.5.
6. Identify any outliers in the dataset. Outliers are values that fall below Q1 - 1.5 * IQR or above Q3 + 1.5 * IQR. In this case, there are no outliers.
7. Construct the box plot using a number line. Draw a box from Q1 to Q3, with a line inside representing the median. Add whiskers (lines) extending from the box to the minimum value (5.1) and the maximum value (5.8).
The resulting box plot for the given data would show a box ranging from 5.2 to 5.7, with the median at 5.4. The whiskers would extend from 5.1 to 5.8. This visual representation provides an overview of the distribution and key statistical measures of the diameters of cans in the assembly line.
To know more about box plot refer here:
https://brainly.com/question/30951920
#SPJ11
Suppose y varies directly as x. Write a direct variation equation that relates x and y. Then solve.
If y = -4 when x = 2, find y when x = 3 .
ur answer should have ,-6
When X = 3 then Y = -6
Here is the explanation:
If Y1 = -4 when X1 = 2
and if X2 = 3 when Y2 = ?
The formula is
\(\frac{Y2}{X2} =\frac{Y1}{X1}\\\\Y2 = \frac{Y1}{X1} x X2\\\\Y2=\frac{-4}{2}x3\\\\Y2=-6\)
Hence if X = 3 then Y = -6
Read more about direct variation here
https://brainly.com/question/13977805
#SPJ1
A square has sides of length 6/12 inches. Area of length times width.
What is the area of the square in square inches?
The area of the square is 1/4inches² in square inches
What is area of squareThe area of a square is calculated by multiplying its two sides, that is area = s × s, where, 's' is one side of the square.
The square has side of length = 6/12
this can be simplified as 1/2
so
area of the square = (1/2 × 1/2) inches ²
area of the square = 1/4inches²
Thus, the area of the square is calculated using area = s × s, as 1/4inches²
Know about area of square here: https://brainly.com/question/24487155
#SPJ1
Match the steps to find the equation of the parabola with focus (-1, 2) and directrix x = 5.
1. Use (x, y).
1
Choose a point on the parabola.
2.
4
Write the equation of the parabola.
3.
2
Find the distance from the focus to the point on the parabola.
4.
3
Set the distance from focus to the point equal to the distance from directrix to the point.
5.
5
Find the distance from the point on the parabola to the directrix.
6.
6
Square both sides and simplify.
The steps to find the equation of the parabola with focus (-1, 2) and directrix x = 5 should be matched as follows;
1. Use (x, y) ⇒ choose a point from the parabola.
2. √[(x + 1)²+(y - 2)²] ⇒ Find the distance from the focus to the point on the parabola.
3. √(x - 5)² ⇒ Find the distance from the point on the parabola to the directrix.
4. √[(x + 1)²+(y - 2)²] = √(x - 5)² ⇒ Set the distance from focus to the point equal to the distance from directrix to the point.
5. (x + 2)² + (y - 2)² = (x-5)² ⇒ Square both sides and simplify
y² - 4y + 4 = -12x + 24
6. x = -y²/12 + y/3 + 5/3 ⇒ Write the equation of the parabola.
How to determine the equation of a parabola?In Mathematics and Geometry, the standard form of the equation of the directrix lines for a horizontal parabola that opens either left or right can be modeled by the following mathematical equation:
(y - k)² = 4p(x - h).
Where:
h and k are the vertex.p represents a point.Since the directrix is vertical, we can logically deduce that the axis of symmetry would be represented by a horizontal line. Based on the graph, we have the following points;
directrix, x = 5
Focus (h, k + 1/4p) = (-1, 2)
In conclusion, the steps to use in finding the equation of the parabola with the given points is as shown above.
Read more on parabola here: brainly.com/question/27814369
#SPJ1
The table shows the number of absences, x, in a school year and the final exam scores, y, of several students. Use technology to find the line of best fit. Then interpret the slope and y-intercept of the line of best fit.
Answer:
Plot the points on the graphing calculator. Then generate a linear regression equation.
a) The line of best fit is
y = -1.707x + 93.524
b) Using the line of best fit, a student with no absences is expected to earn a 94 on the final exam, and the score decreases by about 1.7 points per absence.
Jesse played two days of golf. On the second day, he got a score of 6 below par, or
−
6
. His total score for the two days was 0 above par, or 0. Define a variable. Then write and solve an equation to find the score Jesse got on the first day. Show your work.
Jesse played two days of golf. On the second day, he got a score of 6 below par, or
−6. His total score for the two days was 0 above par, or 0. Define a variable. Then write and solve an equation to find the score Jesse got on the first day. Show your work.
Step-by-step explanation:
1.A
2.A
3.A
4.C
5.A
6.A
7.C
8.D
9.A
10.C
11.C
12.C
13.D
14.B
15.B
16.A
17.C
18.A
19.B
20.C
21.B
22.D
23-27 Write in
1] If 221ₓ= 25₁₀ find X
2] if 3ₓ + 34ₓ - 40ₓ = 0 find x
3] if 23ₓ = 1111₂ find x
1.
\(2\cdot x^2+2\cdot x^1+1\cdot x^0=25\\2x^2+2x+1=25\\2x^2+2x-24=0\\x^2+x-12=0\\x^2+4x-3x-12=0\\x(x+4)-3(x+4)=0\\(x-3)(x+4)=0\\x=3 \vee x=-4\)
The base can't be negative, therefore \(x=3\).
2.
\(3\cdot x^0+3\cdot x^1+4\cdot x^0-4\cdot x^1+0\cdot x^0=0\\3+3x+4-4x=0\\x=7\)
3.
\(2\cdot x^1+3\cdotx^0=1\cdot 2^3+1\cdot2^2+1\cdot2^1+1\cdot2^0\\2x+1=8+4+2+1\\2x=14\\x=7\)
Barbara Keeps 15% of her paycheck each week to put in her savings account. If Barbara makes $300 a week, how much will she have saved after 6 weeks?
Answer:
$270
Step-by-step explanation:
15*300=4500
4500/100
$45.
15% of 300 is 45.
$45 goes into her savings each week.
$45 times 6 weeks.
$270 is saved after 6 weeks
Two years ago, a car was valued at $24,000. This year, the value of the car is $23,160. What was the percent decrease in the value of the car?
Enter the correct answer in the box.
Answer:
3.5%
Step-by-step explanation:
The value of the car decreased by 3.5%. Hope it helps!
practice using linear combinations to solve systems of equations. which constants can be multiplied by the equations so one variable will be eliminated when the systems are added together? 5x 13y
The constants that have to multiply to eliminate one variable from the system are 12 and 5.
The equations are
5x+13y = 232
12x + 7y = 218
Elimination Method
The elimination method is the process of eliminating one of the variables in the system of linear equations using the addition or subtraction methods in conjunction with multiplication or division of coefficients of the variables
Both x term and y terms, choose x terms and apply the elimination method
The coefficient of x in the first equation is 5 and 12 in the second equation
Coefficient is a number that is being multiplied by the variable. 2x+6x+14. The 2x, 6x, and 14 are terms because they are being added together. 2 and x; 6 and x are factors because they are being multiplied together. 2 from 2x and 6 from 6x are the coefficients because they are being multiplied by the variable.
To make it the same
Prime factorization
Prime factorization is a process of writing all numbers as a product of primes.
5 = 5×1
12 = 2×2×3
LCM (5, 12 ) = 2×2×3×5 = 60
Multiply the first equation by 12 and the second equation by 5
60x + 156y = 2784
60x + 35y = 1090
Subtract equation 2 from equation 1
121y = 1694
Eliminated x term
The constants that we have to multiply to eliminate one variable from the system are 12 and 5
The complete question is:
Which constants can be multiplied by the equations so one variable will be eliminated when the systems are added together? 5x + 13y = 232
12x + 7y = 218
To learn more about Elimination Method visit:
brainly.com/question/12090959
#SPJ4
Kiera recently bought a used car from a relative, who agreed to let her pay for the car over time. She also borrowed money from her parents for a summer internship in Washington, D.C. She is paying off both loans in equal weekly payments. Use the information in the photos to determine how many weeks it takes for the balances of the loans to be the same.
Using Arithmetic progression, after \(29\) weeks the balances of the loans to be the same.
Both the situations represent Arithmetic progression.
Case \(1\):
\(a=6500, d=-200\).
nth term of an A.P is
\(a_n=a+(n-1)d\)
\(a_n=6500+(n-1)(-200)...(i)\)
Case \(2\):
\(a=1600, d=-25.\)
nth term of an A.P is
\(a_n=a+(n-1)d\)
\(a_n=1600+(n-1)(-25)...(ii)\)
From \((i)\) and\((ii)\)
\(6500+(n-1)(-200)=1600+(n-1)(-25)\)
\(6500-200n+200=1600-25n+25\)
\(6500+200-1600-25=-25n+200n\)
\(5075=175n\)
\(n=29\).
So, after \(29\) weeks the balances of the loans to be the same.
Learn more about A.P here:
https://brainly.com/question/11972947?referrer=searchResults
write an equation to represnt the distance d, in kilometers, of each bird after thours
The equation is given as follows:
d = 50t.
What is the relation between velocity, distance and time?Velocity is given by the change in the distance divided by the change in the time, hence the following equation is built to model the relationship between these three variables:
v = d/t.
The bird can fly 400 kilometers in 8 hours, hence the velocity is given as follows:
v = 400/8
v = 50 km/h.
Then the equation is given as follows:
d = vt
d = 50t.
Missing InformationThe complete problem is:
"An albatross is a large bird that can fly 400 kilometers in 8 hours at a constant speed. Write an equation to represent the distance d, in kilometers, of each bird after t hours".
More can be learned about the relation between velocity, distance and time at https://brainly.com/question/24316569
#SPJ1
PLZZZ HELPP
Write and simplify an expression for the area of the rectangle.
Answer:
224 +70w
Step-by-step explanation:
14 (16+5w)
224 + 70w
Have a good day
answer this question for brainliest and 25 points
Answer:
2
3
1
4
Step-by-step explanation:
1 = 2.83
2 = -3.75
3 = 2.25
4 = 3
Answer:
\(\frac{9}{4}\) should be 1st
√8 should be 2nd
3 should be 3rd
- 3.75 should be 4th
NI (Factonal of an integer number N) is aperoximated using Stirling s approximation wing the function given below. F(∄)= 2mn
( e
n
) n
Write this fanction in C+1
The given function is: F(∄) = \(2mn e^(n)\) n, which is to be written in C++.Here's the solution to this question:
In C++, we can use the pow() function from the math library to implement exponents.
So, the given function can be written in C++ as:
#include <iostream>
#include <cmath>
using namespace std;
double stirlingApproximation(int n) {
double pi = 3.14159;
double numerator = pow(2 * pi * n, 0.5);
double denominator = pow(n, n) * exp(-n);
double result = numerator / denominator;
return result;
}
int main() {
int n = 5;
double result = stirlingApproximation(n);
cout << "The value of the function F(" << n << ") is: " << result << endl;
return 0;
}
The above code will return the value of the function F(5) using Stirling's Approximation.
Note that we can change the value of n in the main() function to get the value of the function for a different value of n.
To know more about function visit:
https://brainly.com/question/31062578
#SPJ11