Lesson 4: If - Else is covered in the video below. Click play on the first video to start the lesson. This lesson includes programming, so be sure to pause the videos to edit and write code in the programming environment when prompted.

Download the slides used in the videos below if you'd like to follow along.

Answers

Answer 1

Wait… what lesson? I am confused :/


Related Questions

Carolina y Juan fueron a la tienda y entre los dos se gastaron Q15.00. Carolina gastó Q3.20 más que Juan. ¿Cuánto gastó Juan? Grupo de opciones de respuesta

Answers

Answer:

Q 5.9

Step-by-step explanation:

Que el dinero gastado por Juan sea x

Deja que el dinero gastado por Carolina sea y

Si el dinero total gastado es Q 15

Luego;

x + y = 15 ------- (1)

De la segunda oración;

y = x + 3,2 -------- (2)

Sustituyendo (2) en (1)

x + x + 3,2 = 15

2x + 3,2 = 15

2x = 15 - 3,2

2x = 11,8

x = 5,9

x = Q 5.9

Por lo tanto Juan gastó Q 5.9

The bacteria population in a petri dish was 14 at the beginning of an experiment. After 30 minutes the population of 20 in after an hour the population of 56

Answers

Answer:

The answer is below

Step-by-step explanation:

A geometric sequence is a sequence such that each term after the first is found by multiplying the previous one by a fixed number (common ratio). It is given by:

[tex]a_n=ar^{n-1}\\\\n=1,2,3,\ .\ .\ .[/tex]

where a is the first term, r is the common ratio.

From the question, the first term is 14 (at n = 1). a₁ = 14

After 30 minutes (n = 2), the population is 28. a₂ = 28

After 1 hour (n = 3), the population is 56. a₃ = 56

Common ratio (r) = a₃/a₂ = a₂/a₁ = 56 / 28 = 28/14 = 2

a) This sequence is represented as:

[tex]a_n=14(2)^{n-1}[/tex]

b) After 4 hours, that is n = 9:

[tex]a_9=14(2)^{9-1}=14(2)^8=3584[/tex]

HELP QUICK PLS USIFHKDJGS

Answers

Answer:

4 x 3 = 12

2 x 3 = 6

12 + 6 = 18 cubic cm

Answer:b

Step-by-step explanation:

Find Value Of X. PLEASEEE HELP

Answers

2^( 2x - 3 ) = 128

2^( 2x - 3 ) = 2^7

2x - 3 = 7

2x = 10

x = 5

Answer:

x = 5

Step-by-step explanation:

[tex]x^{2x-3} +52 = 180\\x^{2x-3} = 180 -52\\x^{2x-3} = 128\\x^{2x-3} = 2^{7} \\2x-3=7\\2x=10\\x=10/5\\x=5[/tex]

please help!!! its due soon :)))

Answers

Answer:

C

Step-by-step explanation:

Answer:

The answer my friend is B.

2. ABCD is a parallelogram. If AD = 3x+15 and BC = 21, find AD

Answers

Answer:

2

Step-by-step explanation:

3x+15=21 (the opposite side of parallelogram is equal)

3x=21-15

3x=6

x=6/3

so x=2

AD=2

which expression is equivalent to 5+5t+3t+?

Answers

Answer:

10t+3

Step-by-step explanation:

Answer:

10t+3

Step-by-step explanation:

SOOO in math class today we learned more about algebra such as
X + 10 = Y should I care??



Like srsly miss teacher ???
lol






welp
that's lame!!

Answers

Hello there I hope you are having an great day :)

X + 10 = Y if you are trying to work out Y it would equal y  =  x  +  10

If you are trying to work out X it would equal x  =  y  −  10

Hopefully that helps You :)

Need help plz ASAP!!! Plz show work too!

Answers

Area= length x width
Area = 12 x 80
Area= 960 in
Write a paragraph describing the differences and similarities between El Sistema and The Recycled Orchestra. Describe their respective countries and situations and how they use music to escape their realities.

