MAPLE CARD. All commands and constants must be typed in the case (UPPER or lower) that is indicated. Syntax Rules

Similar documents
Basic stuff -- assignments, arithmetic and functions

Getting to Know Maple

Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition

Fathom Dynamic Data TM Version 2 Specifications

Introduction to Matlab

YEAR 12 Core 1 & 2 Maths Curriculum (A Level Year 1)

Part V Appendices c Copyright, Todd Young and Martin Mohlenkamp, Department of Mathematics, Ohio University, 2017

Introduction to Engineering gii

UNIT 1: NUMBER LINES, INTERVALS, AND SETS

Sharp EL-9900 Graphing Calculator

SLStats.notebook. January 12, Statistics:

MST30040 Differential Equations via Computer Algebra Fall 2010 Worksheet 1

Sum and Difference Identities. Cosine Sum and Difference Identities: cos A B. does NOT equal cos A. Cosine of a Sum or Difference. cos B.

Excel 2010 with XLSTAT

Voluntary State Curriculum Algebra II

What is MATLAB? What is MATLAB? Programming Environment MATLAB PROGRAMMING. Stands for MATrix LABoratory. A programming environment

CREATING THE DISTRIBUTION ANALYSIS

Graphing Calculator Tutorial

AP Calculus Summer Review Packet School Year. Name

STATGRAPHICS Operators

TABLE OF CONTENTS CHAPTER 1 LIMIT AND CONTINUITY... 26

Minitab 17 commands Prepared by Jeffrey S. Simonoff

Introduction to MATLAB for Engineers, Third Edition

Integrated Math I. IM1.1.3 Understand and use the distributive, associative, and commutative properties.

SNAP Centre Workshop. Introduction to Trigonometry

LAB 1 General MATLAB Information 1

Quantitative - One Population

TI- Nspire Testing Instructions

Chapter 1 Introduction to MATLAB

1 Maple Introduction. 1.1 Getting Started. 1.2 Maple Commands

Algebra 1, 4th 4.5 weeks

correlated to the Michigan High School Mathematics Content Expectations

Math 227 EXCEL / MEGASTAT Guide

CSI31 Lecture 5. Topics: 3.1 Numeric Data Types 3.2 Using the Math Library 3.3 Accumulating Results: Factorial

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one.

Programming in Mathematics. Mili I. Shah

Outline. CSE 1570 Interacting with MATLAB. Starting MATLAB. Outline (Cont d) MATLAB Windows. MATLAB Desktop Window. Instructor: Aijun An

Index. Bar charts, 106 bartlett.test function, 159 Bottles dataset, 69 Box plots, 113

ALGEBRA II A CURRICULUM OUTLINE

Starting MATLAB To logon onto a Temple workstation at the Tech Center, follow the directions below.

Outline. CSE 1570 Interacting with MATLAB. Outline. Starting MATLAB. MATLAB Windows. MATLAB Desktop Window. Instructor: Aijun An.

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

Enduring Understandings: Some basic math skills are required to be reviewed in preparation for the course.

Outline. CSE 1570 Interacting with MATLAB. Starting MATLAB. Outline. MATLAB Windows. MATLAB Desktop Window. Instructor: Aijun An.

GRAPH 4.4. Megha K. Raman APRIL 22, 2015

Section 1: Numerical Calculations

Introduction to MATLAB

MATLAB NOTES. Matlab designed for numerical computing. Strongly oriented towards use of arrays, one and two dimensional.

Accelerated Life Testing Module Accelerated Life Testing - Overview

MATH RHINEBECK PRIORITIZED CURRICULUM MATH B

Introduction to MATLAB 7 for Engineers

Symbols. Anscombe s quartet, antiderivative, 200. bar charts for exercise, for expenses, Barnsley fern, drawing,

Themes in the Texas CCRS - Mathematics

Floating-point numbers. Phys 420/580 Lecture 6

Name: Teacher: Pd: Algebra 2/Trig: Trigonometric Graphs (SHORT VERSION)

QstatLab: software for statistical process control and robust engineering

EXCEL 98 TUTORIAL Chemistry C2407 fall 1998 Andy Eng, Columbia University 1998

The following information is for reviewing the material since Exam 3:

2 Maple for APPL. 2.1 Numerical Computations

Integrated Algebra 2 and Trigonometry. Quarter 1

MATLAB Basics EE107: COMMUNICATION SYSTEMS HUSSAIN ELKOTBY

Correlation of the ALEKS courses Algebra 1 and High School Geometry to the Wyoming Mathematics Content Standards for Grade 11

Mathematics 6 12 Section 26

Introduction to Classic Maple by David Maslanka

Mastery. PRECALCULUS Student Learning Targets

