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 are the three different periods of Beethoven’s work? Describe each part.
covalent bonds are not affected by chemical reactions. true or false?
how can the same material bend in one situation but break in another
Use tide and tidal range in the same sentence.
How many hemispheres are there on the world? a. two b. four c. six d. eight
Find the common ratio for the following sequence. 27, 9, 3, 1, ... User: Find the common ratio for the following sequence. 1/2,-1/4, 1/8, -1/16 User: What is th
Which word does not include "first" or "ahead" as part of its meaning? A. antecedent B. posterior C. premier D. prime
What is Charles Olmsted known for?
Dawn wants to plant vegetables and herbs in her garden. If she plants herbs in 3/8 of the garden, how much of tye garden is left over fir vegetables? I need a n
Emily had 75 buttons. She gave 15 buttons to jake. What percentage of the buttons did Emily give to hair?