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
Katyanochek1 [597]
3 years ago
13

In a for loop, is it possible to use indexing?

Mathematics
1 answer:
kenny6666 [7]3 years ago
4 0

Answer:

Yes

Step-by-step explanation:

A for loop basically relies on repeating the same code for a pre-set number of times. During which you can make any code repeat inside of it, including indexing through a type of list. Many times a for-loop will use the indexes in a list to calculate the number of times that the loop has to repeat. This is usually done in order to search or apply changes in an array of other types of data structures that have countless values stored in it.

You might be interested in
Find the equation of the sphere centered at (2,−9,1) with radius 2. 4 = (x-2)+(y+9)+(z-1). Give an equation which describes the
Monica [59]

Answer:

See explanation

Step-by-step explanation:

The equation of the shpere canterd at point (a,b,c) with radius R is

(x-a)^2+(y-b)^2+(z-c)^2=R^2

The center of the sphere is (2,-9,1), the radius is 2, then the equation is

(x-2)^2+(y+9)^2+(z-1)^2=2^2\\ \\(x-2)^2+(y+9)^2+(z-1)^2=4

Now, find the intersection of this sphere with the plane z=2. Substitute 2 instead of z into the sphere equation:

(x-2)^2 +(y+9)^2+(2-1)^2=4\\ \\(x-2)^2+(y+9)^2+1=4\\ \\(x-2)^2+(y+9)^2=3

This is the equation of the circle lying in the plane z=2 with center at (2,-9,2) and radius \sqrt{3}.

8 0
4 years ago
Use Part 1 of the Fundamental Theorem of Calculus to find the derivative of the function.
seropon [69]

Answer:

h'(x)=\frac{3r^{2}}{2\sqrt{r^3+5}}

Step-by-step explanation:

1) The Fundamental Theorem of Calculus in its first part, shows us a reciprocal relationship between Derivatives and Integration

g(x)=\int_{a}^{x}f(t)dt \:\:a\leqslant x\leqslant b

2) In this case, we'll need to find the derivative applying the chain rule. As it follows:

h(x)=\int_{a}^{x^{2}}\sqrt{5+r^{3}}\therefore h'(x)=\frac{\mathrm{d} }{\mathrm{d} x}\left (\int_{a}^{x^{2}}\sqrt{5+r^{3}}\right )\\h'(x)=\sqrt{5+r^{3}}\\Chain\:Rule:\\F'(x)=f'(g(x))*g'(x)\\h'=\sqrt{5+r^{3}}\Rightarrow h'(x)=\frac{1}{2}*(r^{3}+5)^{-\frac{1}{2}}*(3r^{2}+0)\Rightarrow h'(x)=\frac{3r^{2}}{2\sqrt{r^3+5}}

3) To test it, just integrate:

\int \frac{3r^{2}}{2\sqrt{r^3+5}}dr=\sqrt{r^{3}+5}+C

5 0
3 years ago
Write 3.7 repeating as a mixed number
otez555 [7]

Explanation

3.7


=

3.0

+

0.7


=

30

10

+

7

10


=

37

10


This is because...


3

=

3

⋅

1

=

3

⋅

10

10

=

30

10


And also because...


0.7

=

1

10

⋅

7

=

7

10


4 0
3 years ago
Which of the following measurements must be accurate when used in a grocery store? Check all that apply.
jarptica [38.1K]

Answer:

A B & C- I think

Step-by-step explanation:

6 0
3 years ago
42 divided by 4 and 67 divided by8
Bezzdna [24]
10.5 and 8.4 ......................,,,,,
6 0
3 years ago
Read 2 more answers
Other questions:
  • Please help thanks very much
    11·1 answer
  • On a coordinate grid, both point (3, 5) and point (−2, −4) are reflected across the y-axis. What are the coordinates of the refl
    11·2 answers
  • Jason and his mother are re-tilling the kitchen floor .The area of the kitchen floor is 96.75 square feet. Each tile has an area
    10·1 answer
  • How many fifths in 40/10
    12·2 answers
  • All squares are rectangles.<br><br> A. True<br> B. False
    8·2 answers
  • Need help fast
    8·1 answer
  • If JK = KL, find JL Please help me.
    7·1 answer
  • Tracy answered all of the questions on the math test correctly. She scored 100 points, or 100%.
    15·1 answer
  • Help please please please please please
    8·2 answers
  • Ursula drew a polygon in which all the angles were obtuse. What kind of polygon could she have drawn?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!