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 does this image represent ​
The temperature of a container of oxygen gas is increased from 149 k to 298 k which of the following statement is true
Help please? 10 points
which concept did the maya understand before the europeans did
find the value of x,y,z 107
Peter left Town A at 13:30 and travelled towards Town B at an average speed of 40 mph. At 13:45, Philip left Town A for Town B at an average speed of 30 mph. Wh
Lines that run east and west are called lines of latitude ? True or False ​
What are the next two numbers in the sequence: 0.5, 1.0, 2.0, 4.0..... *
Ava borrowed some money from her friend in order to help buy a new video game system. Ava agreed to pay back $2 per week and after 5 weeks, Ava still owe her fr
what is corroboration