Answer:
300mm²
Step-by-step explanation:
First we need to break up the shape into separate shapes to make it easier to work out.
<h2>Top :

×base×height</h2>
\frac{1}{2} x 15 x 30 = 225
<h2>Bottom : same formula</h2>
\frac{1}{2} x 15 x 10=75
<h2>Add them all together</h2>
225+75=300mm^2
Answer:
def validateID(this_id):
is_valid = 0
checksum = 0
n = int(this_id)
count=1
while(n!=0):
d=int(n%10)
if(count%2==0):
d=d*2
if(d<10):
checksum=checksum+d
else:
while(d!=0):
x = int(d%10)
checksum = checksum + x
d=int(d/10)
else:
checksum=checksum+d
count=count+1
n=int(n/10)
if(checksum%10==0):
is_valid=1
return is_valid, checksum
def main():
test_id = "176248"
is_valid, checksum = validateID(test_id)
if(is_valid==1):
print(test_id+" is valid and checksum is "+str(checksum))
else:
print(test_id+" is not valid and checksum is "+str(checksum))
test_id = "79927398713"
is_valid, checksum = validateID(test_id)
if(is_valid==1):
print(test_id+" is valid and checksum is "+str(checksum))
else:
print(test_id+" is not valid and checksum is "+str(checksum))
test_id = "6080320539447211"
is_valid, checksum = validateID(test_id)
if(is_valid==1):
print(test_id+" is valid and checksum is "+str(checksum))
else:
print(test_id+" is not valid and checksum is "+str(checksum))
return
if __name__ == '__main__':
main()
Answer:
wait few minutes i will try
Answer: w = - 11
Step-by-step explanation:
- Combine the like terms. -2w - 6 = 16.
- Add 6 on both sides. -2w = 22
- Divide by -2 on both sides. w = - 11
Answer:
310 cones sold
Step-by-step explanation:
Out of the 3:5:2 ratio, the 155 chocolate represents the 5 in there
We should find the value of "1" by dividing 155 by 5
155 divided by 5 is 31
Now we know the base value is 31, keep this in mind because we will need it later
Since we are trying to find the total number of cones sold, we should add all the ratio numbers together
3+5+2=10
Now that we know the total is "10", we just have to multiply 31 by 10
31x10=310
310 cones sold