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
Subtract 7 pounds 3 ounces from 10 pounds
butalik [34]
(10 pounds) - (7 pounds 3 ounces) =
2.8125 pounds
7 0
3 years ago
Factor out the greatest common factor. 6x^5-15x^2+12x=?
jok3333 [9.3K]

Answer:

Factor GCF: 3x(2x⁴ - 5x + 4)

Step-by-step explanation:

Simply take out the greatest variable first and then take out the GCF of the numbers to find out factored GCF.

5 0
3 years ago
A tailor used 6 2/3 yards of fabric to make hats. The amount of fabric needed to make each hat is 5/6 yard. How many complete ha
vfiekz [6]

Answer: The tailor made 8 complete hats

Step-by-step explanation:

Amount of fabrics available to make hat = 6 2/3 yards

1 hat requires = 5/6 yards

Number of hat to obtain from the available fabric = Amount of fabrics available to make hat / requirement of 1 hat

=(6 2/3) / (5/6)

(20/3) / (5/6)

20/3 x 6/5 = cancelling out, we are left with

4x2= 8 hats

or

(20/3) / (5/6)

6.6666 /0.83333

= 8.00002= 8 hats

6 0
3 years ago
Given that f(x)=2x+2 evaluate f(1)+f(5)
Svetlanka [38]

Answer:

16

Step-by-step explanation:

To solve this, you need to evaluate the function at f(1), which just means that you have to plug in 1 for any x you see in the equation. For example, here f(1) = 2(1) + 2 which simplifies to 4. Next find f(5). By doing the same process you will find that this is 12. The problem asks for f(1) + f(5) so by putting those values in you will get 4+12=16. Hope this helps! :)

8 0
3 years ago
Read 2 more answers
A tree grows three-fourth feet per year. How long will it take the tree to grow from
xenn [34]

Answer:

9 years

Step-by-step explanation:

37-21.25 =15.75ft

1.75ft per year

15.75  / 1.75  = 9 years

4 0
3 years ago
Other questions:
  • How to solve 3x / 4 = 8
    11·2 answers
  • There are THREE ANSWERS to the question above, #1. Please help me!!!
    9·1 answer
  • From the ten books that you've recently bought but not read, you plan to take four with you on vacation. How many different sets
    12·1 answer
  • What is the vertex of f(x)= -3/4|x|+7? also how do i graph it?
    11·1 answer
  • I can't get it can anyone help me I get most of it I just need number 1...
    13·2 answers
  • The length of a given rectangle is six more than twice its width. Write a fully simplified expression to represent its perimeter
    11·1 answer
  • In a three diagram, to find the probability of an outcome we ________ horizontally and ________ vertically
    15·1 answer
  • 25 POINTS + BRAINLIEST <br><br> PLEASE HELP ME
    9·1 answer
  • HELP ME PLEASE I DONT KNOW WHAT THIS IS!!!!!
    8·1 answer
  • How do I solve (350^9/350^5)?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!