xaraserrao xaraserrao
  • 04-03-2021
  • Computers and Technology
contestada

Calculate the value of z. Given v=4, w=5, x=8, y=2z= (v+ w) * x / y;print (“value of z is “, z)

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 09-03-2021

Answer:

value of z is  36.0

Explanation:

Given

[tex]v = 4\\\\w = 5\\\\x = 8\\\\y = 2\\\\z = (v+2)*x/y[/tex]

Required

Print the value of z

To answer this, I will make use of Python and also provide a manual solution:

The program (in python) is as thus:

v = 4

w = 5

x = 8

y = 2

z = (v + w) * x/y

print (“value of z is “, z)

Manually, we have:

z = (v + w) * x/y

z = (4 + 5) * 8/2

Solve the bracket

z = 9 * 8/2

z = 9 *4

z= 36

Either ways, the value of z is 36

Answer Link

Otras preguntas

what is the main difference in measurement between behavioral checklists and behavioral observation?
Find the vertex of the quadratic and explain how u get the answer step by step X^2-4x+7=0
There are 40 students attending the summer camp. The ratio of boys to girls is 3 : 2. How many girls are at the camp?
Solve for in the equation = .
What is a historic example of emotions affecting others
A(n) ______ skill is the ability to perform a specialized task that involves a certain method or process.
how did the cold war affect civil liberties in the united states?
A girl got an umbrella to take outside.why didn't she get wet
What is an example of human emotions affecting others
2 points Which of the following cases led to fears that Hispanic people would be racially profiled by law enforcement and was later modified by Supreme Court ru