Design a Python algorithm that solves pic related and I'll PayPal you.
Design a Python algorithm that solves pic related and I'll PayPal you
die
Do not watc the video it just skips to
Reply to this post or your mother will die in her sleep tonight
from solutions import willItTip
def main():
willItTip()
if __name__ == '__main__':
main()
can i use pymunk?
Or are you actually asking for a fullblown simulation from scratch?
That's really fucking easy if you know physics
>ez
def willTip():
return True
def main():
print(willTip())
if __name__=='__main__':
main()
Not doing your homework, Dan.
What’s the answer? I think it’s no (in theory)
I said IF you know physics. I personally don't
Its not.
Youd have to simulate the fluid, the box, the triangle, the boat moving on the fluid on top of the physics...
The way he worded it is retarded since he implies it can be solved with a single algorithm.
Why would you need to simulate anything? Just use a free-body diagram.
Reality is more complicated.
damn, you really thought this post would seem smart
nigger
kys nigger
fuk
All you need to understand is Archimedes' law on buoyancy to answer this, nothing more.
Paypal how much? Last time I helped someone for money here I got 0.01BTC
You're assuming the container holding the water is perfectly balanced on an infinitely sharp triangle at a perfectly stable temperature and atmospheric pressure in a room with absolutely no air flow at all
That's exactly what the pic shows