Home Computer Downloads Site Map counter

Cannabis Calculator

Unlike you might think Cannabis Calculator is not a tool to determine how much Marihuana you get from your plants or how much electricity the artificial light will cost you. I wrote Cannabis Calculator, when i made a blog about that you need Math's even after School. The Problem is that you are interested only in the female plants for getting Marihuana. So if you want at least x female plants and you have not the space for hundreds of plants, how many plants you must have to get with at least 80 or 90% the needed female Plants. Or think in the opposite direction, you want create your own seeds to save money for buying seeds every year. How many plants you need for at least one male plant?

Cannabis Calculator Screen ShotThis is a binominal problem with the known formula:

(f+m)n = 1

You might have learned the solution in school for n=2:

f² + 2fm + m² = 1

If you set f=0,6 (60% of the plants are female) and m=0,4 (40% are male, this factors are commonly published, but also 50:50) you get:

0,36 + 0,48 + 0,16 = 1

The Power of f and m stands for the number of plants you get, so this is equal to:

36% Probability of getting two female plants

48% Probability of getting one female and one mal plant

16% Probability of getting two male plants

With this tool you can now calculate the Probability for every number of plants. Also you get the probability to get at least n male or female plants.

Unlike you might think the Tool is useful for every problem where you have two cases and both cases together have the probability of 1. So you can calculate the probability of throwing a "6" with a dice in n throws (set one to 0,1666 and the other to 0.83333). Or you can the probability of that one engine of a falcon 9 rocket fails if you set the reliability of the engine in one field and the difference to 1 in the other. For example if you assume a reliability of 0,98 you get for a falcon Heavy (27 Engines) this:

Binomial distribution

Engine Reliability Probability: 0,980 Engine Fails Probability: 0,020 Numbers of Cases: 27
Engine Reliability: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Engine Fails: 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Percentage: 58,0% 31,9% 8,5% 1,4% 0,2% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0% 0,0%
min. 27 Engine Reliability: 58,0%
min. 26 Engine Reliability: 89,9%
min. 25 Engine Reliability: 98,4%
min. 24 Engine Reliability: 99,8%
min. 23 Engine Reliability: 100,0%
min. 22 Engine Reliability: 100,0%
min. 21 Engine Reliability: 100,0%
min. 20 Engine Reliability: 100,0%
min. 19 Engine Reliability: 100,0%
min. 18 Engine Reliability: 100,0%
min. 17 Engine Reliability: 100,0%
min. 16 Engine Reliability: 100,0%
min. 15 Engine Reliability: 100,0%
min. 14 Engine Reliability: 100,0%
min. 13 Engine Reliability: 100,0%
min. 12 Engine Reliability: 100,0%
min. 11 Engine Reliability: 100,0%
min. 10 Engine Reliability: 100,0%
min. 9 Engine Reliability: 100,0%
min. 8 Engine Reliability: 100,0%
min. 7 Engine Reliability: 100,0%
min. 6 Engine Reliability: 100,0%
min. 5 Engine Reliability: 100,0%
min. 4 Engine Reliability: 100,0%
min. 3 Engine Reliability: 100,0%
min. 2 Engine Reliability: 100,0%
min. 1 Engine Reliability: 100,0%
min. 0 Engine Reliability: 100,0%
min. 0 Engine Fails: 100,0%
min. 1 Engine Fails: 42,0%
min. 2 Engine Fails: 10,1%
min. 3 Engine Fails: 1,6%
min. 4 Engine Fails: 0,2%
min. 5 Engine Fails: 0,0%
min. 6 Engine Fails: 0,0%
min. 7 Engine Fails: 0,0%
min. 8 Engine Fails: 0,0%
min. 9 Engine Fails: 0,0%
min. 10 Engine Fails: 0,0%
min. 11 Engine Fails: 0,0%
min. 12 Engine Fails: 0,0%
min. 13 Engine Fails: 0,0%
min. 14 Engine Fails: 0,0%
min. 15 Engine Fails: 0,0%
min. 16 Engine Fails: 0,0%
min. 17 Engine Fails: 0,0%
min. 18 Engine Fails: 0,0%
min. 19 Engine Fails: 0,0%
min. 20 Engine Fails: 0,0%
min. 21 Engine Fails: 0,0%
min. 22 Engine Fails: 0,0%
min. 23 Engine Fails: 0,0%
min. 24 Engine Fails: 0,0%
min. 25 Engine Fails: 0,0%
min. 26 Engine Fails: 0,0%
min. 27 Engine Fails: 0,0%

