Você está na página 1de 19

ENGR 351 Numerical Methods

College of Engineering
Southern Illinois University Carbondale

Name

Dawgtag

Assignment
Graphing

Additional Points on Assignment


Correct File Name (5 pts)
Professional Photo on D2L (5 pts)

Overview:

This workbook contains examples that illustrated


different graphs. The first graph in each category is a
default graph. Each of these are followed by an
improved graph and a homework problem. This
assignment will be demonstrated and discussed in
class.
x y ymodel
2 3.6 3.61773 10
4 4.6 4.707904 9
6 5.5 5.492148
8
8 5.9 6.126592
10 6.8 6.668756 7
12 7.4 7.147163 6
14 7.5 7.578329 5 Column B
16 7.7 7.972791 Column C
4
18 8.1 8.33774
3
20 8.8 8.678331
2
1
0
0 5 10 15 20 25

Here, I have graphed an equation against some data.


Column B
Column C

25
Example: Scatter Graph

x y ymodel
2 3.6 3.62
4 4.6 4.71 Sample Graph
6 5.5 5.49 10
8 5.9 6.13
9
10 6.8 6.67
8
12 7.4 7.15
14 7.5 7.58 7
16 7.7 7.97 6
18 8.1 8.34 5

y
20 8.8 8.68 4
3 Data
2 Model
1
0
0 5 10 15 20 25
x
Data
Model

20 25
Homework - Problem 1
Scatter Plot
x y y (Model)
0 0.4 0.50 Problem 1
0.25 0.52 0.64
14
0.5 0.93 0.82
12
0.75 1.01 1.06
10

f(x)
1 1.62 1.36
8
1.25 1.74 1.75
6
1.5 1.99 2.24
1.75 2.91 2.88 4

2 3.37 3.69 2

2.25 4.32 4.74 0


0 0.5 1 1.5 2 2.5 3 3.5
2.5 6.34 6.09
x
2.75 7.92 7.82
3 11.55 10.04 Data Model
3.25 12.55 12.90

Model
y = 0.5ex
SCORE 0
RUBRIC
Use of Equation (2 pts)
Scatter graph (2 pts)
Use of legend (1 pt)
Label axis (1 pt)
Chart title (1 pt)
Table format (1 pt)
Overall presentation (2 pts)
Grader's Comments:

3 3.5

Note: Use scatter graph, not line graph.


Common first time mistake.
Bar and Line Graphs

Year Freshman Graduates


350
2000 250 150
2002 290 175 300
2004 275 163
2006 266 145 250
2008 233 193
2010 258 182 200
Column
2012 301 174
150 Column

100

50

0
1 2 3 4 5 6 7

350

300

250

200
Column
150 Column

100

50

0
1 2 3 4 5 6 7
Column B
Column C

Column B
Column C

7
Example: Bar and Line Graphs

Year Freshman Graduates


2000 250 150 Enrollment
2002 290 175
350
2004 275 163
2006 266 145 300
2008 233 193 250

Number of Students
2010 258 182 Freshman
2012 301 174 200
Graduates
150

100

50

0
2000 2002 2004 2006 2008 2010 2012

Enrollment
350

300

250
Number of Students

Freshmen
200
Graduates
150

100

50

0
2000 2002 2004 2006 2008 2010 2012
Freshman
Graduates

0 2012

Freshmen
Graduates

010 2012
Homework - Problem 2
Line Plot

P ro fit by Store Location


Profit by Store Location
Year
Carbondale St. Louis
2002 $123,000.00 $223,777.00
2003 $107,000.00 $228,398.00
2004 $200,434.00 $300,492.00 Problem 2
2005 $228,567.00 $400,288.00 $700,000.00
2006 $555,390.00 $350,444.00 $600,000.00

2007 $559,209.00 $372,822.00 $500,000.00