Central Valley School District Math Curriculum Map Grade 8. August - September

1.1 Numbers system :-

16.69 TAYLOR: Manipulation of Taylor series

PITSCO Math Individualized Prescriptive Lessons (IPLs)

Arithmetic expressions can be typed into Maple using the regular operators:

MATLAB QUICK START TUTORIAL

POLYMATH POLYMATH. for IBM and Compatible Personal Computers. for IBM and Compatible Personal Computers

STATS PAD USER MANUAL

Excel R Tips. is used for multiplication. + is used for addition. is used for subtraction. / is used for division

Graphics calculator instructions

Walt Whitman High School SUMMER REVIEW PACKET. For students entering AP CALCULUS BC

Prentice Hall Mathematics: Course Correlated to: Massachusetts State Learning Standards Curriculum Frameworks (Grades 7-8)

LAB #2: SAMPLING, SAMPLING DISTRIBUTIONS, AND THE CLT

PROGRAMMING WITH MATLAB DR. AHMET AKBULUT

Excel Scientific and Engineering Cookbook

1.1 Pearson Modeling and Equation Solving

Middle School Math Course 3

Introduction to FORTRAN

Introduction to MATLAB 7 for Engineers

MATHEMATICS Curriculum Grades 10 to 12

Things to Know for the Algebra I Regents

Montana Instructional Alignment HPS Critical Competencies Mathematics Honors Pre-Calculus

Computer Programming in MATLAB

AP Calculus Summer Review Packet

MATLAB Tutorial. Digital Signal Processing. Course Details. Topics. MATLAB Environment. Introduction. Digital Signal Processing (DSP)

Applied Regression Modeling: A Business Approach

Activity Overview A basic introduction to the many features of the calculator function of the TI-Nspire

Data Analysis and Solver Plugins for KSpread USER S MANUAL. Tomasz Maliszewski

Data Management Project Using Software to Carry Out Data Analysis Tasks

Design of Experiments

To be a grade 1 I need to

PART 1 PROGRAMMING WITH MATHLAB

Minnesota Academic Standards for Mathematics 2007

A 30 Minute Introduction to Octave ENGR Engineering Mathematics Tony Richardson

DEPARTMENT - Mathematics. Coding: N Number. A Algebra. G&M Geometry and Measure. S Statistics. P - Probability. R&P Ratio and Proportion

Transcription:

MAPLE CARD All commands and constants must be typed in the case (UPPER or lower) that is indicated Syntax Rules ; a semicolon or a colon and a RETURN must follow every command. % refers to previous display. Arithmetic Operations + addition subtraction * multiplication / division exponentiation! factorial Some Mathematical Constants Pi π exp(1) e -infinity infinity Mathematical Functions and Expressions f:=expression; labels the expression as f g:=x->expression; defines a function g in terms of the expression exp(x), exponential function log(x), ln(x) natural logarithms of x sqrt(x) square root of x abs(x) absolute value of x sin, cos, tan, sec, csc, cot trig. functions arcsin, arccos, arctan inverse trig. functions arccot, arcsec, arccsc " " GAMMA(n) the gamma function Some Basic Commands choose(l,k) 1 ; produces combinations of size k from the elements of the list L diff(f,x); differentiates f with respect to x diff(f,x$n); computes the nth derivative of f w.r.t. x denom(f); denominator of the expression f evalf(f); numerical evaluation of f expand(f); algebraic expansion of f [seq(coeff(expand((1+t) 9),t,n), n=0..9)]; extracts coefficients of tˆn as a list 1

int(f,x); attempts to find the antiderivative of the expression f w.r.t. x. If unsuccessful, the integral is returned without evaluation. int(f, x=a..b);attempts to find the definite integral of f for x on the interval (a,b). If unsuccessful, the integral is returned. If a numerical solution is desired, follow up with an evalf command. numer(f); numerator of the expression f permute(n) 1 ; produces a list of all n! permutations of {1, 2,...n} plot(f,x=a..b);plots the expression f (defined in terms of x) on the interval (a,b) plot({f1,f2,f3},x=a..b); plots expressions f1, f2 and f3 (all defined in terms of x) on the same set of axes. randcomb(l,k) 1 ; for a list, L, gives a random combination of k elements of L randperm(n) 1 ; if n is an integer, produces a single random permutation of {1, 2,...n}. If n is a list, we get a random permutation of the elements of n. solve(f,x); solve the equation f=0 for x symbolically. fsolve(f,x); solve the equation f=0 for x numerically. subs(x=a,f); substitute a for x in the expression f eval(f,x=a); evaluates the expression f at x=a sum(f,x=a..b); sums values of f which correspond to x=a, a+1,..., b taylor(y,x=a,n); computes a truncated Taylor series (up to the nth degree term) of f, expanded about x=a. Lists and Some Operations on Lists sort(a); sorts the list A in non-decreasing order map(x->xˆ2, L); produces a new list with entries equal to the squares of the entries from L. The first argument can be any mapping. X:=[i$i=1..3]; produces X = [1,2,3] Y:=[a, b, c]; makes Y the list of a, b, and c zip((x,y)->(x,y),x,y); produces [1,a,2,b,3,c] zip((x,y)->[x,y],x,y); produces [[1,a],[2,b],[3,c]] [seq(coeff((series(exp(x),x,9)),x,n),n=1..8)]; list of first eight coefficients in e x series Maple Supplement Commands: B.2 Descriptive Statistics Mean(L); StDev(L); average of the elements of L standard deviation of the elements of L 2