meaning:

58% Probability that no engine will fail, 89,9% probability that neither or one engine will fail and 98,4% probability that neither, one or two engines will fail. As you see in the table. In fact the program is unlike is name suggest a program to calculate the binominal distribution. But i thought the name "Cannabis Calculator" might be more attractive.

The Usage is simple: set the probability of each case, enter a description of every case and the number of cases you want the probability. After pressing on Calc you get the result in the textbox. You can export is as an html File with pressing on "export". Cannabis Calculator is Freeware. It is only a Executable file without an Installer. To Start simple click on the Exe. You can create an Desktop Icon via clicking on "Create link".

Virus?

Wenn sie beim Starten eines meiner Programme einen Alarm ihrer Antiviren Software bekommen, dann ist dies ein Fehlalarm, verursacht durch eine Post-Mortem Modul, dass Abstürze und Fehler meldet. Mehr finden sie auf dieser Seite.

If you get an alert from your antivirus software, when you start one of my programs, this is a false alarm, caused by a post-mortem module, that reports crashes and errors. You can find more information about this on this page.

 

Download von CannabisCalculator (1.0)

CannabisCalculator runs on Windows XP, 7 and 8.

If you like the program you can donate for the program. You decide how much it is worth for you.

Advert for my Book about the beginning of the pc industry (in german language)

Zum Thema Computer ist auch von mir ein Buch erschienen. "Computergeschichte(n)" beinhaltet, das was der Titel aussagt: einzelne Episoden aus der Frühzeit des PC. Es sind Episoden aus den Lebensläufen von Ed Roberts, Bill Gates, Steve Jobs, Stephen Wozniak, Gary Kildall, Adam Osborne, Jack Tramiel und Chuck Peddle und wie sie den PC schufen.

Das Buch wird abgerundet durch eine kurze Erklärung der Computertechnik vor dem PC, sowie einer Zusammenfassung was danach geschah, als die Claims abgesteckt waren. Ich habe versucht ein Buch zu schreiben, dass sie dahingehend von anderen Büchern abhebt, dass es nicht nur Geschichte erzählt sondern auch erklärt warum bestimmte Produkte erfolgreich waren, also auf die Technik eingeht.

Die 2014 erschienene zweite Auflage wurde aktualisiert und leicht erweitert. Die umfangreichste Änderung ist ein 60 Seiten starkes Kapitel über Seymour Cray und die von ihm entworfenen Supercomputer. Bedingt durch Preissenkungen bei Neuauflagen ist es mit 19,90 Euro trotz gestiegenem Umfang um 5 Euro billiger als die erste Auflage. Es ist auch als e-Book für 10,99 Euro erschienen.

Mehr über das Buch auf dieser eigenen Seite.

Hier geht's zur Gesamtübersicht meiner Bücher mit direkten Links zum BOD-Buchshop. Die Bücher sind aber auch direkt im Buchhandel bestellbar (da ich über sehr spezielle Themen schreibe, wird man sie wohl kaum in der Auslage finden) und sie sind natürlich in den gängigen Online-Plattformen wie Amazon, Libri, Buecher.de erhältlich.


© des Textes: Bernd Leitenberger. Jede Veröffentlichung dieses Textes im Ganzen oder in Auszügen darf nur mit Zustimmung des Urhebers erfolgen.
Sitemap Kontakt Impressum / Datenschutz Neues Hier werben / advertisment here Buchshop Bücher vom Autor Top 99