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

Answers

Answer 1

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%


Related Questions

Kristen lives directly east of the park. The football field is directly south of the park. The library sits on the line formed between Kristen’s home and the football field at the exact point where an altitude to the right triangle formed by her home, the park, and the football field could be drawn. The library is 6 miles from her home. The football field is 7 miles from the library.
a. How far is library from the park?
b. How far is the park from the football field?

Answers

Answer:

a. 6.48 miles   b. 9.54 miles

Step-by-step explanation:

a. 7/x=x/6

x^2=42

x=6.48

b. 13/x=x/7

x^2=91

x=9.54

Answer:

A. 6.48 miles  

B. 9.54 miles

Step-by-step explanation:

hope this helps :-)

What is the volume of a sphere with a radius of 9.9 ft, rounded to the nearest tenth of a cubic foot?

Answers

Answer:

the answer is attached to the picture

The volume of a sphere with a radius of 9.9 ft is 4062.3 cubic foot.

What is Three dimensional shape?

a three dimensional shape can be defined as a solid figure or an object or shape that has three dimensions—length, width, and height.

Volume is defined as the space occupied within the boundaries of an object in three-dimensional space.

The volume of the sphere is 4/3πr³

Radius is 9.9 ft.

Volume =4/3×3.14×(9.9)³

=4/3×3.14×970.3

=12187/3

=4062.3

Hence, the volume of a sphere with a radius of 9.9 ft is 4062.3 cubic foot.

To learn more on Three dimensional figure click:

https://brainly.com/question/2400003

#SPJ2

A total of 511 tickets were sold for the school play. They were either adult tickets or student tickets. There were 61 more student tickets sold than adult tickets. How many adult tickets were sold?

Answers

Answer:

255

Step-by-step explanation:

EXPLANATION We are looking for the number of adult tickets sold. number of adult tickets sold =x We are given that there were 61 more student tickets sold than adult tickets. number of student tickets sold =+x61 The total number of tickets sold was 511.

HELP GUYS PLEASE ANSWER FAST

Answers

Answer:

5/4

Step-by-step explanation:

Slope is y1-y2/x1-x2 so if you plug in the coordinates you get 4-(-1)/4-0 which you would get 5/4

HELPPPPPPP GIVING 100 POINTS FOR ANSWER.......Ivan bought a box of macadamia nuts to bring home from his trip. A rectangular prism with a length of 18 centimeters, width of 15 centimeters, and height of 3 centimeters. What volume of nuts could the container hold? 270 centimeters cubed 369 centimeters cubed 738 centimeters cubed 810 centimeters cubed

Answers

Answer:

18 x 15 x 3 is 810. The volume is 810.

Step-by-step explanation:

Volume of cuboid= Length*Width*Breadth

Volume of container= 18 cm X 15 cm X 3cm

Volume of container=810

Hope i helped

Answer:

[tex]810[/tex] centimeters cubed.

Step-by-step explanation:

The formula: [tex]Length * width * height[/tex]

[tex]18 *15*3 =810[/tex] centimeters cubed

What is the experimental probability of not rolling a 2?

Answers

Answer:

5/6

Step-by-step explanation:

O model the problem containing an unknown number, translate the statement into an equation. Sixteen is five less than a number. Which steps would you take to translate the statement? Replace "is" with =, "less than" with –, and "a number" with n to get 16 = 5 – n. Replace "is" with =, "less than" with +, and "a number" with n to get 16 = n + 5. Replace "is" with =, "less than" with –, and "a number" with n to get 16 = n – 5. Replace "is" with =, "less than" with ÷, and "a number" with n to get 16 = 5 ÷ n.

Answers

Answer:

Replace "is" with =, "less than" with –, and "a number" with n to get 16 = n – 5

Step-by-step explanation:

Hi, to answer this question we have to analyze the statement given and write an equation:

Sixteen is five less than a number

So, the number sixteen (16) is (=) five less (-5) than a number (n).

We have to subtract 5 to a number (x) and that expression must be equal to 16.

Mathematically speaking:

16= n-5

So, the correct option is:

Replace "is" with =, "less than" with –, and "a number" with n to get 16 = n – 5

Feel free to ask for more if needed or if you did not understand something.  

Answer:

C :)

Step-by-step explanation:

before you go, don't forget to smile:)

There are 10 students in a class: 6 boys and 4 girls.
If the teacher picks a group of 3 at random, what is the probability that everyone in the group is a boy?

Answers

Answer:

1/ 6

Step-by-step explanation:

Therefore, the required probability is 1/6.

Answer:

1/6

Step-by-step explanation:

Think of drawing 1 student at a time without replacement.

First drawing:

p(boy) = 6/10

Second drawing:

p(boy) = 5/9

