i'm wondering how I can create a program about standard Normal Distribution using C program
This is a discussion on standard Normal Distribution within the C Programming forums, part of the General Programming Boards category; i'm wondering how I can create a program about standard Normal Distribution using C program...
i'm wondering how I can create a program about standard Normal Distribution using C program
If you mean standard deviation, it's not difficult.
> i'm wondering how I can create a program about standard Normal Distribution using C program
The world is waiting. I must leave you now.
Normal distribution is a bell-shaped curve. Standard deviation is used to measure the steepness of the curve.
And I am also wondering how you can create a program about Standard Normal Distribution. Have you written any code for it?i'm wondering how I can create a program about standard Normal Distribution using C program
Code:#include <cmath> #include <complex> bool flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0)*(1 << (value + 2))) ).real() < 0; }
You need to figure out the formulas, and identify any constants such as mew, for example, and write out the formulas in C code using the standard C function library.
The standard normal distribution I believe is used only in certain cases in which binomial resolution can not be attained. You might even have to add a table for normal distribution z scores and areas that your program references.
If you plan is to draw graphs than you need to use your compilers graphics device interface, which varies from compiler to compiler. Be more specific in what you want to accomplish.
>i'm wondering how I can create a program about standard
>Normal Distribution using C program
You could use the formula for normal distribution as base for a function. The parameters can be passed as parameters to the function, which makes the function general and reusable in other applications.