Answer:
Given that: Design scenario - page 197 has a continuation of the chapter 1 design scenario for ElectroMyCycle
Explanation:
See attached image
Answer:
Following are the correct python code to this question:
n1 = float(input('Input first number: '))#input first number
n2 = float(input('Input second number: '))#input second number
n3 = float(input('Input third number: '))#input third number
n4 = float(input('Input fourth number: '))#input fourth number
average = (n1+n2+n3+n4)/4 #calculate input number average
product = n1*n2*n3*n4 # calculate input number product
print('product: {:.0f} average: {:.0f}'.format(round(product),round(average))) #print product and average using round function
print('product: {:.3f} average: {:.3f}'.format(product,average)) #print product and average value
Output:
Please find the attachment.
Explanation:
The description of the above python code can be defined as follows:
- In the above python program four variable "n1, n2, n3, and n4" is defined, in which we take input from the user end, and in these user inputs we use the float method, that converts all the input value in to float value.
- In the next step, two variable average and product are defined, that calculate all input numbers product, average, and hold value in its variable.
- In the last line, the print method is used, which prints its variable value by using a round and format method.
Answer:
The correct answer to the following question will be "Math.sqrt(area*2)".
Explanation:
- The Math.sqrt( ) method in JavaScript is used to find the squares root of the given figure provided to the feature as a variable.
- Syntax Math.sqrt(value) Variables: this function takes a single variable value that represents the amount whose square root is to be determined.
- The area of the figure is the number of squares needed to cover it entirely, like the tiles on the ground.
Area of the square = side times of the side.
Because each side of the square will be the same, the width of the square will only be one side.
Therefore, it would be the right answer.
Answer:
FIPS 140-2 es el acrónimo de Federal Information Processing Standard (estándares federales de procesamiento de la información), publicación 140-2, es un estándar de seguridad de ordenadores del gobierno de los Estados Unidos para la acreditación de módulos criptográficos. ... El Instituto Nacional de Estándares y Tecnología (NIST)
Explanation: