Quiz 1 extra credit

Questions being corrected: 1, 3.a, 5

Question 1

Correct answer: C - Carry out the plan

Why this answer is correct: The code portion of the homework is where do the work that accomplishes what the homework problem is asking for.

Question 3.a

Correct answer: In the simulation phase, we do calculations with the model. We vary the input parameters (like temperature, pressure, flow rate) and the model outputs predicted system responses.

Question 5

Correct answer: C - 2.5

Why this answer is correct: See the code below.

def my_func(x, y=2):
    z = (x**2 + y**2) / (x * y)
    return z

print(my_func(2,4))
2.5