Answer:
The statement can be written as
int result = cube(4);
Explanation:
A function is a block of reusable codes to perform some tasks. For example, the function in the question is to calculate the cube of a number.
A function can also operate on one or more input value (argument) and return a result. The <em>cube </em>function in the question accept one input value through its parameter <em>number </em>and the <em>number</em> will be multiplied by itself twice and return the result.
To call a function, just simply write the function name followed with parenthesis (e.g. <em>cube()</em>). Within the parenthesis, we can include zero or one or more than one values as argument(s) (e.g. <em>cube(4)</em>).
We can then use the "=" operator to assign the return output of the function to a variable (e.g. <em>int result = cube(4)</em>)
Complete Question
The complete question is shown on the first uploaded image.
Answer:
The answer is shown on the second uploaded image
Explanation:
The explanation is also shown on the second uploaded image
Answer:
option B is correct. Fracture will definitely not occur
Explanation:
The formula for fracture toughness is given by;
K_ic = σY√πa
Where,
σ is the applied stress
Y is the dimensionless parameter
a is the crack length.
Let's make σ the subject
So,
σ = [K_ic/Y√πa]
Plugging in the relevant values;
σ = [50/(1.1√π*(0.5 x 10^(-3))]
σ = 1147 MPa
Thus, the material can withstand a stress of 1147 MPa
So, if tensile stress of 1000 MPa is applied, fracture will not occur because the material can withstand a higher stress of 1147 MPa before it fractures. So option B is correct.
Answer:
to be or not to be
Explanation:
Vivi is a drummer for a band. She burns 756756756 calories while drumming for 333 hours. She burns the same number of calories each hour.