Sage Workshop (June 5th, 2017)

Size: px
Start display at page:

Download "Sage Workshop (June 5th, 2017)"

Transcription

1 Sage Presentation Sage Workshop (June 5th, 2017) Jonathan Tyler About Sage 1. Goal: Create a viable, free, open-source alternative to Maple, MATLAB, Mathematica, and Magma. 2. Emphasis is on openness, community, cooperation, and collaboration. 3. Based upon the Python Language What can Sage do? 1. Simple Computations 2. Computations in Algebra, Geometry, Number Theory, Cryptography, Numerical Analysis, and more! Ways to use Sage 1. Notebook graphical interface 2. Interactive command line 3. By writing interpreted and compiled programs in Sage 4. By writing stand-alone Python scripts Tutorial For the complete tutorial, visit Installation For a guide to installation, visit Basics "=" is used for assignment. Variables are dynamic meaning you can change their types without reseting them. ==, >=, <=, <, and > are used for comparison +,-,*,/ are the standard operations ** and ^ are exponentiation (different from Python as ** is exponentiation) % is mod // returns the integer portion of the quotient Many basic functions are already built-in such as sqrt and all trig and hyperbolic trig functions (trig functions take radians) exp(x) is e^x. The function returns exacxt values. Use the function or method n() to find a decimal approximation. Same with other functions such as trig functions. You can change precision in number of bits or precision in number of digits by adding arguments to the n method or function. exp(2) e^2 show(sin(pi/3)) sin(pi/3).n()

2 show(exp(2).n()) show(exp(2).n(2)) show(exp(2).n(50)) show(exp(2).n(digits=2)) Order of Operations in Sage: Try 3^2*4+2%5 4*(10 // 4) + 10%4 == 10 show(3^2*4+2%5) show(4*(10//4)+10%4) Defining Symbolic Expression in Sage Sage allows for symbolic computation and plotting. To define a symbolic variable, use the syntax: x,y,z = vars('x y z'). x is automatically a symbolic variable without definition. You can list as many variables as you want. Note that the variables are separated by a comma outside the function, and not separated by one inside the function. Then you can define expressions with these symbolic variables. These symbolic variables will play a big role later in solving for roots of functions and in plotting. Let's say you want to define an expression in sage of the form f = y 7 y 2 +4y+12. y=var(' y ') f = (y-7)/(y^2+4*y+12) show(f) y 2 y y + 12 Or perhaps g = 3x+11 x 2 x 6. g = (3*x+11)/(x^2-x-6) show(g) x 2 3 x + 11 x 6 Here, we illustrate the difference between method and function. Say you want to compute the partial fraction of g above. Try partial_fraction(g) and g.partial_fraction(). partial_fraction(g) Traceback (click to the left of this block for traceback)... NameError: name 'partial_fraction' is not defined

3 Use the parametic plot command to display a plot of the curve α(t) = ( t 2 1, t 3 t) for t [ 3, 3]. g.partial_fraction() -1/(x + 2) + 4/(x - 3) Plotting in Sage 2D plotting The most basic Sage command for 2D plotting, used for graphs of the form y = f(x) among other things, is called plot. The format is plot(function,range,options) where function is the function to be plotted the simplest way to specify one is via a formula for f(x) (an expression in Sage) range is the range of x-values you want to see plotted, entered in the form (x, low, high) options can be used to control the form of the plot if desired. No options need be specified. More on this later. Plot the graph of y = x 4 2 x 3 + x 5 sin( x 2 ) for 2 x 1. plot(x^4-2*x^3+x-5*sin(x^2), (x,-2,1)) From the formula y = x 4 2 x 3 + x 5 sin( x 2 ), you might guess that there is at least one other x-intercept for this graph for x > 1 (why?). To see that part of the graph as well, edit your previous command line to change the right hand endpoint of the interval of x values (do not retype the whole command). Click the evaluate link to have Sage execute the command again. Experiment until you are sure that your plot shows all the x-intercepts of this graph. (You can repeat this process of editing a command and re-running it as often as you want; the previous output is replaced by the new output each time.) Parametic plotting in 2D The basic format for parametric curves α(t) = (x(t), y(t)) is parametric_plot([x-comp,y-comp],t-range,options) where x-comp and y-comp are the x- and y-component functions of the curve to be plotted (each of these can be an expression involving the variable/parameter t), t-range is the range of t-values you want to see plotted, and options can be used to control the form of the plot if desired. No options need be specified.

4 t = var('t') parametric_plot([t^2-1,t^3-t], (t,-3,3)) Combining plots Frequently, it's the relationship between two or more different graphs that you want to understand by looking at a plot. Sage has a very straightforward method for combining plots. You can use the plot or parametric plot commands as above to generate the component plots, but you assign the output to names instead of displaying them. Then you can enter a command that combines the plots and displays them together like this: sp1=plot(x**4-3*x,(x,-5,5)) sp2=plot(x**3-5,(x,-5,5)) sp1+sp2 Combine the plots of the following expressions: w = sin(x) v = sin(x + 2) for 0 x 2π with the added conditions: graph of graph of w v should be red. should be a blue and dashed. w = plot(sin(x), (x,0,2*pi), color='red') v = plot(sin(x+2), (x,0,2*pi), color='blue', linestyle='dashed') show(w+v)

5 Example: Figure out a two ways to display the circle x 2 + y 2 = 1. t=var('t') parametric_plot([cos(t), sin(t)], (t,0,2*pi)) There is a built-in function that will plot a circle for you. Type in circle? in the prompt for help on how to use it. circle((0,0),1)

6 Implicit 2D plotting The 2D plots above are all either graphs of functions plot the affine variety y = f(x) or parametric curves, or a combination of these plots. In addition to these, we will also want to be able to V(g(x, y)) = {(x, y) R 2 : g(x, y) = 0} for a general polynomial g(x, y) in two variables. The technical name for this in Sage is implicit curve plotting. To plot these curves, we need a new command called implicit_plot. The format for the implicit_plot command is implicit_plot(expression,x-range,y-range) The expression should be the expression g(x, y) (Sage assumes you mean to plot g(x, y) = 0.) This command generates a plot of the part of the variety V(g(x, y)) in the rectangular box in the plane defined by the x- and y-ranges. Now plot the circle x 2 + y 2 = 1 using implicit plot. (Now you know four different ways to plot a circle in Sage.) implicit_plot(x^2+y^2-1, (x,-1,1), (y,-1,1))

7 Example: Use the implicit plot command to plot the real zero set of f = x 3 3xy 2 3. Some questions to think about as you look at this: If you set x = c (a constant), how many points (c, y) are there on the curve? How many points (x, d) are there for y = d? Do your answers depend on c, d? How? implicit_plot(x^3-3*x*y^2-3, (x,-10,10), (y,-10,10)) 3D curve and surface plotting R 3 Now we move up a dimension and consider plotting curves and surfaces in. The parametric_plot3d command can be used to draw parametric curves and parametric surfaces in. To use it to draw a parametric curve, you would enter a command of the form R 3

8 parametric_plot3d([x-comp,y-comp,z-comp],(t,low,high)) where x-comp = x(t), y-comp = y(t), z-comp = z(t) are the parametric equations of the curve and the range of parameter values to be plotted is low t high. Try plotting the curve α(t) = (t, t 2, t 3 ) for 2 t 2. α(t) is called the twisted cubic. The first plot you see here might be rather uninformative. Fortunately, Sage also lets you look at a 3D plot from different viewpoints. To do this, left-click the rotation symbol to the left of the plot then hold down the left mouse button and move the cursor to rotate the graph. Experiment with this until you feel comfortable. parametric_plot3d([t,t^2,t^3], (t,-2,2)) Parametric surface plotting R 3 The parametric_plot3d command is also used for plotting parametric surfaces in. The differences between this use of the command and that above is that thecomponent functions will depend on two parameters, say u, v, and you will need to (define and) specify plotting ranges for each one. Plotting a graph z = f(x, y) The command for plotting graphs of functions of two variables is called plot3d (naturally enough!) Its format is similar to, but not exactly the same as, the format of plot. To draw a graph with plot3d, you use a command of the format: plot3d(function,xrange,yrange,options) The function is the function f(x, y), entered in the usual Sage syntax for expressions. The xrange and yrange specify a rectangular box in the plane that the plot will be constructed over; the options can be used to specify how the plot is drawn. Look at the online help for plot3d if you want to see what things are possible. You can change viewpoint (rotate the graph); The method is the same as that for the parametric_plot3d command described above. Implicit surface plots To plot an surface defined as a variety V(g(x, y, z)) = {(x, y, z) : g(x, y, z) = 0} you use the implicit_plot3d command. Look up the on-line help listing for this command. Basic Rings You can work in many different rings in Sage. ZZ - integers, RR - reals, QQ - rationals, CC - complex numbers Polynomial rings - realpoly.<z> = PolynomialRing(RR), ratpoly.<t> = PolynomialRing(QQ) GF(p^q) field with p^q elements. If q > 1, you must assign a generator to the field (e.g., GF(27, 'a') Can also work in the p-adic rings. notation: Zp(p) 1/2 in QQ True sqrt(3) in QQ False sqrt(3) in QQbar True

9 QQbar == RR False pi in QQ False pi in RR True i in RR False F_27 = GF(27,'a') F_27 Finite Field in a of size 3^3 F_27.0 a Polynomials Say we want to perform computations with polynomials in the ring R = Q[x] (What does Q[x] mean?). Sage lets us define this structure in several different ways. Here is the most direct: R.<x> = PolynomialRing(QQ) or R = QQ['x'] or R.<x> = QQ['x'] (Other possibilities for the coefficient ring would be ZZ -- the ring of integers, Integers(n) for the integers mod finite field of order p, and many, many others.) (Example 2) Define the ring R = R[x] where R = F 5 in a few different ways. R.<x> = PolynomialRing(RR, 'x') n (fill in the specific integer n, of course!), GF(p) for the If you need to determine whether something (say f) is really a polynomial (for example, if it is causing an error message), you can enter a command like this: f.parent() Define a polynmial in the R defined above. Then use the parent method to determine the parent ring. Does it match what you entered above? f = x^2-2 f.parent() Univariate Polynomial Ring in x over Real Field with 53 bits of precision Operations on polynomials Sage has built-in commands: factor to factor a polynomial. This gives the factorization over the specified coefficient ring. For instance, if we defined Q[x] as above, then the factor command does not know about radicals, complex numbers, etc. Formats: factor(poly) or poly.factor(). This works on polynomials in any number of variables. (Example 5) Define the polynomial x^2-2 in RR[x] and t^2-2 in QQ[t]. Compare the factorizations. Q.<t> = PolynomialRing(QQ,'t') show(factor(x^2-2)) show(factor(t^2-2)) (x ) (x ) ( t 2 2) Factor the following polynomials over the rationals: a.) b.) p = x 2 2x + 1 s = x 3 3 x 2 + 4