Azlyn can ride her horse 15.2 miles per hour. She is in an endurance race that is 76 miles
long! How long should this race take her to complete?

Answers

Step-by-step explanation:

Remember, math is a language

when you see per think fractions

15.2 miles per hour = 15.2 miles / 1 hour

since this is a fraction, Units can cancel just like numbers

To cancel miles and be left with hours rearrange the fraction

1 hour / 15.2 miles

then multiply by 72 miles

[tex] \frac{1hour}{15.2miles} \times 72miles[/tex]

the miles cancel and youre left with hours!

so youd write and solve 72 / 15.2

I REALLY NEED TO PASS THIS! PLEASE EXPLAIN UR ANSWER, THANK YOU!

Question 8 options:
A full can of vegetable broth is 17 cm tall and has a radius of 5 cm. Morgan uses some of the broth to make curry and now the broth left in the can is 12 cm high.

Morgan used approximately___ cubic centimeters of broth.

Use 3.14 for pi. Do not round your answer.

Answers

Answer:

Step-by-step explanation:bjgnjfvnifcb

Answer:

392.5cm³

Step-by-step explanation:

height of broth in can used= 17-12

= 5cm

Amt. of broth used= πr²h

= 3.14×5²×5

= 392.5cm³

Find the exact value of csc theta if tan theta = sqrt3 and the terminal side of theta is in Quadrant III.

Answers

Answer:

3rd option

Step-by-step explanation:

Using the identities

cot x = [tex]\frac{1}{tanx}[/tex]

csc² x = 1 + cot² x

Given

tanθ = [tex]\sqrt{3}[/tex] , then cotθ = [tex]\frac{1}{\sqrt{3} }[/tex]

csc²θ = 1 + ([tex]\frac{1}{\sqrt{3} }[/tex] )² = 1 + [tex]\frac{1}{3}[/tex] = [tex]\frac{4}{3}[/tex]

cscθ = ± [tex]\sqrt{\frac{4}{3} }[/tex] = ± [tex]\frac{2}{\sqrt{3} }[/tex]

Since θ is in 3rd quadrant, then cscθ < 0

cscθ = - [tex]\frac{2}{\sqrt{3} }[/tex] × [tex]\frac{\sqrt{3} }{\sqrt{3} }[/tex] = - [tex]\frac{2\sqrt{3} }{3}[/tex]

HELP ASAP!!! HELP FAST PLEEASE!!!

Answers

Answer:

e.

Step-by-step explanation:

How to measure an angle

Answers

Answer:

You can use Protector' but dint have use this method:

Acute. Draw a vertical line connecting the 2 rays of the angle. To determine the number of degrees in an acute angle, connect the 2 rays to form a triangle. Line up the short end of your ruler with the bottom ray, then draw a vertical line intersecting the other ray using the long side of your ruler.

If ABC is 160, what is DBC?
D
(X + 15)
A
(3x + 25)
B
A. 160
O B. 115°
C. 30
D. 45

Answers

Answer:

B is the answer

Step-by-step explanation:

the corrct answer is d

Question
Scientific notation is commonly used in science, technology, engineering, and math, which are known as
STEM fields. Assume there are approximately 2.6 million engineers in a country. If engineers make an
average salary of about $70,000 per year, how much income does this group generate collectively?

Write the answer in both scientific and standard notation.

Answers

Answer:

$182000000000

1.82 * 10^11

Step-by-step explanation:

Given that :

Number of engineers = 2.6 million

Average salary = $70,000

Collective income generated by group of engineers yearly :

This will be on average :

2,600,000 * 70,000 = $182000000000

In scientific notation :

$182000000000 = 182 * 1000000000

182 * 1000000000 = 182 * 10^9

182 = 1.82 * 100 = 1. 82 * 10^2

Hence,

$182000000000 = 1.82 * (10^2 * 10^9)

$182000000000 = 1.82 * 10^11

formula of simple interest​

Answers

