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
Joe determined the mass of 2 boxes using a scale. Since the cost of each box is the same, Joe would like to choose the box with
Naddika [18.5K]

Answer:

32.012 kg < 32.02 kg

Step-by-step explanation:

32.012 kg < 32.02 kg

7 0
3 years ago
Please hurry I will mark you brainliest.
ivann1987 [24]

Answer:

12862.83cm³

Step-by-step explanation:

Volume of the Box: [L×W×H] or [30x30x30] or [27000cm³]

Volume of the Sphere: [\frac{4}{3}\pi r^{3}] (\pi=pi=3.14) (r=radius=15) or [\frac{4}{3}×3.14×3375] or [14137.17cm³]

Volume of the empty space: 27000cm³-14137.17cm³=12862.83cm³

Btw there are online tools to help you find the volume of a sphere (just use it after you understand the equation)

Hope I helped!

4 0
3 years ago
Fourth term of sequence is 216, sixth term 96
My name is Ann [436]
312 I think, hop[e this helps
4 0
3 years ago
Please help me asap!! 200 points !!!!!!!! Find the area of the trapezoid given the coordinates: -3,3 -1,-3 1,-2 3,-3
vredina [299]

Answer:

Area 6

Hope This Helps!  Have A Nice Day!!

3 0
3 years ago
Read 2 more answers
Which scientist discovered DNA after experimenting with white blood cells?
mart [117]
The building blocks of proteins are amino acids.
8 0
3 years ago
Other questions:
  • How do you recognize an exponential situation? How do you recognize an exponential equation?
    13·1 answer
  • If x – 9 is a factor of x2 – 5x – 36, what is the other factor a. x – 4 b. x 4 c. x – 6 d. x 6
    5·2 answers
  • Jerold put a desk in his bedroom. The picture shows where he put the desk. What is the area of the desk?
    9·1 answer
  • Identify the independent and dependent variables in the gummy bear experiment
    6·1 answer
  • Is a vertical line a function
    7·1 answer
  • Which fraction is equal to 2/8?
    6·2 answers
  • A) Change 6 out of 100 to a percentage.​
    12·2 answers
  • Find the area:<br> look at pic
    6·1 answer
  • Find the value of x in the triangle shown below.
    15·2 answers
  • Youre amazing!!! could you help me? 50 points!!! Write an expression that can be used to produce vector d from vector c, and exp
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!