Third drawing:

p(boy) = 4/8

p(3 boys) = 6/10 * 5/9 * 4/8 = 3/5 * 5/9 * 1/2 = 3/18 = 1/6

Answer: 1/6

20 is about what percent of 52

Answers

Answer:

To get the solution, we are looking for, we need to point out what we know.  

1. We assume, that the number 52 is 100% - because it's the output value of the task.  

2. We assume, that x is the value we are looking for.  

3. If 52 is 100%, so we can write it down as 52=100%.  

4. We know, that x is 20% of the output value, so we can write it down as x=20%.  

5. Now we have two simple equations:

1) 52=100%

2) x=20%

where left sides of both of them have the same units, and both right sides have the same units, so we can do something like that:

52/x=100%/20%

6. Now we just have to solve the simple equation, and we will get the solution we are looking for.

7. Solution for what is 20% of 52

52/x=100/20

(52/x)*x=(100/20)*x       - we multiply both sides of the equation by x

52=5*x       - we divide both sides of the equation by (5) to get x

52/5=x  

10.4=x  

x=10.4

now we have:  

20% of 52=10.4

Step-by-step explanation:

I need help ASAP! What is the value of x and what is the value of y?

Answers

Answer:

Step-by-step explanation:

4x and 5x are supplementary, so they add up to 180.

4x + 5x = 180 and

9x = 180 so

x = 20.

Because DE and BA are parallel, then 2y and 70 degrees are alternate interior and are equal to one another.

2y = 70 so

y = 35

a basket contains 20 green apples and 30 red apples if a piece of fruit is selected at random from the basket what is the probability that it will not be a red apple

Answers

Answer:

because

most people like green apples

Which statement is true regarding the graphed functions?
f(4) = g(4)
f(4) = g(-2)
f2) = g(-2)
f(-2) = g(-2)
Answer ASAP​

Answers

Answer: f(2) = g(-2)

Step-by-step explanation: f(x) line if u go to the x axis you see that it’s 2 the x intercept.....

The g(x) line you go to the x axis and see it is -2, that is the x intercept

y=sin 20 find the period

Answers

Answer:

In most cases u are either given the value of "t" or the question would be written this way: y=sin20t where as, when comparing we would get the exact value of T(period) at the end

3. An acute triangle with angles measuring 60 degrees,62°, and 58 degrees,

Possible or impossible

Answers

Answer:

Possible

Step-by-step explanation:

Find the value of 8 to the 3rd power divided by 8 squared multiplied by 4 squared.

Answers

Answer:

0.5

Step-by-step explanation:

8^3 = 512

(8^2)*(4^2) = 1024

512/1024 = 0.5

MAKE AN EQUATION, solve it.
A man has $0.70 in dimes and nickels. He has 8 coins altogether. How many nickels does he have?

Answers

Answer:

Number of nickels: 2,

Number of dimes: 6

Step-by-step explanation:

Say d ⇒ number of dimes, n ⇒ number of nickels; from this we can formulate two equation knowing the cost per dime ⇒ $ 0.1, and the cost per nickel ⇒ $0.05

d + n = 8,

0.1 * d + 0.05 * n = 0.7 ⇒ Let us solve through substitution

d = 8 - n into 0.1 * d + 0.05 * n = 0.7,

0.1 * ( 8 - n ) + 0.05 * n = 0.7,

0.8 - 0.1 * n + 0.05 * n = 0.7,

0.8 - 0.1n + 0.05n = 0.7,

- 0.05n = - 0.1,

Number of nickels: 2Now let us substitute this value into the first equation as to solve for d, dimes

d = 8 - 2,

Number of dimes: 6

plz hurryA 3-column table with 6 rows. Column 1 is labeled Number Rolled with entries 1, 2, 3, 4, 5, 6. Column 2 is labeled Observed Frequency with entries 10, 12, 10, 10, 8, 10. Column 3 is labeled Relative frequency with entries StartFraction 1 over 6 EndFraction, A, StartFraction 1 over 6 EndFraction, StartFraction 1 over 6 EndFraction, B, StartFraction 1 over 6 EndFraction. A number cube is rolled 60 times. The results of those 60 trials are recorded in the table. Complete the table. A = B =

Answers

Answer:

The complete table is shown below.

Step-by-step explanation:

The data provided is:

Number Rolled       Observed Frequency       Relative frequency

          1                                     10                                [tex]\frac{10}{60}=\frac{1}{6}[/tex]

         2                                     12                                [tex]\frac{12}{60}=\frac{1}{5}[/tex]

         3                                     10                                [tex]\frac{10}{60}=\frac{1}{6}[/tex]

         4                                     10                                [tex]\frac{10}{60}=\frac{1}{6}[/tex]

         5                                      8                                [tex]\frac{8}{60}=\frac{2}{15}[/tex]

         6                                     10                                [tex]\frac{10}{60}=\frac{1}{6}[/tex]

    TOTAL                                60                                     1