10 c.) t = x 2 2. p = t^2-2*t+1 s = t^3-3*t^2+4; r = t^2-2 show(factor(p)) show(factor(s)) show(factor(r)) (t 1) 2 (t + 1) (t 2) 2 ( t 2 2) quo_rem() to compute the quotient and remainder on division of one polynomial f(x) by another g(x). This has a slightly strange format: f.quo_rem(g) Note: the polynomial g in the parentheses is used as the divisor; the polynomial being acted on (the f) is the dividend. If f or g contain other variables besides x, this will fail. The output from this is a Sage list -- the quotient is the first element and the remainder is the second element. If you want to assign names to the outputs, you can do something like this: (q,r) = f.quo_rem(g) Compute the following: a.) Divide x 4 5 x 3 + 8x 2 4x by x 2 (what do you expect to get?) b.) Divide x 2 by x 4 5 x 3 + 9x 2 4x. c.) Divide x 3 4x 5 by x 2 2x 4. p1 = t^4-5*t^3+8*t^2-4*t; p2 = t-2; p3 = t^4-5*t^3+9*t^2-4*t; p4 = t^3-4*t-5; p5 = t^2-2*t-4; [q1,r1] = p1.quo_rem(p2) [q2, r2] = p2.quo_rem(p3) [q3,r3] = p4.quo_rem(p5) show([q1,r1]) show([q2,r2]) show([q3,r3]) [ t 3 3 t 2 + 2t, 0] [0, t 2] [t + 2, 4t + 3] gcd to compute the greatest common divisor of two polynomials f(x) and g(x). Format: f.gcd(g). The greatest common divisor of a set of several polynomials can be computed by nested gcd's (see p. 43 of ``IVA''). For example, gcd(f, g, h) can be computed by f.gcd(g).gcd(h) Compute the gcds of the following pairs of polynomials. Given your results from Example 7, think critically about whether or not these answers make sense. a.) b.) gcd( x 5 2x 4 4 x 3 + 8x 2 2x + 4, x 2) gcd( x 3 4x 5, x 2 2x 4) f = t^5-2*t^4-4*t^3+8*t^2-2*t+4; g = t-2; p = t^3-4*t-5; q = t^2-2*t-4; show(f.gcd(g)) show(p.gcd(q)) t 2 1 diff(f,x) computes the formal derivative of f with respect to x. Example 9 Here is a sample sequence of Sage input lines illustrating some of these commands. Try entering and executing them in sequence. Look carefully at the output and make sure you understand what happened in each case: R.<x> = PolynomialRing(QQ) cube = (x**2-16)**3 print cube s = (x**2-x+1)*(x - 4) print s (q,r) = cube.quo_rem(s) print "q = ", q,", r = ", r q*s + r == cube