$400,000.00
2008 $530,235.00 $392,844.00
$300,000.00
2009 $588,932.00 $278,299.00
$200,000.00
2010 $572,340.00 $270,342.00 $100,000.00
2011 $486,388.00 $250,388.00 $0.00
2002 2003 2004 2005 2006 2007 2008 2009 2010
2012 $493,444.00 $233,841.00
Year

Ca rbonda l e St. Loui s

Bar Graph
Profit by Store Location

Problem 2
$700,000.00

$600,000.00

$500,000.00

$400,000.00

$300,000.00

$200,000.00

$100,000.00

$0.00
2002 2003 2004 2005 2006 2007 2008 2009 2010 201
Years
SCORE 0
RUBRIC
Label Axis (4 pts)
Legend (4 pts)
Overall presentation (2 pts)
m2
Grader's Comments:

2007 2008 2009 2010 2011 2012

ar

St. Loui s

m2

Ca rbonda l e
St. Loui s

07 2008 2009 2010 2011 2012


Error Bars
180
t (min) C C C
160
0 12 13 12
10 15 19 14 140
20 16 12 17 120
30 18 20 20
100
40 22 24 24
50 27 26 20 80
60 34 29 36 60
70 42 41 41
80 45 57 48 40
90 55 50 49 20
100 66 60 65
0
110 75 76 78 0 20 40 60 80
120 91 83 98
130 110 127 110
140 125 166 130
150 164 168 150
0

0 Column B
0 Column C
Column D
0

0
0 20 40 60 80 100 120 140 160
Example: Concentration with time (Error Bars)

Trial 1 Trial 2 Trial 3


t (min) C (ppm) C (ppm) C (ppm) t (hr) Cavg (ppm) STD
0 12 13 12 0.00 12.33 0.58 Example wi
10 15 19 14 0.17 16.00 2.65 180
20 16 12 17 0.33 15.00 2.65
160
30 18 20 20 0.50 19.33 1.15
40 22 24 24 0.67 23.33 1.15 140
50 27 26 20 0.83 24.33 3.79 120
60 34 29 36 1.00 33.00 3.61 100

Cavg (ppm)
70 42 41 41 1.17 41.33 0.58
80
80 45 57 48 1.33 50.00 6.24
90 55 50 49 1.50 51.33 3.21 60
100 66 60 65 1.67 63.67 3.21 40
110 75 76 78 1.83 76.33 1.53 20
120 91 83 98 2.00 90.67 7.51
0
130 110 127 110 2.17 115.67 9.81 0.0 0.5 1.0
140 125 166 130 2.33 140.33 22.37
150 164 168 150 2.50 160.67 9.45
Example with Error Bars
0
0
0
0
0
0
0
0
0
0
0.0 0.5 1.0 1.5 2.0 2.5
Time (hr)
Homework Problem 3

Runner Time (min) Time (min) Time (min) Avarage Standard Deviation
Smith 12.08 11.94 12.88 12.30 0.51
Valquez 10.33 10.45 10.4 10.39 0.06
Khalil 10.77 10.33 10.03 10.38 0.37
Johnson 10.93 11.02 11.04 11.00 0.06
Smith-Alverez 12.52 11.93 11.88 12.11 0.36
Schloth 11.22 11.78 10.25 11.08 0.77
Kiefer 11.33 11.29 11.45 11.36 0.08
Schultz 10.33 11.02 12.05 11.13 0.87
Sayad 11.03 11.09 12.21 11.44 0.66

Bar Graph

Problem 3
12.50

12.00
Avarage

11.50

11.00

10.50

10.00

9.50

9.00
Smi th Va l quez Khal i l Johns on Smi th-Al verez Schl oth Ki efer Schul tz Sayad

Runner's Name
SCORE 0
RUBRIC
Calculate avg and stdev (4 pts)
Correct use of error bars (4 pts)
Overall presentation (2 pts)

Grader's Comments:

Hint: Use a bar graph, with names as labels.

Ki efer Schul tz Sayad

Você também pode gostar