The complete table is shown above.

Answer:

A= 1/5

B.2/15

Step-by-step explanation:

trust me i got it right on edg

A circle is cut into congruent sections and arranged to form a figure that approximates a parallelogram. Find the approximate height of the figure when its area is 12.25π square centimeters.

Answers

Answer:

The height is 3.43 centimeters, approximately.

Step-by-step explanation:

Notice that there are 16 pieces from the circle, which means each sector has an angle of

[tex]\theta = \frac{360\°}{16}=22.5\°[/tex]

Where all sectors have equal area.

Now, the area of the whole circle is [tex]12.25 \pi \ cm^{2}[/tex], if we use the formula of its area, we'll find the radius of the circle

[tex]A= \pi r^{2}\\ 12.25\pi = \pi r^{2}\\ r=\sqrt{12.25} \approx 3.5[/tex]

Notice that each piece works as an isosceles triangle, because each side is the radius, that is, they have the same length. So far, we know the sides of the isosceles triangle and one internal angle.

To find the height of the one piece, we need to use trigonometric reasons, because the height divides a triangle in two equal right triangles.

[tex]cos(11.25\°)=\frac{h}{3.5}\\ h=3.5 \times cos(11.25 \°)\\h \approx 3.43[/tex]

Therefore, the height is 3.43 centimeters, approximately.

Someone please help me

Answers

Answer:

3/2

Step-by-step explanation:

Since the lines goes through the point (0,0)

We have a point (2,3)

The slope is y/x = 3/2

Ana is saving to buy a bicycle that costs $135. She has saved $98 and wants to know how much more money she needs to buy the bicycle.The equation 135 = x + 98 models this situation, where x represents the additional amount of money Ana needs to buy the bicycle... When substituting for x, which value(s), if any, from the set {0, 37, 98, 135, 233} will make the equation true? *

Answers

Answer:

37

Step-by-step explanation:

135-98 equals 37

Find the volume of the triangular prism.

Answers

Answer:

225/4 sqrt(3) in ^3

Step-by-step explanation:

The volume is found by

V = Bh

The B is the triangle

B = s^2 sqrt(3)/4

  = 5^2 sqrt(3)/4

  25/4  sqrt(3)

We know the height is 9

V =  25/4  sqrt(3) *9

V = 225/4 sqrt(3)

this is approximately 97.42785793 in^3

PLEASE HELP!!! Due very soon!! - The graph below represents the height of a football pass, in feet, x seconds after it is thrown. Which of the following best describes the interpretation of f(2) ?
I think it is either b or c. Please tell me which is correct!!! Pls!!!

Answers

Answer:

The answer is D.

Step-by-step explanation:

By the time 4 seconds has passed, the line is at the bottom of the graph, which represents the time the ball has landed. I hope this helps.

What is the definition of exponential growth?
A. A condition in which a quantity decreases at a steady rate
B. A condition in which a quantity increases at a steady rate
C. A condition in which a quantity increases at a rate that is
proportional to the current value of the quantity
D. A condition in which a quantity decreases at a rate that is
proportional to the current value of the quantity

Answers

Answer:

C. A condition in which a quantity increases at a rate that is

proportional to the current value of the quantity

Step-by-step explanation:

Exponential growth is increasing, but not at a steady rate. On a graph, it has a curve instead of being a straight line.

When a higher confidence level is used to estimate a proportion and all other factors involved are held constant

Answers

Options :

A) the confidence interval will be wider.

B) the confidence interval will be narrower.

C) there is not enough information to determine the effect on the confidence interval.

D) the confidence interval will be less likely to contain the parameter being estimated.

E) the confidence interval will not be affected.

Answer: A) The confidence interval will be wider

Step-by-step explanation: In statistics, When a higher confidence interval is used to estimate a proportion with other factors being held constant, the confidence interval will be wider. Since the confidence interval is aimed at tweaking the precision of our measurement or estimation, when we adopt a higher confidence level, we are trying g to reduce our chances of being wrong and hence increasing our precision and thus widening the level of confidence in the result obtained. That said, 95% confidence interval is wider than 90%. And 99% is wder than 95%.

Evaluate l-a21, given a = 5, b=-3, and c= -2.
-10
10
-25
25

Answers

Answer:

10

Step-by-step explanation:

assuming those are meant to be absolute value brackets you have -5 x 2 which is -10 but because it is in the absolute value lines all answers become positive =10

Factor completely. 10x^3 + 2x^2 + 5x + 1

Answers

Answer:

