What are 4 parts of a function?

Answers

Answer 1

The 4 parts of a function are Function name, Parameters ,Body, Return statement.

1. Function name: This is the name of the function, which is used to identify the function and call it when needed. It should be descriptive, so that it is easy to understand what the function does.

2. Parameters: Parameters are values that are passed into the function when it is called. They are used to provide the function with the necessary data it needs to perform its task.

3. Body: This is the code that will be executed when the function is called. It contains the instructions that the function needs to perform its task.

4. Return statement: This is the statement that is used to return the result of the function. It can be used to return a value or object. It can also be used to return a status code, such as success or failure.

Learn more about Functions here :

https://brainly.com/question/9554035

#SPJ4


Related Questions

0.4209" to the nearest common fraction

Answers

Answer:

4209/10000

Step-by-step explanation:

42.09%=4209/10000

Find the distance between the pair of points (-6.-17) and (-8.-19) The distance is (Round to the nearest thousandth as needed.)​

Answers

Answer:

2.83

Step-by-step explanation:

d= Square root of (x2 - x1 )^2 +( y2- y1)^2

from the point given you

x1= -6

y1 = -17

x2 = -8

y2 = -19

by applying the formula

Square root of ( -8 - (-6))^2 + ( -19 - (-17))^2

Square root of (-8+6) + (-19+17)^2

I need help on this ASAP

Answers

75cm²

Explanation:

10 times 15 is 150 and since it is a triangle you divide in half so the answer is 75. And in this case the 18 is not needed.

Answer:

75cm²

Step-by-step explanation:

The area A of a triangle is given by the formula A=12bh where b is the base and h is the height of the triangle. But in this case, there are three sides.

To find the area of a triangle with 3 sides given as 10, 15, and 18, we assume that a = 10, b = 15, and c = 18.

Then the semi-perimeter is, s = (a + b + c)/2 = (10 + 15 + 18)/2 = 21.5. We will find the area of the triangle using Heron's formula.

A = √[s(s-a)(s-b)(s-c)]

= √[8(21. 5-10)(21.5 -15)(21. 5-18)]

= √[21.5 × 11.5 × 6.5 × 3.5]

= √(5625)

≈ 7.5

what is m∠ BAC???????

Answers

Answer:

36 degrees

Step-by-step explanation:

I’m pretty sure that’s it

36. That’s the answer mate

What is the difference between 2386 and 7000 check your answer using inverse operations

Answers

Answer:

7,000 - 2,386 = 4,614

4,614 because 7000-2386=4614 and if you use inverse operation it is 2386+4614=7000

What is the volume of a rectangular prism with a length of 2.5 cm, a width of 3.1 cm and a height of 1.2 cm?



A. 7.75 cm³
B. 8.1 cm³
C. 8.3 cm³
D. 9.3 cm³

Answers

The answer is D- 9.3cm^3

Calculate the mean for each set of data.
a 12, 18, 9, 14, 8, 7​

Answers

Answer:

11.3, rounded

Step-by-step explanation:

mean = average. Add them all up, then divide by how many entries/data points you have.

12 + 18 + 9 + 14 + 8 + 7 = 68

There are 6 numbers we added, so 68/6 = 11.3333333

Please let me know if you have questions.

__________________————-

How many words can be formed from the letters of the word 'ENGLISH' ? How many these do not begin with E? How many of these begin with E and do not end with H?​

Answers

Total Number of words made out of English = 93

If 5x + 1 = 21 then x =

Answers

Answer:

X would equal 4

Step-by-step explanation:

5 x 4 is 20. And the equation was 5x + 1 = 21.

So, the answer would equal 20. Hope this helped!! :D

Answer:

x=4

Step-by-step explanation:

Start with your equation: 5x+1=21

Subtract 1 on both sides: 5x=20

Divide by 5 on both sides: x=4

Hope I helped

PLEASE HELP ME ON THIS QUESTION ASAP!!!! NO LINKS