11 R.<x> = PolynomialRing(QQ,'x') cube = (x^2-16)^3 print cube s=(x^2-x+1)*(x-4) print s (q,r) = cube.quo_rem(s) print "q = ", q, ",r = ", r q*s+r == cube Lists x^6-48*x^ *x^ x^3-5*x^2 + 5*x - 4 q = x^3 + 5*x^2-28*x - 161,r = 123*x^ *x True To represent points in affine space, we use coordinate vectors. The same idea is also useful to represent any ordered collection of information. In Sage, these ordered collections are called lists, and the elements of a list can be anything. A list is indicated by a pair of square brackets ([,]) enclosing the items in the list, separated by commas. For instance, the input line list1 = ['a','b','c','d','e'] creates a list with five items (the letters a, b, c, d, e, treated as character strings, not as symbolic variables), and assigns the list to the name list1. Create a list of the numbers 1 through 9 and the words dog, cat, emu. list1 = [1,2,3,4,5,6,7,8,9] list2 = ['dog', 'cat', 'emu'] show(list1) show(list2) [1, 2, 3, 4, 5, 6, 7, 8, 9] [dog, cat, emu] What if you wanted a list of the numbers from 1 to 100? Obviously, you wouldn't want to type them all out. You could try a command like range(100). Try the command range(100). list3 = range(100) show(list3) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61 That's not quite what we want. Sage (due to the underlying programming language, Python) starts its index at 0. There are multiple ways to fix this. One way is by creating a new list using range as a tool: [ i+1 for i in range(100)]. Another is to just use range(1,101). Enter the codes into sage to check that they give you the correct list. Also try creating the following lists: a.) n 2 for n from 1 to 20. b.) The even numbers from 16 to 48. list4 = [n^2 for n in range(1,21)] list5 = [2*i for i in range(8,25)] show(list4, list5) [1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400] [16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48] We have said that lists are ordered. What this means, for instance, is that list1 above is different from the list defined by list2 = ['a','d','c','e','b']. You can test this by entering the definition of list2, then the command