Answer:

I = PRT where I is the interest, P is the principal deposited/borrowed, R is the rate as a decimal (take the number & divide by 100), and T is time in years.

x + (3x - 4) = 5 - (-7 - 3x)

Answers

Answer:

x = 16

General Formulas and Concepts:

Pre-Algebra

Order of Operations: BPEMDAS

Brackets Parenthesis Exponents Multiplication Division Addition Subtraction Left to Right

Distributive Property

Equality Properties

Multiplication Property of Equality Division Property of Equality Addition Property of Equality Subtraction Property of Equality

Algebra I

Terms/Coefficients

Step-by-step explanation:

Step 1: Define

Identify

x + (3x - 4) = 5 - (-7 - 3x)

Step 2: Solve for x

[Distributive Property] Distribute negative:                                                    x + 3x - 4 = 5 + 7 + 3x[Addition] Combine like terms:                                                                        4x - 4 = 12 + 3x[Subtraction Property of Equality] Subtract 3x on both sides:                      x - 4 = 12[Addition Property of Equality] Add 4 on both sides:                                     x = 16

Una botella de agua de medio decimetro cubico se llena en 35 segundos .Con el mismo flujo de agua,¿En cuantos minutos se llenaria una garrafa de 4.5 litros?

Answers

Answer:

5,250 minutes

Step-by-step explanation:

0.5 cubic Centimeter = 0.0005 liter

So, 4.5 liters = 4,500 cubic Centimeter

Time required for 0.5 cubic Centimeter = 35 seconds

So, we can calculate the total time required by using following formula

Total time required = (Time required for 0.5 cubic Centimeter × 2 ) × 4,500 cubic Centimeter

So, Total time required = (35 seconds ×2 ) × 4,500

= 70 × 4,500

= 315,000 seconds

= 5,250 minutes

If you add the digits in a number, how many numbers between 0 and 10,000 will have a sum of 10? (For example, 334 is one such number because 3 + 3 + 4 = 10)

Answers

Answer: I think 100,000

Step-by-step explanation:

What is the value of the expression 99 – 7a2 when a a = 3?

Answers

Answer:

36

Step-by-step explanation:

plug in a=3 for a

I belive you meant 99- 7 * a^2

so 99- 7 * (3)^2 = 36

The value of the expression  99 - 7a² for a = 3 is 36.

What is an algebraic expression?

In mathematics, an expression that incorporates variables, constants, and algebraic operations is known as an algebraic expression.

The given expression is 99 - 7a².

Substitute a = 3 into the given expression:

99 - 7 (3)²

= 99 - 7×9

= 99 - 63

= 36

Hence, the value of the expression  99 - 7a² for a = 3 is 36.

Learn more about algebraic expressions here:

https://brainly.com/question/953809

#SPJ6

There are 11 teachers and 132 students at a middle
school. What is the ratio of teachers to students?

Answers

Answer:

[tex]\frac{1}{12}[/tex] or 1:12

Step-by-step explanation:

There are 11 teachers : 132 students

Because ratios are just another way of writing fractions, by putting this into a fraction we get:

[tex]\frac{11}{132}[/tex]

Dividing both the numerator and denominator (top and bottom) by 11, we get:

[tex]\frac{1}{12}[/tex]

Thus, the ratio is [tex]\frac{1}{12}[/tex], or 1:12

8. How is the graph of log (x - 2) + 1 translated from the graph of log x?
shifted right 2 units and up 1 unit
shifted right 1 unit and down 2 units
shifted left 1 unit and down 2 units
shifted left 2 units and up 1 unit

Answers

Two to the right and one up

If a circle has a radius of 16, and an arc length of 12, what is the angle measure of the central angle that matches that arc?

Answers

Answer:

135°

Step-by-step explanation:

The arc length is calculated as

EF = circumference of circle × fraction of circle

     = 2πr × [tex]\frac{?}{360}[/tex]

Given EF = 12π , then