Variance(L); sample variance of the elements of L Max(L); the maximum value of the list L Min(L); the minimum value of the list L Range(L); the range of values of the list L Percentile(L,p); 100p-th percentile of the list L Median(L); the median of the list L Skewness(L); the skewness (third moment) of the list L Kurtosis(L); the kurtosis (fourth moment) of the list L Freq(L, a..b);the list of frequencies of a, a+1, a+2,..., b in the list L ClassFreq(L,a..b,n); frequencies of n equal-sized classes between a and b Locate(L, x); the location of the first occurrence of x within the list L RunningSum(L);running sums for the list L Maple Supplement Commands: B.3 Random Samples RNG(n); n random numbers from [0,1). Die(m,n); n rolls of an m-sided die. DiscreteS(PDF,n); if X assumes values k,..., k + m with respective probabilities p k,..., p k+m and if PDF := [k, p k,..., k + m, p k+m ], then DiscreteS(PDF,n) will produce n random observations of X. ContinuousS(expr,a..b,n); simulates n observations from the continuous distribution with p.d.f. expr on the interval [a,b]. BetaS(alpha, beta, n); random sample (size n) from the beta distribution BernoulliS(p, n); BinomialS(N, p, n) BivariateNormalS(muX,varX,muY,varY,rho,n); CauchyS(n) ChisquareS(r, n); DiscUniformS(a..b, n); ExponentialS(theta,n) FS(nu1, nu2,n) GammaS(alpha, theta, n) GeometricS(p, n) HypergeometricS(N1,N2,n,m) LogisticS(n) NegBinomialS(r, p, n) NormalS(mu,var,n); PoissonS(lambda, n) TS(nu, n) UniformS(a..b, n) Maple Supplement Commands: B.4 Plotting ProbHist(expr, min..max); probability histogram for discrete distributions with p.d.f given by expr ProbHist(PDF); prob. hist. for discr. dist., PDF:=[k, p k,..., k + m, p k+m ] Histogram(X,xmin..xmax,NI); hist for data list X, NI bins Histogram(X); histogram for the list X, 8 bins 3

PlotDiscCDF(expr, a..b); graph of the distribution function with p.d.f. expr. PlotEmpPDF(L, a..b, NI); graph of the empirical p.d.f. PlotEmpPDF(L); graph of the empirical p.d.f. PlotEmpCDF(L,xmin..xmax); graph of the empirical c.d.f. Ogive(L,xmin..xmax,NI); ogive for the data in L. PlotRunningAverage(L); running averages of the list L TimePlot(L1,L2,...,Lk); time series for the data in the lists L1, L2,..., Lk StemLeaf(L, ND, NR); stem-and-leaf display of the data in the list L, ND leaf digits, NR rows BoxWhisker(L1,L2,...,Lk); box-and-whisker plot(s) for the list(s) L1, L2,..., Lk QQ(X, Y); q-q plot of points with x and y coordinates in the lists X and Y QQ(L); q-q plot of points with x and y coordinates as sublists in the list L XbarChart(L, n, msd); x chart of the list of means, L, from samples of size n Maple Supplement Commands: B.5 Regression L may be replaced with X,Y as illustrated in Correlation Correlation(L); correlation coefficient of n points [x i, y i ], in the list of lists L Correlation(X, Y); correlation coefficient of n points in two lists, X and Y LinReg(L, x); returns the Y on X linear regression equation in the variable x PolyReg(L,deg,x); finds least squares polynomial of ScatPlot(L); degree deg for data in list of lists L produces a scatter plot of the n points in the list of lists L ScatPlotLine(L); produces a scatter plot of the n points in the list of lists L with the regression line superimposed PlotPolyReg(L,deg);produces a scatter plot of the n points in the list of lists L along with polynomial regression curve of degree deg Residuals(L, deg); displays and plots residuals calculated from degree deg polynomial regression RegBand(L,ConfLev,Type); for a list of lists L, plots a scatter plot, regression line, and a ConfLev% confidence (C) or prediction band (P) 4

