01 Midterm COOKBOOK.pdf
Premium

15 Pages
133 Views
Unlock Document

Department
Chemistry
Course
CHEM 5
Professor
Douglas Tobias
Semester
Fall

Description
1: To Execute Command: Shift-Return COMMANDS FOR BASIC ARITHMETIC: 1: Addition: + 2: subtraction: - 3: multiplication: * 4: division: / 5: N[x,d] ← Very useful numerical approx. function. Gives a decimal approximation of the argument x to d significant digits. If you don't specify d, the default will be 6 digits. ✦ N can also be applied after the fact by appending //N to a command. [THIS IS ENTERING A COMMAND IN A POSTFIX FORM] REFERRING TO THE OUTPUT OF PREVIOUS CELLS: ✦ The % refers to the contents of the highest out[n]= (Usually the last) PLOTTING FUNCTIONS OF ONE VARIABLE: ✦ Displaying more than one function in the same plot: ✦ { } encloses a list. ✦ Plot Options • you can find a detailed explanation of commands that enable your to customize your plot in the Documentation by searching for plot or clicking on visualization and graphics, then function visualization. • Here are a few options: • AspectRatio: Is the ratio of the height of the plot to its width. • AxesOrigin: Changing the origin ex: AxesOrigin → {0,0} • PlotRange: Setting the range of the x to 0,5 and the range of y to 0,3 • Adding axes labels and a title to your pot using AxesLabel and PlotLabel • Changing font size, font: Can use BaseStyle → FontFamily → & FontSize → • Changing the attributes of the curve: Use PlotStyle → • Note: the GrayLevel is a number between 0 (black) and 1 (white) • Modifying the thickness: • Note: Thickness and Dashing are defined as the fraction of the width of the plot. • If you give one argument to Dashing: the lengths of the dashes and the spaces between them will be the same. • You can change this by giving two arguments to Dashing. • the first: is the length of the dashes • The second: is the length of the spaces between the dashes. • Frame around your plot: Frame → True • To label the axes when you have a frame you use FrameLabel option. • Adding a legend: ADDING COMMENTS TO NOTEBOOK: (* write your comments in this space, will look gray when done *) ASSIGNING VARIABLES: a = 2; b
More Less

Related notes for CHEM 5

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit