Computer-Based Numerical & Statistical Techniques

| 1. | Write a C-program to find the magnitude of a vector a = a 1 i + a 2 j + a 3 k. | |
| 2. | State whether the following statements are correct or not:
| |
| 3. | Write a C program to solve a set of linear equations with two variables | |
| 4. | Write a C-program to read the principal, rate of interest, and the number of years and find the simple interest using the formula | |
| 5. | Write a printf statement to print The given value is 22.23. |
|
| 6. | Give an algorithm and write a program in C to check whether a given number is prime or not. | |
| 7. | What will be the value of x and the sum after the execution of the following program? x = 1; sum = 0; step 1: if (x < 10){ sum + = 1.0/x; x + = 1; goto step 1} |
|
| 8. | Write a program in C to determine whether a number is odd or even. Also, draw its flowchart. | |
| 9. | Given a circle x 2 + y 2 = c, Write a C-program to determine... |