Maple Supplement Commands: B.6 p.d.f.s BernoulliPDF(p,x); p.d.f. of Bernoulli dist. BetaPDF(alpha, beta, x); BinomialPDF(N, p, x); CauchyPDF(x); ChisquarePDF(r, x); ExponentialPDF(theta, x); FPDF(nu1, nu2, x); GammaPDF(alpha,theta,x); GeometricPDF(p, x); LogisticPDF(x); NegBinomialPDF(r,p,x); NormalPDF(mu,var,x); PoissonPDF(lambda,x); TPDF(nu, x); UniformPDF(a..b, x); BivariateNormalPDF(muX,VarX,x,muY,VarY,y,rho); DoubleExponentialPDF(alpha, theta, x); HypergeometricPDF(N1, N2, n, x); WeibullPDF(alpha, beta, theta, x); Maple Supplement Commands: B.7 c.d.f.s BernoulliCDF(p,x); c.d.f. of Bernoulli dist. BetaCDF(alpha, beta, x); BinomialCDF(N, p, x); ChisquareCDF(r, x); ExponentialCDF(theta,x); FCDF(nu1, nu2, x); GammaCDF(alpha,theta,x); GeometricCDF(p, x); NegBinomialCDF(r, p, x); NormalCDF(mu,var,x); PoissonCDF(lambda, x); TCDF(nu, x); UniformCDF(a..b, x); Maple Supplement Commands: B.8 pth percentile BetaP(alpha, beta, p); ChisquareP(r, p); ExponentialP(theta, p); FP(nu1, nu2, p); GammaP(alpha, theta, p); NormalP(mu, var, p); TP(nu, p); UniformP(a..b, p); Maple Supplement Commands: B.9 Sampling Distributions UniformMeanS(a..b,n,m); m means of random samples of size n from U(a, b). UniformMedianS(a..b,n,m); medians from uniform dist. UniformSumS(a..b,n,m); sums from uniform dist. NormalMeanS(mu,var,n,m); means from normal dist. NormalMedianS(mu, var, n, m); medians from normal dist. NormalVarianceS(mu,var,n,m);variances from normal dist. NormalSumS(mu,var,n,m); sums from normal dist. NormTransVarS(mu,var,n,m); (n 1)S 2 /σ 2 ; from normal dist. ExponentialSumS(theta,n,m); sums from exponential dist. 5

Maple Supplement Commands: B.10 Confidence Intervals ConfIntMean(ListOfSamples,CL); produces CL% conf. intervals for mean of each sample ConfIntMean(ListOfSamples,ConfLev,var); var known ConfIntVar(ListOfSamples,CL); produces CL% conf. intervals for the variance ConfIntProp(ListOfSamples,ConfLev); conf. int. for p ConfIntSuc(ListOfIntervals,v); counts number of intervals that contain parameter v ConfIntAvLen(ListOfIntervals); finds average length ConfIntPlot(ListOfIntervals); plot of the intervals ConfIntPlot(ListOfIntervals,v); adds vertical line at v Maple Supplement Commands: B.11 ANOVA Anova1(L); One-way ANOVA Anova2s(L);Two-way ANOVA, single observation per cell Anova2m(L);Two-way ANOVA, multiple observations per cell Maple Supplement Commands: B.12 Goodness of Fit ChisquareFit(X,CDF,Classes); Chi-square goodness of fit ChisquareFit(X,CDF,Classes,Disc); Chi-square goodness of fit, discrete dist. KSFit(X,CDF,xmin..xmax); Kolmogorov-Smirnov goodness of fit Maple Supplement Commands: B.13 Nonparametric Tests SignTest(Bexpr,x=X,y=Y,...); Bexpr is a boolean expression. Counts number of times list(s) satisfy it. Wilcoxon(L,m); Wilcoxon statistic for testing median MedianTest(X,Y,k); Median test Wilcoxon2(X,Y); Two-sample Wilcoxon test RunTest(X,Y); Counts runs in combined list RunTest(X,m); Run test for randomness Maple Supplement Commands: B.14 Miscellaneous Cards; (list of 52 cards) MarginalRelFreq(A); Craps(); FastCraps(n); Contingency(L); RandWalk(pn,ps,pe,steps,n); GraphRandWalk(pn,ps,pe,steps); RandWalk2(pn,p3,steps,n); Convolution(X1,X2); GraphRandWalk2(pn,pe,steps); 1 This command is part of the combinatorial package; to use it, you must first issue the with(combinat): command. 6