Algorithms Excel Assignment Solve the following questions using Excel

1. (A) Generate a Worksheet having the following columns for rows 1 to 1000. Sl No; Cumulative Sum of Serial Number; cos(Sl No); cos(Sl No) rounded to 5 decimal places; square of Sl no; difference between cos and Square rows as a percentage; A random number + p; Cumulative PRODUCT of random number+ p. (B) Below these columns, the sheet should have Average and Standard deviation for each of their columns. Write the average and standard deviation with a) relative and b) absolute references. Copy both the relative and absolute values to some other cell and demonstrate that absolute value does not change but relative value changes. (C) Specify a value less than 100 in a cell say D4.If the standard deviation is greater than a percentage of mean that is specified in the cell D4, then ?ash both std deviation and mean to red (color). (D) Plot using X-axis versus Y-axis in a NEW SHEET a) Sl No (X-axis) versus Cumulative Sum of Serial Number (Y-axis) b) Sl No (X-axis) versus of cos(Sl No) (Y-axis); c) cos of (Sl No) (X-axis) versus difference between cos and Square rows as a percentage(Y-axis) d) Difference between cos and Square rows as a percentage (X-axis) versus Cumulative PRODUCT of Random number + p (Y-axis) The worksheet should have headings for each column, coloured in specific colour. Use colors also to distinguish the columns for easy readability. ALL graphs have to have X labels, Y Labels and Titles. 2. Create a NEW worksheet in EXCEL, having links to the first, and duplicating the data. Demonstrate that if we change the values in the first sheet, those in the second change.

3. Create a NEW worksheet in EXCEL, by pasting values Demonstrate that if we change the values in the first sheet, those in the second DO NOT change. 4. Find NPK (permutations) for all values of N varying from 1 to 1000, K varying from 1 to 1000. A 2-D 1000*1000table should be created.

else use Log(Fact(N)) = Log(N) + Log(Fact(N-1)) etc.4. 5. output 1. Count the number of number of 1’s in the new array and put in the the worksheet DATA in cell C7. The cells formulae have to be written correctly . If the numbers are not possible to represent exactly. Fill in a new array 1000*1000 which checks if NPK is greater than any value which the user may specify in a SEPARATE worksheet called DATA in cell C6 (use links). In an experiment with 80 independent trials. In another sheet display the values of column 2 and 3 corresponding to serial no 7.What is the probability of exactly 25 trials being successful. use a logarithmic representation. . 7. Solve using excel sheet. approximate it in scientific notation. If so. else 0.Where possible put in exact integer value. Fill column 1 with serial nos 1 to 10 and enter any values in the other two columns. Create a 10 by 3 array in a new excel sheet. 6. the probability of success on each trial is 0.use Fact(N) = N*Fact(N-1) if Fact does not overflow. 8. Where not.