answer.
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
kaheart [24]
2 years ago
7

Problem 1: Red, Green or Blue? One of the truly fascinating things about the world is that it’s infinite. What do we mean by thi

s? As an example, we could ask you how many shades of yellow there are, and you’d soon realize there are an infinite number of them. Because computers don’t have an infinite amount of storage space, they have to approximate the natural world. For colors, they most often use an additive color model comprised of (R)ed, (G)reen and (B)lue. They store these values either as a floating point number 0.0 – 1.0 (fully off to fully on), or an integer between 0 to 255. Your task is to:

Mathematics
1 answer:
anzhelika [568]2 years ago
6 0

Answer:

the complete question is found in the attachment

Step-by-step explanation:

pseudocode

1)start

2)Ask the user to enter value for red color in range 0-255 and store it in red_val

3)Ask the user to enter value for green color in range 0-255 and store it in green_val

4)Ask the user to enter value for blue color in range 0-255 and store it in blue_val

5) compute new range of red as red_val/255

6) compute new range of green as green_val/255

7) compute new range of blue as blue_val/255

8) display the new values for red, green and blue color

9)Stop

execution

if user input is

red:101

green:67

blue:33

computed values will be

red_val : 101/255 = 0.396

green_val : 67/255 = 0.263

blue_val : 33/255 = 0.129

You might be interested in
Two solutions of different concentrations of acid are mixed creating 40 mL of a solution that is 32% acid. One-quarter of the so
Sever21 [200]
Taking the 3 solutions as 3 different terms, we can create an equation as follows:

Solution 1 : 10mL with 20% acid
Solution 2 : 30mL with x% acid
Solution 3 : 40mL with 32% acid

Since solution 1 + solution 2 = solution 3, let us substitute the given values we have:

10(0.2) + 30(x) = 40(0.32)
2 + 30x = 12.8

To solve for the unknown concentration x, we subtract 2 from both sides:
2 + 30x - 2 = 12.8 - 2
30x = 10.8

Dividing both sides by 30:
30x/30 = 10.8/30
x = 0.36

Therefore the unknown solution is 36% acid.
4 0
1 year ago
Read 2 more answers
Ahmed has five more CDs than one-half the number of CDs Julia has. In this situation, what does c+ 5 represent?
KonstantinChe [14]
The c+5 should represent the five more cds that he has thats more than julias

6 0
2 years ago
Read 2 more answers
Chuck has a gross pay of $815.70. By how much will Chuck’s gross pay be reduced if he has the following items withheld? federal
tangare [24]

Chuck has a gross pay of $815.70. His gross pay will be reduced by:

  • Federal tax of $56;
  • Social Security tax that is 6.2% of his gross pay;
  • Medicare tax that is 1.45% of his gross pay;
  • State tax that is 19% of his federal tax.

Let's count:

1. gross pay of $815.70 - 100%,

Social Security tax of $x - 6.2%.

Then

\dfrac{815.70}{x}=\dfrac{100}{6.2} ,\\ \\815.70\cdot 6.2=x\cdot 100,\\ \\x=\dfrac{815.70\cdot 6.2}{100} =50.5734.

2. gross pay of $815.70 - 100%,

Medicare tax of $y - 1.45%.

Then

\dfrac{815.70}{y}=\dfrac{100}{1.45} ,\\ \\815.70\cdot 1.45=y\cdot 100,\\ \\y=\dfrac{815.70\cdot 1.45}{100} =11.82765.

3. Federal tax of $56 - 100%,

State tax $z - 19%.

Then

\dfrac{56}{z}=\dfrac{100}{19} ,\\ \\56\cdot 19=z\cdot 100,\\ \\z=\dfrac{56\cdot 19}{100} =10.64.

4. Chuck’s gross pay will be reduced by

\$56+\$50.5734+\$11.82765+\$10.64=\$129.04105\approx \$129.04.

3 0
2 years ago
Read 2 more answers
What would you see at the wedding of Betty Crocker and the pillsbury dough boy
Mrrafil [7]
Cake
Biscuits
Sugar
Flour
3 0
2 years ago
Anton will be constructing a segment bisector with a compass and straightedge, while Maxim will be constructing an angle bisecto
Genrish500 [490]

The similarities are;

  • Compass and a straight edge required for both construction
  • Both construction includes a line drawn from the intersection of arcs to bisect a segment or an angle
  • The bases for the construction of both bisector are the ends of segment and the angle to be bisected
  • The width of the compass when drawing intersecting arcs, is more than half the width of the segment or angle being bisected

The differences are;

  • Two points of intersection of arcs are used in the segment bisector while only one is requited in an angle bisector
  • The bisecting line crosses the segment in a segment bisector, while it stops at the vertex of the angle being bisected in an angle bisector

The sources of the above equations are as follows;

The steps to construct a segment bisector are;

  • Place the needle of the compass at one of the ends of the line segment to be bisected
  • Widen the compass so as to extend more than half of the length of the segment to be bisected
  • Draw two arcs, one above, and the other below the line
  • Place the compass needle at the other end and with the same compass width draw arcs that intersects with the arcs drawn in the above step
  • Draw a line segment by placing the ruler on the points of intersection of the arcs above and below the line

The steps to construct an angle bisector are;

  • With the compass needle at the vertex, open the pencil end such that arcs can be drawn on the rays (lines) forming the angle
  • Draw an arc on both lines forming the angle
  • Place the compass needle at one of the intersection points and draw an arc in between the lines forming the angle
  • Repeat the above step with the same compass width from the other intersection point with the rays forming the angle
  • Join the point of intersection of the two arcs to the vertex of the angle to bisect the angle

Therefore, we have;

The similarities are;

  • A compass and a straight edge can be used for both construction
  • A straight line is drawn from the point of intersection of arcs to bisect the segment or the angle
  • The arcs are drawn from the ends of the segment or angle to be bisected
  • The width of the compass is more than half the width of the line or angle when drawing the arcs

The differences are;

  • In a segment bisector, the intersection point is above and below the line, while in an angle bisector only one pair of arcs are drawn to intersect above the line
  • The bisecting line passes through the segment being bisected, while the line stops at the vertex in an angle bisector

Learn more about the construction of segment and angle bisectors here;

brainly.com/question/17335869

brainly.com/question/12028523

7 0
1 year ago
Other questions:
  • A spinner with 4 colors is spun for a total of 50 trials. Yellow was selected 10 times. What is the experimental probability of
    14·2 answers
  • Simplify x + 2/ x^2 - 6x - 16 divided by 1/9x
    15·1 answer
  • Between which pair of decimals should 4/7 be placed on a number line?
    5·2 answers
  • 82.25% of the employees at Industrial Mechanics are college graduates. If 254 employees are college graduates, what is the total
    13·1 answer
  • The Pacific Ring of Fire is an area where the Pacific Tectonic Plate encounters other tectonic plates. Which types of encounters
    10·1 answer
  • John rode 2 kilometers on his bike. His sister Sally rode 6,000 meters on her bike. How many more kilometers did Sally ride?
    7·2 answers
  • An element with a mass of 630 grams decays by 30% per minute. To the nearest minute, how long will it be untill there are 30 gra
    11·1 answer
  • Jason knows that the equation to calculate the period of a simple pendulum is , where T is the period, L is the length of the ro
    11·1 answer
  • Determine the function which corresponds to the given graph. (3 points) a natural logarithmic function crossing the x axis at ne
    6·1 answer
  • Cei asked 80 people which mode of transport they used to get into town, out of
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!