220 likes | 356 Views
Using spreadsheets for lab work. PHY102M Henry Schreiner The University of Texas at Austin. Entering information. Cells Cells have names Cells contain data, text, or formulas Cells have formats Normally overwrites, F2 or clicking again edits. Formulas. Start with =
E N D
Using spreadsheets forlab work PHY102M Henry Schreiner The University of Texas at Austin
Entering information • Cells • Cells have names • Cells contain data, text, or formulas • Cells have formats • Normally overwrites, F2 or clicking again edits
Formulas • Start with = • Standard math symbols: +-*/^() • Functions: SIN(), COS(), SQRT(), … • Cells by name (click shortcut)
Cell Ranges • You can refer to a range of cells using : • A1:A3 refers to the cells A1, A2, and A3 • SUM(), AVERAGE(), …
Copy and paste • Normal copy/paste copies formulas • More options available • Numbers • Formats • Linked cells
Copy and paste formulas • Copy and paste automatically translates positions
Locking • Adding $ locks the following value • A$1 -> the 1 won’t change • $A1 -> The A won’t change • $A$1 -> Neither will change
Smart fill • Using the mouse, you can smart fill values quickly • Works off selected cells • Drag the corner down or across
Smart fill • Using the mouse, you can smart fill values quickly • Works off selected cells • Drag the corner down or across • Formulas -> Like copy/paste • Numbers/Text -> Tries to guess the series
Handy formulas • PI() • SIN(x), COS(x), TAN(x) • ASIN(x), ACOS(x), ATAN(x) • SQRT(x) • RADIANS(x), DEGREES(x) • SUM(x), AVERAGE(X) • CONVERT(x, “from”, “to”) • SLOPE(y,x), INTERCEPT(y,x)
Graphing • Select a range • Insert graph • Choose type • Format options • Labels • Trend line and option • Move to separate sheet
Advanced graphing • Changing type • Changing data source • Multiple data sources on one graph
Printing • Page ranges • Scale to fit • Use sheets if you can! • Different views available
Advanced: Naming cells • Cells can have a name • Makes formulas nicer • Fewer $ • Personal preference: Start names with _ =$A$1 * $A$2 * B1 vs. =_m * _g * B1
Advanced: Unconnected selection • Use control to select ranges that don’t touch • Useful for graphing • Also works in some other programs
Advanced: Cell formatting • You can control sig-figs with formatting • You can change display types • You can control color, etc. 0.001234 0.0012 1.2E-3
Advanced: Special text • Super/subscripts • Greek letters • Special symbols • Force text with ‘
Advanced: Tables (Excel) • Tables allow simple manipulation of tabular data • Auto-fills, auto-updates for formulas • Nicer range names (?) • Easy sorting
Advanced: Formula helpers • List of functions • Can move cells by dragging • Can show formulas • Can show dependents • Sort: not (usually) a formula
Example lab-like work m=2.1 kg g = 9.81 m/s2
Second example m1=2.1 kg m2=0.93 kg
More help • Appendix A in lab manual • Specific tutorials on 102M website • Look for help online • Look for YouTube videos • Ask