Answers

Answer:

4π in.

Step-by-step explanation:

formula circumference= 2πr

r = half of diameter

Solve for x
3x + 9
x=
33
30
27

Answers

33 is the answer ......

Answer:

Please can you complete the question

can someone help me please I don’t understand

Answers

Answer:

answer is 3.144

Step-by-step explanation:

A company that makes hard candy have a standard bag of hard candy with 150 pieces. The hard candy has three distinct colors red, white and orange and equal proportion of each candy is present in the standard bag. The manager wants to know whether the bags produced last Monday were similar to the standard bag. To test this, they plan to choose a random bag from the batch and compare it with the standard bag. You will have to answer questions below to assist the manager in comparing the two bags.

1. What is the alternate hypothesis for this exercise? (Select the most appropriate response)
A. The bag of candy produced last Monday is like the standard bag.
B. The bag of candy produced last Monday is different from the standard bag.
C. The two bags cannot be compared.
D. We need more bags to complete the comparison.
2. What is the null hypothesis for this exercise? (Select the most appropriate response)
A. The bag of candy produced last Monday are like the standard bag.
B. The bag of candy produced last Monday is different from the standard bag.
C. The two bags cannot be compared.
D. We need more bags to complete the comparison.
3. After performing the necessary calculations, the chi-square value of the test is 6.7. The cut-off/critical value of chi-square test is 5.991 (for 5% chance).
What is your conclusion about the bags based on this result? (Select the most appropriate response)
A. The bag of candy produced last Monday is like the standard bag.
B. The bag of candy produced last Monday is different from the standard bag.
C. The two bags cannot be compared.
D. We need more bags to complete the comparison.

Answers

Answer:

1. B. The bag of candy produced last Monday is different from the standard bag.

2. A. The bag of candy produced last Monday are like the standard bag.

3. B. The bag of candy produced last Monday is different from the standard bag.

Step-by-step explanation:

Given - A company that makes hard candy have a standard bag of hard candy with 150 pieces. The hard candy has three distinct colors red, white and orange and equal proportion of each candy is present in the standard bag. The manager wants to know whether the bags produced last Monday were similar to the standard bag. To test this, they plan to choose a random bag from the batch and compare it with the standard bag. You will have to answer questions below to assist the manager in comparing the two bags.

To find - 1. What is the alternate hypothesis for this exercise?

              2. What is the null hypothesis for this exercise?

              3. After performing the necessary calculations, the chi-square value of the test is 6.7. The cut-off/critical value of chi-square test is 5.991 (for 5% chance).  What is your conclusion about the bags based on this result?

Proof -

1.

The alternate hypothesis is - B. The bag of candy produced last Monday is different from the standard bag.

2.

The null hypothesis is - A. The bag of candy produced last Monday are like the standard bag.

3.

The conclusion is - B. The bag of candy produced last Monday is different from the standard bag.

Solve for all values of x by factoring.

x^2+10x+12=2x+5

Answers

Answer:

x = -1, -7

Step-by-step explanation:

=> x² + 8x + 7 = 0

=> (x + 1) (x + 7) = 0

=> x = -1, -7

The first step is to distribute the 2x+5 so then you get x^2+8x+7 and then you can solve and get
x=-7
x=-1

I don’t know if this is correct !!!!!!! Please answer correctly !!!!!!! Will mark Brianliest !!!!!!!!!!!!!!!!!!

Answers

Answer:

yes i think

Step-by-step explanation:

Let f(x)=x^2+2 and g(x)=1-3x Find each function value. f(g(-1))

Answers

Answer:

78

Step-by-step explanation:

Answer:

12

Step-by-step explanation:

(x^2+2)*(1-3x)=-3x^3+x^2-6x+2

now plug in -1

-3(-1)^3+(-1)^2-6(-1)+2=12

hope this helped  

Thomas is opening a savings account. Which integer represents his possible balance after making a deposit
A -10
B-5
C 0
D 10

Answers

