Answer
Please see attached image for full understanding of the solution
If we plot the function we can see that it has a discontinuity at x = 1.
Also,
If we evaluate at x = -9, we see that the values of the piecewise function in both cases are completely different.
Therefore, x = -9 is also a discontinuity.
The right answer is option a
(discontinuity at x = 1 and x = -9)
Answer:
Please find attached the required box and whiskers plot
Step-by-step explanation:
The numbers are given in arranged order as follows;
14, 14, 16, 16, 17, 17, 18, 20, 21, 23
The five number summary are;
The minimum value = 14
The maximum value = 23
The first quartile, Q₁, is the (n + 1)/4th term or the 2.75th term = 14 + 0.75×(16 - 14) = 15.5
The second quartile, Q₂, (the median) is the (n + 1)/2th term or the 5.5th term = 17
The third quartile, Q₃, is the 3(n + 1)/4th term or the 8.25th term = 20 + 0.25×(21 - 20) = 20.25.
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:
The slope is 6-1
Step-by-step explanation:
the y intercept is 3