Login
Sign Up
Home
Program
Project
My Zone
Support
Show Code
Browse Program
Search Program
AT initial combo calculator
Input Variables
Output Variables
Program Code
Description
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Input Variables List
Output Variables List
Source Code
double NeitherDenom = Total * (Total - 1) * (Total - 2) * (Total - 3) * (Total - 4) * (Total - 5); double NeitherStartFig = Total - Char - Item; double NoAStartFig = Total - Char; double NoBStartFig = Total - Item; double NeitherNum = (NeitherStartFig * (NeitherStartFig - 1) * (NeitherStartFig - 2) * (NeitherStartFig - 3) * (NeitherStartFig - 4) * (NeitherStartFig - 5)); double NoANum = (NoAStartFig * (NoAStartFig - 1) * (NoAStartFig - 2) * (NoAStartFig - 3) * (NoAStartFig - 4) * (NoAStartFig - 5)); double NoBNum = (NoBStartFig * (NoBStartFig - 1) * (NoBStartFig - 2) * (NoBStartFig - 3) * (NoBStartFig - 4) * (NoBStartFig - 5)); double ProbNeither = NeitherNum/NeitherDenom * 100; double ProbNoA = NoANum/NeitherDenom *100; double ProbNoB = NoBNum/NeitherDenom *100; ComboProb = 100 - (ProbNoB + ProbNoA - ProbNeither);
Subject
Description
determins probability of getting a desired combo from the number of cards you have in your starting set (and your 6th card)
Category
General
Created By
kgrove15
Created Date
6/2/2017
Last Modify Date
7/18/2017
Calculation Count
49
Version
1.00
Positive
0
Neutral
0
Negative
0
Related Program ID
None
Copyright ©2009-2010 CUI WEI. All Rights Reserved.