1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Shtirlitz [24]
3 years ago
15

Elana is programming a video game. She needs to simulate the power up that the player gets when they reach a certain level. The

computer can run a program to return a random integer between 1 - 100. Elana wants the best power up to be rewarded 15% of the time. Explain how Elana can use the computer to simulate the player getting the best power up at least 2 out of 3 times
Mathematics
1 answer:
zvonat [6]3 years ago
7 0

Answer:

You have to define when the power should be pushed up using the 'For' statement and let an impulse be sent to the CPU to increase power by 15%

Step-by-step explanation:

We use certain functions in writing computer programs.

For the 'For' statement ; we can define conditions. First Elana would define at what point does she want the player power to get the best power.

For example if she defines that when the player has played for 2hours return an integer 1 for instance.

This value returned will now send a pulse to the CPU to increase its power to 15%.

If the player plays for further 1hour she can define the count to be 10 and so send another pulse to the CPU to increase the processing power by additional 15%

You might be interested in
Takev0.7 from 1.3 answer please
torisob [31]
- - Let's solve:

0.7-1.3


- - Solve for that:


-0.6 


(-.6)
4 0
3 years ago
Select the correct answer. What is the solution for x in the equation 5/3x + 4= 2/3x? A. B. C. D.
7nadin3 [17]

\boldsymbol{\sf{\dfrac{5}{3}x+4=\dfrac{2}{3}x   }}

<em>Subtract</em> 2/3x on both sides.

\boldsymbol{\sf{\dfrac{5}{3}x+4-\dfrac{2}{3}x=0    }}

Combine 5/3x and -2/3x to get x.

\boldsymbol{\sf{x+4=0 }}

Subtract 4 from both sides. <em>Any value</em> subtracted from zero results in its negative value.

\boldsymbol{\sf{x=-4 }}

3 0
1 year ago
Read 2 more answers
Candice is deep-sea diving with two friends. Whitney is exploring a coral reef 56 feet in front of Candice, and Ed is floating o
Mekhanik [1.2K]

Answer:

126

Step-by-step explanation:

  70

<u>+ 56</u>

 126

5 0
3 years ago
Find x in this proportion. x/3 = x+2/5
postnew [5]
The answer x = -3/5. hope that helps!
5 0
3 years ago
Read 2 more answers
Explain how you determined each of the numbered angle measures.
nalin [4]

The numbered angle measured is ∠1 = 61°, ∠2= 119, ∠3 = 61, ∠4 = 119, ∠5 = 119, ∠6 = 61 , ∠7 = 119

In this figure, we have

∠8 = 61°

Now, To find the

∠1, ∠2, ∠3, ∠4, ∠5, ∠6, ∠7

Now, Let's take the ∠7 and ∠8

and, firstly find the ∠7

We know that the sum of two angles is 180°

and, Given the  ∠8 = 61°

∠7 + ∠8 = 180° (Linear Pair of Angles)

∠7 + 61° = 180°

∠7  = 180° - 61°

∠7 = 119°

and, ∠5 = ∠7 = 119° (Vertically opposite angle)

and, ∠1 = ∠8 = 61° (Corresponding Angles)

∠1 = 61° and ∠2 is the supplementary angle to given angle

So, ∠1 + ∠2 = 180°

where, supplementary angles are two angles whose measured add up to 180°

61° + ∠2 = 180°

∠2 = 119°

and ∠5 + ∠6 = 180°(Corresponding angle with ∠5)

119°+∠6 = 180°

∠6 = 180 = 119

∠6 = 61°

and, ∠3 = ∠6 = 61° (Corresponding Angle)

∠4 = ∠7 = 119° (Corresponding angle)

Hence, The numbered angle measured is ∠1 = 61°, ∠2= 119, ∠3 = 61, ∠4 = 119, ∠5 = 119, ∠6 = 61 , ∠7 = 119

Learn more about Angles at:

brainly.com/question/1597341

#SPJ1

4 0
1 year ago
Other questions:
  • The graph of function f a shown. Use the zeros and the turning points of the graph to find the rule for f.​
    9·1 answer
  • How do u write 4408730 in expanded form?
    9·1 answer
  • The legs of a right triangle are 3 units and 5 units. What is the length of the hypotenuse? Round your answer to the nearest hun
    8·1 answer
  • I NEED HELP FROM MATH WIZZARD​
    15·1 answer
  • THIS IS URGENT !!!! PLEASE HELP
    11·2 answers
  • What’s the solution for 6x =36
    14·2 answers
  • Please simplify -8(-3a-2)
    15·2 answers
  • How can you tell that the data in the table is function or not?
    5·1 answer
  • The dot plot shows the ages of soloists in a orchestra. Answer the following questions below.
    11·2 answers
  • Help Where is the first error in this proof?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!