2π × 16 × [tex]\frac{?}{360}[/tex] = 12π ( divide both sides by 2π )

16 × [tex]\frac{?}{360}[/tex] = 6 ( multiply both sides by 360 to clear the fraction )

16 ? = 2160 ( divide both sides by 16 )

? = 135°

Match the formula to the correct figure.
We got- cylinder, cube, cone, and pyramid.
1. πxr^2xh
2. 1/3Bxh
3. 1/3 πxr^2xh
4. Lxwxh

No bit links plz. 15 points.

Answers

Given:

The figures cylinder, cube, cone, and pyramid.

To find:

The formula of volume for the given figures.

Solution:

Volume of a cylinder is:

[tex]V_1=\pi r^2h[/tex]

Where r is the radius and h is the height.

Volume of a cube is:

[tex]V_2=a^3[/tex]

Where a is side length of cube.

It is also written as:

[tex]V_2=l\times w\times h[/tex]

Where l is length, w is width, h is height and [tex]l=w=h[/tex].

Volume of a cone is:

[tex]V_3=\dfrac{1}{3}\pi r^2h[/tex]

Where r is the radius and h is the height.

Volume of a pyramid is:

[tex]V_4=\dfrac{1}{3}Bh[/tex]

Where B is the base area and h is the height.

Therefore the table of formulae is shown below:

Figure                       Volume formula

Cylinder                   [tex]\pi r^2h[/tex]

Cube                        [tex]l\times w\times h[/tex]

Cone                        [tex]\dfrac{1}{3}\pi r^2h[/tex]

Pyramid                    [tex]\dfrac{1}{3}Bh[/tex]

A survey of teens suggested that 33% can name at least one professional baseball player, and 90% of those teens can also name at least one professional football player. In the entire population, 64% can name at least one professional football player. What percentage of teens can name at least one player from these sports? (0.33)(0.64) = 0.2112 0.33 + 0.64 = 0.97 0.33 + 0.64 – (0.33)(0.64) = 0.7588 0.33 + 0.64 – (0.90)(0.33) = 0.673

Answers

Answer:

[tex]d.\ 0.33 + 0.64 – (0.90)(0.33) = 0.673[/tex]

Step-by-step explanation:

Given

[tex]P(Baseball) = 33\%[/tex]

[tex]P(Baseball\ n\ Football) = 90\%[/tex]

[tex]P(Football) = 64\%[/tex]

Required

[tex]P(Baseball\ or\ Football)[/tex]

This is calculated as:

[tex]P(Baseball\ or\ Football) =P(Baseball) + P(Football) -P(Baseball\ n\ Football)[/tex]

[tex]P(Baseball\ or\ Football) = 0.33 + 0.64 - (0.90)(0.33)[/tex]

[tex]P(Baseball\ or\ Football) = 0.33 + 0.64 - 0.297[/tex]

[tex]P(Baseball\ or\ Football) = 0.673[/tex]

In 1945, a microwave cost $435. Today, a microwave costs $130. What is the percent of change?

Answers

Answer:

29.89%

Step-by-step explanation:

Step 1: We assume that 435 is 100% since it is our output value.  

Step 2: We next represent the value we seek with [tex]$x$[/tex].  

Step 3: From step 1, it follows that [tex]$100\%=435$[/tex].  

Step 4: In the same vein, [tex]$x\%=130$[/tex].  

Step 5: This gives us a pair of simple equations:  

[tex]100\%=435(1)\\\\x\%=130(2)[/tex]  

Step 6: By simply dividing equation 1 by equation 2 and taking note of the fact that both the LHS  (left-hand side) of both equations have the same unit (%); we have  

[tex]$\frac{100\%}{x\%}=\frac{435}{130}$[/tex]  

Step 7: Taking the inverse (or reciprocal) of both sides yields  

[tex]\frac{x\%}{100\%}=\frac{130}{435}\\\\\Rightarrow x=29.89\%[/tex]  

