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
dezoksy [38]
2 years ago
8

"Nya plans these steps before coding in a program.

Mathematics
1 answer:
Scrat [10]2 years ago
4 0

The program would display "n = 3" as output based on Nya's steps.

<h3>What is a pseudocode?</h3>

A pseudocode simply refers to a description of the steps contained in an algorithm, especially through the use of a plain (natural) language.

<u>Note:</u> π is equal to 3.14.

Since Nya assigns π, which isn't an integer, the program would determine the integer (n) as follows:

x - 1 < n < x

π - 1 < n < π

Substituting the parameter (3.14) into the formula, we have;

3.14 - 1 < n < 3.14

2.14 < n < 3.14

n = 3.

Read more on pseudocode here: brainly.com/question/13208346

#SPJ1

You might be interested in
which expression represents the distance between the two points x and y on the number line -4 and 3
Alika [10]
It would have to be 3 because distance can't be a negative number.
4 0
3 years ago
Read 2 more answers
Expansion Numerically Impractical. Show that the computation of an nth-order determinant by expansion involves multiplications,
posledela

Answer:

  • number of multiplies is n!
  • n=10, 3.6 ms
  • n=15, 21.8 min
  • n=20, 77.09 yr
  • n=25, 4.9×10^8 yr

Step-by-step explanation:

Expansion of a 2×2 determinant requires 2 multiplications. Expansion of an n×n determinant multiplies each of the n elements of a row or column by its (n-1)×(n-1) cofactor determinant. Then the number of multiplies is ...

  mpy[n] = n·mp[n-1]

  mpy[2] = 2

So, ...

  mpy[n] = n! . . . n ≥ 2

__

If each multiplication takes 1 nanosecond, then a 10×10 matrix requires ...

  10! × 10^-9 s ≈ 0.0036288 s ≈ 0.004 s . . . for 10×10

Then the larger matrices take ...

  n=15, 15! × 10^-9 ≈ 1307.67 s ≈ 21.8 min

  n=20, 20! × 10^-9 ≈ 2.4329×10^9 s ≈ 77.09 years

  n=25, 25! × 10^-9 ≈ 1.55112×10^16 s ≈ 4.915×10^8 years

_____

For the shorter time periods (less than 100 years), we use 365.25 days per year.

For the longer time periods (more than 400 years), we use 365.2425 days per year.

8 0
3 years ago
On a workday, the average decibel level of a busy street is 70 db, with 100 cars passing a given point every minute. if the numb
nignag [31]
70dB is represented by 100cars in 60sec. Therefore if the number of cats is reduced by 3/4 in the same amount of time(60s), then the decibel level will reduce by 3/4 also. So 70dB * .25= 17.5dB
4 0
3 years ago
There are 6 red marbles, 5 green marbles, and 4 yellow marbles in a bag. If Joe picks 2 marbles one after the other without repl
lapo4ka [179]
The probability that both marbles will be a red color is:
 
    6.....    ⇔ number that satisfies the constraint
_____
   15.....    ⇔ number of outcomes
4 0
3 years ago
HELP WITH THIS QUESTION PLS
umka21 [38]

Answer:

Step-by-step explanation:

                  Statements                                   Reasons

1). ∠CXY ≅ ∠BXY                             1). Given

2). ∠CAX ≅ ∠BAX                            2). Given

3). AC ≅ AB                                      3). Given

4). AX ≅ AX                                      4). Reflexive property

5). ΔAXC ≅ ΔAXB                            5). SAS property of congruence

6). CX ≅ BX                                      6). CPCTC

7). XY ≅ XY                                       7). Reflexive property

8). ΔYXB ≅ ΔYXC                             8). SAS property of congruence

9). ∠XCY ≅ ∠XBY                             9). CPCTC  

8 0
3 years ago
Other questions:
  • resturant sales totaled 38676 for a week your customer count was 7325 what did the average customer spend for the week
    14·1 answer
  • lincoln high school has 98 teachers. of them 48 teachers, 9 of them teach math. one-fifth of them teachers teach math
    13·2 answers
  • Please complete the attachment attached below
    9·2 answers
  • Write the equation of the line that contains (8,0) and is parallel to the line -3x+4y=4
    8·1 answer
  • 19. Lavina wants to buy a rocking chair for $160. She will pay 10% down and pay the rest in six monthly installments. What will
    10·1 answer
  • Thomas made 8700mL of tomato soup. He packed 1.6L of the soup in his kids' lunches. He then froze half of the remaining soup. Ho
    12·1 answer
  • Write the number that is poitioned at point b
    8·2 answers
  • Can someone help don’t rlly understand this
    10·1 answer
  • The perimeter of a triangle is 23 cm. All the side lengths are integers. If one side measures 5 cm, what is the length of the la
    8·2 answers
  • From this year to ten years, the number of people employed as physician assistants in the country is expected to increase by 39%
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!