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
forsale [732]
3 years ago
9

Associate the average of the numbers from 1 to n (where n is a positive integer value) with the variable avg.

Mathematics
1 answer:
Kaylis [27]3 years ago
5 0
This is a simple programming question. To calculate the average of any two numbers, where one number is 1 and the other is n, simply add the two numbers and divide by 2. Therefore, the answer is:
<span>avg = (1 + n) / 2</span> 
You might be interested in
The coordinates below represent a triangle that was dilated with a factor of 2/3
Ierofanga [76]

Answer:

(−2, 3)

Step-by-step explanation:

4 0
3 years ago
A stock has a return of -$1.26 per day. Find the number of days until the total return is -$10.08.
ikadub [295]

Answer: 8

Step-by-step explanation: You can use division to solve.

7 0
3 years ago
Read 2 more answers
There was a population of 80 fish in a National Park. After a year, the population increased by 5%. How many fish are there in t
Vaselesa [24]

Answer Its 84

Step-by-step explanation:

80 plus 5% equals 84%  

Pls ad my in Brainliest! :)

8 0
3 years ago
Last PreCalc Question, Need help with writing piecewise functions with graphs. Giving brainliest!
LekaFEV [45]

The piece-wise linear functions can be written as follows:

  • f(x) = x, x \leq -2.
  • f(x) = -x - 7, -2 < x \leq 1.
  • f(x) = 2x - 9, x > 1.

<h3>What is a linear function?</h3>

A linear function is modeled by:

y = mx + b

In which:

  • m is the slope, which is the rate of change, that is, by how much y changes when x changes by 1.
  • b is the y-intercept, which is the value of y when x = 0, and can also be interpreted as the initial value of the function.

For x equal or less than -2, the line passes through (-3,-3) and (-2,-2), hence the rule is:

f(x) = x, x \leq -2.

For x greater than -2 up to 1, the y-intercept is of -7, and the line also passes through (1,-8), hence the rule is:

f(x) = -x - 7, -2 < x \leq 1.

For x greater than 1, the function goes through (2,-5) and (3,-3), hence the slope is:

m = (-3 - (-5))(3 - 2) = 2.

The rule is:

y = 2x + b.

When x = 2, y = -5, hence:

-5 = 2(2) + b

b = -9.

Hence:

f(x) = 2x - 9, x > 1.

More can be learned about linear functions at brainly.com/question/24808124

#SPJ1

5 0
2 years ago
The variable in a relation who’s value depends on the value of the independent variable is called what?
Viefleur [7K]
That is called the dependent variable. It depends upon the value of the independent variable.

f(x)=y

So we can see by inspection that the dependent variable y value depends upon the input value of the independent variable x

Any questions please feel free to ask. Thanks
3 0
3 years ago
Other questions:
  • Suppose that 12% of all males suffer some form of color blindness.
    8·1 answer
  • During a clothing store's Bargin Days, the regular price for T-shirts is discounted to $8.25. You have an additional coupon for
    9·1 answer
  • Find the greatest possible error for each measurement. 12 1/4 inches<br> please help and FAST
    15·1 answer
  • Find two consecutive whole numbers that √56 lies between (PLEASE HELP NEED ASAP!!!)
    5·1 answer
  • Someone help me with number 12 please please
    6·2 answers
  • Express the polynomial 7x + 3x + 5 in standard form
    15·1 answer
  • HELP ASAP! I’m very confused and need help! Thank you!
    15·1 answer
  • A gardener has to clean some leaves off the roof of the conservatory.
    6·1 answer
  • Which number is bigger?
    14·2 answers
  • Show that the equation x^3+7x-4=0 has a solution between x=0 and x=1
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!