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
Based on the figure below, what is the value of x? (5 points) A right angle is shown divided in two parts. The measure of the an
Orlov [11]

Answer:

Hello! answer: 9

Step-by-step explanation:

Assuming this is a complementary angle (meaning it will add up to 90 degrees)

5 × 9 = 45 45 + 15 = 60 60 + 30 = 90 therefore x = 9 Hope that helps!

8 0
3 years ago
Read 2 more answers
Solve the inequality <br> Need help quick
Alecsey [184]

Answer:

x>1

Step-by-step explanation:

move the constant to the right side and change its sign 7x>10-3

Then subtract the numbers 7x>7

Then divide the inequality by 7 from for both sides.

x>1

4 0
3 years ago
For the given linear function, what are the slope and y-intercept?
asambeis [7]

Answer:

The equation of any straight line, called a linear equation, can be written as: y = mx + b, where m is the slope of the line and b is the y-intercept. The y-intercept of this line is the value of y at the point where the line crosses the y axis.

Step-by-step explanation:

I had this question not to long ago and got it right

4 0
3 years ago
What is the measure of an angle if the measures of its two adjacent supplementary angles add up to 100°?
Sindrei [870]
<h3>Answer:  130</h3>

Explanation:

Let x be the unknown angle we want to find.

Let y be adjacent and supplementary to x. This means x+y = 180

Let z also be adjacent and supplementary to x. So x+z = 180 also

Subtracting the two equations leads to y-z = 0 and y = z. So effectively we've proven the vertical angle theorem.

Since the supplementary angles to x add to 100, we know that y+z = 100. Plug in y = z and solve for z

y+z = 100

z+z = 100

2z = 100

z = 100/2

z = 50

Therefore,

x+z = 180

x+50 = 180

x = 180-50

x = 130

8 0
3 years ago
In the figure below, B lies between A and C. Find the location of B so that AB is 1/8 of AC. ​
MArishka [77]

Answer:

-3

Step-by-step explanation:

first do -22-2= -24

then do 1/8 of -24= -3

6 0
3 years ago
Other questions:
  • The 3 × 3 matrix P satisfies the matrix equation P^2 = P.
    9·1 answer
  • 23.4% of what number is 54,400
    15·1 answer
  • F(x)=2x² + 12, what is f(3)<br><br> 3<br> 12<br> 18<br> 30
    13·1 answer
  • In a restaurant, the proportion of people who order coffee with their dinner is p. A simple random sample of 144 patrons of the
    8·1 answer
  • By visual inspections, determine the best fitting regression model for the scatterplot
    15·2 answers
  • PLEASE HELP WILL GIVE BRAINLIEST!!<br> NEED DONE TODAY PLEASE HELP!!
    10·1 answer
  • What are the rules for multiplying negative numbers?​
    14·2 answers
  • Ella is building fruit baskets and is filling them with apples and oranges. She has 48 apples and 60 oranges, and wants to make
    11·1 answer
  • A school counts the number of students taking AMDM and find 228 students taking AMDM. They also count the number of students tak
    10·1 answer
  • Wite a differential equation in which y^2= 4(t + 1) is a solution.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!