Or login with:
| doublebeta( | double | x | |
| double | y | ) |

#include <codecogs/maths/special/gamma/beta.h> #include <iostream> #include <iomanip> int main() { std::cout << std::setprecision(10); for (double x = 3; x < 5; x += 0.2) { std::cout << "Beta(" << x << ", 3.3) = "; std::cout << Maths::Special::Gamma::beta(x, 3.3) << std::endl; } return 0; }Output:
Beta(3, 3.3) = 0.02659326924 Beta(3.2, 3.3) = 0.02259427655 Beta(3.4, 3.3) = 0.01935107719 Beta(3.6, 3.3) = 0.01669372181 Beta(3.8, 3.3) = 0.0144961426 Beta(4, 3.3) = 0.01266346154 Beta(4.2, 3.3) = 0.01112333615 Beta(4.4, 3.3) = 0.00981994962 Beta(4.6, 3.3) = 0.008709767899 Beta(4.8, 3.3) = 0.007758498858
| x | the first argument of the function. Must be positive (x>0). |
| y | the second argument of the function. Must be positive (x>0). |
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge