Mathematica Proficiency and motivation for 6.1 and 6.2

Size: px
Start display at page:

Download "Mathematica Proficiency and motivation for 6.1 and 6.2"

Transcription

1 Calculus Page 1 Master Lab Friday, August 19, :13 PM Mathematica Proficiency and motivation for 6.1 and 6.2 This lab is designed to test some of your Mathematica background, to be useful as a reference, and to provide some hands-on examples to motivate the material in 6.1 and 6.2. It is not designed to stand-alone. I have included some more advanced material that will be useful to some of you but is absolute over-kill for most of you. This material has a gray background and can be safely ignored. However if you are going to continue using Mathematica in your field of study you may find the backgrounded material very helpful. You will NOT be tested over any of that material. I also use a yellow background in order to hide Mathematica commands that are at an intermediate level of difficulty. I want you to try to come up with the command yourself first, but if you can not then highlighting the yellow box should reveal the answer (if it doesn't then copy and paste into another program). A gentle Introduction to Lists: Lists are extremely useful in Mathematica and I expect you to be able to do some simple list manipulations. Lists are collections of stuff (very technical non?). The simplest way to build a list is to use the 'curly brackets' (also known as 'curly braces'). Those look like this: { and }. For example: {2,3, 2,x,10-a} is a list with five elements. It contains numbers and expressions (Mathematica is flexible in this respect). Create a list with 6 elements (anything you care to include) and assign it to the variable m. (I have included an example just a bit further down below to show you how this is done) This can be just about anything You can extract individual elements using [[ and ]]. Here's an example where I create a list of both numbers and expressions and then extract the 2nd element: m = {1, 20, a, 2+x, 3, 6} m[[2]] Here's how to extract the second-to-last element: m[[-2]] And finally here is how to extract the 3rd through 5th elements: m[[3;;5]] Now you should do the same thing with your list: Pretty self-explanatory A useful way to generate a list of numbers is the Range[] command. The command can take one, two, or three arguments. Play around a bit with Range[] and see what it does. Just try various things Unfortunately, it is a bit misleading to use the curly braces for lists because in the rest of the mathematical world we use those curly braces for sets. Why is this unfortunate? Because in a list ORDER matters. A list has a first element, and a second element, and so on and so forth. Lists can also have repeated elements. Part of the useful properties of a set is that there is NO replication and no order.

2 Calculus Page 2 Use Range[] to generate a list of numbers starting at 6, ending at 10, and incrementing by 0.5 each time. Store the list in m. You could do this by hand like this: m={6,6.5,7,7.5,8,8.5,9,9.5,10} m = Range[6,10,0.5] Evaluate m + 2 and 2 m and explain what you observe: m m Adding or multiplying a number with a list adds (or multiplies) that number to EACH element in the list. The list m contains 9 elements. Generate another list of 9 elements containing numbers and assign it to the variable n. Then add m and n. Explain what happened: n = Range[10, 2, -1] (my example) n + m The corresponding elements were added element by element. Motivation for 6.1: Plot the graph of y = x 3-1 and y = -4x simultaneously from x = -10 to x = 10 using the Plot[] command: Plot[{x^3-1,-4 x^2+2},{x,-10,10}] What's misleading about this image? Functions only appear to cross in one place Find the x-values at which the two functions cross as exact values (Solve[] is useful here): Solve[x^3-1 == -4 x^2 + 2, x] Now express them as decimals (you can either redo the last step with 'Nsolve', or use 'N': Solve[x^3-1 == -4 x^2 + 2, x] // N NSolve[x^3-1 == -4 x^2 + 2, x] Save these three x-values (as exact values) as the variables min, mid, and max. At first this might seem problematic, but try highlighting the expression like this:

3 Calculus Page 3 Now you can copy the expression and paste it wherever you would like for example: It will help to know which of the three expressions is smallest, middle, and largest, but that information can be gleaned from the decimal form. There is also a fancy way to do this: {mid,min,max}=x /. Solve[x^3-1 == -4 x^2 + 2, x] Notice the order of the variables on the left hand side of the expression. They match the order in which the solutions occur. If I was using numerical approximations I could do this: {min,mid, max}=sort[x /. NSolve[x^3-1 == -4 x^2 + 2, x]] Exact expressions can be ordered differently so be careful! Double check that min is the smallest, max the largest and mid the one in between (if this is not correct the rest of the assignment is going to be very wonky): You can check the decimal form of a variable like this: N[min] Now find 10% of the distance between the largest and smallest x-values and save it as a variable called d. Plot the two functions again from min - d to max + d: d=.1*(max-min) Plot[{x^3-1, -4 x^2 + 2}, {x, min - d, max + d}] Verify the values of min, mid, and max using the 'Get Coordinates' option (right-click on the graph) Repeat using mid and max (be sure to recalculate d): d=.1*(max-mid) Plot[{x^3-1, -4 x^2 + 2}, {x, mid - d, max + d}]

4 Calculus Page Why does this image look so different from the last? Because Mathematica chooses the scale for the y-axis based on the function values to be displayed. The previous graph is effectively zoomed out so far that it is hard to see the details visible in this graph. A Brief Digression into Mathematica Concerns: Now create two functions f and g. The function f will represent y = x 3-1, and g will represent y = -4x 2 + 2: f[x_] := x^3-1;g[x_]:=-4 x^2 + 2 Experiment a bit with plugging in values for x in f and g (for example f[1]): There are lots of different ways to do this. One final check that min,mid, and max are correct: f[mid] - g[mid] Now you do the same for mid, and max. f[mid] - g[mid] f[min] - g[min] f[max] - g[max] These numbers should all be zero, but on my computer they are not. I get a complicated expression for mid, and max. Explain how to convert the expression into decimal form. Is the decimal non-zero? If not why? I use the postfix operator // to pipe the results into N: f[max] - g[max] // N When Mathematica evaluates the expressions it does some rounding, this results in a number that is NEAR zero, but not exactly zero. Explain why this does NOT mean that Mathematica is broken. The SYMBOLIC answer is still correct Back to 6.1: We want to try to estimate the area between these two curves using rectangles. That last statement does not make any sense unless we includes some boundaries, so in deference to convention we will call the leftmost x-value a, and we will call the right-most x-value b. We can, of course choose a and b to be whatever we like (thought typically a is less than b). I have a bit of an agenda so I want you to set a to the value of mid

5 Calculus Page 5 and b to the value of max. While you are at it undefine mid and max. a=mid; b=max; mid=. max=. With those preliminaries out of the way, we will start our approximation using 5 rectangles. We want the left-most rectangle to line up with x = a and the rightmost to line up with x = b. That means the width of each rectangle is going to be 1/5 the distance between b and a. Typically we would call this x (pronounce that as delta x). It is common to use 'delta' to stand for 'change'. Think about those rectangles: If we start at a, the first rectangle should have one vertical side at a, and the next at a + x. The second rectangle should have vertical sides at a + x and a + 2 x, and so on. It is a bit of a pain to represent x in Mathematica so we will use w as a stand-in. Type this: w=(b-a)/5 Now we are going to need to figure out where the LEFT and RIGHT x-values for the sides of each rectangle are going to live: lefts=a + w*range[0,4] rights=a + w*range[1,5] Understanding those last two commands is a bit tricky. It might help to remember that a and w are both NUMBERS, and Range[0,4] and Range[1,5] are both lists with 5 elements. Go back to the Gentle Introduction to Lists if you are still unclear over what is happening (or ask me). At this point we have stored the LEFT sides of the rectangles. They are in a list that we have assigned to the variable lefts. We have done a similar thing for the RIGHT sides of the rectangles So now we have found the left and right sides but what about the tops and the bottoms? We have, many, many places where we can put the tops and the bottoms of the rectangles. The fundamental ideas is that the bottom of each approximating rectangle should cross the lower graph somewhere and the top should cross the upper graph somewhere. It does not really matter where we do this as long as our left and right sides are in the proper places, but it is nice to do it systematically and since it tends to be easier to see if we choose the middle of the rectangle, lets do that: middles=(lefts+rights)/2 That command is also a bit tricky to understand. Explain what it does: The variables 'lefts' and 'rights' are both lists with 5 elements. When we add them together we generate another list of 5 elements where the addition is performed element by element. Dividing by the *number* 2 divides every entry in that new list by 2. This has the effect of finding the mid-point between the left and right sides. I want to draw the boxes so you can see what is happening, but the commands needed to draw those boxes goes quite a bit beyond what you will probably ever need so don't think about it too much and just type it out. The end result will be a variable called funcs that contains the images of the functions and another variable called boxes that contains the images of the approximating rectangles (if you want to know more, please ask): funcs=plot[{x^3-1, -4 x^2 + 2}, {x, a - d, b + d}]; boxes = Array[ Graphics[ { EdgeForm[Black], White, Rectangle[ { lefts[[#]], g[ middles[[#]] ] }, {rights[[#]], f[middles[[#]] ]} ] } ] &, 5];

6 Calculus Page 6 Show[{funcs,boxes,funcs}] Now calculate the area of those rectangles. Use Total[] to add all the elements in a list together. You should get Try to figure this bit out yourself first, but if you can not highlight the box below to reveal the answer: Total[(g[middles] - f[middles])*w] // N or N[Total[(g[middles] - f[middles])*w] ] Now go back through the process but with double the number of boxes. You should get an answer around and a graph that looks something like this: We can keep increasing and increasing and increasing the number of rectangles-- getting closer and closer and closer to the real answer. As we learned in class, the exact answer is calculated using an integral. The command below will *almost* give you the correct answer. What goes wrong and why? NIntegrate[f[x]-g[x],{x,a,b}] Do it correctly (give the command and the right answer to 3 decimal places): NIntegrate[g[x]-f[x],{x,a,b}] Now suppose that we went from a = -2 to b = 0.5. Generate a picture with 10 rectangles with these new values of a and b. Pretty much everything you typed to generate the graph with the 10 rectangles above can be reused after you change the values of the a and b. Don't forget to recalculate d and re-run the command funcs=plot[{x^3-1, -4 x^2 + 2}, {x, a - d, b + d}]; If you forget that step the Show[] command is going to have incompatible graphs and rectangles. The graph should look like this:

7 Calculus Page Now type this: Integrate[g[x]-f[x],{x,a,b}] The answer you get is LESS than that from before but how can that be? Sure we're not going quite as far to the right but that bit from x = -2 to x = -1 should more than compensate right? So what's the deal? We are integrating across TWO regions. In one region the f[x] is ABOVE g[x] and in the other region g[x] is above f[x]. There are TWO ways to correct this. One involves using TWO integrals and the other involves using Abs[]. Use both ways to answer this question and ensure you get the same answer both ways: What is the area between the curves y = x 3-1 and y = -4x from a = -2 and b = -0.5? Integrate[f[x] - g[x], {x, -2, -1}] + Integrate[g[x] - f[x], {x, -1, 0.5}] Integrate[Abs[f[x] - g[x]], {x, -2, 0.5}] Both answers should be around Volumes (6.2): I don't want to get too bogged down in the auxiliary details, like the approximating rectangles we used in the last section. They're useful but I don't want to introduce too many new ideas at once. However, the main point of section 6.2 is very similar to what was done in 6.1, but instead of using approximating rectangles to figure out how to calculate an area we use approximating slices to figure out how to find a volume. I trust at this point you can use Mathematica to evaluate definite integrals. Consider a cone centered on the x-axis, that can be formed by rotating the line y = x around the x-axis.

8 Calculus Page 8 What is the area of the cross-section at x = 3? The cross-section is a circle. Since the defining line of the cone has slope 1, the radius of this circle is the same as the x-value. So in the case the cross-section is a circle of radius 3. That has area. Use Mathematica to calculate the volume of the cone between x = 2 and x = 4. You should get an answer somewhere near Integrate[Pi x^2,{x,2,4}] // N This is the general technique, but we focus on a particular subset of solids-- those that can be formed by rotating the graph of a function around the x-axis or the y-axis. The "skin" of these solids are called surfaces of revolution. Unfortunately, in order to show you how to draw these surfaces of revolution we are going to have to cheat a little bit and use some material from Chapter 10. If the details of the commands don't make sense right now, don't worry about it-- view this section instead as a how-to. At the end of this lab you should be able to graph a surface of revolution that has been formed by rotating a graph of the form y = f(x) or x = g(y) around an axis. This won't be enough to generate graphs for all of your homework but it will hopefully be enough to get you started. So, onto the gory details: Let's start with that perennial classic y = command: Graph it from x = -0.2 to x = 2, using the normal Plot[]

9 Calculus Page The book (page 433) asks you to find the volume of the solid of revolution (from x = 0 to x = 1) obtained by rotating this graph around the x-axis. They thoughtfully show the graph of that surface. The key command to duplicating this graph is ParametricPlot3D[]. It's easier to reuse the commands if we store the function as f[x]. Then we can reuse the command after defining f[x] to reflect the function that we are rotating. I'll use f[x] for y as a function of x and g[y] for x as a function of y. This is an arbitrary convention but I'm hoping it will help reduce some confusion. So Define f[x] as the sqrt of x: f[x_]:= Sqrt[x] Go ahead and reproduce the plot you did above, but this time use f[x] (I'm not going to reproduce the graph because it's the same:) Plot[f[x],{x,-.2,2}] The graph is only defined for x >= 0, so lets graph it again without the undefined bits off to the left: Plot[f[x],{x,0,2}] We don't want to include those undefined bits in the surface of revolution. Here is the command for rotating f[x] around the x-axis: ParametricPlot3D[{t,f[t]*Cos[theta],f[t]*Sin[theta]},{t,0,2},{theta,0,2Pi}] Your graph should look something like this:

10 Calculus Page 10 You can grab it with the mouse and move it around. It's up to you to keep track of which axis is which though so be careful! Draw the graph again, but this time let x range from 1 to 4. Your graph should look like this:

11 Calculus Page 11 Now let's get ready to rotate the same graph around the y-axis. To do this we are going to think of x as a function of y. Since the relationship is y = (as long as x >= 0) The inverse relationship is x = y 2 and here we require that y >= 0. Consider the path that was traced out by the point (2, ). I'll show the point in red, and it's traced out path in red (poorly): When we rotate this graph around the y-axis that point is going to form a different circle. Notice that the resulting graph is going to range from y=0 to y =. So let's define g[y] and make the graph: g[y_] := y^2 ParametricPlot3D[{t*Cos[theta],t*Sin[theta],g[t]},{t,0,Sqrt[2]},{theta,0,2Pi}] You should get something like this: You should sketch both of these surfaces of revolution by hand and convince yourself that you understand the differences between the two images. The gridwork of lines can be annoying that can be turned off by adding Mesh->None. I highlighted it to make it easier to see. I also rotated the image a bit before pasting it into this handout: ParametricPlot3D[{t*Cos[theta],t*Sin[theta],g[t]},{t,0,Sqrt[2]},{theta,0,2Pi},Mesh->None]

12 Calculus Page 12 You can also add a bit of transparency to the image using PlotStyle->Opacity[number]. The number can vary from 0 to 1 (0 is completely see-through, 1 is complete opaque): ParametricPlot3D[{t*Cos[theta],t*Sin[theta],g[t]},{t,0,Sqrt[2]},{theta,0,2Pi}, Mesh->None, PlotStyle->Opacity[0.4]] Try changing the value in Opacity and rotate the graph to get a good idea of what happens. Where this is particularly helpful is when you are plotting TWO surfaces at the same time. Pay extra close attention to the curly braces in the example below: g1[y_]:=y g2[y_]:=sqrt[y] ParametricPlot3D[{{t*Cos[theta], t*sin[theta], g1[t]}, {t*cos[theta], t*sin[theta], g2[t]}}, {t, 0, Sqrt[2]}, {theta, 0, 2 Pi}, Mesh -> None, PlotStyle -> Opacity[0.4]] What did I do differently up above? I put two sets of triplets inside a set of curly braces. Here's a picture of the graph I produced above: Now you define two functions f1 and f2 and show the two surfaces of rotation rotated around the x-axis (I did it around the y-axis). Play with the opacity and mesh setting. Lots of possible answers here

Lab 4. Recall, from last lab the commands Table[], ListPlot[], DiscretePlot[], and Limit[]. Go ahead and review them now you'll be using them soon.

Lab 4. Recall, from last lab the commands Table[], ListPlot[], DiscretePlot[], and Limit[]. Go ahead and review them now you'll be using them soon. Calc II Page 1 Lab 4 Wednesday, February 19, 2014 5:01 PM Recall, from last lab the commands Table[], ListPlot[], DiscretePlot[], and Limit[]. Go ahead and review them now you'll be using them soon. Use

More information

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5 Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5 [talking head] Formal Methods of Software Engineering means the use of mathematics as an aid to writing programs. Before we can

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

Note: Photoshop tutorial is spread over two pages. Click on 2 (top or bottom) to go to the second page.

Note: Photoshop tutorial is spread over two pages. Click on 2 (top or bottom) to go to the second page. Introduction During the course of this Photoshop tutorial we're going through 9 major steps to create a glass ball. The main goal of this tutorial is that you get an idea how to approach this. It's not

More information

Intro. Speed V Growth

Intro. Speed V Growth Intro Good code is two things. It's elegant, and it's fast. In other words, we got a need for speed. We want to find out what's fast, what's slow, and what we can optimize. First, we'll take a tour of

More information

2 A little on Spreadsheets

2 A little on Spreadsheets 2 A little on Spreadsheets Spreadsheets are computer versions of an accounts ledger. They are used frequently in business, but have wider uses. In particular they are often used to manipulate experimental

More information

4.7 Approximate Integration

4.7 Approximate Integration 4.7 Approximate Integration Some anti-derivatives are difficult to impossible to find. For example, 1 0 e x2 dx or 1 1 1 + x3 dx We came across this situation back in calculus I when we introduced the

More information

Math 1191 Mathematica Introduction

Math 1191 Mathematica Introduction Math 1191 Mathematica Introduction Lab 2 Fall, 2005 REMEMBER: Functions use square brackets [] for their arguments, not parentheses. Sin[3], Log[10], myfunction[42], N[Pi,8] Example: Mathematica s built-in

More information

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet. Mr G s Java Jive #2: Yo! Our First Program With this handout you ll write your first program, which we ll call Yo. Programs, Classes, and Objects, Oh My! People regularly refer to Java as a language that

More information

Linked Lists. What is a Linked List?

Linked Lists. What is a Linked List? Linked Lists Along with arrays, linked lists form the basis for pretty much every other data stucture out there. This makes learning and understand linked lists very important. They are also usually the

More information

6.001 Notes: Section 6.1

6.001 Notes: Section 6.1 6.001 Notes: Section 6.1 Slide 6.1.1 When we first starting talking about Scheme expressions, you may recall we said that (almost) every Scheme expression had three components, a syntax (legal ways of

More information

An Approach to Content Creation for Trainz

An Approach to Content Creation for Trainz An Approach to Content Creation for Trainz Paul Hobbs Part 6 GMax Basics (Updates and sample files available from http://www.44090digitalmodels.de) Page 1 of 18 Version 3 Index Foreward... 3 The Interface...

More information

4 Visualization and. Approximation

4 Visualization and. Approximation 4 Visualization and Approximation b A slope field for the differential equation y tan(x + y) tan(x) tan(y). It is not always possible to write down an explicit formula for the solution to a differential

More information

lundi 7 janvier 2002 Blender: tutorial: Building a Castle Page: 1

lundi 7 janvier 2002 Blender: tutorial: Building a Castle Page: 1 lundi 7 janvier 2002 Blender: tutorial: Building a Castle Page: 1 www.blender.nl this document is online at http://www.blender.nl/showitem.php?id=4 Building a Castle 2000 07 19 Bart Veldhuizen id4 Introduction

More information

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name DIRECT AND INVERSE VARIATIONS 19 Direct Variations Name Of the many relationships that two variables can have, one category is called a direct variation. Use the description and example of direct variation

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

Assignment 3 Functions, Graphics, and Decomposition

Assignment 3 Functions, Graphics, and Decomposition Eric Roberts Handout #19 CS106A October 8, 1999 Assignment 3 Functions, Graphics, and Decomposition Due: Friday, October 15 [In] making a quilt, you have to choose your combination carefully. The right

More information

PROFESSOR: Last time, we took a look at an explicit control evaluator for Lisp, and that bridged the gap between

PROFESSOR: Last time, we took a look at an explicit control evaluator for Lisp, and that bridged the gap between MITOCW Lecture 10A [MUSIC PLAYING] PROFESSOR: Last time, we took a look at an explicit control evaluator for Lisp, and that bridged the gap between all these high-level languages like Lisp and the query

More information

Adjusting the Display Contrast (Making the Screen Lighter or Darker)

Adjusting the Display Contrast (Making the Screen Lighter or Darker) Introduction: TI-86 On/Off, Contrast, Mode, and Editing Expressions Turning the Calculator On When you press the ON button, you should see a blinking dark rectangle (called the cursor) in the upper left-hand

More information

1.7 Limit of a Function

1.7 Limit of a Function 1.7 Limit of a Function We will discuss the following in this section: 1. Limit Notation 2. Finding a it numerically 3. Right and Left Hand Limits 4. Infinite Limits Consider the following graph Notation:

More information

6.001 Notes: Section 17.5

6.001 Notes: Section 17.5 6.001 Notes: Section 17.5 Slide 17.5.1 Now, let's look at one example in which changing the evaluation model allows us to explore a very different kind of computational problem. Our goal is to show how

More information

3.7. Vertex and tangent

3.7. Vertex and tangent 3.7. Vertex and tangent Example 1. At the right we have drawn the graph of the cubic polynomial f(x) = x 2 (3 x). Notice how the structure of the graph matches the form of the algebraic expression. The

More information

Binary, Hexadecimal and Octal number system

Binary, Hexadecimal and Octal number system Binary, Hexadecimal and Octal number system Binary, hexadecimal, and octal refer to different number systems. The one that we typically use is called decimal. These number systems refer to the number of

More information

MTH 122 Calculus II Essex County College Division of Mathematics and Physics 1 Lecture Notes #11 Sakai Web Project Material

MTH 122 Calculus II Essex County College Division of Mathematics and Physics 1 Lecture Notes #11 Sakai Web Project Material MTH Calculus II Essex County College Division of Mathematics and Physics Lecture Notes # Sakai Web Project Material Introduction - - 0 - Figure : Graph of y sin ( x y ) = x cos (x + y) with red tangent

More information

the NXT-G programming environment

the NXT-G programming environment 2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots

More information

These are square roots, cube roots, etc. Intermediate algebra Class notes Radicals and Radical Functions (section 10.1)

These are square roots, cube roots, etc. Intermediate algebra Class notes Radicals and Radical Functions (section 10.1) Intermediate algebra Class notes Radicals and Radical Functions (section 10.1) These are square roots, cube roots, etc. Worksheet: Graphing Calculator Basics: This will go over basic home screen and graphing

More information

15. PARAMETRIZED CURVES AND GEOMETRY

15. PARAMETRIZED CURVES AND GEOMETRY 15. PARAMETRIZED CURVES AND GEOMETRY Parametric or parametrized curves are based on introducing a parameter which increases as we imagine travelling along the curve. Any graph can be recast as a parametrized

More information

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Functions and Graphs The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Launch Mathematica. Type

More information

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts

More information

Parametric Curves, Polar Plots and 2D Graphics

Parametric Curves, Polar Plots and 2D Graphics Parametric Curves, Polar Plots and 2D Graphics Fall 2016 In[213]:= Clear "Global`*" 2 2450notes2_fall2016.nb Parametric Equations In chapter 9, we introduced parametric equations so that we could easily

More information

Section 4.1: Introduction to Trigonometry

Section 4.1: Introduction to Trigonometry Section 4.1: Introduction to Trigonometry Review of Triangles Recall that the sum of all angles in any triangle is 180. Let s look at what this means for a right triangle: A right angle is an angle which

More information

Adobe Flash CS3 Reference Flash CS3 Application Window

Adobe Flash CS3 Reference Flash CS3 Application Window Adobe Flash CS3 Reference Flash CS3 Application Window When you load up Flash CS3 and choose to create a new Flash document, the application window should look something like the screenshot below. Layers

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

Packages in Julia. Downloading Packages A Word of Caution Sawtooth, Revisited

Packages in Julia. Downloading Packages A Word of Caution Sawtooth, Revisited Packages in Julia Downloading Packages A Word of Caution Sawtooth, Revisited Downloading Packages Because Julia is an open-source language, there are a ton of packages available online that enable such

More information

MITOCW ocw f99-lec07_300k

MITOCW ocw f99-lec07_300k MITOCW ocw-18.06-f99-lec07_300k OK, here's linear algebra lecture seven. I've been talking about vector spaces and specially the null space of a matrix and the column space of a matrix. What's in those

More information

Porsche 91 1GT D m o d e ling tutorial - by Nim

Porsche 91 1GT D m o d e ling tutorial - by Nim orsche 911GT 3D modeling tutorial - by Nimish In this tutorial you will learn to model a car using Spline modeling method. This method is not very much famous as it requires considerable amount of skill

More information

Excel Basics Fall 2016

Excel Basics Fall 2016 If you have never worked with Excel, it can be a little confusing at first. When you open Excel, you are faced with various toolbars and menus and a big, empty grid. So what do you do with it? The great

More information

Spring CS Homework 3 p. 1. CS Homework 3

Spring CS Homework 3 p. 1. CS Homework 3 Spring 2018 - CS 111 - Homework 3 p. 1 Deadline 11:59 pm on Friday, February 9, 2018 Purpose CS 111 - Homework 3 To try out another testing function, check-within, to get more practice using the design

More information

MITOCW watch?v=kz7jjltq9r4

MITOCW watch?v=kz7jjltq9r4 MITOCW watch?v=kz7jjltq9r4 PROFESSOR: We're going to look at the most fundamental of all mathematical data types, namely sets, and let's begin with the definitions. So informally, a set is a collection

More information

APPM 2460 PLOTTING IN MATLAB

APPM 2460 PLOTTING IN MATLAB APPM 2460 PLOTTING IN MATLAB. Introduction Matlab is great at crunching numbers, and one of the fundamental ways that we understand the output of this number-crunching is through visualization, or plots.

More information

1) Complete problems 1-65 on pages You are encouraged to use the space provided.

1) Complete problems 1-65 on pages You are encouraged to use the space provided. Dear Accelerated Pre-Calculus Student (017-018), I am excited to have you enrolled in our class for next year! We will learn a lot of material and do so in a fairly short amount of time. This class will

More information

Digital Mapping with OziExplorer / ozitarget

Digital Mapping with OziExplorer / ozitarget Going Digital 2 - Navigation with computers for the masses This is the 2nd instalment on using Ozi Explorer for digital mapping. This time around I am going to run through some of the most common questions

More information

Hi everyone. Starting this week I'm going to make a couple tweaks to how section is run. The first thing is that I'm going to go over all the slides

Hi everyone. Starting this week I'm going to make a couple tweaks to how section is run. The first thing is that I'm going to go over all the slides Hi everyone. Starting this week I'm going to make a couple tweaks to how section is run. The first thing is that I'm going to go over all the slides for both problems first, and let you guys code them

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

1. Fill in the right hand side of the following equation by taking the derivative: (x sin x) =

1. Fill in the right hand side of the following equation by taking the derivative: (x sin x) = 7.1 What is x cos x? 1. Fill in the right hand side of the following equation by taking the derivative: (x sin x = 2. Integrate both sides of the equation. Instructor: When instructing students to integrate

More information

UV Mapping to avoid texture flaws and enable proper shading

UV Mapping to avoid texture flaws and enable proper shading UV Mapping to avoid texture flaws and enable proper shading Foreword: Throughout this tutorial I am going to be using Maya s built in UV Mapping utility, which I am going to base my projections on individual

More information

Surface Modeling Tutorial

Surface Modeling Tutorial Surface Modeling Tutorial Complex Surfacing in SolidWorks By Matthew Perez By Matthew Perez Who is this tutorial for? This tutorial assumes that you have prior surfacing knowledge as well as a general

More information

Foundations, Reasoning About Algorithms, and Design By Contract CMPSC 122

Foundations, Reasoning About Algorithms, and Design By Contract CMPSC 122 Foundations, Reasoning About Algorithms, and Design By Contract CMPSC 122 I. Logic 101 In logic, a statement or proposition is a sentence that can either be true or false. A predicate is a sentence in

More information

Precalculus and Calculus

Precalculus and Calculus 4 Precalculus and Calculus You have permission to make copies of this document for your classroom use only. You may not distribute, copy or otherwise reproduce any part of this document or the lessons

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

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 24 Solid Modelling

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 24 Solid Modelling Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 24 Solid Modelling Welcome to the lectures on computer graphics. We have

More information

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes Lab Practical - Limit Equilibrium Analysis of Engineered Slopes Part 1: Planar Analysis A Deterministic Analysis This exercise will demonstrate the basics of a deterministic limit equilibrium planar analysis

More information

(Refer Slide Time: 00:02:00)

(Refer Slide Time: 00:02:00) Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 18 Polyfill - Scan Conversion of a Polygon Today we will discuss the concepts

More information

Summer Packet 7 th into 8 th grade. Name. Integer Operations = 2. (-7)(6)(-4) = = = = 6.

Summer Packet 7 th into 8 th grade. Name. Integer Operations = 2. (-7)(6)(-4) = = = = 6. Integer Operations Name Adding Integers If the signs are the same, add the numbers and keep the sign. 7 + 9 = 16 - + -6 = -8 If the signs are different, find the difference between the numbers and keep

More information

0.7 Graphing Features: Value (Eval), Zoom, Trace, Maximum/Minimum, Intersect

0.7 Graphing Features: Value (Eval), Zoom, Trace, Maximum/Minimum, Intersect 0.7 Graphing Features: Value (Eval), Zoom, Trace, Maximum/Minimum, Intersect Value (TI-83 and TI-89), Eval (TI-86) The Value or Eval feature allows us to enter a specific x coordinate and the cursor moves

More information

Here is the data collected.

Here is the data collected. Introduction to Scientific Analysis of Data Using Spreadsheets. Computer spreadsheets are very powerful tools that are widely used in Business, Science, and Engineering to perform calculations and record,

More information

Android Programming Family Fun Day using AppInventor

Android Programming Family Fun Day using AppInventor Android Programming Family Fun Day using AppInventor Table of Contents A step-by-step guide to making a simple app...2 Getting your app running on the emulator...9 Getting your app onto your phone or tablet...10

More information

There we are; that's got the 3D screen and mouse sorted out.

There we are; that's got the 3D screen and mouse sorted out. Introduction to 3D To all intents and purposes, the world we live in is three dimensional. Therefore, if we want to construct a realistic computer model of it, the model should be three dimensional as

More information

GENERAL MATH FOR PASSING

GENERAL MATH FOR PASSING GENERAL MATH FOR PASSING Your math and problem solving skills will be a key element in achieving a passing score on your exam. It will be necessary to brush up on your math and problem solving skills.

More information

TI-89 Calculator Workshop #1 The Basics

TI-89 Calculator Workshop #1 The Basics page 1 TI-89 Calculator Workshop #1 The Basics After completing this workshop, students will be able to: 1. find, understand, and manipulate keys on the calculator keyboard 2. perform basic computations

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

EnSight 10 Basic Training Exercises

EnSight 10 Basic Training Exercises Exercise 1: Color the Comanche helicopter EnSight 10 Basic Training Exercises 1. Start EnSight 10 and press the Cancel button on the Welcome screen 2. Click on File -> Open and select the Simple Interface

More information

1

1 Zeros&asymptotes Example 1 In an early version of this activity I began with a sequence of simple examples (parabolas and cubics) working gradually up to the main idea. But now I think the best strategy

More information

(Refer Slide Time: 00:03:51)

(Refer Slide Time: 00:03:51) Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 17 Scan Converting Lines, Circles and Ellipses Hello and welcome everybody

More information

Derivatives and Graphs of Functions

Derivatives and Graphs of Functions Derivatives and Graphs of Functions September 8, 2014 2.2 Second Derivatives, Concavity, and Graphs In the previous section, we discussed how our derivatives can be used to obtain useful information about

More information

The Stack, Free Store, and Global Namespace

The Stack, Free Store, and Global Namespace Pointers This tutorial is my attempt at clarifying pointers for anyone still confused about them. Pointers are notoriously hard to grasp, so I thought I'd take a shot at explaining them. The more information

More information

So on the survey, someone mentioned they wanted to work on heaps, and someone else mentioned they wanted to work on balanced binary search trees.

So on the survey, someone mentioned they wanted to work on heaps, and someone else mentioned they wanted to work on balanced binary search trees. So on the survey, someone mentioned they wanted to work on heaps, and someone else mentioned they wanted to work on balanced binary search trees. According to the 161 schedule, heaps were last week, hashing

More information

Math Modeling in Java: An S-I Compartment Model

Math Modeling in Java: An S-I Compartment Model 1 Math Modeling in Java: An S-I Compartment Model Basic Concepts What is a compartment model? A compartment model is one in which a population is modeled by treating its members as if they are separated

More information

Initial Alpha Test Documentation and Tutorial

Initial Alpha Test Documentation and Tutorial Synfig Studio Initial Alpha Test Documentation and Tutorial About the user interface When you start Synfig Studio, it will display a splash graphic and boot itself up. After it finishes loading, you should

More information

In this chapter, we will investigate what have become the standard applications of the integral:

In this chapter, we will investigate what have become the standard applications of the integral: Chapter 8 Overview: Applications of Integrals Calculus, like most mathematical fields, began with trying to solve everyday problems. The theory and operations were formalized later. As early as 70 BC,

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

Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 43 Dynamic Binding (Polymorphism): Part III Welcome to Module

More information

6.001 Notes: Section 15.1

6.001 Notes: Section 15.1 6.001 Notes: Section 15.1 Slide 15.1.1 Our goal over the next few lectures is to build an interpreter, which in a very basic sense is the ultimate in programming, since doing so will allow us to define

More information

Denotational semantics

Denotational semantics 1 Denotational semantics 2 What we're doing today We're looking at how to reason about the effect of a program by mapping it into mathematical objects Specifically, answering the question which function

More information

Foundations of Math II

Foundations of Math II Foundations of Math II Unit 6b: Toolkit Functions Academics High School Mathematics 6.6 Warm Up: Review Graphing Linear, Exponential, and Quadratic Functions 2 6.6 Lesson Handout: Linear, Exponential,

More information

Object-Oriented Analysis and Design Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology-Kharagpur

Object-Oriented Analysis and Design Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology-Kharagpur Object-Oriented Analysis and Design Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology-Kharagpur Lecture 06 Object-Oriented Analysis and Design Welcome

More information

You can drag the graphs using your mouse to rotate the surface.

You can drag the graphs using your mouse to rotate the surface. The following are some notes for relative maxima and mimima using surfaces plotted in Mathematica. The way to run the code is: Select Menu bar -- Evaluation -- Evaluate Notebook You can drag the graphs

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

Unit II Graphing Functions and Data

Unit II Graphing Functions and Data Unit II Graphing Functions and Data These Materials were developed for use at and neither nor the author, Mark Schneider, assume any responsibility for their suitability or completeness for use elsewhere

More information

AP Computer Science Unit 3. Programs

AP Computer Science Unit 3. Programs AP Computer Science Unit 3. Programs For most of these programs I m asking that you to limit what you print to the screen. This will help me in quickly running some tests on your code once you submit them

More information

Lab copy. Do not remove! Mathematics 152 Spring 1999 Notes on the course calculator. 1. The calculator VC. The web page

Lab copy. Do not remove! Mathematics 152 Spring 1999 Notes on the course calculator. 1. The calculator VC. The web page Mathematics 152 Spring 1999 Notes on the course calculator 1. The calculator VC The web page http://gamba.math.ubc.ca/coursedoc/math152/docs/ca.html contains a generic version of the calculator VC and

More information

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 600.363 Introduction to Algorithms / 600.463 Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 23.1 Introduction We spent last week proving that for certain problems,

More information

Creating Digital Illustrations for Your Research Workshop III Basic Illustration Demo

Creating Digital Illustrations for Your Research Workshop III Basic Illustration Demo Creating Digital Illustrations for Your Research Workshop III Basic Illustration Demo Final Figure Size exclusion chromatography (SEC) is used primarily for the analysis of large molecules such as proteins

More information

1Anchors - Access. Part 23-1 Copyright 2004 ARCHIdigm. Architectural Desktop Development Guide PART 23 ANCHORS 1-23 ANCHORS

1Anchors - Access. Part 23-1 Copyright 2004 ARCHIdigm. Architectural Desktop Development Guide PART 23 ANCHORS 1-23 ANCHORS Architectural Desktop 2005 - Development Guide PART 23 ANCHORS Contents: Anchors - Access ---- Working with the Curve Anchor ---- Working with the Leader Anchor ---- Working with the Node Anchor ---- Working

More information

Divisibility Rules and Their Explanations

Divisibility Rules and Their Explanations Divisibility Rules and Their Explanations Increase Your Number Sense These divisibility rules apply to determining the divisibility of a positive integer (1, 2, 3, ) by another positive integer or 0 (although

More information

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 04 Introduction to Programming Language Concepts

More information

LESSON 1: Trigonometry Pre-test

LESSON 1: Trigonometry Pre-test LESSON 1: Trigonometry Pre-test Instructions. Answer each question to the best of your ability. If there is more than one answer, put both/all answers down. Try to answer each question, but if there is

More information

3D Design with 123D Design

3D Design with 123D Design 3D Design with 123D Design Introduction: 3D Design involves thinking and creating in 3 dimensions. x, y and z axis Working with 123D Design 123D Design is a 3D design software package from Autodesk. A

More information

Spring 2011 Workshop ESSENTIALS OF 3D MODELING IN RHINOCEROS February 10 th 2011 S.R. Crown Hall Lower Core Computer Lab

Spring 2011 Workshop ESSENTIALS OF 3D MODELING IN RHINOCEROS February 10 th 2011 S.R. Crown Hall Lower Core Computer Lab [1] Open Rhinoceros. PART 1 INTRODUCTION [4] Click and hold on the Boundary Lines in where they form a crossing and Drag from TOP RIGHT to BOTTOM LEFT to enable only the PERSPECTIVE VIEW. [2] When the

More information

We will start our journey into Processing with creating static images using commands available in Processing:

We will start our journey into Processing with creating static images using commands available in Processing: Processing Notes Chapter 1: Starting Out We will start our journey into Processing with creating static images using commands available in Processing: rect( ) line ( ) ellipse() triangle() NOTE: to find

More information

Skill 1: Multiplying Polynomials

Skill 1: Multiplying Polynomials CS103 Spring 2018 Mathematical Prerequisites Although CS103 is primarily a math class, this course does not require any higher math as a prerequisite. The most advanced level of mathematics you'll need

More information

Modeling a Gear Standard Tools, Surface Tools Solid Tool View, Trackball, Show-Hide Snaps Window 1-1

Modeling a Gear Standard Tools, Surface Tools Solid Tool View, Trackball, Show-Hide Snaps Window 1-1 Modeling a Gear This tutorial describes how to create a toothed gear. It combines using wireframe, solid, and surface modeling together to create a part. The model was created in standard units. To begin,

More information

Apple Modelling Tutorial

Apple Modelling Tutorial Apple Modelling Tutorial In this tutorial you will work with: Spline, Lathe, UVtexture Difficulty: Easy. Go to the front view and select the button. Draw a spline like this. Click and drag, click and drag.

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version): Graphing on Excel Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version): The first step is to organize your data in columns. Suppose you obtain

More information

Create an Adorable Hedgehog with Basic Tools in Inkscape Aaron Nieze on Sep 23rd 2013 with 5 Comments

Create an Adorable Hedgehog with Basic Tools in Inkscape Aaron Nieze on Sep 23rd 2013 with 5 Comments Create an Adorable Hedgehog with Basic Tools in Inkscape Aaron Nieze on Sep 23rd 2013 with 5 Comments Tutorial Details Software: Inkscape Difficulty: Beginner Completion Time: 2 hours View post on Tuts+

More information

Math 2250 Lab #3: Landing on Target

Math 2250 Lab #3: Landing on Target Math 2250 Lab #3: Landing on Target 1. INTRODUCTION TO THE LAB PROGRAM. Here are some general notes and ideas which will help you with the lab. The purpose of the lab program is to expose you to problems

More information

(Refer Slide Time: 00:50)

(Refer Slide Time: 00:50) Programming, Data Structures and Algorithms Prof. N.S. Narayanaswamy Department of Computer Science and Engineering Indian Institute of Technology Madras Module - 03 Lecture 30 Searching Unordered linear

More information

Microsoft Excel Level 2

Microsoft Excel Level 2 Microsoft Excel Level 2 Table of Contents Chapter 1 Working with Excel Templates... 5 What is a Template?... 5 I. Opening a Template... 5 II. Using a Template... 5 III. Creating a Template... 6 Chapter

More information

CS1114 Section 8: The Fourier Transform March 13th, 2013

CS1114 Section 8: The Fourier Transform March 13th, 2013 CS1114 Section 8: The Fourier Transform March 13th, 2013 http://xkcd.com/26 Today you will learn about an extremely useful tool in image processing called the Fourier transform, and along the way get more

More information