Home > By category > Scripts >Development Tools > Empty a Cup with a Straw



Empty a Cup with a Straw

  • Downloads: 
  • Views: 
  • Rating:

If you dip a straw in a cup of water and hold your finger over the top, you can then pull the straw out and remove the amount** contained in the straw.

Obviously it would take an infinite number of dips to empty the cup completely, but did you ever wonder how many times would you have to repeat this process to lower the water level to some smaller amount?

This file provides an analytical solution (for any cup and straw dimensions) to this question and a simulated process that verifies the analytical equation, as well as a graph showing the change in water level after each dip.

** Under certain assumptions:
1. The cup and straw are perfectly cylindrical
2. The amount of water in the straw for any dip is exactly equal to the height of the water in the cup times the cross-sectional area of the straw. (Ignoring adhesive/cohesive properties of water that result in meniscus/surface tension effects)
3. The outside of the straw is completely dry at the time of removal from the cup
4. The straw has negligible volume (so its volume does not displace water in the cup when it is inserted)

Free download from Shareware Connection - If you dip a straw in a cup of water and hold your finger over the top, you can then pull the straw out and remove the amount** contained in the straw

Publisher: Joseph Kirk | License: Freeware | Price: 0.00
Version: 1.0 | Size: 102 KB | Platform: Matlab, Scripts
Released Date: 09-01-2013 | Rating: 0 | Title: Empty a Cup with a Straw

Author Url: http://www.mathworks.com/
Program Info Url: http://www.mathworks.com/
Download Url: http://www.mathworks.com/matlabcentral/fx_files/10790/1/StrawDips.zip

More downloads from Empty a Cup with a Straw publisher Joseph Kirk:

Traveling Salesman Problem - Nearest Neighbor Script - This MATLAB script finds a near-optimal solution to a TSP using Nearest Neighbor algorithm

Multiple Variable Traveling Salesmen Problem - Genetic Algorithm Script - This MATLAB script finds a near-optimal solution to a variation of the Multiple Traveling Salesman with variable number of salesmen using a genetic algorithm

Dijkstra's Shortest Path Algorithm - Find the shortest path and distance from a starting node to an ending node on a map

Advanced Dijkstra's Minimum Path Algorithm - DIJKSTRA Calculate Minimum Costs and Paths using Dijkstra's Algorithm

Dragon Curve (aka Jurassic Park Fractal) - The Dragon Curve is a fractal that was made famous in Jurassic Park, a novel by Michael Crichton.

Empty a Cup with a Straw keywords:
Empty a Cup with a Straw related downloads:

Furniture Removal Volume Calculator - Furniture Removal Volume Calculator is an application that will help you calculate item quantities to cubic metres and cubic feet.

Change Folder Icons - Change Folder Icons is an award-winning tool for Windows that allows you to easily find thousands of bright icons on your computer that you can use as folder icons.

MB Coffee Cup Reading - MB Coffee Cup Reading is a coffee cup or coffee-grounds reading divination tool.

Coffee Maker Cup - Coffee Maker Cup Recipes Ebook. This is for your coffee recipe collection. You can download it and print for future reference.

2Tware Volume Serial Number Changer - 2Tware Volume Serial Number Changer (volumeid,hard disk serial number changer,volume serial number) helps you to modify your disk drive's Volume Serial Number (not hard disk's physical serial which you can find at back of your hard disk), the format

Shareware Connection periodically updates pricing and software information of 'Empty a Cup with a Straw' from company source 'Joseph Kirk' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Empty a Cup with a Straw' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Empty a Cup with a Straw.

New Reviews

Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...

NovaBench - PC performance benchmarking is something that may not interest average users much but tech savvy lot resort to such apps to find out prowess and capability of their laptops and desktops. While there are quite a few PC benchmarking apps in market, ...

Sculptris - For 3D modeling and design, there are so many apps to pick from noondays. From feature laden and expensive apps of Autodesk to mid level and lesser known contenders, users are spoilt for choice. However, it is also possible to use a decently ...

Any Video Converter Free for Mac - Apple does have some stellar media applications for users of Mac OS but at times, you may feel the need for using third party apps too. Its FCP is regarded as an industry leading and powerful video editor but average Mac users may not need such a ...

Potatoshare Systemnanny - People use PCs for various needs nowadays. A computer is not used to run office productivity or accounting software alone anymore. It is also used for tasks like web browsing, media playback, file conversion, and myriad related needs. After ...

Bvckup - There is no denying the reality that computers have become a part and parcel of human existence. From education, work, entertainment and data storage, computers are required at every step of life. Safety of data is of paramount importance to PC ...

Cold Turkey - To keep your kids and teenage family members away from pornographic and objectionable websites you can use parental control software. Such apps offer numerous restrictive measures to limit PC and web access for young users. However, adult users ...

MiniTool Partition Wizard Home Edition - It is true that you need a powerful CPU and adequate amounts of RAM to keep your computer running smoothly. However, it is also necessary to ensure that the hard disk remains in top condition. Hard disk needs to be properly optimized and ...

Portable SMPlayer - Using media player software is something PC users are not alien to, as it is. Even the most workaholic users indulge in listening to music tracks at times. While the WMP, which comes with Windows, may serve needs for some users, it is not ...

PC Wizard 2012 - Average computer users use their laptops and desktops to run productivity applications, watch movies, browse web and perform other computing needs. However, seasoned users think beyond these and they need to find out in depth information about ...




New Downloads

STIVA Shopping Cart

Ready to use multilingual
online shopping cart script to
help you build ecommerce
websites: responsive front-end
design, ...

Bot Morbus Iff

Druplicon is an IRC bot that
has been servicing #drupal,
#drupal-support, and many
other IRC channels since 2005,
proving ...

tinterp

Provides linear and quadratic
interpolation methods for
functions defined on scattered
2D datasets.

Interpolation for missing
data

While interpolation functions
are available builtin in
MATLAB, it requires data in
specified griddata format.
Consider ...

MakeAudio RingToneComposer

Now compose your own ring
tones for mobiles

FAST CONVEX HULL ALGORITHM

Even if totally m-coded, this
routine is particularly fast
in computing convex hull of 2D
points.

Accelerated Particle Swarm
Optimization

This is an accelerated PSO
(APSO), developed by Xin-She
Yang in 2008

DH Admin Themes

Add a dashboard theme.

matrandbin

This file generates a matrix
of 'n' (rxc) random numbers
(0's & 1's) with a binomial
distribution (randomized
binomial ...

VIDEO TUTORIAL: Serial
communication (TX and RX)
using SERIAL Matlab
function

Serial communication (TX and
RX) using SERIAL Matlab
function

JS-Memo

JS-Memo script allows you to
create memo boxes.

Eddyspeak

Eddyspeak is an original
translation content management
system.