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
Delvig [45]
3 years ago
5

Given int variables k and total that have already been declared, use a for loop to compute the sum of the squares of the first 5

0 counting numbers, and store this value in total. thus your code should put 1*1 + 2*2 + 3*3 +... + 49*49 + 50*50 into total. use no variables other than k and total.
Mathematics
1 answer:
Svetach [21]3 years ago
4 0
I don't know what language you are working with, but
set Sum = 0
For k= 1 to 50
Sum = Sum + k^2
Loop
You might be interested in
Simplify the expression using trigonometric identities: sec (–θ) – cos θ.
ololo11 [35]

Answer:

sin θ . tan θ

Step-by-step explanation:

Note : -

sec ( - θ ) = sec θ

Formula / Identity : -

sec θ = 1 / cos θ

sec ( - θ ) - cos θ

= [ 1 / cos θ ] - cos θ

{ LCM = cos θ }

= [ 1 / cos θ ] - [ cos²θ / cos θ ]

= [ 1 - cos²θ ] / cos θ

{ 1 - cos²θ = sin²θ }

= sin²θ / cos θ

{ sin²θ = sin θ . sin θ }

= sin θ . sin θ / cos θ

{ sin θ / cos θ = tan θ }

= sin θ . tan θ

Hence, simplified.

4 0
2 years ago
1.consider the function
marin [14]

Function transformation involves changing the form of a function

  • The transformation from f(x) to g(x) is a horizontal shift 3 units left, followed by a vertical stretch by a factor of 4
  • The x and y intercepts are -0.67 and 1.91, respectively.
  • The behavior of g(x) is that, g(x) approaches infinity, as x approaches infinity.

The functions are given as:

\mathbf{f(x) = log3x}

\mathbf{g(x) = 4log3(x+1)}

<u>(a) The transformation from f(x) to g(x)</u>

First, f(x) is shifted left by 1 unit.

The rule of this transformation is:

\mathbf{(x,y) \to (x + 1,y)}

So, we have:

\mathbf{f'(x) = log3(x + 1)}

Next. f'(x) is vertically stretched by a factor of 4.

The rule of this transformation is:

\mathbf{(x,y) \to (x,4y)}

So, we have:

\mathbf{g(x) = 4log3(x+1)}

Hence, the transformation from f(x) to g(x) is a horizontal shift 3 units left, followed by a vertical stretch by a factor of 4

<u>(b) Sketch of g(x)</u>

See attachment

<u>(c) Asymptotes</u>

The graphs of g(x) have no asymptote

<u>(d) The intercepts, and the behavior of f(x)</u>

The graph crosses the x-axis at x =-0.67, and it crosses the y-axis at y = 1.91

Hence, the x and y intercepts are -0.67 and 1.91, respectively.

The behavior of g(x) is that, g(x) approaches infinity, as x approaches infinity.

We know this because, the value of the function increases as x increases

Read more about function transformations at:

brainly.com/question/13810353

4 0
2 years ago
I need help. due today
just olya [345]
X = 19.

Explanation:

This expression is vertical from the angle 135, meaning it is congruent. With that being said, we would need to find what 7 multiplies by to give us 2 less than 135, which would be 133. Because 133 divided by 7 equals 19, x = 19. If we plug this in, we get the following equation: 7(19) + 2 = 135.
6 0
2 years ago
Read 2 more answers
what is the measure of the base angle,x, of the isosceles triangle shown below? round your answer to the nearest tenth of a degr
MAVERICK [17]

Answer:

x ≈ 49.7°

Step-by-step explanation:

Since, the given triangle is an isosceles triangle,

Two sides having measure 17 units are equal.

Opposite angles of these equal sides will be equal.

Measure of the third angle = 180° - (x + x)°

By sine rule,

\frac{\text{sinx}}{17}=\frac{\text{sin}(180-2x)}{22}

\frac{\text{sinx}}{17}=\frac{\text{sin}(2x)}{22} [Since, sin(180 - θ) = sinθ]

\frac{\text{sinx}}{17}=\frac{2(\text{sin}x)(\text{cos}x)}{22}

\frac{\text{sinx}}{17}=\frac{(\text{sin}x)(\text{cos}x)}{11}

\frac{1}{17}=\frac{(\text{cos}x)}{11}

cos(x) = \frac{11}{17}

x = 49.68°

x ≈ 49.7°

4 0
3 years ago
FG is the midsegment of isosceles triangle ABC, and KM is the midsegment of trapezoid CDEF. EF || KM || DC. Find the following m
Gelneren [198K]

Answer:

D

Step-by-step explanation:


4 0
3 years ago
Other questions:
  • Naoko has $900 in her account and plans to take $45 out each week. Gus has $252 in his account and plans to add $27 each week. A
    7·1 answer
  • The mathcounts sprint round competition consists of 30 problems with a time limit of 40 minutes. suppose you complete 20 sprint
    7·2 answers
  • The school has a budgeted 2,000 for an end of year party at the local park.The cost to rent the park shelter is 150.How much can
    9·1 answer
  • In cooking class, Sofia measures a stick of butter. It is 13 centimeters long, 3 centimeters
    14·2 answers
  • Thank you if you solve this I usually have a calculator....
    9·2 answers
  • If you can do this your super smart.
    5·1 answer
  • What is the volume of this cube? <br> Show your work.<br> no bots
    11·1 answer
  • Expand 4(3x-5) <br><br> will mark brainliest
    13·2 answers
  • Please help fast<br>I WILL MARK YOU AS BRAINLIEST ​
    15·1 answer
  • Write a system of equations to describe the situation below, solve using any method, and fill in the blanks. Clayton gets paid a
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!