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
forsale [732]
1 year 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]1 year 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
HELP 100 POINTS GIVEN 1. An inground non-diving swimming pool has the following dimensions. It is 33 feet long and 14 feet wide.
olga2289 [7]

Answer:

14inches farenheight

Step-by-step explanation:

3 0
2 years ago
Read 2 more answers
If f(1) = 0 what are all the roots of the function f(x)=x^3+3x^2-x-3 use the remainder theorem.
ArbitrLikvidat [17]

Solution:

As we are given that f(1) = 0 .

It mean that (x-1) is one of the factor of the given equation.

Remainder theorem can be applied as below:

\frac{(x^3+3x^2-x-3)}{(x-1)}=\frac{x^3-x^2+4x^2-4x+3x-3}{(x-1)}\\ \\\frac{x^3-x^2+4x^2-4x+3x-3}{(x-1)}=\frac{x^2(x-1)+4x(x-1)+3(x-1)}{(x-1)} \\\\\frac{x^2(x-1)+4x(x-1)+3(x-1)}{(x-1)}=\frac{(x^2+4x+3)(x-1)}{(x-1)}  \\\\\frac{(x^2+4x+3)(x-1)}{(x-1)} =\frac{(x^2+3x+x+3)(x-1)}{(x-1)}  \\\\\frac{(x^2+3x+x+3)(x-1)}{(x-1)}  =\frac{(x-1)(x+3)(x+1)}{(x-1)}

Hence the factors are (x-1),(x+3) and (x+1).

Hence the correct option is B.

5 0
2 years ago
Read 2 more answers
A bag contains one red pen, four black pens, and three blue pens. two pens are randomly chosen from the bag and are not replaced
bagirrra123 [75]
8 total pens....4 are black

first pick, probability of being black is 4/8 
2nd pick. without replacing, probability is 3/7

probability of a black pen picked first and then another black pen picked again is : 4/8 * 3/7 = 12/56 = 0.21
8 0
1 year ago
Read 2 more answers
Julia is offered a job selling advertising for two different companies. Company A offers a base salary of $30,000 per year plus
patriot [66]
A=30000+0.03S and B=25000+0.05S.
When A=B, 5000=0.02S, so S=$250000 when the earnings are the same.
The slope of A is smaller than that of B. In excess of this value of S B pays more than A and below it A pays more than B.
So answer option B. (When S=0, clearly A is better than B. Put S=$300000, A pays $39000 and B pays $40000).
8 0
1 year ago
Read 2 more answers
The width of the mirror in Shannon's bathroom is 4/9 it's length. The area of the mirror is 576 square inches. What are the dime
Andreas93 [3]
16 inches by 36 inches

6 0
2 years ago
Other questions:
  • A motor scooter travels 20 mi in the same time that a bicycle covers 8
    12·1 answer
  • Violet creates two spinners for a game. Each spinner is spun once, and the sum is recorded. The table represents the sums of the
    10·2 answers
  • In a parallel circuit et= 240 v ,r = 30 ohms and xl = 40 ohms what is the power factor
    10·1 answer
  • How many ways can we pick three distinct integers from {1, 2, ..., 15} such that their sum is divisible by 3?
    14·1 answer
  • Brian buys 5 cookies and 1 bottle of water. The total cost is $8.75. If the bottle of water costs $1.25, which equation can be u
    9·2 answers
  • Arturo, Pedro y Jorge son hermanos y duermen en la misma habitación. Su papá les compró una pintura para que entre los tres pint
    11·1 answer
  • What is the seventh term in the arithmetic sequence defined by the explicit formula an=5n+3? (PLEASE HELP!!!)
    15·1 answer
  • Click to select the figure in the image that would portray the rotation of the given preimage and the rotation arrow,
    13·1 answer
  • Substituting the equation y = 4x + 1 into the equation 2y = -x – 1 will produce the equation ________.
    13·2 answers
  • Of the 50 students in the drama club, 36 take mathematics, 27 take physics and 20 students take both mathematics and physics. Ho
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!