12 list1 == list2 A list can have any number of items, including no items at all -- the empty list is written as []. The same item can also occur at several places in a list (unlike the case for a set, which is an unordered collection of information with no repetitions). The items in a list do not all have to be items of the same type. For instance, another perfectly OK Sage list is the following: list3 = [['a','b','c'],'d','e'] Some useful list operations The built-in len function returns the number of items in a list. (If one of the items is a list itself, it is counted as a single item.) To pick out the ith item in a named list (like list1), you can use the notation list1[i]. Caution: Lists are always numbered starting from 0. So list1[1] is actually the second element(!) You can also pick out a ``slice'' or consecutive sublist -- the items in the slots numbered first to last from a list by using the format list1[first:last]. This gives a list as output. The append operator inserts a new entry at the end of a list. Try list1.append('k') to see the result. Sage has an interesting feature called ``tab-completion'' that can be used as a quick reference tool. Try entering list and then press the TAB key. You should see a listing of different ways the partial command could be completed. Tuples and Sets Sage also has data types called tuples and sets. A tuple is similar to a list, but once it is created it cannot be changed (it is immutable). A set is an unordered list. You can find information about these in the online tutorials and manual. Matrices The matrix command creates a matrix. There are a few ways that it can make a matrix. The easiest is matrix([[row1],[row2],...,[last row]]) You can also specify the ring that you want to work in by: matrix(ring, [[row1],[row2],...,[last row]]) or you can specify the ring and the dimensions. matrix(ring, # of rows, # of columns, [elements listed from left to right and top to bottom]) Define a 2x2 matrix with elements 1,2,3,4 in three different ways. M1 = matrix([[1,2],[3,4]]) M2 = matrix(zz, 2,2, [1,2,3,4]) M1 == M2 True Apparently, this is the hardest known sudoku ever published. Sage has a built-in function that will solve sudokus for you! A = matrix(zz, 9, [8,0,0,0,0,0,0,0,0,0,0,3,6,0,0,0,0,0,0,7,0,0,9,0,2,0,0,0,5,0,0,0,7,0,0,0,0,0,0,0,4,5,7,0,0,0,0,0,1,0,0,0,3,0,0,0,1,0,0 A [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] sudoku(a) [ ] [ ] [ ] [ ] [ ] [ ]

13 [ ] [ ] [ ] m=matrix([[10,3],[5,6]]);m; m.parent() [10 3] [ 5 6] Full MatrixSpace of 2 by 2 dense matrices over Integer Ring newm=matrix(gf(5),[[10,3],[5,6]]); newm; newm.parent() [0 3] [0 1] Full MatrixSpace of 2 by 2 dense matrices over Finite Field of size 5 The m.inverse() method finds the matrix inverse of a matrix m. Example: Find the matrix inverses of m and newm. show(m.inverse()) show(newm.inverse()) Traceback (click to the left of this block for traceback)... ZeroDivisionError: input matrix must be nonsingular To create a matrix from a list: Define the space of matrices you'd like to work over: M=MatrixSpace(ZZ,2) Then build your matrix from a list: m1=m([10,3,5,6]) Example: Define m1 via this method. What is the ring M1=MatrixSpace(ZZ,2,3)? M1 = MatrixSpace(ZZ,2) m1 = M1([10,3,5,6]) show(m1) 10 3 ( ) ( ) Sage has many other built-in matrix functions and methods, such as: Example: m.trace() and m.determinant() m.transpose() m.kernel(), m.nullity(), m.row_span() m.minors(k) will give you the k k minors of m m.charpoly(). if you want to use a specific variable for the polynomial (ex: t), you can do m.charpoly('t') m.eigenvectors(), m.eigenspaces() m.echelon_form() What does m.fcp() do? m.fcp() reset() x^2-16*x + 45 Computational Biology Example We use Sage to compute the steady states of a system of ordinary differential equations. This problem reduces to finding the zero set of a system of polynomials. dx/dt = (k1 - k4)*x-k2*x*y dy/dt = -k3*y+k5*z

14 dz/dt = k4*x-k5*z x,y,z,k1,k2,k3,k4,k5 = var('x y z k1 k2 k3 k4 k5') dxdt = (k1-k4)*x-k2*x*y; dydt = -k3*y+k5*z; dzdt = k4*x-k5*z sols = solve([dxdt ==0, dydt == 0, dzdt == 0],[x,y,z], solution_dict = True) show(sols) k 1 k 3 k 3 k 4 k 1 k 3 k 3 k 4 k 1 k 4 [{x : 0, z : 0, y : 0}, {x :, z :, y : }] k 2 k 4 k 2 k 5 k 2 Now we use the matrix features of Sage to compute the eigenvalues of the Jacobian matrix. We also build the Hurwitz matrices and compute the determinants. We call the steady state (x*,y*,z*). x_star = sols[1][x]; y_star = sols[1][y]; z_star = sols[1][z] show(x_star,y_star,z_star) k 1 k 3 k 3 k 4 k 2 k 4 k 1 k 4 k 2 k 1 k 3 k 3 k 4 k 2 k 5 Jac = matrix([[(k1-k4)-k2*y_star, -k2*x_star, 0],[0, -k3, k5],[k4, 0, -k5]]) show(jac) 0 0 k 4 k 1 k 3 k 3 k 4 k 4 k k 5 k 5 Jac [ 0 -(k1*k3 - k3*k4)/k4 0] [ 0 -k3 k5] [ k4 0 -k5] eigs = Jac.eigenvalues() eigs[0] -1/18*((k3 + k5)^2-3*k3*k5)*(-i*sqrt(3) + 1)/(-1/27*(k3 + k5)^3-1/2*k1*k3*k5 + 1/6*(k3 + k5)*k3*k5 + 1/2*k3*k4*k5 + 1/6*sqrt(1/3)*sqrt((4*k1*k3^3-4*k3^3*k4 + (4*k1 - k3-4*k4)*k5^3-2*(3*k1*k3 - k3^2-3*k3*k4)*k5^2 + (27*k1^2*k3-6*k1*k3^2 - k3^3 + 27*k3*k4^2-6*(9*k1*k3 - k3^2)*k4)*k5)*k3*k5))^(1/3) - 1/2*(-1/27*(k3 + k5)^3-1/2*k1*k3*k5 + 1/6*(k3 + k5)*k3*k5 + 1/2*k3*k4*k5 + 1/6*sqrt(1/3)*sqrt((4*k1*k3^3-4*k3^3*k4 + (4*k1 - k3-4*k4)*k5^3-2*(3*k1*k3 - k3^2-3*k3*k4)*k5^2 + (27*k1^2*k3-6*k1*k3^2 - k3^3 + 27*k3*k4^2-6*(9*k1*k3 - k3^2)*k4)*k5)*k3*k5))^(1/3)*(i*sqrt(3) + 1) - 1/3*k3-1/3*k5 As you can see, the above output is very messy. We can compute determinants of much easier matrices to find when the system is stable. cpoly = Jac.charpoly('x') cpoly x^3 + (k3 + k5)*x^2 + k3*k5*x + k1*k3*k5 - k3*k4*k5 We build the Hurwitz matrices now. a0 = 1 a1 = k3+k5 a2 = k3*k5 a3 = k1*k3*k5-k3*k4*k5 a0 = 1; a1 = k3+k5; a2 = k3*k5; a3 = k1*k3*k5-k3*k4*k5 H1 = matrix([a1]); H2 = matrix([[a1, a0],[a3, a2]]); H3 = matrix([[a1, a0, 0], [a3, a2, a1], [0, 0, a3]]) d_h1 = det(h1); d_h2 = det(h2); d_h3 = det(h3) show(d_h1) show(d_h2) show(d_h3) k 3 + k 5 k 1 k 3 k 5 + ( k 3 + k 5 ) k 3 k 5 + k 3 k 4 k 5

15 2 ( k 1 k 3 k 5 k 3 k 4 k 5 )( k 3 + k 5 ) k 3 k 5 ( k 1 k 3 k 5 k 3 k 4 k 5 ) Let's say that we want to plot when the determinant of H1 is positive. We can plot the d_h1 = 0 as a curve in the k3-k5 plane. implicit_plot(d_h1, (k3, -10, 10), (k5, -10, 10)) Let us say that we want to write a program that takes a list and an item and adds the item to the beginning of the list. We can do this easily in Sage. def add_list(l,item): l.reverse() l.append(item) l.reverse() return l add_list(range(3),-1) [-1, 0, 1, 2] Now, let's say we want to create a list containing the entries of a given list, followed by a second copy of that same list. We write a function. Then we load it and execute it. The extend method is really helpful here. def double_list(l): l.extend(l) return l double_list(range(3)) [0, 1, 2, 0, 1, 2] Finally, let's say we want to insert a new item as the third entry from the start in a list (assuming it has at least two entries to begin with). def add_third(l, third): l[2] = third return l add_third([1],1)

16 Traceback (click to the left of this block for traceback)... IndexError: list assignment index out of range add_third(range(3),3) [0, 1, 3]

Calculus III. 1 Getting started - the basics

Calculus III. 1 Getting started - the basics Calculus III Spring 2011 Introduction to Maple The purpose of this document is to help you become familiar with some of the tools the Maple software package offers for visualizing curves and surfaces in

More information

Graphing Calculator Tutorial

Graphing Calculator Tutorial Graphing Calculator Tutorial This tutorial is designed as an interactive activity. The best way to learn the calculator functions will be to work the examples on your own calculator as you read the tutorial.

More information

1. How many white tiles will be in Design 5 of the pattern? Explain your reasoning.

1. How many white tiles will be in Design 5 of the pattern? Explain your reasoning. Algebra 2 Semester 1 Review Answer the question for each pattern. 1. How many white tiles will be in Design 5 of the pattern Explain your reasoning. 2. What is another way to represent the expression 3.

More information

MATH 162 Calculus II Computer Laboratory Topic: Introduction to Mathematica & Parametrizations

MATH 162 Calculus II Computer Laboratory Topic: Introduction to Mathematica & Parametrizations MATH 162 Calculus II Computer Laboratory Topic: Introduction to Mathematica & Goals of the lab: To learn some basic operations in Mathematica, such as how to define a function, and how to produce various

More information

Lab 2B Parametrizing Surfaces Math 2374 University of Minnesota Questions to:

Lab 2B Parametrizing Surfaces Math 2374 University of Minnesota   Questions to: Lab_B.nb Lab B Parametrizing Surfaces Math 37 University of Minnesota http://www.math.umn.edu/math37 Questions to: rogness@math.umn.edu Introduction As in last week s lab, there is no calculus in this

More information

Basic stuff -- assignments, arithmetic and functions

Basic stuff -- assignments, arithmetic and functions Basic stuff -- assignments, arithmetic and functions Most of the time, you will be using Maple as a kind of super-calculator. It is possible to write programs in Maple -- we will do this very occasionally,

More information

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120 Whitman-Hanson Regional High School provides all students with a high- quality education in order to develop reflective, concerned citizens and contributing members of the global community. Course Number

More information

A Mathematica Tutorial

A Mathematica Tutorial A Mathematica Tutorial -3-8 This is a brief introduction to Mathematica, the symbolic mathematics program. This tutorial is generic, in the sense that you can use it no matter what kind of computer you

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 2 Basic MATLAB Operation Dr Richard Greenaway 2 Basic MATLAB Operation 2.1 Overview 2.1.1 The Command Line In this Workshop you will learn how

More information

A Brief Introduction to Mathematica

A Brief Introduction to Mathematica A Brief Introduction to Mathematica Objectives: (1) To learn to use Mathematica as a calculator. (2) To learn to write expressions in Mathematica, and to evaluate them at given point. (3) To learn to plot

More information

LAB 1 General MATLAB Information 1

LAB 1 General MATLAB Information 1 LAB 1 General MATLAB Information 1 General: To enter a matrix: > type the entries between square brackets, [...] > enter it by rows with elements separated by a space or comma > rows are terminated by

More information

Choose the file menu, and select Open. Input to be typed at the Maple prompt. Output from Maple. An important tip.

Choose the file menu, and select Open. Input to be typed at the Maple prompt. Output from Maple. An important tip. MAPLE Maple is a powerful and widely used mathematical software system designed by the Computer Science Department of the University of Waterloo. It can be used for a variety of tasks, such as solving

More information

Rational functions, like rational numbers, will involve a fraction. We will discuss rational functions in the form:

Rational functions, like rational numbers, will involve a fraction. We will discuss rational functions in the form: Name: Date: Period: Chapter 2: Polynomial and Rational Functions Topic 6: Rational Functions & Their Graphs Rational functions, like rational numbers, will involve a fraction. We will discuss rational

More information

1 of 34 7/9/2018, 8:08 AM

1 of 34 7/9/2018, 8:08 AM of 34 7/9/08, 8:08 AM Student: Date: Instructor: Alfredo Alvarez Course: Math 040 Spring 08 Assignment: Math 040 Homework3bbbbtsilittle. Graph each integer in the list on the same number line. 3, 3, 5,

More information

True/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY

True/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY True/False 10 points: points each) For the problems below, circle T if the answer is true and circle F is the answer is false. After you ve chosen

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos, sin,

