KOS 1110: COMPUTERS IN SCIENCE
ASSIGNMENT 1-QUESTIONS IN EXCEL
DUE DATE: SATURDAY,22 NOVEMBER 2003,10am
By:Siti Marhana bt. Razali
0325574
BSC(Math)
Section 1
Dr.Ibrahim Ali Batcha
marhana_84@yahoo.com.
Questions:
1. What is the spreadsheet program? How does it differ from a word
processing program?
A spreadsheet program is a program which work with numbers, perform calculations and laid out in rows and columns. While word processing programs are mainly do not do calculation, and it just for writing reports and documents.
2. What is the difference between a worksheet and a workbook?
A worksheet is a single sheet while a workbook is more than a single sheet represented by tabs at the end of the sheets.
3. How do you copy and move cell contents?
At Menu bar, select Copy, move to the cell where you want to copy. Click paste. You also can use Copy and Paste icon. Others, you also can use the Fill Handle Method. In order to move or cut cell you can use the same method as Copy method.
4. How do you use the fill handle to copy content of cells and to create a sequence? What type of sequences can be created using the fill handle?
Use the Fill handle method to copy contents, the mouse pointer must be move over the square in the lower right corner of the selected cell, wait until the mouse pointer changes to a cross hair symbol, hold down the left mouse button and drag to copy.
Fill handle method also can be use to create sequence. You have to enter the pattern. The pattern must be consecutive number. Click the lower right side of the mouse containing the pattern, hold the right mouse button drag to
select the area to be filled with the matching data. When the menu open select the type of data that you want to be filled in the cells.
There are a few kind of sequence that can be created such as:
*consecutive numbers.
*numbers in a pattern such as odd or even numbers
*days of the days, weeks, months, years.
5. How do you create custom headers and footers? You have to go to the view, then select headers and footers, choose the type you want from the page setup.
6. What is a relative cell address reference? How do you change a relative reference to an absolute reference? What is the mixed cell address reference?
Relative cell address reference are the default in Excel. Which the addresses are automatically adjusted when the calculation are copied to new cells.
Absolute Cell Address Reference will copy exactly the same things. It will be not change when you copied to the new location.
Mixed Cell Address Reference will allow only the column portion or the row portion of the cell reference to be adjusted.
7. What is the formula bar? What is the name box?
A formula bar is located below the formatting and standard toolbar. Where the formula you used will be appear when the certain cell is selected. While the name box is an active cell reference on the left side of the formula bar. You have to click the name box in order to select any cell. After chosen the cell you can enter the cell reference.
8. What is the deference between erasing the content of a column and deleting the column?
When you want to erase the content of the column you have to select the range that want to be erased then press delete. Or in other way, you can also using Undo or Redo. If you want to delete the column, select column letters then at the Menu bar choice
Delete column. Others you can also using the Right click of the mouse. Then click at the Delete.
9. How will you freeze a part of the worksheet?
To freeze the worksheet(rows and column), select the worksheet to be frozen then at the Menu bar select Window, then Freeze Panes.
10. What is the maximum number of significant digits possible in MS Excel?
15 significant numbers.
11. What is the difference between a bar chart and the histogram?
A bar chart is used to represent the data without doing the data analysis while the histogram has frequency and also data analysis.
12. How will you put the error bars in the x-y plot? Explain using sample data. (hint: See Help facility in Excel)
At the data series which you want to add error bar click there. Then at the Format menu, choose Selected Data Series. At the X Error bars tab or at the Y Error bars tab, you can click at the option you want.
13. Use of Help facilities in Excel: You have seen the usage of some simple function such as log, exp, and sin in Excel. Go through the Help facilities in Excel and study
several different types of functions. Explain the use of at least one an common function with the suitable example.
Minverse is a function returns the inverse of a selected matrix. The way to write it is: MINVERSE (array)
Array is a numerical array with an equal number of rows and columns. Array can be given as a cell range such as A1:C3;as an array constant such as {1,2,3,4,5,6,7,8,9}; or as a name for either of these. If any cell in array are empty or contain text, MINVERSE returns the =VALUE! Error value. MINVERSE also returns the =VALUE! Error value if array does not have an equal numbers of rows and columns. Formulas that return array must be entered as array formulas Inverse matrices, like determinants, are generally used for solving system of mathematical equations involving several variables. The product of the matrix and its inverse is the identity matrix-the square array in which the diagonal values equal 1, and all other value equal 0.
14. Calculation using Formulas: Select any formula ( as complicated as possible) from any one of your text books. Use Excel to calculate this formula, by entering the constant and the variables separately.
Volume=(1*Gas Constant*Temperature)/Pressure
Gas Constant |
8.216 |
Temperature |
32 |
Pressure |
100 |
Volume |
2.62912 |
15. Multiplot: Write down any one formula with two constants ( a and b ) and one variable (x). (eg.y=a sin (bx) or y= ax + b log (x)… etc) Use Excel to calculate your chosen formula for a range of x values at five different sets of constant values and tabulate them as x vs y with x in the first column and y in the next four columns as follows.
Plot all the four curves in the same plot and label them differently. Comment on the effect of the constants on these plots.
No. |
x |
a= |
b= |
a= |
b= |
a= |
b= |
a= |
b= |
15 |
6 |
10 |
5 |
12 |
9 |
7 |
10 |
||
1. |
5.5 |
14.998 |
14.998 |
6.99 |
6.99 |
-8.314 |
-8.314 |
-6.998 |
-6.998 |
2. |
6.7 |
8.9664 |
8.9664 |
8.71 |
8.71 |
-6.871 |
-6.871 |
-5.988 |
-5.988 |
3. |
2.5 |
9.7543 |
9.7543 |
-0.663 |
-0.663 |
-5.846 |
-5.846 |
-0.926 |
-0.926 |
4. |
7.4 |
6.0849 |
6.0849 |
-6.435 |
-6.435 |
-7.036 |
-7.036 |
-6.896 |
-6.896 |
5. |
6.3 |
1.5107 |
1.5107 |
0.8397 |
0.8397 |
1.8090 |
1.8090 |
1.171 |
1.171 |
16. Solving Simultaneous Equations: Write a set of five equations with five variables
( eq. p, q, r, s, t, and u ) and solve them using Excel. Verify your answer by back substitution.
Coefficient matric |
matric |
Constant vector |
Solution Vector |
|||||||
-2 |
4 |
6 |
8 |
10 |
106 1 |
|||||
9 |
-3 |
7 |
2 |
6 |
62 2 |
|||||
8 |
2 |
-6 |
-4 |
1 |
-17 3 |
|||||
-1 |
5 |
6 |
9 |
-5 |
38 4 |
|||||
5 |
0 |
3 |
8 |
6 |
76 5 |
|||||
Determinant Of Coefficient Matrix |
||||||||||
72440 |
||||||||||
p coefficient matrix |
||||||||||
106 |
4 |
6 |
8 |
10 |
||||||
62 |
-3 |
7 |
2 |
6 |
||||||
-17 |
2 |
-6 |
-4 |
1 |
||||||
38 |
5 |
6 |
9 |
-5 |
||||||
76 |
0 |
3 |
8 |
6 |
||||||
q coefficient matrix |
||||||||||
-2 |
106 |
6 |
8 |
10 |
||||||
9 |
62 |
7 |
2 |
6 |
||||||
8 |
-17 |
-6 |
-4 |
1 |
||||||
-1 |
38 |
6 |
9 |
-5 |
||||||
5 |
76 |
3 |
8 |
6 |
||||||
r coefficient matrix |
||||||||||
-2 |
4 |
106 |
8 |
10 |
||||||
9 |
-3 |
62 |
2 |
6 |
||||||
8 |
2 |
-17 |
-4 |
1 |
||||||
-1 |
5 |
38 |
9 |
-5 |
||||||
5 |
0 |
76 |
8 |
6 |
||||||
s coefficient matrix |
||||||||||
-2 |
4 |
6 |
106 |
10 |
||||||
9 |
-3 |
7 |
62 |
6 |
||||||
8 |
2 |
-6 |
-17 |
1 |
||||||
-1 |
5 |
6 |
38 |
-5 |
||||||
5 |
0 |
3 |
76 |
6 |
||||||
|
||||||||||
t coefficient matrix |
||||||||||
-2 |
4 |
6 |
8 |
106 |
||||||
9 |
-3 |
7 |
2 |
62 |
||||||
8 |
2 |
-6 |
-4 |
-17 |
||||||
-1 |
5 |
6 |
9 |
38 |
||||||
5 |
0 |
3 |
8 |
76 |
17. Solver exercise: The following data set is obtained in an experiment:
R |
V |
||||||
0.5 |
127.0355 |
a= |
3 |
Data |
Residual |
Square |
|
1.0 |
48.0715 |
b= |
4 |
1.29337E+16 |
1.29337E+16 |
1.6728E+32 |
|
1.5 |
12.1348 |
c= |
5 |
2.36889E+14 |
2.36889E+14 |
5.6116E+28 |
|
2.0 |
8.3139 |
4.33876E+12 |
4.33876E+12 |
1.8825E+25 |
|||
2.1 |
5.3366 |
79466389864 |
79466389855 |
6.3149E+21 |
|||
2.2 |
3.1064 |
35706334837 |
35706334832 |
1.2749E+21 |
|||
2.3 |
1.5361 |
16043745789 |
16043745785 |
2.574E+20 |
|||
2.4 |
0.5472 |
7208822710 |
7208822709 |
5.1967E+19 |
|||
2.5 |
0.0689 |
3239067844 |
3239067843 |
1.0492E+19 |
|||
2.6 |
0.0374 |
1455363430 |
1455363430 |
2.1181E+18 |
|||
2.7 |
0.3957 |
653907738.3 |
653907738.3 |
4.276E+17 |
|||
2.8 |
1.0921 |
293800111 |
293800110.6 |
8.6319E+16 |
|||
2.9 |
2.0807 |
131999778.1 |
131999777 |
1.7424E+16 |
|||
3.0 |
3.3199 |
59302528.58 |
59302526.49 |
3.5168E+15 |
|||
3.1 |
4.7728 |
26640448.81 |
26640445.49 |
7.0971E+14 |
|||
3.2 |
10.0998 |
11966374.33 |
11966369.56 |
1.4319E+14 |
|||
3.5 |
20.7786 |
5374190.733 |
5374180.633 |
2.8882E+13 |
|||
4.0 |
31.9924 |
485846.8015 |
485826.0229 |
2.3603E+11 |
|||
4.5 |
42.6319 |
8618.285061 |
8586.292661 |
73724421.7 |
|||
5.0 |
52.1824 |
122.4601135 |
79.82821351 |
6372.54367 |
|||
5.5 |
60.4667 |
0 |
-52.1824 |
2723.00287 |
|||
6.0 |
67.4911 |
2.242935217 |
-58.22376478 |
3390.00679 |
|||
2.891112555 |
-64.59998745 |
4173.15838 |
Use the solver module in Excel to fit the data using the equation
V=a(1-exp(-b(R-c)))˛ ,
Where a, b and c are constant to be determined. Use solver to determine these constants. Calculate the V values using the values of a, b and c that you had found out by excel. Lot the experimental and the calculated data in
the same plot and label them properly. What is the value of V at R=1.25 and R=c?
18. Grades distribution: Consider a class consisting of 12 to 20 students. Create their mark list in their final exam. The list should contain their names and their marks in two columns. Use the nested "if condition" to determine their grades ( eg. A, B…) and list them in the third column. Present their grade distribution as a histogram and as a pie chart.
No. |
Name |
Marks |
Grades |
1. |
Aleeye |
87 |
A |
2. |
Asma’ |
83 |
A |
3. |
Ainul |
69 |
B |
4. |
Bismi |
64 |
C |
5. |
Daud |
95 |
A |
6. |
Eliza |
79 |
B |
7. |
Halima |
52 |
C |
8. |
Intan |
55 |
C |
9. |
Ilham |
69 |
B |
10. |
Khairul |
45 |
D |
11. |
Leili |
76 |
B |
12. |
Moona |
72 |
B |
13. |
Nurina |
90 |
A |
14. |
Samsuri |
69 |
B |
15. |
zaki |
84 |
A |
19. Computerization of the laboratory report: Present any of your laboratory report involving detailed calculations and graphs, as an Excel workbook. Your report should be self-contained and contain all the details to verify your graphs and results. In short it should look as lab report that you would submit after completing your experiment.
Experiment: Artwood’s Machine
Objective: To study the mass and the accelaretion using an Atwood’s apparatus
Apparatus:Science Workshop Interface, table clamp, universal, smart pulley, thread, mass net.
Procedure:
Part1:Computer Set Up
Part2: Sensor Calibrating and Equipment Set Up
Part3:Data Recording Constant Total Mass
Result:
Data Table 1: Constant Total Mass
Trial |
M1(kg) |
M2(kg) |
Aexp(Ms˛) |
F net(N) |
M1+M2(ms˛) |
a, theory |
%diff |
Run1 |
0.089 |
0.126 |
0.962 |
0.1875 |
0.215 |
1.029 |
6.51 |
20.Exercises done in the computer lab: Present a complete report of all the Excel exercises done during the Week 2 lab hours.
Exercise1: Graphing with MS Excel.
Height(cm) |
Weight(kg) |
145 |
56 |
132 |
54 |
165 |
68 |
187 |
73 |
134 |
53 |
147 |
57 |
197 |
77 |
201 |
79 |
245 |
82 |
234 |
73 |
SUMMARY OUTPUT |
||||||||
Regression Statistics |
||||||||
Multiple R |
0.912032 |
|||||||
R Square |
0.831803 |
|||||||
Adjusted R Square |
0.810778 |
|||||||
Standard Error |
4.869025 |
|||||||
Observations |
10 |
|||||||
ANOVA |
||||||||
|
df |
SS |
MS |
F |
Significance F |
|||
Regression |
1 |
937.9407 |
937.9407 |
39.56319 |
0.000235 |
|||
Residual |
8 |
189.6593 |
23.70741 |
|||||
Total |
9 |
1127.6 |
|
|
|
|||
|
Coefficients |
Standard Error |
t Stat |
P-value |
Lower 95% |
Upper 95% |
Lower 95.0% |
Upper 95.0% |
Intercept |
22.30767 |
7.301373 |
3.05527 |
0.015695 |
5.470662 |
39.14468 |
5.470662 |
39.14468 |
Height cm |
0.251216 |
0.039939 |
6.289928 |
0.000235 |
0.159116 |
0.343317 |
0.159116 |
0.343317 |
Exercise2: Non Linear Curve Fitting.
Exercise3: Scientific Applications with Excel.
Coefficient Matrix |
Cons.Vector |
Sol.Vector |
|
3 |
-1 |
5 |
2 |
-2 |
10 |
6 |
1 |
Determinant Of Coefficient Matrix |
|||
28 |
|||
X1 coefficient matrix |
|||
5 |
-1 |
||
6 |
10 |
||
X2 coefficient matrix |
|||
3 |
5 |
||
-2 |
6 |
back to K.O.S