Display Math in ConTEXt
|
|
|
- Rachel Caldwell
- 10 years ago
- Views:
Transcription
1 22 MAPS 34 Aditya Mahajan Display Math in ConTEXt ConTEXt rehab for amsmath addicts Abstract This article explains how to do various kinds of alignments in ConTEXt. A visual output is presented, and it is then shown how that effect can be achieved in LaTEX and ConTEXt. We hope that article will make the transition from LaTEX with amsmath package to ConTEXt easier. Keywords ConTEXt, LaTEX, math alignment, amsmath Introduction Plain TEX provides several macros like \eqalign, \eqalignno, \displaylines, \matrix, \pmatrix, \cases, and \halign, for math alignments. These macros are adequate for most constructions that occur in practice. AMS-TeX and the amsmath package for LaTEX supply math alignment environments that provide a layer of abstraction for the user and makes it (slightly) easier for him/her to type the common math alignments. Most people learning TEX these days start from LaTEX and those writing substantial math use the amsmath package; they know nothing about the plain TEX math alignment macros. In earlier versions of ConTEXt, since the plain TEX macros could be used, no additional macros for math alignments were provided. This made writing math alignments difficult for users who came to ConTEXt with a LaTEX background. They did not know about plain TEX macros and kept looking for something equivalent to the amsmath package. There was an amsl package module by Giuseppe Bilotta, but it was very limited. Moreover, doing alignments with multiple alignment points in plain TEX requires a good understanding of the TEX alignment mechanism; making them obscure for a typical user. This resulted in a general impression that ConTEXt does not handle math very well. Recently (in January 2006 to be precise), Hans added math alignment macros in ConTEXt. These macros provide a very nice user interface to plain TEX s alignment mechanism; they can be used to achieve the functionality of amsmath package macros; and, like all user macros in ConTEXt, they are easy to customize. These macros, however, neither copy the user interface of amsmath package, nor the implementation. So, translating your existing LaTEX math code into ConTEXt requires some effort and the result is not necessarily, pixel by pixel, identical. In this article, I describe how to convert the common alignment constructions from LaTEX to ConTEXt, highlighting some of the flexibility offered by ConTEXt. This is a visual document: I first show how the output should look like, then present LaTEX and ConTEXt examples that give that output. This article is not meant as a tutorial for math alignments in LaTEX or ConTEXt, and I do not explain the LaTEX and the ConTEXt syntax. The article is not exhaustive; it provides a small sample of math alignments that can be done using LaTEX and ConTEXt. For an indepth treatment of LaTEX s math capabilities see Herbert Voß s mathmode. 1 For a introduction to ConTEXt math alignment see My Way on \startalign and friends. 2 The objective
2 Display Math in ConTEXt NAJAAR of this article is not to compare the features of these two macro packages, rather it is to show that ConTEXt is capable of handling complicated math alignments. Math Alignments ConTEXt provides mathalignment series of macros (\definemathalignment, \setupmathalignment, \startmathalignment, and ) to take care of the different math alignments. Below, I describe some common math constructs, and examples of how to achieve them in LaTEX and ConTEXt. gather The gather environment of amsmath package allows you to write multi--line formulas with each line center aligned. It is perhaps the simplest form of alignment. the same effect can be achieved using appropriate options to \startmathalignment. \begin{gather} v = u + at, \\ d = ut + \frac12 atˆ2. \end{gather} = = \startmathalignment[n=1] \NC v = u + at, \NR[+] \NC d = ut + \frac12 atˆ2. \NR[+] v = u + at, (1) v = u + at, (1) left gather Sometimes one wants multi--line formulas, where each line is left or right aligned, rather than center aligned as in the gather environment. Although, LaTEX does not provide any in--built environment for such constructions, it is easy to exploit the align environment to achieve this output. passing align=left to \startmathalignment gives the desired output. = + =
3 24 MAPS 34 Aditya Mahajan \begin{align} & v = u + at, \\ & d = ut + \frac12 atˆ2. \end{align} v = u + at, (1) \startmathalignment[n=1,align=left] %align=left does the magic \NC v = u + at, \NR[+] \NC d = ut + \frac12 atˆ2. \NR[+] v = u + at, (1) right gather For multi--line formulas with each line right aligned, in LaTEX you can exploit the align environment, while in ConTEXt you need to pass align=right to \startmathalignment = = + \begin{align} v = u + at, & \\ d = ut + \frac12 atˆ2. & \end{align} v = u + at, (1) \startmathalignment[n=1,align=right] %align=right does the magic \NC v = u + at, \NR[+] \NC d = ut + \frac12 atˆ2. \NR[+] v = u + at, (1) align This is the simplest and the most widely used form of alignment. In the simplest case, there are two columns, one right aligned and the other left aligned. the align environment takes care of such alignments; in ConTEXt \startmathalignment.
4 Display Math in ConTEXt NAJAAR = = \begin{align} v &= u + at, \\ d &= ut + \frac12 atˆ2. \end{align} v = u + at, (1) \startmathalignment \NC v \NC = u + at, \NR[+] \NC d \NC = ut + \frac12 atˆ2. \NR[+] v = u + at, (1) split The split environment of amsmath package is used for writing a single formula which needs more than one line. The whole formula gets a single number. In ConTEXt you have to manually specify which line to number. = \begin{equation} \begin{split} (x+1)ˆ8 ={} & xˆ8 + 8 xˆ xˆ xˆ xˆ4 \\ & + 56 xˆ xˆ2 + 8 x + 1. \end{split} \end{equation} (x + 1) 8 = x 8 + 8x x x x x x 2 + 8x + 1. (1) \startmathalignment \NC (x+1)ˆ8 = \NC xˆ8 + 8 xˆ xˆ xˆ xˆ4 \NR \NC \NC + 56 xˆ xˆ2 + 8 x + 1. \NR[+] (x + 1) 8 = x 8 + 8x x x x x x 2 + 8x + 1. (1)
5 26 MAPS 34 Aditya Mahajan Notice that in LaTEX the spacing around = in the first line has to be manually corrected by typing {}. ConTEXt takes care of this automatically. you can control the position of the tag with tbtags or centertags option to the amsmath package. Right now, with the math alignment macros in ConTEXt you can only achieve the result equivalent to tbtags. To get the result equivalent to centertags you have to use the \eqalign macro of plain TEX. alignat The alignat environment of amsmath package allows you to align at several places. The alignment order alternates between right and left aligned columns. the same effect can be achieved by m=... option of \startmathalignment. = + = + + = + + = + \begin{alignat}{2} \nabla\cdot \mathbf E &= \frac{\rho}{\varepsilon_0}, \qquad & \nabla\times \mathbf E &= -\frac{\partial \mathbf B}{\partial t},\\ \nabla\cdot \mathbf B &= 0, & \nabla\times \mathbf B &= \mu_0{\mathbf j}+\varepsilon_0\mu_0 \frac{\partial \mathbf E}{\partial t}. \end{alignat} E = ρ ε 0, B = 0, E = B t, (1) B = µ 0 j + ε 0 µ 0 E t. (2) \startmathalignment[m=2,distance=2em]%notice distance=2em \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NC \nabla\times \bf E \NC= -\frac{\partial \bf B}{\partial t},\nr[+] \NC \nabla\cdot \bf B \NC= 0, \NC \nabla\times \bf B \NC= \mu_0{\bf j}+\varepsilon_0\mu_0 \frac{\partial \bf E}{\partial t}. \NR[+] E = ρ ε 0, B = 0, E = B t, (1) B = µ 0 j + ε 0 µ 0 E t. (2) flalign The flalign environment is the same as alignat environment but with the equations a little more out spaced. you can control the space between the blocks by distance=... option to \startmathalignment. = = = + + = + +
6 Display Math in ConTEXt NAJAAR \begin{flalign*} \nabla\cdot \mathbf E &= \frac{\rho}{\varepsilon_0}, & \nabla\times \mathbf E &= -\frac{\partial \mathbf B}{\partial t}.\\ \nabla\cdot \mathbf B &= 0, & \nabla\times \mathbf B &= \mu_0{\mathbf j}+\varepsilon_0\mu_0 \frac{\partial \mathbf E}{\partial t}. \end{flalign*} E = ρ ε 0, B = 0, E = B t. B = µ 0 j + ε 0 µ 0 E t. \startmathalignment[m=2,distance=2em plus 1 fil]%notice distance=... \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NC \nabla\times \bf E \NC= -\frac{\partial \bf B}{\partial t}, \NR \NC \nabla\cdot \bf B \NC= 0, \NC \nabla\times \bf B \NC= \mu_0{\bf j}+\varepsilon_0\mu_0 E = ρ ε 0, B = 0, \frac{\partial \bf E}{\partial t}. E = B t, \NR B = µ 0 j + ε 0 µ 0 E t. intertext The \intertext macro from amsmath allows you to break the alignment and write some text, which does not affect the alignment. ConTEXt provides the \intertext macro and a \startintertext, \stopintertext environment for the same. = = \begin{align*} \cos 2\theta &= \cosˆ2 \theta + \sinˆ2 \theta \\ \intertext{replace $\sinˆ2 \theta$ by $1 - \cosˆ2 \theta$} &= 2\cosˆ2 \theta - 1 \end{align*}
7 28 MAPS 34 Aditya Mahajan replace sin 2 θ by 1 cos 2 θ cos 2θ = cos 2 θ + sin 2 θ = 2 cos 2 θ 1 \startmathalignment \NC \cos 2\theta \NC= \cosˆ2 \theta + \sinˆ2 \theta \NR \intertext{replace $\sinˆ2 \theta$ by $1 - \cosˆ2 \theta$} \NC \NC = 2\cosˆ2 \theta - 1 \NR cos 2θ = cos 2 θ + sin 2 θ replace sin 2 θ by 1 cos 2 θ = 2 cos 2 θ 1 linear equations linear equations can be handled using alignat environment; in ConTEXt appropriate options to \startmathalignment take care of this construction = + + = + + = \begin{alignat}{5} x_1 & {} + {}& x_2 &{} + {}& 6x_3 &{} = {}& 170, \\ 3x_1 & {} - {}& 110x_2 &{} - {}& x_3 &{} = {}& 4, \\ 14x_1 & {} + {}& 13x_2 &{} + {}& 10x_3 &{} = {}& 25. \end{alignat} x 1 + x 2 + 6x 3 = 170, (1) 3x 1 110x 2 x 3 = 4, (2) 14x x x 3 = 25. (3)
8 Display Math in ConTEXt NAJAAR \startmathalignment [n=7,align={right,left,right,left,right,left,right}] \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR[+] \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR[+] \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 25. \NR[+] x 1 + x 2 + 6x 3 = 170, (1) 3x 1 110x 2 x 3 = 4, (2) 14x x x 3 = 25. (3) we are limited to left and right aligned columns. it is easy to change the alignment of individual columns. For example \startmathalignment[n=7, align={middle,middle,middle,middle,middle,middle,middle}] \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR[+] \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR[+] \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 25. \NR[+] x 1 + x 2 + 6x 3 = 170, (1) 3x 1 110x 2 x 3 = 4, (2) 14x x x 3 = 25. (3) multi--column numbered equations Sometimes, while writing formulas in blocks, you need to number formulas in all blocks. I do not know of any easy way to do this in LaTEX. Herbert Voß s Mathmode 1 has an example in Section 73 of using tabular to achieve this effect. ConTEXt provides s for multi--column formulas, which allows numbering of formulas in each column. = + + (1) = = + + = (2) s \startmathalignment \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NR[+] \NC \nabla\cdot \bf B \NC= 0, \NR[+] \startmathalignment \NC \nabla\times \bf E \NC= -\frac{\partial \bf B}{\partial t},\nr[+] \NC \nabla\times \bf B \NC= \mu_0{\bf j}+\varepsilon_0\mu_0 \frac{\partial \bf E}{\partial t}. \NR[+] s
9 30 MAPS 34 Aditya Mahajan E = ρ ε 0, (1) B = 0, (2) E = B t, (3) B = µ 0 j + ε 0 µ 0 E t. (4) Defining your own alignments In the examples given above, I passed the arguments to \startmathalignment. This can be repetitive if you have to use the same alignment many times. ConTEXt provides \definemathalignment to define a new math alignments. Suppose you have to type a lot of linear equations, you can define your own alignment as follows \definemathalignment [linearequations] [n=7,align={middle,middle,middle,middle,middle,middle,middle}] \startlinearequations \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR[+] \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR[+] \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 25. \NR[+] \stoplinearequations x 1 + x 2 + 6x 3 = 170, (1) 3x 1 110x 2 x 3 = 4, (2) 14x x x 3 = 25. (3) You can define similar alignments for each special case that you have to use. Matrix and Arrays ConTEXt provides mathmatrix series of macros (\definemathmatrix, \setupmathmatrix, \startmathmatrix, and \stopmathmatrix) to take care of matrix alignments. These macros can provide functionality of array environment as well as the matrix series of macros from amsmath package. Simple Matrix A matrix is a collection of objects that are arranged in rows and columns. this alignment is provided by the array environment. \startmathmatrix provides this feature. \begin{equation*} \setlength{\arraycolsep}{1em} \begin{array}{ccc} A & B & C \\ AA & BB & CC \\ AAA & BBB & CCC \end{array} \end{equation*}
10 Display Math in ConTEXt NAJAAR A B C AA BB CC AAA BBB CCC \startmathmatrix[n=3] \NC A \NC B \NC C \NR \NC AA \NC BB \NC CC \NR \NC AAA \NC BBB \NC CCC \NR \stopmathmatrix A B C AA BB CC AAA BBB CCC the alignment of each column can be changed by the r,c,l options to array. you need to pass appropriate arguments to align=.... \begin{equation*} \setlength{\arraycolsep}{1em} \begin{array}{lcr} A & B & C \\ AA & BB & CC \\ AAA & BBB & CCC \end{array} \end{equation*} A B C AA BB CC AAA BBB CCC \startmathmatrix[n=3,align={left,middle,right}] \NC A \NC B \NC C \NR \NC AA \NC BB \NC CC \NR \NC AAA \NC BBB \NC CCC \NR \stopmathmatrix A B C AA BB CC AAA BBB CCC pmatrix, et. al The amsmath package provides pmatrix, bmatrix, etc. environments that make it easy to typeset matrix surrounded by delimiters. it is straightforward to define such matrices uses \definemathmatrix \begin{equation*} A = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} \end{equation*}
11 32 MAPS 34 Aditya Mahajan A = \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] A = \startpmatrix 1 \NR 2 \NR 3 \NR \stoppmatrix ) A = ( delarray package ( ) ( ) ( ) The delarray package in LaTEX allows you to typeset arrays with properly scaled delimiters, even when the array is not middle aligned to the baseline. the \startmathmatrix takes care of proper scaling of delimiters. \begin{equation*} \begin{array}[b]({c}) 1 \\ 2 \\ 3 \end{array} \begin{array}[c]({c}) 1 \\ 2 \\ 3 \end{array} \begin{array}[t]({c}) 1 \\ 2 \\ 3 \end{array} \end{equation*} \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \startpmatrix[location=low] 1 \NR 2 \NR 3 \NR \stoppmatrix \startpmatrix[location=middle] 1 \NR 2 \NR 3 \NR \stoppmatrix \startpmatrix[location=high] 1 \NR 2 \NR 3 \NR \stoppmatrix
12 Display Math in ConTEXt NAJAAR Cases ( ) ( ) ( ) Cases is another common math alignment. { +, = + +, The amsmath package provides a cases environment to build such alignments. ConTEXt provides \startmathcases. \begin{equation*} x = \begin{cases} x, & \text{if $x \ge 0$;} \\ -x, & \text{otherwise.} \end{cases} \end{equation*} x = { x, if x 0; x, otherwise. x = \startmathcases \NC x, \NC if $x \ge 0$ ; \NR \NC -x, \NC otherwise. \stopmathcases \NR { x = x, if x 0 ; x, otherwise. In the cases environment, the rows are set in textstyle. The mathtools package package provides a dcases environment to set the rows in displaystyle. you can set the rows in displaystyle by passing style=\displaystyle to \startmathcases (or defining a new cases structure using \definemathcases). \begin{equation*} f(x) = \begin{dcases} \int_0ˆx g(y)\,dy, & \text{if $x \ge 0$;} \\ \int_{-x}ˆ0 g(y)\,dy, & \text{otherwise.} \end{dcases} \end{equation*}
13 34 MAPS 34 Aditya Mahajan f(x) = x 0 0 x g(y) dy, if x 0; g(y) dy, otherwise. f(x) = \startmathcases[style=\displaystyle] \NC \int_0ˆx g(y)\,dy, \NC if $x \ge 0$; \NR \NC \int_{-x}ˆ0 g(y)\,dy, \NC otherwise. \stopmathcases f(x) = Predefined Alignments ConTEXt already has x 0 0 x \definemathalignment[align] \definemathmatrix[matrix] \definemantcases[cases] g(y) dy, if x 0; g(y) dy, otherwise. defined. This means that in all the above examples, you can shorten \startmathalignment... to \startalign...\stopalign, \startmathmatrix...\stopmathmatrix to \startmatrix...\stopmatrix, and \startmathcases...\stopmathcases to \startalign...\stopalign. Conclusion ConTEXt now provides macros for math alignments. This makes it easier for the users to write complicated math alignments in ConTEXt. The syntax is consistent with the rest of ConTEXt macros, and thereby different from amsmath package syntax. Hopefully, this article will help eliminate the myth that ConTEXt is not able to handle complicated math. features are added on user requests; so if there is something that you need which is not present in ConTEXt, ask for a feature request on the mailing list. Notes 1. Herbert Voß, Math mode, available from /info/math/voss/mathmode/mathmode.pdf 2. Aditya Mahajan, My Way on \startalign and friends, available from contextgarden.net/myway/mathalign.pdf 3. Compare these solutions from Exercise 22.9 in the TEXbook. Aditya Mahajan [email protected] \NR
My Way MAPS 34, NAJAAR 2006. Display Math in ConTEXt: ConTEXt rehab for amsmath addicts Aditya Mahajan
My Way MAPS 34, NAJAAR 2006 Display Math in ConTEXt: ConTEXt rehab for amsmath addicts Aditya Mahajan This article was originally published in MAPS 34. MAPS is the publication of NTG (Nederlandstalige
Breaking equations. Michael Downes American Mathematical Society PO Box 6248 Providence, RI 02940 USA [email protected]
Breaking equations Michael Downes American Mathematical Society PO Box 6248 Providence, RI 02940 USA [email protected] Introduction Some of the inconvenient aspects of writing displayed equations in TEX are
What is Beamer?! Introduction to Beamer Beamer is a LATEX class for creating slides for presentations. Commands for Header and the Title Page
Beamer 101 1/33 Beamer 101 2/33 Introduction to Beamer Beamer is a LATEX class for creating slides for presentations Steven G. Wicker Winston Salem, NC [email protected] Updated September 2014 SG Wicker
Software Tools 7 ( ; / $ 7 ( ; :<6,:<*RPJHYLQJHQ 9HUZHUNLQJYDQ/D7H; :<6,:<*YRRUEHHOG. College 9 & 10 - LaTeX 1
/ $ 7 ( ;,I\RXPHUHO\ZDQWWRSURGXFHDSDVVDEO\ JRRGGRFXPHQW³ VRPHWKLQJDFFHSWDEOHDQG EDVLFDOO\UHDGDEOHEXWQRWUHDOO\EHDXWLIXO³ D VLPSOHUV\VWHPZLOOXVXDOO\VXIILFH:LWK 7 ( ;WKHJRDOLVWRSURGXFHWKHILQHVW TXDOLW\ 'RQDOG(.QXWK
How To Use L A T Ex On Pc Or Macbook Or Macintosh (Windows) With A L At Ex (Windows 3) On A Pc Or Ipo (Windows 2) With An Ipo Computer (Windows 4)
About L A T E X L A T E X Tutorial You can either print this document or follow it on line. L A T E X (pronounced either Lay-tech or Lah-tech ) is a portable document formatting system based on T E X (pronounced
Chapter 17. Orthogonal Matrices and Symmetries of Space
Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length
Microsoft Excel Tutorial
Microsoft Excel Tutorial by Dr. James E. Parks Department of Physics and Astronomy 401 Nielsen Physics Building The University of Tennessee Knoxville, Tennessee 37996-1200 Copyright August, 2000 by James
Math 312 Homework 1 Solutions
Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please
USC Marshall School of Business Academic Information Services. Excel 2007 Qualtrics Survey Analysis
USC Marshall School of Business Academic Information Services Excel 2007 Qualtrics Survey Analysis DESCRIPTION OF EXCEL ANALYSIS TOOLS AVAILABLE... 3 Summary of Tools Available and their Properties...
TW3421x - An Introduction to Credit Risk Management Default Probabilities External credit ratings. Dr. Pasquale Cirillo.
TW3421x - An Introduction to Credit Risk Management Default Probabilities External credit ratings Dr. Pasquale Cirillo Week 4 Lesson 2 Credit ratings A credit rating is meant to provide reliable information
A Tutorial on Creating Presentations Using Beamer
A Tutorial on Creating Presentations Using Department of Computer Science The University of Iowa Iowa City, IA April 8, 2009 A Tutorial on Creating Presentations Using Some info on L A TEX L A TEX is a
Section 1.1. Introduction to R n
The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to
Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.
ORTHOGONAL MATRICES Informally, an orthogonal n n matrix is the n-dimensional analogue of the rotation matrices R θ in R 2. When does a linear transformation of R 3 (or R n ) deserve to be called a rotation?
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation
UNIVERSITY OF WATERLOO Software Engineering. Analysis of Different High-Level Interface Options for the Automation Messaging Tool
UNIVERSITY OF WATERLOO Software Engineering Analysis of Different High-Level Interface Options for the Automation Messaging Tool Deloitte Inc. Toronto, ON M5K 1B9 Prepared By Matthew Stephan Student ID:
Math 215 HW #6 Solutions
Math 5 HW #6 Solutions Problem 34 Show that x y is orthogonal to x + y if and only if x = y Proof First, suppose x y is orthogonal to x + y Then since x, y = y, x In other words, = x y, x + y = (x y) T
Math into L A TEX. An Introduction to L A TEX and AMS-L A TEX
Math into L A TEX An Introduction to L A TEX and AMS-L A TEX This book is dedicated to those who worked so hard and for so long to bring these important tools to us: The L A TEX3 team and in particular
MS-EXCEL: ANALYSIS OF EXPERIMENTAL DATA
MS-EXCEL: ANALYSIS OF EXPERIMENTAL DATA Rajender Parsad and Shashi Dahiya I.A.S.R.I., Library Avenue, New Delhi-110 012 The inbuilt functions and procedures of MS-EXCEL can be utilized for the analysis
BASIS International Ltd. - March 2010. - DocOut - Interfacing Reports with the Barista Document Management System
- DocOut - Interfacing Reports with the Barista Document Management System By Chris Hawkins Introduction 'AddonSoftware by Barista' takes advantage of Barista s versatile Document Management System knows
0 Introduction to Data Analysis Using an Excel Spreadsheet
Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do
Morningstar Calculated Fixed-Income Style Box Methodology
? Morningstar Calculated Fixed-Income Style Box Methodology Morningstar Research 15 April 2015 The Morningstar Style Box The Morningstar Style Box was introduced in 1992 to help investors and advisors
To give it a definition, an implicit function of x and y is simply any relationship that takes the form:
2 Implicit function theorems and applications 21 Implicit functions The implicit function theorem is one of the most useful single tools you ll meet this year After a while, it will be second nature to
6: Financial Calculations
: Financial Calculations The Time Value of Money Growth of Money I Growth of Money II The FV Function Amortisation of a Loan Annuity Calculation Comparing Investments Worked examples Other Financial Functions
Programming a truss finite element solver in C
CHAPTER 4 Programming a truss finite element solver in C In this section, some C functions are developed that allow to compute displacements and internal efforts of a two-dimensional truss structure. 4.1
A Guide to Presentations in L A TEX-beamer. Trinity University
A Guide to Presentations in L A TEX-beamer with a detour to Geometric Analysis Eduardo Trinity University Mathematics Department Major Seminar, Fall 2008 Outline 1 Intro to L A TEX 2 Intro to Beamer 3
2 Integrating Both Sides
2 Integrating Both Sides So far, the only general method we have for solving differential equations involves equations of the form y = f(x), where f(x) is any function of x. The solution to such an equation
MATHEMATICS FOR ENGINEERING BASIC ALGEBRA
MATHEMATICS FOR ENGINEERING BASIC ALGEBRA TUTORIAL 3 EQUATIONS This is the one of a series of basic tutorials in mathematics aimed at beginners or anyone wanting to refresh themselves on fundamentals.
USC Marshall School of Business Marshall Information Services
USC Marshall School of Business Marshall Information Services Excel Dashboards and Reports The goal of this workshop is to create a dynamic "dashboard" or "Report". A partial image of what we will be creating
User s Guide for the amsmath Package (Version 2.0)
User s Guide for the amsmath Package (Version 2.0) American Mathematical Society 1999/12/13 ii CONTENTS Contents 1 Introduction 1 2 Options for the amsmath package 2 3 Displayed equations 3 3.1 Introduction..............................
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your
Lesson 9: Radicals and Conjugates
Student Outcomes Students understand that the sum of two square roots (or two cube roots) is not equal to the square root (or cube root) of their sum. Students convert expressions to simplest radical form.
1 Topic. 2 Scilab. 2.1 What is Scilab?
1 Topic Data Mining with Scilab. I know the name "Scilab" for a long time (http://www.scilab.org/en). For me, it is a tool for numerical analysis. It seemed not interesting in the context of the statistical
CHOOSING A COLLEGE. Teacher s Guide Getting Started. Nathan N. Alexander Charlotte, NC
Teacher s Guide Getting Started Nathan N. Alexander Charlotte, NC Purpose In this two-day lesson, students determine their best-matched college. They use decision-making strategies based on their preferences
Math 241, Exam 1 Information.
Math 241, Exam 1 Information. 9/24/12, LC 310, 11:15-12:05. Exam 1 will be based on: Sections 12.1-12.5, 14.1-14.3. The corresponding assigned homework problems (see http://www.math.sc.edu/ boylan/sccourses/241fa12/241.html)
5. Orthogonal matrices
L Vandenberghe EE133A (Spring 2016) 5 Orthogonal matrices matrices with orthonormal columns orthogonal matrices tall matrices with orthonormal columns complex matrices with orthonormal columns 5-1 Orthonormal
A Brief introduction into the world of TEX/L A TEX
A Brief introduction into the world of TEX/L A TEX Ryan D. Siskind, Zhengzheng Hu Department of Mathematics North Carolina State University September 25, 2009 1 Introduction 1.1 What is TEX/L A TEX? TEX
GROUPS ACTING ON A SET
GROUPS ACTING ON A SET MATH 435 SPRING 2012 NOTES FROM FEBRUARY 27TH, 2012 1. Left group actions Definition 1.1. Suppose that G is a group and S is a set. A left (group) action of G on S is a rule for
WhatsApp monitoring for Fun and Stalking. by Flavio Giobergia
WhatsApp monitoring for Fun and Stalking by Flavio Giobergia The idea behind the project If you have used WhatsApp at least once in your life, you know that there is a really lovely/shitty (deping on the
Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.
Excel Tutorial Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Working with Data Entering and Formatting Data Before entering data
Equations Involving Lines and Planes Standard equations for lines in space
Equations Involving Lines and Planes In this section we will collect various important formulas regarding equations of lines and planes in three dimensional space Reminder regarding notation: any quantity
Cryptography and Network Security. Prof. D. Mukhopadhyay. Department of Computer Science and Engineering. Indian Institute of Technology, Kharagpur
Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Module No. # 01 Lecture No. # 12 Block Cipher Standards
13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.
3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms
Article 3, Dealing with Reuse, explains how to quantify the impact of software reuse and commercial components/libraries on your estimate.
Estimating Software Costs This article describes the cost estimation lifecycle and a process to estimate project volume. Author: William Roetzheim Co-Founder, Cost Xpert Group, Inc. Estimating Software
Printing labels with ConTEXt
40 MAPS 37 Willi Egger Printing labels with ConTEXt Abstract Sometimes one needs to print a single label which will be glued onto a package, a large envelope or for the identification of a box. In certain
Measuring Evaluation Results with Microsoft Excel
LAURA COLOSI Measuring Evaluation Results with Microsoft Excel The purpose of this tutorial is to provide instruction on performing basic functions using Microsoft Excel. Although Excel has the ability
TESTING FRAMEWORKS. Gayatri Ghanakota
TESTING FRAMEWORKS Gayatri Ghanakota OUTLINE Introduction to Software Test Automation. What is Test Automation. Where does Test Automation fit in the software life cycle. Why do we need test automation.
2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system
1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables
2+2 Just type and press enter and the answer comes up ans = 4
Demonstration Red text = commands entered in the command window Black text = Matlab responses Blue text = comments 2+2 Just type and press enter and the answer comes up 4 sin(4)^2.5728 The elementary functions
Lecture Notes on MONEY, BANKING, AND FINANCIAL MARKETS. Peter N. Ireland Department of Economics Boston College. [email protected]
Lecture Notes on MONEY, BANKING, AND FINANCIAL MARKETS Peter N. Ireland Department of Economics Boston College [email protected] http://www.bc.edu/~irelandp/ec61.html Chapter 6: The Risk and Term Structure
Cryptography and Network Security Department of Computer Science and Engineering Indian Institute of Technology Kharagpur
Cryptography and Network Security Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Module No. # 01 Lecture No. # 05 Classic Cryptosystems (Refer Slide Time: 00:42)
Math Common Core Sampler Test
High School Algebra Core Curriculum Math Test Math Common Core Sampler Test Our High School Algebra sampler covers the twenty most common questions that we see targeted for this level. For complete tests
Memory Systems. Static Random Access Memory (SRAM) Cell
Memory Systems This chapter begins the discussion of memory systems from the implementation of a single bit. The architecture of memory chips is then constructed using arrays of bit implementations coupled
Affine Transformations
A P P E N D I X C Affine Transformations CONTENTS C The need for geometric transformations 335 C2 Affine transformations 336 C3 Matri representation of the linear transformations 338 C4 Homogeneous coordinates
( ) which must be a vector
MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are
We shall turn our attention to solving linear systems of equations. Ax = b
59 Linear Algebra We shall turn our attention to solving linear systems of equations Ax = b where A R m n, x R n, and b R m. We already saw examples of methods that required the solution of a linear system
Probability Models of Credit Risk
Probability Models of Credit Risk In discussing financial risk, it is useful to distinguish between market risk and credit risk. Market risk refers to the possibility of losses due to changes in the prices
Reciprocal Cost Allocations for Many Support Departments Using Spreadsheet Matrix Functions
Reciprocal Cost Allocations for Many Support Departments Using Spreadsheet Matrix Functions Dennis Togo University of New Mexico The reciprocal method for allocating costs of support departments is the
TWO-DIMENSIONAL TRANSFORMATION
CHAPTER 2 TWO-DIMENSIONAL TRANSFORMATION 2.1 Introduction As stated earlier, Computer Aided Design consists of three components, namely, Design (Geometric Modeling), Analysis (FEA, etc), and Visualization
Linear Codes. Chapter 3. 3.1 Basics
Chapter 3 Linear Codes In order to define codes that we can encode and decode efficiently, we add more structure to the codespace. We shall be mainly interested in linear codes. A linear code of length
Solutions to Homework 5
Solutions to Homework 5 1. Let z = f(x, y) be a twice continously differentiable function of x and y. Let x = r cos θ and y = r sin θ be the equations which transform polar coordinates into rectangular
OpenOffice.org Writer
OOoRegiCon North America Technical Writing using OpenOffice.org Writer Jean Hollis Weber Jean Hollis Weber Community Volunteer - Slide 1 Why OOo for Techwriting? Combines best features of MS Word and FrameMaker
Excel Functions (fx) Click the Paste Function button. In the Function Category select All. Scroll down the Function Name list And select SUM.
Excel Functions (fx) Excel has prewritten formulas called functions to help simplify making complicated calculations. A function takes a value or values, performs an operation, and returns a result to
3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur
Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No. # 11 Block Cipher Standards (DES) (Refer Slide
Programming Exercise 3: Multi-class Classification and Neural Networks
Programming Exercise 3: Multi-class Classification and Neural Networks Machine Learning November 4, 2011 Introduction In this exercise, you will implement one-vs-all logistic regression and neural networks
ISOMETRIES OF R n KEITH CONRAD
ISOMETRIES OF R n KEITH CONRAD 1. Introduction An isometry of R n is a function h: R n R n that preserves the distance between vectors: h(v) h(w) = v w for all v and w in R n, where (x 1,..., x n ) = x
Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.
Math 312, Fall 2012 Jerry L. Kazdan Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday. In addition to the problems below, you should also know how to solve
ADVANCED MARKETING ANALYTICS:
ADVANCED MARKETING ANALYTICS: MARKOV CHAIN MODELS IN MARKETING a whitepaper presented by: ADVANCED MARKETING ANALYTICS: MARKOV CHAIN MODELS IN MARKETING CONTENTS EXECUTIVE SUMMARY EXECUTIVE SUMMARY...
7. Show that the expectation value function that appears in Lecture 1, namely
Lectures on quantum computation by David Deutsch Lecture 1: The qubit Worked Examples 1. You toss a coin and observe whether it came up heads or tails. (a) Interpret this as a physics experiment that ends
Introduction to Matlab
Introduction to Matlab Social Science Research Lab American University, Washington, D.C. Web. www.american.edu/provost/ctrl/pclabs.cfm Tel. x3862 Email. [email protected] Course Objective This course provides
Earned Value User s Guide
ENTC 419 Project Management Earned Value User s Guide Jacob Terkelsen Project Manager Digerati Group Table of Contents TABLE OF CONTENTS... 2 INTRODUCTION... 3 REQUIREMENTS... 3 LAYOUT... 4 IMPLEMENTATION...
Similarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71. Applications. F = mc + b.
PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71 Applications The formula y = mx + b sometimes appears with different symbols. For example, instead of x, we could use the letter C.
PYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
3. INNER PRODUCT SPACES
. INNER PRODUCT SPACES.. Definition So far we have studied abstract vector spaces. These are a generalisation of the geometric spaces R and R. But these have more structure than just that of a vector space.
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; [email protected], and Dr. J.A. Dobelman
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; [email protected], and Dr. J.A. Dobelman Statistics lab will be mainly focused on applying what you have learned in class with
1 2 3 1 1 2 x = + x 2 + x 4 1 0 1
(d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which
Preface of Excel Guide
Preface of Excel Guide The use of spreadsheets in a course designed primarily for business and social science majors can enhance the understanding of the underlying mathematical concepts. In addition,
Mathematics Curriculum Guide Precalculus 2015-16. Page 1 of 12
Mathematics Curriculum Guide Precalculus 2015-16 Page 1 of 12 Paramount Unified School District High School Math Curriculum Guides 2015 16 In 2015 16, PUSD will continue to implement the Standards by providing
MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2
MATHEMATICS FO ENGINEES BASIC MATIX THEOY TUTOIAL This is the second of two tutorials on matrix theory. On completion you should be able to do the following. Explain the general method for solving simultaneous
Tales from the Help Desk 3: More Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board
Tales from the Help Desk 3: More Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board INTRODUCTION In 20 years as a SAS consultant at the Federal Reserve Board, I have seen SAS users make
Solving Cubic Polynomials
Solving Cubic Polynomials 1.1 The general solution to the quadratic equation There are four steps to finding the zeroes of a quadratic polynomial. 1. First divide by the leading term, making the polynomial
A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form
Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...
MOVIES, GAMBLING, SECRET CODES, JUST MATRIX MAGIC
MOVIES, GAMBLING, SECRET CODES, JUST MATRIX MAGIC DR. LESZEK GAWARECKI 1. The Cartesian Coordinate System In the Cartesian system points are defined by giving their coordinates. Plot the following points:
Solving Systems of Linear Equations Using Matrices
Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.
Al-Jo anee Company: support department cost allocations with matrices to improve decision making
Al-Jo anee Company: support department cost allocations with matrices to improve decision making ABSTRACT Saad S. Hussein University of Tikrit, Iraq Dennis F. Togo University of New Mexico, USA The direct,
Application MS Access for Surveying Computations**
GEOMATICS AND ENVIRONMENTAL ENGINEERING Volume 5 Number 4 2011 Jan Ruchel*, Tomasz Adamczyk* Application MS Access for Surveying Computations** 1. Introduction The computations performed in surveying tasks
Excel Guide for Finite Mathematics and Applied Calculus
Excel Guide for Finite Mathematics and Applied Calculus Revathi Narasimhan Kean University A technology guide to accompany Mathematical Applications, 6 th Edition Applied Calculus, 2 nd Edition Calculus:
LINEAR ALGEBRA W W L CHEN
LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008 This chapter is available free to all individuals, on understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,
Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries
First Semester Development 1A On completion of this subject students will be able to apply basic programming and problem solving skills in a 3 rd generation object-oriented programming language (such as
Recall that two vectors in are perpendicular or orthogonal provided that their dot
Orthogonal Complements and Projections Recall that two vectors in are perpendicular or orthogonal provided that their dot product vanishes That is, if and only if Example 1 The vectors in are orthogonal
Hill s Cipher: Linear Algebra in Cryptography
Ryan Doyle Hill s Cipher: Linear Algebra in Cryptography Introduction: Since the beginning of written language, humans have wanted to share information secretly. The information could be orders from a
The Method of Partial Fractions Math 121 Calculus II Spring 2015
Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method
Notes on Factoring. MA 206 Kurt Bryan
The General Approach Notes on Factoring MA 26 Kurt Bryan Suppose I hand you n, a 2 digit integer and tell you that n is composite, with smallest prime factor around 5 digits. Finding a nontrivial factor
Collaborative Forecasting
Collaborative Forecasting By Harpal Singh What is Collaborative Forecasting? Collaborative forecasting is the process for collecting and reconciling the information from diverse sources inside and outside
ANALYTIC HIERARCHY PROCESS (AHP) TUTORIAL
Kardi Teknomo ANALYTIC HIERARCHY PROCESS (AHP) TUTORIAL Revoledu.com Table of Contents Analytic Hierarchy Process (AHP) Tutorial... 1 Multi Criteria Decision Making... 1 Cross Tabulation... 2 Evaluation
Counting the Ways to Count in SAS. Imelda C. Go, South Carolina Department of Education, Columbia, SC
Paper CC 14 Counting the Ways to Count in SAS Imelda C. Go, South Carolina Department of Education, Columbia, SC ABSTRACT This paper first takes the reader through a progression of ways to count in SAS.
