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
Someone please help me figure this question out!!
rosijanka [135]
If you subtract 1.1 from 5.8 you will end up with 4.7
then you subtract 10^7 from 10^8 which will give you 10^1 
then you add the seven back which will give you your answer of 
4.7 10^8
3 0
3 years ago
What is negative thirty divided by three
Phoenix [80]

Answer:

The answer is -10

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
How many 8-ounce cups can you fill from 9 gallons of juice
Anastasy [175]
1 gallon = 4 quarts
1 quart = 32 ounces
1 gallon = 128 ounces
9 gallons = 1,152 ounces
Filling 8 ounce cups = 1,152 / 8 = 144 cups
3 0
3 years ago
The mayor of a town has proposed a plan for the construction of a new community. A political study took a sample of 800 voters i
Hunter-Best [27]

Answer:

A political strategist wants to test the claim that the percentage of residents who favor construction is more than  30%, so then that represent our claim and needs to be on the alternative hypothesis.

Based on this the correct system of hypothesis are:

Null hypothesis: p \leq 0.3

Alternative hypothesis p >0.3

Step-by-step explanation:

We have the following info given from the problem:

n= 800 the random sample of voters selected from the town

\hat p = 0.34 represent the proportion of residents favored construction

p_o = 0.30 represent the value desired to test.

A political strategist wants to test the claim that the percentage of residents who favor construction is more than  30%, so then that represent our claim and needs to be on the alternative hypothesis.

Based on this the correct system of hypothesis are:

Null hypothesis: p \leq 0.3

Alternative hypothesis p >0.3

And in order to test this hypothesis we can use a one sample z test for a population proportion and the statistic would be given by:

z=\frac{\hat p -p_o}{\sqrt{\frac{p_o (1-p_o)}{n}}} (1)  

And with the data given we have:

z=\frac{0.34 -0.3}{\sqrt{\frac{0.3(1-0.3)}{800}}}=2.469  

7 0
3 years ago
Please please please help me
Kazeer [188]

Answer:

2nd option

Step-by-step explanation:

Under a reflection in the x- axis

a point (x, y ) → (x, - y ) , then

P (- 8, 1 ) → P' (- 8, - 1 )

Q (- 6, - 8 ) → Q' (- 6, 8 )

R (4, - 3 ) → R' (4, 3 )

5 0
3 years ago
Other questions:
  • How to find the x with trig functions
    9·1 answer
  • A randomly selected sample of college basketball players has the following heights in inches. See Attached Excel for Data. Compu
    13·1 answer
  • I know this stuff but D is hard
    9·2 answers
  • Lenders rely on credit scores to determine _____. loan repayment length all terms of a loan risk loan amounts
    8·1 answer
  • Which equation shows the substitution method being used to solve the system of linear equations?
    6·1 answer
  • Help, what are the angles?
    15·2 answers
  • 7(x-7)+9 (4+4x)<br> Please help
    13·2 answers
  • Which statements are correct for all values of x?
    12·1 answer
  • HELP PLEASE<br> here’s the question
    10·2 answers
  • Determine the number of solutions of this equation. Show your work and explain your reasoning.
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!