i think the answer is b
i think it’s D

because it the only positive

What is the image point of (9,5) after a translation right 4 units and up 4
units?

Answers

Answer:

5,9

Step-by-step explanation:

A muffin recipe calls for 1 cup of flour, 1/2 cup of sugar and 3/4 cup of milk and makes 20 muffins. How much of each ingredient would you need to make 120 muffins?

Answers

Answer:

well you multiple 20 by 6 to get 120, so that means multiple everything by 6

SO, 6 cups of flour, 3 cups of sugar, and 4 1/2 cups of milk

A 2-mile walking trail has a distance marker every 1\4 mile. How many markers are along the trail?

Answers

Answer: 8

Step-by-step explanation:

From the question, we are informed that a 2-mile walking trail has a distance marker every 1\4 mile. Hl

The number of markers that are along the trail will be calculated as:

= Length of walking trail / interval of distance marker

= 2 ÷ 1/4

= 2 × 4

= 8

There are 8 markers along the trail.

help please!!
Integrate the following:
[tex] \displaystyle \int {x}^{2} {e}^{x} dx[/tex]

Answers

Answer:

[tex] \rm \displaystyle \int x ^{2} \cdot {e}^{x} \: dx = {x}^{2} {e}^{x}- 2x {e}^{x} + 2 e^{x} + \rm C[/tex]

Step-by-step explanation:

we want to integrate the following integration:

[tex] \displaystyle \int {x}^{2} \cdot {e}^{x} dx[/tex]

notice that, the integrand is in the multiplication of two different function in that case we can consider integration by parts given by:

[tex] \rm \displaystyle \int u \cdot v \: dx = u \int vdx - \int u' \left( \int v dx \right)dx[/tex]

where u' can be defined by the differentiation of u

now we have to choose our u and v

which can be chosen by using the guideline:ILATE Inverse trig. , Logarithm, Algebraic expression, Trigonometry, Exponent.

since x comes first thus,

[tex] \displaystyle u = {x}^{2} \quad\text{and} \quad v = {e}^{x} [/tex]

by figuring out the defferentiation of u,we acquire:

[tex] \displaystyle u' = 2x[/tex]

altogether we get:

[tex] \rm \displaystyle \int {x}^{2} \cdot {e}^{x} \: dx = {x}^{2} \int {e}^{x} dx - \int 2x \left( \int {e}^{x} dx \right)dx[/tex]

by figuring out the parentheses integration

we get:

[tex] \rm \displaystyle \int x^2 \cdot {e}^{x} \: dx = {x}^{2} \int {e}^{x} dx - \int2x \cdot {e}^{x} dx[/tex]

now we again have integration of two different functions so let's choose our u and v once again which can be done using the guideline

[tex] \displaystyle u = 2x \quad\text{and} \quad v = {e}^{x} [/tex]

by figuring out the defferentiation of u

we acquire:

[tex] \displaystyle \: u' = 2[/tex]

altogether we get:

[tex] \rm \displaystyle \int x ^{2} \cdot {e}^{x} \: dx = {x}^{2} \int {e}^{x} dx - \left( 2x \int{e}^{x} dx- \int2 \left( \int{e}^{x}dx \right) dx \right)[/tex]

by solving parentheses we get

[tex] \rm \displaystyle \int x ^{2} \cdot {e}^{x} \: dx = {x}^{2} \int {e}^{x} dx - \left( 2x {e}^{x} - 2 e^{x} dx \right)[/tex]

by figuring out the integral we get:

[tex] \rm \displaystyle \int x ^{2} \cdot {e}^{x} \: dx = {x}^{2} {e}^{x}- \left( 2x {e}^{x} - 2 e^{x} \right)[/tex]

remove parentheses:

[tex] \rm \displaystyle \int x ^{2} \cdot {e}^{x} \: dx = {x}^{2} {e}^{x}- 2x {e}^{x} + 2 e^{x} [/tex]

at last we of course have to add constant of integration:

