[Easy] Peter and John need to use 6 days to complete some work. John and Lucas need 9 days to finish it, and Peter and Lucas need 15 days to finish it. How many days do they have to use if they do the work together?
anyone?
They're still busy doing the previous one. "sigh"
this is a set of diophantine equations right
You can do it using time and work formula.
get three people named Peter, John and Lucas and start :)
work = work/time * time?
alright in Python I will create Peter, John, and Lucas objects and see how long they take to do the thing
Do you need to use python for EVERYTHING?
easy solution below.
Peter = p John = j Lucas = l p+j = 1/6 j+l = 1/9 p+l = 1/15.
add p, j, and l and find the reciprocal.
Yeah, I knew that, just too lazy to work it out.
yea it is a bunch of arithmetic \[\frac{180}{31}\] i think
nice! you got it correct.
Of course he did.
my arithmetic somethings fails me though
namely careless.
Join our real-time social learning platform and learn together with your friends!