More information

Drawing curves automatically: procedures as arguments

Drawing curves automatically: procedures as arguments CHAPTER 7 Drawing curves automatically: procedures as arguments moveto lineto stroke fill clip The process of drawing curves by programming each one specially is too complicated to be done easily. In this

More information

Approximate First and Second Derivatives

Approximate First and Second Derivatives MTH229 Project 6 Exercises Approximate First and Second Derivatives NAME: SECTION: INSTRUCTOR: Exercise 1: Let f(x) = sin(x 2 ). We wish to find the derivative of f when x = π/4. a. Make a function m-file

More information

John Perry. Fall 2013

John Perry. Fall 2013 MAT 305: University of Southern Mississippi Fall 2013 Outline 1 2 3 4 Outline 1 2 3 4 Download, install to your How to get latest version at www.sagemath.org Windows? need LiveCD or VirtualBox player:

More information

Lesson 1 Introduction to Algebraic Geometry

Lesson 1 Introduction to Algebraic Geometry Lesson 1 Introduction to Algebraic Geometry I. What is Algebraic Geometry? Algebraic Geometry can be thought of as a (vast) generalization of linear algebra and algebra. Recall that, in linear algebra,

More information

MAT 003 Brian Killough s Instructor Notes Saint Leo University

MAT 003 Brian Killough s Instructor Notes Saint Leo University MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample

More information

An Introduction to Maple and Maplets for Calculus

An Introduction to Maple and Maplets for Calculus An Introduction to Maple and Maplets for Calculus Douglas B. Meade Department of Mathematics University of South Carolina Columbia, SC 29208 USA URL: www.math.sc.edu/~meade e-mail: meade@math.sc.edu Philip

More information

University of Alberta

University of Alberta A Brief Introduction to MATLAB University of Alberta M.G. Lipsett 2008 MATLAB is an interactive program for numerical computation and data visualization, used extensively by engineers for analysis of systems.

More information

John Perry. Spring 2016

John Perry. Spring 2016 MAT 305: Introduction to Sage University of Southern Mississippi Spring 2016 Outline 1 2 3 4 5 Outline 1 2 3 4 5 Sage? Software for Algebra and Geometry Exploration Computer Algebra System started by William

More information

Standardized Tests: Best Practices for the TI-Nspire CX

Standardized Tests: Best Practices for the TI-Nspire CX The role of TI technology in the classroom is intended to enhance student learning and deepen understanding. However, efficient and effective use of graphing calculator technology on high stakes tests

More information

Python Lists: Example 1: >>> items=["apple", "orange",100,25.5] >>> items[0] 'apple' >>> 3*items[:2]

Python Lists: Example 1: >>> items=[apple, orange,100,25.5] >>> items[0] 'apple' >>> 3*items[:2] Python Lists: Lists are Python's compound data types. A list contains items separated by commas and enclosed within square brackets ([]). All the items belonging to a list can be of different data type.

More information

ECON 502 INTRODUCTION TO MATLAB Nov 9, 2007 TA: Murat Koyuncu

ECON 502 INTRODUCTION TO MATLAB Nov 9, 2007 TA: Murat Koyuncu ECON 502 INTRODUCTION TO MATLAB Nov 9, 2007 TA: Murat Koyuncu 0. What is MATLAB? 1 MATLAB stands for matrix laboratory and is one of the most popular software for numerical computation. MATLAB s basic

More information

Welcome. Please Sign-In

Welcome. Please Sign-In Welcome Please Sign-In Day 1 Session 1 Self-Evaluation Topics to be covered: Equations Systems of Equations Solving Inequalities Absolute Value Equations Equations Equations An equation says two things

More information

An Introduction to Using Maple in Math 23

An Introduction to Using Maple in Math 23 An Introduction to Using Maple in Math 3 R. C. Daileda The purpose of this document is to help you become familiar with some of the tools the Maple software package offers for visualizing solutions to

More information

Introduction to Mathcad

Introduction to Mathcad CHAPTER 1 Introduction to Mathcad Mathcad is a product of MathSoft inc. The Mathcad can help us to calculate, graph, and communicate technical ideas. It lets us work with mathematical expressions using

More information

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression Chapter 1 Summary Comments are indicated by a hash sign # (also known as the pound or number sign). Text to the right of the hash sign is ignored. (But, hash loses its special meaning if it is part of

