Answer:
(x+y)² =(x+y)(x+y) Then you FOIL (First, outer, inner, last)
(x+y)² =(x+y)(x+y) = xx + xy + xy + yy [and when you combine like terms] = x² + 2xy + y²
(x+y)3 = (x² + 2xy + y²)(x+y) Then you FOIL (First, outer, inner, last)
(x+y)3 = (x² + 2xy + y²)(x+y) = x2x +2xxy + xy2 + x2y + 2xyy + y2y [and when you combine like terms] = x3 + 3x2y+ 3xy2 + y3
Step-by-step explanation:
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
Answer:
A) 33
Step-by-step explanation:
180 - 105= 75
75 + 72 + x = 180
147 + x = 180
x= 33
The function f(x) is defined in to different ways depending on the value of X. When x is < 5, use the expression 2x - 1 to evaluate the function When x is ≥ 5, use the expression x2 - 3 for example f(1) = 2(1) - 1 = 1 f(10) = (10)2 - 3 = 97
Answer:
13 miles
Step-by-step explanation:
The fare for the Uber
Cost= 5+ .5 m
where m is the number of miles
We spent 11.50
11.50 = 5 + .5 m
Subtract 5 from each side
11.5 -5 = 5+.5m -5
6.50 = .5 m
Divide by .5 on each side
6.5/.5 = .5m/.5
13 = m
We went 13 miles