(5x+1)(2x^2+1)

Step-by-step explanation:

Add and subtract the second term to the expression and factor by grouping.

An investor invested a total of ​$900 in two mutual funds. One fund earned a 7​% profit while the other earned a 4​% profit. If the​ investor's total profit was ​$51​, how much was invested in each mutual​ fund? The amount invested in the mutual fund that earned 7​% was?

Answers

Answer:

y = 400 (amt invested at 4%)

x = 500 (amt invested at 7%)

Step-by-step explanation:

Kindly check attached picture for detailed explanation

(−2)(−2)+4 is equal to

Answers

Answer:

8

Step-by-step explanation:

[-2][-2]=-2 x-2=4

4+4=8

833 ÷ 64 showing remainders

Answers

Answer:

13.015625

Step-by-step explanation:

Answer:

13 remainder 1.

I have attached the work to your question.

Please see the attachment below.

I hope this helps!

Find the value of x in the figure below:
a. 20
b. 60
c. 180
d. 40

Answers

Answer:

d. 40

Step-by-step explanation:

2x + x +( x + 20) have to all equal 180 degrees in a triangle.

2x + x + x + 20 = 180

2x + 2x + 20 = 180

4x + 20 = 180

4x = 180 - 20

x = (180-20) / 4

x = 160 / 4

x = 40

Answer:

D. 40

Step-by-step explanation:

This is the answer that was right for me, I just did this question :) Hope this helps! :D

Other Questions
what is char antonym? Photons with shorter wavelengths have largeroA. colorB. amplitudec. energyD. speedSUBMIT write the linear function if f(0)=5 and f(2)=35 When the Supreme Court, in Gideon v. Wainwright, ruled Clarence Gideon was to be appointed legal counsel, they incorporated that right to all people. What mechanism allows the Supreme Court to do this?A)The Supreme Court uses the due process clause of the 14th Amendment to incorporate the Bill of Rights on the states.B)The Supreme Court uses their Article III powers to incorporate the Bill of Rights for all citizens of the United States.C)The Supreme Court uses the equal protection clause of the 14th Amendment to incorporate the Bill of Rights on the states.D)The Supreme Court uses the citizenship clause of the 14th Amendment to incorporate the Bill of Rights for all citizens of the United States. Presented below is selected information for Sandhill Company. Answer the questions asked about each of the factual situations. (Do not leave any answer field blank. Enter 0 for amounts.) 1. Sandhill purchased a patent from Vania Co. for $1,190,000 on January 1, 2018. The patent is being amortized over its remaining legal life of 10 years, expiring on January 1, 2028. During 2020, Sandhill determined that the economic benefits of the patent would not last longer than 6 years from the date of acquisition. What amount should be reported in the balance sheet for the patent, net of accumulated amortization, at December 31, 2020? To solve for 10t = -30 + 5t, first subtract ?from both sides. What are the coordinates closest to the park?A) -4,-4B) -4,6C). 4,4D) 4,-6 Just give me the answer no expiation. A physicist is investigating a beam of laser light of wavelength 550 nm. The light strikes a target that is 189 meters away from the source of the light. What is the travel time of the light from the source to the target? Let the speed of light c = 3.00 10^8 m/s. How did The union had an agricultural advantage over the confederacy during the civil war because farms in the north? can Julie win if she reads 8 books Help ASAP!!What is the volume of our planet if we assume that it is a sphere with the radius 3, 950miles? Round your answer to the nearest integer, use 3.14 for you calculations. The diagram shows Virginias watersheds.Which watershed is the largest in Virginia?JamesYadkinChowanBig Sandy Successful art uses the visual language to express something universal and helps us see the big picture Who did Ancient Hebrews believe to there original founding ancestors ASAP! GIVING BRAINLIEST! Please read the question THEN answer CORRECTLY! NO guessing. Show your work OR give an explaination. 4. The dimensions of a triangular pyramid are shown below. The height ofthe pyramid is 6 inches. What is the volume in cubic inches?--------------15 in What is the answer QUICK WRITE Do you think professional sports should still be playing during the pandemic? Many functions of the nervous system require you to think about them to make them happen and are called ____ ? A small particle with positive charge q = +4.25 x 10^-4C and mass m = 5.00 x 10^-5 kg is moving in a region of uniform electric and magnetic fields. The magnetic field is B=4.00 T in the +z-direction. The electric field is also in the +z-direction and has magnitude E = 60.0 N/C. At time t = 0 the particle is on the y-axis at y = +1.00 m and has velocity v = 30.0 m/s in the +x-direction. Neglect gravity.a) What are the x-, y-, and z-coordinates of the particle at t = 0.0200 s?b) What is the speed of the particle at t = 0.0200 s?