Therefore, [tex]$130$[/tex] is [tex]$29.89\%$[/tex] of [tex]$435$[/tex].

two Friends have agreed to do a job with pace $2,000 total together there receive apart payment Of 0.25 Of the total amount How much of part payment should reach friend receive ,if they split it equally?

A.$250
B.500
C.$1000
D.1500​

Answers

Well if they’re getting a quarter of it, they’re receiving 500, 500 divided by 2 is 250 so I would guess A

PROBABLY THE LAST THING IMA ASK FOR NOW BUT UH HELP

Answers

Answer:

3520 Yards

Step-by-step explanation:

1 Mile = 1760 Yards

Answer: 3520 yards

Step-by-step explanation:

1 mile = 5280 x 2 = 10,560

2miles = 10,560

in yards = 3520 yards

please help me out thank you . ill mark u brainlist

Answers

Answer:

C

Step-by-step explanation:

Use Desmos graphing calculator

Answer:

C. y = 3x + 1

Step-by-step explanation:

The slope can be found by finding two points and the distance in between, which is 3 (rise) over 1 (run). The line passes through the point (0,1), which would be the y-intercept.

Other Questions
Which two changes would decrease the gravitational force between twoobjects?A. Increase the distance between the objects.B. Increase the mass of one of the objects.C. Decrease the distance between the objects.D. Decrease the mass of one of the objects.E. Increase the mass of both objects. IVO1. (12.01 LC)What is an example of a physical characteristic that scientists use to group animals?(2 points)A. Has feathersB. Lives on landC. Has a social languageD. Takes care of their young I need help with this what was the most significant effect of U-boat attacks on the fighting on land ? They kept soldiers from the front lines.They killed many soldiers.They created a sales mate.They destroyed vital supplies. Find the line of inclination of the line if its slope is -3 A cable is 30 meters long. How long is the cable in decimeters? Determine the molarity and mole fraction of a 1.09 m solution of acetone (CH3COCH3) dissolved in ethanol (C2H5OH). (Density of acetone Find the sum and Express it in simplest form. (u^3+3u^2+3) + (-6u^3-8u^2) The Astros scored 4 touchdowns worth 7 points eachThey also scored 3 field goals worth 3 points each.The Rams scored 5 touchdowns and I field goal.Who won the game? 2. Which statement correctly describes pathogens?A. They are always bacteria.B. They are in your body only when you are sick.C. They break down dead organisms.D. They cause disease. A bookcase has a mass of 20 kilograms. A book in the bookcase has a mass of 500 grams.How many books of the same mass would it take to equal the mass of the bookcase?Enter your answer in the box what is 1/2+3/4 as a fraction? Please Helppppp!!!!!!! 7.A. [tex]y=\frac{1}{3}x^2, y=-9x^2, y=-\frac{1}{2}x^2[/tex] B. [tex]y=-\frac{1}{2}x^2, y=\frac{1}{3}x^2, y=-9x^2[/tex] C. [tex]y=-9x^2, y=\frac{1}{3}x^2, y=-\frac{1}{2}x^2[/tex] D. [tex]y=\frac{1}{3}x^2, y=-\frac{1}{2}x^2, y=-9x^2[/tex] Describe west African art and traditions Completa el espacio en blanco con la forma correcta del verbo.Mis padres desean que yo _________ sus reglas. (entender)entiendoentiendaentendoentenda A charity says, For every pound you give, we spend 75p on charity work, 24p on advertising and 1p on office work.Hassan gives 150 to the charity.How much of this will be spent on office work? James' grades on his last five tests were 93, 95, 89, 95, and 100. What does he need to make on his last test to have a mean (average) of exactly 95? Which fraction is equal to 7/-9? A. -7/9 B. -7/-9 C. 7/--9 D. --7/9 Mark congruent angles. Write down the ratios. The author's purpose in this passage is BEST shown byA) his many examples of fossils.B) his enthusiasm for the subject.) his use of technical terminology.D) his arguments with paleontologists.