[tex] \rm \displaystyle \int x ^{2} \cdot {e}^{x} \: dx = {x}^{2} {e}^{x}- 2x {e}^{x} + 2 e^{x} + \rm C[/tex]

and we are done!

Answer:

[tex]\displaystyle \int {x^2e^x} \, dx = e^x(x^2 - 2x + 2) + C[/tex]

General Formulas and Concepts:

Calculus

Differentiation

DerivativesDerivative Notation

Derivative Property [Multiplied Constant]:                                                           [tex]\displaystyle \frac{d}{dx} [cf(x)] = c \cdot f'(x)[/tex]

Basic Power Rule:

f(x) = cxⁿf’(x) = c·nxⁿ⁻¹

Integration

IntegralsIndefinite IntegralsIntegration Constant C

Integration by Parts:                                                                                               [tex]\displaystyle \int {u} \, dv = uv - \int {v} \, du[/tex]

[IBP] LIPET: Logs, inverses, Polynomials, Exponentials, TrigTabular Integration

Step-by-step explanation:

*Note:

The answer below me is correct, but there is a simpler method of obtaining the answer.

Step 1: Define

Identify

[tex]\displaystyle \int {x^2e^x} \, dx[/tex]

Step 2: Integrate

Use tabular integration.

[Integrand] Differentiate/Integrate [Tabular Integration]:                           [tex]\displaystyle \\\begin{center}\begin{tabular}{ c | c }\line{u & dv} \\\cline{1 - 2} x^2 & e^x \\\ 2x & e^x \\\ 2 & e^x \\\ 0 & e^x\end{tabular}\end{center}[/tex]Write out expansion [Tabular Integration]:                                                 [tex]\displaystyle \int {x^2e^x} \, dx = x^2e^x - 2xe^x + 2e^x + C[/tex]Factor:                                                                                                           [tex]\displaystyle \int {x^2e^x} \, dx = e^x(x^2 - 2x + 2) + C[/tex]

Topic: AP Calculus AB/BC (Calculus I/I + II)

Unit: Integration

Book: College Calculus 10e

The area of the square is
........ square centimeters.
9.5 cm
9.5 cm

Answers

area=a^2
9.5^2 = 90.25

can someone pleease help my teacher will not help me.

Answers

Answer:

The perimeter is 206.

Step-by-step explanation:

When given the area, height and side of the parallelogram, you would use the formula to find the perimeter: P=2a+2*A /h. a = side of the parallelogram, A = area, and h = height. When you plug in everything, you will get 206.

The answer is 206 yes

helppp! I literally can’t find anything in Brainly I’m dead failing does someone at le

Answers

Answer:

C

Step-by-step explanation:

volume of a cone = πr²[tex]\frac{h}{3}[/tex]

so 20² x π x [tex]\frac{35}{3}[/tex] = 14660.76572

The correct answer is C. If you want to learn how to do it go to Khan academy and type in what your learning!!!

Convert.

32 ft =
yd
ft Helpp

Answers

Answer:

10.667 yards

Step-by-step explanation:

What is the answer. No links please.

Answers

Answer:

24 + 50 = 74 cm³

Step-by-step explanation:

I split the irregular figure into two separate shapes and found the volume of each and then added the values, I am most certain the answer would be 74 cm³, I apologize if it isn't.

How many tiles will figure 13 have ??
FREE POINTS!

Answers

Answer:

more tiles than i laid in ur momms

Step-by-step explanation:

Figure 13 has 11 tiles

Find the value of x.

Answers

Answer:

The answer would be X= -7 .

Step-by-step explanation:

Hope it helps :)