More information

ü 1.1 Getting Started

ü 1.1 Getting Started Chapter 1 Introduction Welcome to Mathematica! This tutorial manual is intended as a supplement to Rogawski's Calculus textbook and aimed at students looking to quickly learn Mathematica through examples.

More information

Getting Started with MATLAB

Getting Started with MATLAB APPENDIX B Getting Started with MATLAB MATLAB software is a computer program that provides the user with a convenient environment for many types of calculations in particular, those that are related to

More information

Computational Programming with Python

Computational Programming with Python Numerical Analysis, Lund University, 2017 1 Computational Programming with Python Lecture 1: First steps - A bit of everything. Numerical Analysis, Lund University Lecturer: Claus Führer, Alexandros Sopasakis

More information

AMS 27L LAB #2 Winter 2009

AMS 27L LAB #2 Winter 2009 AMS 27L LAB #2 Winter 2009 Plots and Matrix Algebra in MATLAB Objectives: 1. To practice basic display methods 2. To learn how to program loops 3. To learn how to write m-files 1 Vectors Matlab handles

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB built-in functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos,

More information

Maple for Math Majors. 4. Functions in Maple

Maple for Math Majors. 4. Functions in Maple Maple for Math Majors Roger Kraft Department of Mathematics, Computer Science, and Statistics Purdue University Calumet roger@purduecal.edu 4.1. Introduction 4. Functions in Maple Functions play a major

More information

Graphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2

Graphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2 Graphing Techniques In this chapter, we will take our knowledge of graphs of basic functions and expand our ability to graph polynomial and rational functions using common sense, zeros, y-intercepts, stretching

More information

UNIT 1: NUMBER LINES, INTERVALS, AND SETS

UNIT 1: NUMBER LINES, INTERVALS, AND SETS ALGEBRA II CURRICULUM OUTLINE 2011-2012 OVERVIEW: 1. Numbers, Lines, Intervals and Sets 2. Algebraic Manipulation: Rational Expressions and Exponents 3. Radicals and Radical Equations 4. Function Basics

More information

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines.

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines. Chapter 1 Summary Comments are indicated by a hash sign # (also known as the pound or number sign). Text to the right of the hash sign is ignored. (But, hash loses its special meaning if it is part of

More information

,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with

,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with Addison-Wesley s Graphing Calculator Reference Card Created in conjuction with Basics Converting Fractions to Decimals The calculator will automatically convert a fraction to a decimal. Type in a fraction,

More information

Math 3 Coordinate Geometry Part 2 Graphing Solutions

Math 3 Coordinate Geometry Part 2 Graphing Solutions Math 3 Coordinate Geometry Part 2 Graphing Solutions 1 SOLVING SYSTEMS OF EQUATIONS GRAPHICALLY The solution of two linear equations is the point where the two lines intersect. For example, in the graph

More information

Math 1 Variable Manipulation Part 2 Exponents & Roots

Math 1 Variable Manipulation Part 2 Exponents & Roots Math 1 Variable Manipulation Part 2 Exponents & Roots 1 PRE-ALGEBRA REVIEW: WORKING WITH EXPONENTS Exponents are shorthand for repeated multiplication of the same thing by itself. For instance, the shorthand

More information

>>> * *(25**0.16) *10*(25**0.16)

>>> * *(25**0.16) *10*(25**0.16) #An Interactive Session in the Python Shell. #When you type a statement in the Python Shell, #the statement is executed immediately. If the #the statement is an expression, its value is #displayed. #Lines

More information

Section 1.2 Fractions

Section 1.2 Fractions Objectives Section 1.2 Fractions Factor and prime factor natural numbers Recognize special fraction forms Multiply and divide fractions Build equivalent fractions Simplify fractions Add and subtract fractions

More information

Continuity and Tangent Lines for functions of two variables

Continuity and Tangent Lines for functions of two variables Continuity and Tangent Lines for functions of two variables James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 4, 2014 Outline 1 Continuity

More information

