N. K. P. Salve died on 2012-04-01.
N. K. P. Salve was born on 1921-03-18.
P. K. N. Burbidge has written: 'Tort'
N. Krishna Pillai died in 1988.
P = 1 For K = 1 to M . P = P * N Next K PRINT "N raised to the power of M is "; P
You need a formula for this. If the probability (in one toss) of getting head is "p", then the probability of getting exactly k heads out of n tosses is: (n,k) p^k (1-p)^(n-k) where (n,k) denotes the number of combinations of k elements among n. You should also know that (n,k) = n! / (( n-k)! k! ) so here, with n=8, k=6, and p=.5 you have (n,k) = 8*7 / 2 = 28 and your probability is : 28 * 1/2^6 * 1/2^2 = 28 / 256 = 7 / 64
#include<stdio.h> #include<stdlib.h> #include<math.h> #include<conio.h> void main(void) { int K, P, C, J; double A[100][101]; int N; int Row[100]; double X[100]; double SUM, M; int T; do { printf("Please enter number of equations [Not more than %d]\n",100); scanf("%d", &N); } while( N > 100); printf("You say there are %d equations.\n", N); printf("From AX = B enter elements of [A,B] row by row:\n"); for (K = 1; K <= N; K++) { for (J = 1; J <= N+1; J++) { printf(" For row %d enter element %d please :\n", K, J); scanf("%lf", &A[K-1][J-1]); } } for (J = 1; J<= N; J++) Row[J-1] = J - 1; for (P = 1; P <= N - 1; P++) { for (K = P + 1; K <= N; K++) { if ( fabs(A[Row[K-1]][P-1]) > fabs(A[Row[P-1]][P-1]) ) { T = Row[P-1]; Row[P-1] = Row[K-1]; Row[K-1] = T; } } if (A[Row[P-1]][P-1] 0) { printf("The matrix is SINGULAR !\n"); printf("Cannot use algorithm --- exit\n"); exit(1); } X[N-1] = A[Row[N-1]][N] / A[Row[N-1]][N-1]; for (K = N - 1; K >= 1; K--) { SUM = 0; for (C = K + 1; C <= N; C++) { SUM += A[Row[K-1]][C-1] * X[C-1]; } X[K-1] = ( A[Row[K-1]][N] - SUM) / A[Row[K-1]][K-1]; } for( K = 1; K <= N; K++) printf("X[%d] = %lf\n", K, X[K-1]); getch(); }
P. K. Balakrishnan died in 1991.
P. K. Manthri died in 1984.
K. P. Ummer died in 2002.
K. P. Rajagopalan died in 1944.
K. P. Appan died in 2008.
P. K. Ojong died in 1980.