someone help pls, :((((

Answers

I’m starting to learn this in class, starting today. it may be wrong.
but to complete a quadratic square, you do (b/2)^2
which b would be 8.
so (8/2)^2
which would turn out to be 16

so the number added to complete the square would be 16.

9k^2+11k-36k-44 ????

Answers

Answer:

[tex]9k^{2} - 25k - 44[/tex]

Step-by-step explanation:

Other Questions
What type of trait is the body length? You are a part-time manager for The Mobile Vegan, a food truck catering to vegan diners in Portland, Oregon. Jessica Rosen, the owner of the business, wants to expand by adding other food trucks in Portland and the surrounding area. Whether she purchases new trucks or takes over an existing food truck business with an established clientele, she needs a loan to cover the cost of the trucks. She has asked for your help updating the workbook she created to analyze the loan information and forecast sales. Switch to the Loan Scenarios worksheet, and then calculate the monthly payment for the Add 1 Truck scenario as follows: a. In cell D11, enter a formula using the PMT function to calculate the monthly payment for a loan. b. Use the inputs listed under the Add 1 Truck loan scenario in cells D5, D7, and D9. (Hint: The result will be displayed as a negative number to reflect the negative cash flow of a loan payment.) Plz help!! Will mark brainliest PLS HELP! ASAP!Where do you get the energy you need to grow, move, heal, and keep your body warm? Give a well, explained paragraph. A circular loop of radius 15 cm carries a current of 11 A. A flat coil of radius 0.79 cm, having 66 turns and a current of 1.9 A, is concentric with the loop. The plane of the loop is perpendicular to the plane of the coil. Assume the loop's magnetic field is uniform across the coil. What is the magnitude of (a) the magnetic field produced by the loop at its center and (b) the torque on the coil due to the loop Subject is art answer the question below :)) Find the area, use 3.14 for pi A manufacturer of band saws wants to estimate the average repair cost per month for the saws he has sold to certain industries. He cannot obtain a repair cost for each saw, but he can obtain the total amount spent for saw repairs and the number of saws owned by each industry. Thus, he decides to use cluster sampling, with each industry as a cluster. The manufacturer selects a simple random sample of n = 20 from the N = 96 industries he services. The data on total cost of repairs per industry and number of saws per industry are as given in the accompanying table. Estimate the average repair cost per saw for the past month and place a bound on the error of estimation.Industry No.of saws Total repair cost for past month1 3 502 7 1103 11 2304 9 1405 2 606 12 2807 14 2408 3 459 5 6010 9 23011 8 14012 6 13013 3 70 14 2 5015 1 1016 4 60 17 12 28018 6 15019 5 11020 8 120 i cant solve this help 8x + 15 < 71 does anyone else play woozworld? if so, add me SummerRae0 Ryan says that a rectangle is a square because it has 4 right angles. Addy says that a rhombus is a square because it has 4 equal sides. Part A Who is correct? A. Only Addy B. Only Ryan C. Both Ryan and Addy D. Neither Ryan nor Addy Part B How are rectangles and squares related? Use the drop-down menus to complete the explanation. All Choose... are Choose... , but only Choose... with 4 equal sides are Choose... Kelly and Brandon have a combined age of 32.They have an age difference of 6 (Kelly is older).Write a system of equations to find out how old Kelly isand how old Brandon is. Is sodium chloride a reactant Which movement did Emerson lead?Question 18 options:TemperanceAbolitionismThe Second Great AwakeningTranscendentalism the area of a rectangle with a height of 2 and a width of 5x^2-2x+3 Using the same spinner and die from the problem above, what is the probability of not spinning a blue, and then not rolling a five? The following data points represent the number of songs each member of the band Python Sunboat has written.5, 2, 9, 21, 12, 35,2,9,21,12,35, comma, 2, comma, 9, comma, 21, comma, 12, comma, 3Find the median number of songs.\qquad songs Need paper done .zzzzzzz ONE HUNDRED POINTS, pls be honest can someone make this into a poem It was a sunny day My mother asks me every day Why do you not go and play?Each time I had no reply Because I liked watching days go by The reason is that I feel gray I feel gray all-day I never feel gay I feel as if my body is clay I want my body to decay I dont remember the last time I said yay Find the value of x in the following triangle