Algebra 2 Semester 1 (#2221)

Algebra 2 Semester 1 (#2221) Instructional Materials for WCSD Math Common Finals The Instructional Materials are for student and teacher use and are aligned to the 2016-2017 Course Guides for the following course: Algebra 2 Semester

More information

1.1 Pearson Modeling and Equation Solving

1.1 Pearson Modeling and Equation Solving Date:. Pearson Modeling and Equation Solving Syllabus Objective:. The student will solve problems using the algebra of functions. Modeling a Function: Numerical (data table) Algebraic (equation) Graphical

More information

1 Introduction to Matlab

1 Introduction to Matlab 1 Introduction to Matlab 1. What is Matlab? Matlab is a computer program designed to do mathematics. You might think of it as a super-calculator. That is, once Matlab has been started, you can enter computations,

More information

Not for reproduction

Not for reproduction x=a GRAPHING CALCULATORS AND COMPUTERS (a, d ) y=d (b, d ) (a, c ) y=c (b, c) (a) _, by _, 4 x=b FIGURE 1 The viewing rectangle a, b by c, d _4 4 In this section we assume that you have access to a graphing

More information

Mathematical Experiments with Mathematica

Mathematical Experiments with Mathematica Mathematical Experiments with Mathematica Instructor: Valentina Kiritchenko Classes: F 12:00-1:20 pm E-mail : vkiritchenko@yahoo.ca, vkiritch@hse.ru Office hours : Th 5:00-6:20 pm, F 3:30-5:00 pm 1. Syllabus

More information

TI- Nspire Testing Instructions

TI- Nspire Testing Instructions TI- Nspire Testing Instructions Table of Contents How to Nsolve How to Check Compositions of Functions How to Verify Compositions of Functions How to Check Factoring How to Use Graphs to Backward Factor

More information

Diocese of Boise Math Curriculum 5 th grade

Diocese of Boise Math Curriculum 5 th grade Diocese of Boise Math Curriculum 5 th grade ESSENTIAL Sample Questions Below: What can affect the relationshi p between numbers? What does a decimal represent? How do we compare decimals? How do we round

More information

Basics of Computational Geometry

Basics of Computational Geometry Basics of Computational Geometry Nadeem Mohsin October 12, 2013 1 Contents This handout covers the basic concepts of computational geometry. Rather than exhaustively covering all the algorithms, it deals

More information

INDEX INTRODUCTION...1

INDEX INTRODUCTION...1 Welcome to Maple Maple is a comprehensive computer system for advanced mathematics. It includes facilities for interactive algebra, pre-calculus, calculus, discrete mathematics, graphics, numerical computation

More information

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s.

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Using Monte Carlo to Estimate π using Buffon s Needle Problem An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Here s the problem (in a simplified form). Suppose

More information

1. How Mathematica works

1. How Mathematica works Departments of Civil Engineering and Mathematics CE 109: Computing for Engineering Mathematica Session 1: Introduction to the system Mathematica is a piece of software described by its manufacturers as

More information

Introduction to Engineering gii

Introduction to Engineering gii 25.108 Introduction to Engineering gii Dr. Jay Weitzen Lecture Notes I: Introduction to Matlab from Gilat Book MATLAB - Lecture # 1 Starting with MATLAB / Chapter 1 Topics Covered: 1. Introduction. 2.

More information

MATLAB Tutorial III Variables, Files, Advanced Plotting

MATLAB Tutorial III Variables, Files, Advanced Plotting MATLAB Tutorial III Variables, Files, Advanced Plotting A. Dealing with Variables (Arrays and Matrices) Here's a short tutorial on working with variables, taken from the book, Getting Started in Matlab.

More information

ALGEBRA II A CURRICULUM OUTLINE

ALGEBRA II A CURRICULUM OUTLINE ALGEBRA II A CURRICULUM OUTLINE 2013-2014 OVERVIEW: 1. Linear Equations and Inequalities 2. Polynomial Expressions and Equations 3. Rational Expressions and Equations 4. Radical Expressions and Equations

More information

Math Content

Math Content 2013-2014 Math Content PATHWAY TO ALGEBRA I Hundreds and Tens Tens and Ones Comparing Whole Numbers Adding and Subtracting 10 and 100 Ten More, Ten Less Adding with Tens and Ones Subtracting with Tens

More information

Computer Project: Getting Started with MATLAB

Computer Project: Getting Started with MATLAB Computer Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands. Examples here can be useful for reference later. MATLAB functions: [ ] : ; + - *

More information

The Justin Guide to Matlab for MATH 241 Part 1.

The Justin Guide to Matlab for MATH 241 Part 1. Table of Contents Running Matlab... 1 Okay, I'm running Matlab, now what?... 1 Precalculus... 2 Calculus 1... 5 Calculus 2... 6 Calculus 3... 7 The basic format of this guide is that you will sit down

More information

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain Introduction to Matlab By: Dr. Maher O. EL-Ghossain Outline: q What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display Facilities Flow Control

More information

FUNCTIONS AND MODELS

FUNCTIONS AND MODELS 1 FUNCTIONS AND MODELS FUNCTIONS AND MODELS In this section, we assume that you have access to a graphing calculator or a computer with graphing software. FUNCTIONS AND MODELS 1.4 Graphing Calculators

More information

Mastery. PRECALCULUS Student Learning Targets

Mastery. PRECALCULUS Student Learning Targets PRECALCULUS Student Learning Targets Big Idea: Sequences and Series 1. I can describe a sequence as a function where the domain is the set of natural numbers. Connections (Pictures, Vocabulary, Definitions,

More information

PITSCO Math Individualized Prescriptive Lessons (IPLs)

PITSCO Math Individualized Prescriptive Lessons (IPLs) Orientation Integers 10-10 Orientation I 20-10 Speaking Math Define common math vocabulary. Explore the four basic operations and their solutions. Form equations and expressions. 20-20 Place Value Define

More information

Maple for Math Majors. 5. Graphs of functions and equations

Maple for Math Majors. 5. Graphs of functions and equations Maple for Math Majors Roger Kraft Department of Mathematics, Computer Science, and Statistics Purdue University Calumet roger@purduecal.edu 5.1. Introduction 5. Graphs of functions and equations We define

More information

Dynamics and Vibrations Mupad tutorial

Dynamics and Vibrations Mupad tutorial Dynamics and Vibrations Mupad tutorial School of Engineering Brown University ENGN40 will be using Matlab Live Scripts instead of Mupad. You can find information about Live Scripts in the ENGN40 MATLAB

More information

Chapter 1: Number and Operations

Chapter 1: Number and Operations Chapter 1: Number and Operations 1.1 Order of operations When simplifying algebraic expressions we use the following order: 1. Perform operations within a parenthesis. 2. Evaluate exponents. 3. Multiply

More information

ARRAY VARIABLES (ROW VECTORS)

ARRAY VARIABLES (ROW VECTORS) 11 ARRAY VARIABLES (ROW VECTORS) % Variables in addition to being singular valued can be set up as AN ARRAY of numbers. If we have an array variable as a row of numbers we call it a ROW VECTOR. You can

More information

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

Starting MATLAB To logon onto a Temple workstation at the Tech Center, follow the directions below. What is MATLAB? MATLAB (short for MATrix LABoratory) is a language for technical computing, developed by The Mathworks, Inc. (A matrix is a rectangular array or table of usually numerical values.) MATLAB

More information

PreCalculus Summer Assignment

PreCalculus Summer Assignment PreCalculus Summer Assignment Welcome to PreCalculus! We are excited for a fabulous year. Your summer assignment is available digitally on the Lyman website. You are expected to print your own copy. Expectations:

More information

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

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1 Solving equations and inequalities graphically and algebraically 1. Plot points on the Cartesian coordinate plane. P.1 2. Represent data graphically using scatter plots, bar graphs, & line graphs. P.1

More information

1 Maple Introduction. 1.1 Getting Started. 1.2 Maple Commands

1 Maple Introduction. 1.1 Getting Started. 1.2 Maple Commands 1 Maple Introduction 1.1 Getting Started The software package Maple is an example of a Computer Algebra System (CAS for short), meaning that it is capable of dealing with problems in symbolic form. This

More information

Unit 1 and Unit 2 Concept Overview

Unit 1 and Unit 2 Concept Overview Unit 1 and Unit 2 Concept Overview Unit 1 Do you recognize your basic parent functions? Transformations a. Inside Parameters i. Horizontal ii. Shift (do the opposite of what feels right) 1. f(x+h)=left

More information

Applied Calculus. Lab 1: An Introduction to R

Applied Calculus. Lab 1: An Introduction to R 1 Math 131/135/194, Fall 2004 Applied Calculus Profs. Kaplan & Flath Macalester College Lab 1: An Introduction to R Goal of this lab To begin to see how to use R. What is R? R is a computer package for

More information

Chapter 1. Math review. 1.1 Some sets

Chapter 1. Math review. 1.1 Some sets Chapter 1 Math review This book assumes that you understood precalculus when you took it. So you used to know how to do things like factoring polynomials, solving high school geometry problems, using trigonometric

More information

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12 Tool 1: Standards for Mathematical ent: Interpreting Functions CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12 Name of Reviewer School/District Date Name of Curriculum Materials:

More information

Rational numbers as decimals and as integer fractions

Rational numbers as decimals and as integer fractions Rational numbers as decimals and as integer fractions Given a rational number expressed as an integer fraction reduced to the lowest terms, the quotient of that fraction will be: an integer, if the denominator

More information

SECTION 1: INTRODUCTION. ENGR 112 Introduction to Engineering Computing

SECTION 1: INTRODUCTION. ENGR 112 Introduction to Engineering Computing SECTION 1: INTRODUCTION ENGR 112 Introduction to Engineering Computing 2 Course Overview What is Programming? 3 Programming The implementation of algorithms in a particular computer programming language

More information

Sage: Creating a Viable Open Source Alternative to Magma, Maple, Matlab, and Mathematica

Sage: Creating a Viable Open Source Alternative to Magma, Maple, Matlab, and Mathematica Notebook Version 5.3 The Sage wstein Toggle Home Published Log Settings Help Report a Problem Sign out SACNAS last edited Oct 10, 2012 9:36:02 AM by wstein Save Save & quit Discard & quit File... Action.

More information

Open a file from the selection of demonstration examples provided using the [Demo] button on the File-Open dialogue.

Open a file from the selection of demonstration examples provided using the [Demo] button on the File-Open dialogue. Simfit Tutorials and worked examples for simulation, curve fitting, statistical analysis, and plotting. http://www.simfit.org.uk In the unlikely event that the model you want to plot, simulate or fit is

More information

Alaska Mathematics Standards Vocabulary Word List Grade 7

Alaska Mathematics Standards Vocabulary Word List Grade 7 1 estimate proportion proportional relationship rate ratio rational coefficient rational number scale Ratios and Proportional Relationships To find a number close to an exact amount; an estimate tells

More information

Lab#1: INTRODUCTION TO DERIVE

Lab#1: INTRODUCTION TO DERIVE Math 111-Calculus I- Fall 2004 - Dr. Yahdi Lab#1: INTRODUCTION TO DERIVE This is a tutorial to learn some commands of the Computer Algebra System DERIVE. Chapter 1 of the Online Calclab-book (see my webpage)

More information

Algebra 2 Common Core Summer Skills Packet

Algebra 2 Common Core Summer Skills Packet Algebra 2 Common Core Summer Skills Packet Our Purpose: Completion of this packet over the summer before beginning Algebra 2 will be of great value to helping students successfully meet the academic challenges

More information

3x - 5 = 22 4x - 12 = 2x - 9

3x - 5 = 22 4x - 12 = 2x - 9 3. Algebra Solving Equations ax + b = cx + d Algebra is like one big number guessing game. I m thinking of a number. If you multiply it by 2 and add 5, you get 21. 2x + 5 = 21 For a long time in Algebra

More information

YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM

YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM TOPIC 1 INTRODUCING SOME MATHEMATICS SOFTWARE (Matlab, Maple and Mathematica) This topic provides

More information

9. Elementary Algebraic and Transcendental Scalar Functions

9. Elementary Algebraic and Transcendental Scalar Functions Scalar Functions Summary. Introduction 2. Constants 2a. Numeric Constants 2b. Character Constants 2c. Symbol Constants 2d. Nested Constants 3. Scalar Functions 4. Arithmetic Scalar Functions 5. Operators

More information

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

DEPARTMENT - Mathematics. Coding: N Number. A Algebra. G&M Geometry and Measure. S Statistics. P - Probability. R&P Ratio and Proportion DEPARTMENT - Mathematics Coding: N Number A Algebra G&M Geometry and Measure S Statistics P - Probability R&P Ratio and Proportion YEAR 7 YEAR 8 N1 Integers A 1 Simplifying G&M1 2D Shapes N2 Decimals S1

More information

Mathematics Scope & Sequence Algebra I

Mathematics Scope & Sequence Algebra I Mathematics Scope & Sequence 2016-17 Algebra I Revised: June 20, 2016 First Grading Period (24 ) Readiness Standard(s) Solving Equations and Inequalities A.5A solve linear equations in one variable, including

More information

MAINE ASSOCIATION OF MATH LEAGUES RULES GOVERNING QUESTIONS, ANSWERS, AND GRADING

MAINE ASSOCIATION OF MATH LEAGUES RULES GOVERNING QUESTIONS, ANSWERS, AND GRADING MAINE ASSOCIATION OF MATH LEAGUES RULES GOVERNING QUESTIONS, ANSWERS, AND GRADING 05-06 Introduction Philosophy. It is the intent of MAML to promote Maine high school mathematics competitions. The questions

More information

correlated to the Michigan High School Mathematics Content Expectations

correlated to the Michigan High School Mathematics Content Expectations correlated to the Michigan High School Mathematics Content Expectations McDougal Littell Algebra 1 Geometry Algebra 2 2007 correlated to the STRAND 1: QUANTITATIVE LITERACY AND LOGIC (L) STANDARD L1: REASONING

More information

Introduction to Geogebra

Introduction to Geogebra Aims Introduction to Geogebra Using Geogebra in the A-Level/Higher GCSE Classroom To provide examples of the effective use of Geogebra in the teaching and learning of mathematics at A-Level/Higher GCSE.

More information

r the COR d e s 3 A lg e b r a Alabama Pathways

r the COR d e s 3 A lg e b r a Alabama Pathways BUI LT fo COM r the MON COR E Gra 2013 2014 d e s 3 A lg e b r a Alabama Pathways I Grade 3 Operations and Algebraic Thinking Operations and Algebraic Thinking Operations and Algebraic Thinking Number

More information

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier Calculus I Review Handout 1.3 Introduction to Calculus - Limits by Kevin M. Chevalier We are now going to dive into Calculus I as we take a look at the it process. While precalculus covered more static

More information

Polynomial and Rational Functions

Polynomial and Rational Functions Chapter 3 Polynomial and Rational Functions Review sections as needed from Chapter 0, Basic Techniques, page 8. Refer to page 187 for an example of the work required on paper for all graded homework unless

More information

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces Chapter 6 Curves and Surfaces In Chapter 2 a plane is defined as the zero set of a linear function in R 3. It is expected a surface is the zero set of a differentiable function in R n. To motivate, graphs

More information

Grade K 8 Standards Grade 5

Grade K 8 Standards Grade 5 Grade 5 In grade 5, instructional time should focus on three critical areas: (1) developing fluency with addition and subtraction of fractions, and developing understanding of the multiplication of fractions

More information

Mathematics Grade 5. grade 5 33

Mathematics Grade 5. grade 5 33 Mathematics Grade 5 In Grade 5, instructional time should focus on three critical areas: (1) developing fluency with addition and subtraction of fractions, and developing understanding of the multiplication

More information