@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 552.000000
:time: 0.007866255999033456
:time: 0.0021576819999609143
- Testergebniss 60.000000
:time: 0.004099502999451943
:time: 0.003508665999106597
- Testergebniss 4878.048780
:time: 0.002544674000091618
:time: 0.002917410000009113
- Testergebniss 18.203304
:time: 0.0017637499986449257
:time: 0.005943973999819718
:time: 0.0033360410016030073
:time: 0.0016179200010810746
- Testergebniss 0.158038
:time: 0.00272540199875948
:time: 0.0013433690000965726
- Testergebniss 189.421906
:time: 0.0017185569995490368
:time: 0.0013859850005246699
- Testergebniss 16.034390
:time: 0.0016871799998625647
:time: 0.0021734720012318576
- Testergebniss 0.051041
:time: 0.002001824999751989
:time: 0.0017803640002966858
- Testergebniss 251.000000
:time: 0.001410099999702652
:time: 0.0022076269997342024
- Testergebniss 1.440000
:time: 0.003338993999932427
:time: 0.006400242999006878
- Testergebniss -12.096026
:time: 0.0018501929989724886
:time: 0.002303446000951226
- '96600.000000'
:time: 0.0015410480009450112
:time: 0.002429381000183639
@ -15,4 +15,4 @@
:failed: 0
:stdout: []
:time: 0.0018041010007436853
:time: 0.0013770579989795806
:time: 0.002057634999800939
:time: 0.001445219999368419
:time: 0.0021860500000911998
:time: 0.002078814000924467
:time: 0.0037403749993245583
:time: 0.0033905760010384256
:time: 0.0016802390000520973
:time: 0.002578505000201403
:time: 0.004738868999993429
:time: 0.00277927500064834
:time: 0.004648265001378604
:time: 0.0034392329998809146
:time: 0.0018271660010213964
:time: 0.007561193999208626
:time: 0.0018927809996966971
:time: 0.002655837999554933
:time: 0.001803843999368837
:time: 0.001532724998469348
:time: 0.0012804279995179968
:time: 0.0017408980002073804
:time: 0.0024604820009699324
:time: 0.003320322999570635
:time: 0.0018329430004087044
:time: 0.001449869001589832
:time: 0.002142957999240025
:time: 0.0018154090012103552
:time: 0.0015674200003559235
:time: 0.0022959180005273083
:time: 0.0016028030004235916
:time: 0.002155036001568078
:time: 0.002439313000650145
:time: 0.0029436249988066265
- Testergebniss 3450.000000
:time: 0.0021390590009104926
:time: 0.0017063979994418332
- Testergebniss 225.000000
:time: 0.002358757999900263
:time: 0.0014974500008975156
- Testergebniss 62.500000
:time: 0.001762895000865683
:time: 0.0024017040013859514
- Testergebniss 4000.000000
:time: 0.0013848620001226664
:time: 0.0023601699995197123
- Testergebniss 27.136929
:time: 0.0018161459993280005
:time: 0.0015163669995672535
- Testergebniss 1141.000000
:time: 0.001778494999598479
:time: 0.0013913610000599874
- Testergebniss 21.739130
:time: 0.0032300359998771455
:time: 0.0018299700004718034
@ -14,6 +14,5 @@
:passed: 1
- 'The probability is: 0.050000'
:time: 0.001313610999204684
:time: 0.002275183998790453
@ -17,4 +17,4 @@
- 'Flaeche vom Trapez beträgt: 21.000000'
- Testergebniss 21.000000
:time: 0.002092060998620582
:time: 0.0018528749988035997
:time: 0.002123493999533821
:time: 0.0023238069989020005
@ -251,6 +251,5 @@ float vPunkt(float x1, float x2, float x3, float z1, float z2, float z3, float p
double probability_from_tree(double successful_outcomes, double total_outcomes, double branches) {
double result;
result = successful_outcomes / (total_outcomes * branches);
printf("The probability is: %lf\n", result);
return result;
}
@ -196,7 +196,6 @@ int main()
p3 = getValue('P');
vPunkt(x1,x2,x3,z1,z2,z3,p1,p2,p3);
printf("Enter the number of successful outcomes, total outcomes, and number of branches: ");
x = getValue('S');
y = getValue('T');
z = getValue('B');