Answer:
Step-by-step explanation:
We can get this done by using the code
def digits(n):
count = 0
if n == 0:
return 1
while (n > 0):
count += 1
n= n//10
return count
Also, another way of putting it is by saying
def digits(n):
return len(str(n))
------------------------------------------
print(digits(25)) # Should print 2
print(digits(144)) # Should print 3
print(digits(1000)) # Should print 4
print(digits(0)) # Should print 1
Doing this way, we've told the system to count the number of figures that exist in the number. If it's 1000 to 9999, then it records it as 4 digits. If it's 100 - 999, then it records it as 3 digits. If it's 10 - 99, it records as 2 digits. If it's 0 - 9, then it has to record it as a single digit.
Thanks
Let
x---------> my favorite number
we know that
(x+9)/15=3/5------> 5*(x+9)=15*3-----> divide by 5 both sides----> (x+9)=3*3
x+9=9------> x=0
therefore
the answer is
My favorite number is 0
Long leg = 8 → opposite
short leg = 6 → adjacent
hypotenuse = ?
8² + 6² = c²
64 + 36 = c²
100 = c²
√100 = √c²
10 = c
sin ∠BOC = opposite / hypotenuse
sin ∠BOC = 8 / 10
sin ∠BOC = 0.80
tan ∠BOC = opposite / adjacent
tan ∠BOC = 8 / 6
tan ∠BOC = 1.33
It is persia brainliest please
Answer:
Step-by-step explanation:
Let the first term is a and common difference is d.
<u>The nth term is:</u>
<u>We have:</u>
<u>The difference of these terms is:</u>
- (a + 8d) - (a + 5d) = 16 - 15
- 3d = 1
- d = 1/3
<u>Then the first term is:</u>
- a + 5*1/3 = 15
- a = 15 - 5/3 = 13 1/3
<u>The nth term equation is:</u>
- aₙ = 13 1/3 + 1/3(n - 1) = 1/3n + 13
<u>If the nth term is 22, find n:</u>
- 1/3n + 13 = 22
- 1/3n = 22 - 13
- 1/3n = 9
- n = 9*3
- n = 27