#include
#include
void main()
{
float a[50],sum=0,vsum=0,mean,variance,sd;
int n,i;
printf("Enter the no of valus");
scanf("%d",&n);
printf("Enter the no of valus");
for(i=0;i { scanf("%f",&a[i]); } for(i=0;i { sum=sum+a[i]; mean=sum/n; } for(i=0;i {vsum=vsum+((a[i]-mean)*(a[i]-mean)); variance=vsum/(n-1); sd=sqrt(variance); } printf("Arithmeti mean=%f",mean); printf("Variance=%f",variance); printf("Standard=%f",sd); getch(); }
The question is excellent. If two independent random variable with different pdf's are multiplied together, the mathematics of calculating the resultant distribution can be complex. So, I would prefer to use Monte-Carlo simulation to calculate the resultant distribution. Generally, I use the Matlab program. If this is not a satisfactory answer, it would be good to repost your question.
I believe your question is to find a range going from the mean to a z-value on the standard normal distribution that corresponds to 17% of the area. A normal distribution goes from values of minus infinity to positive infinity. A standard normal distribution has a mean of 0 and an standard deviation of 1. It is usually best if you draw a diagram, in this case a bell shape curve with mean = 0. The area to the left of the mean is 50% of the total area. We find a z value that corresponds to 67% (50% + 17%) of the area to the left of this value. This can be done either with a lookup table or a spreadsheet program. I prefer excel, +norminv(0.67) = 0.44. The problem could also be worded to find the area going from a z-value to the mean. In this case, we must find a z-value that corrsponds to 33% (50-17). Using Excel, I calculate +norminv(0.33) = -0.44.
Not defined by the language, it depends on the OS/platform/context. Usually, it is the terminal(emulation) or DOS-shell or console in which the program runs.
_______ program
program
A worked out example is shown in the related link. There are a number of calculators that do this automatically. Also, the Excel program (and most other spreadsheet programs) include a standard deviation function. In Excel, it is +stdev(a1:a10) for a list of numbers from a1 to a10.
90
Dinotube.com
The question is excellent. If two independent random variable with different pdf's are multiplied together, the mathematics of calculating the resultant distribution can be complex. So, I would prefer to use Monte-Carlo simulation to calculate the resultant distribution. Generally, I use the Matlab program. If this is not a satisfactory answer, it would be good to repost your question.
A computer program can use a pre-programmed Algorith to calculate what you want it to calculate.
That really depends on what sort of program you are trying to build, what do you want the program to do?
You don't need a program; the formula is b*h/2.
AFOSH Standard 48-9
Naeyc program standard 4 states that early childhood program should
int first= 1;
base X height
A Non Standard risk is one that may not fall into a standard risk classification or it can be a risk that does not meet the qualifying criteria of a standard insurance program.