open a text line to annotate your work is Alt-7. From Eq. 2.5 we use the "sum" function in Mathematica to consider the (finite) sum

Size: px
Start display at page:

Download "open a text line to annotate your work is Alt-7. From Eq. 2.5 we use the "sum" function in Mathematica to consider the (finite) sum"

Transcription

1 Lecture Our goal here is to begin to learn to use Mathematica while at the same time use it to eplore the concepts in the tet. You are encouraged to confirm the Mathematica results and the mechanical issue of running the program, entering the commands, etc., i.e., run your own session of Mathematica and enter these commands. Mathematica has pretty good built-in Help and you are strngly encouraged to use it to look-up definitions of functions, find new functions, etc. The key stroke instructing Mathematica to perform a command (or evaluate an epression) is the combination shift-enter. The command to open a tet line to annotate your work is Alt-7. From Eq.. we use the "sum" function in Mathematica to consider the (finite) sum In[]:= Out[]= Sum@ ^ n, 8n, 4<D Alternatively we can enter the same epression with In[]:= Out[]= Sum@ ^ n, 8n,, 4<D ote the general feature that Mathematica always begins the names of pre-installed functions with capital letters, puts the arguments in square brackets, []'s, and uses curly brackets, {}'s, to define parameters for the function; here to sum over the inde n from to 4 (i.e., {n,4} = {n,,4}). ow define the infinite version (note how Mathematica likes to label the "quantity" infinity; it can also be entered with the symbol ). In defining a function we use the underscore, _, to label the arguments (on the left-hand-side) and the symbol ":=" (and not just "=") In[3]:= S@_D := Sum@ ^ n, 8n, Infinity<D To ask Mathematica to perform the sum we simply type the name of the function (with no underscoring), In[4]:= S@D Out[4]= - + This is a common result that Mathematica does not simplify automatically to the epected analytic epression. If you epect that simplification is possible, you can ask Mathematica to look for it. There is a handy shorthand if you want to perform an operation of the previous epression - just represent it by the % symbol. In[]:= Simplify@%D Out[]= - + Given the current order in which the commands have been evaluated, this last command is the same as In[6]:= Simplify@S@DD Out[6]= - + This the result of Eq.(.). For comparison we can also evaluate the sum starting with, the power zero, as in Eq.(.9), the so-called geometric series

2 Lec_7_8.nb This the result of Eq.(.). For comparison we can also evaluate the sum starting with, the power zero, as in Eq.(.9), the so-called geometric series In[7]:= Out[7]= In[8]:= ^ n, 8n,, 4<D Sum@ ^ n, 8n,, <D Out[8]= - An essential strength of the Mathematica software is the ability to analytically perform this infinite summation for a general variable, as here. On the other hand you have to be careful not to be misled by the result. In particular, for < the infinite series defines the function indicated. However, while the functions is well defined for >, the infinite series itself is divergent. We can study the issue of convergence by looking at the behavior of the finite (truncated) series and then the remainder. First define the finite series as a function of both and. In[9]:= In[]:= _D := Sum@ ^ n, 8n,, D So let's use our plotting ability to check the behavior of this function as a function of for fied values of, e.g., =.. In[]:= Plot@@,.D, 8,, <D..9 Out[]=.9 Let's clean this up a bit and provide labels.

3 Lec_7_8.nb In[]:= 8,, <, PlotRange 8, <, AesLabel 8, <, AesOrigin -> 8, <D. Out[]=. It clearly converges by around. ow lets try a few values of. @,.9D<, 8,, <, PlotRange 8, <, AesLabel 8, <, AesOrigin -> 8, <D. Out[3]=. Clearly both the number the series converges to varies with and the actual converge properties vary with the value, but the details are difficult to see in this plot. To clean up the plot we etend the limits and the aes. 3

4 4 @,.9D<, 8,, <, PlotRange 8, <, AesLabel 8, <, AesOrigin -> 8, <D 8 6 Out[4]= However, note that In[]:= Plot@@,.D, 8,, <, PlotRange 8, <, AesLabel 8, <, AesOrigin -> 8, <D 4 3 Out[]= So for > we see the finite sum diverging as gets large. To focus on the question of convergence/divergence can look at the remainder of all the terms in the infinite series after the th term, R = S. In[6]:= In[7]:= R@_, _D := Sum@ ^ n, 8n, +, Infinity<D R@, D + Out[7]= - D + R@, D + + Out[8]= - H- + L - + A bit messy so simplify.

5 Lec_7_8.nb In[9]:= D + R@, DD Out[9]= - + The epected analytic result for the full sum. Consider the remainder numerically. In[]:= Out[]= R@,.3D Mathematica has trouble recognizing the convergence but we can look for it graphically In[]:= Plot@R@,.3D, 8,, <, PlotRange 8, <, AesLabel 8, R<, AesOrigin -> 8, <D Unset::wrsym : Symbol is Protected. R. Out[]=. ote again that Mathematica struggles to perform the sum numerically, but still suggests that the remainder shrinks with increasing. ow consider the 4 values used above In[]:= Plot@8R@,.3D, R@,.D, R@,.7D, R@,.9D<, 8,, <, PlotRange 8, <, AesLabel 8, R<, AesOrigin -> 8, <D R. Out[]=. 3 4 As epected all the remainders head to zero for, although even on the current scale the remainder has only shrunk to about. at =. Clearly this is not very satisfactory and is why, even with computers available, we also need the analytic tests for convergence discussed in Lecture.

6 6 Lec_7_8.nb As epected all the remainders head to zero for, although even on the current scale the remainder has only shrunk to about. at =. Clearly this is not very satisfactory and is why, even with computers available, we also need the analytic tests for convergence discussed in Lecture. What about the case = In[3]:= Plot@R@,.D, 8,, <, PlotRange 8, <, AesLabel 8, R<, AesOrigin -> 8, <D General::stop : Further output of Sum::div will be suppressed during this calculation. R. Out[3]=. So in this case Mathematica knows that something is wrong. Another way to look at is in terms of the limit, (where we epect a zero answer for convergence) In[4]:= Out[4]= Limit@R@,.D, D. So Mathematica does not handle this well. On the other hand once we have "summed" the general sum In[]:= R@, D + Out[]= - We can use this form to take the large limit for fied easily (note the substitution command /.>value) + In[6]:= - + Out[6]= Take the limit + In[7]:= LimitB- + Out[7]=...9, F So the series converges. At the boundary = we have

7 Lec_7_8.nb + In[8]:= LimitB- +.., F Power::infy : Infinite epression encountered.. Out[8]= CompleInfinity So this epression clearly diverges, and for > + In[9]:= LimitB- + Out[9]= -.., F We can also see this behavior in the plot of the summed series S[], i.e., the divergence as approaches. In[3]:= Plot@S@D, 8, -, <, AesLabel 8, S<D General::stop : Further output of Sum::div will be suppressed during this calculation. S 4 3 Out[3]= - - So if we carefully evaluate the infinite series representing the remainder and takes its limit,, Mathematica will accurately tell us about the convergence properties of the series. On the other hand, we often have difficulty proceeding just numerically. The analytic analysis we have discussed in the Lecture is essentially for proceeding either by hand or via Mathematica. To make use of series, we need to understand when they make sense and when they do not via analytic methods. 7

Mathematica for Dirac delta functions and Green functions

Mathematica for Dirac delta functions and Green functions Mathematica for Dirac delta functions and Green functions DiracDelta function Mathematic has Dirac s delta function built in for use in integrals and solving differential equations. If you evaluate it

More information

GETTING STARTED WITH MATHEMATICA

GETTING STARTED WITH MATHEMATICA GETTING STARTED WITH MATHEMATICA Loading Mathematica : If you are on any Loyola network computer, you should be able to load Mathematica by clicking on the start button (on the lower left of the computer

More information

1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation

1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation 1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation functions vertical line test function notation evaluate

More information

Getting Started With Mathematica

Getting Started With Mathematica Getting Started With Mathematica First Steps This semester we will make use of the software package Mathematica; this package is available on all Loyola networked computers. You can access Mathematica

More information

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

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

Arithmetic expressions can be typed into Maple using the regular operators: Basic arithmetic Arithmetic expressions can be typed into Maple using the regular operators: (type "3 + 4" and then press "[Enter]" to start the evaluation of the expression) 7 (1.1) 5 (1.2) 21 (1.3) (type

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

Sequences and Series. Copyright Cengage Learning. All rights reserved.

Sequences and Series. Copyright Cengage Learning. All rights reserved. Sequences and Series Copyright Cengage Learning. All rights reserved. 12.3 Geometric Sequences Copyright Cengage Learning. All rights reserved. 2 Objectives Geometric Sequences Partial Sums of Geometric

More information

Mathematica examples relevant to Bessel functions

Mathematica examples relevant to Bessel functions Mathematica eamples relevant to Bessel functions The original Bessel function---that discussed etensively in Boas Also called Bessel functions of the first kind, or cylindrical Bessel functions It is a

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

The Limit Concept. Introduction to Limits. Definition of Limit. Example 1. Example 2. Example 3 4/7/2015

The Limit Concept. Introduction to Limits. Definition of Limit. Example 1. Example 2. Example 3 4/7/2015 4/7/015 The Limit Concept Introduction to Limits Precalculus 1.1 The notion of a it is a fundamental concept of calculus. We will learn how to evaluate its and how they are used in the two basic problems

More information

6.867 Machine learning, lecture 1 (Jaakkola) 1

6.867 Machine learning, lecture 1 (Jaakkola) 1 6.867 Machine learning, lecture 1 (Jaakkola) 1 Eample Let s start with an eample. Suppose we are charged with providing automated access control to a building. Before entering the building each person

More information

Time: 1 hour 30 minutes

Time: 1 hour 30 minutes Paper Reference(s) 666/0 Edecel GCE Core Mathematics C Bronze Level B Time: hour 0 minutes Materials required for eamination Mathematical Formulae (Green) Items included with question papers Nil Candidates

More information

Lesson 3: Solving Equations; Floating-point Computation

Lesson 3: Solving Equations; Floating-point Computation Lesson 3: Solving Equations; Floating-point Computation restart; A hard equation Last time we were looking at this equation. eq := * sin() = Pi/2; (1.1) Maple didn't know the solutions. solve(eq,,allsolutions);

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

Mini-Lecture 8.1 Introduction to Radicals

Mini-Lecture 8.1 Introduction to Radicals Copyright 01 Pearson Education, Inc. Mini-Lecture 8.1 Introduction to Radicals 1. Find square roots.. Find cube roots.. Find nth roots.. Approimate square roots.. Simplify radicals containing variables.

More information

y = f(x) x (x, f(x)) f(x) g(x) = f(x) + 2 (x, g(x)) 0 (0, 1) 1 3 (0, 3) 2 (2, 3) 3 5 (2, 5) 4 (4, 3) 3 5 (4, 5) 5 (5, 5) 5 7 (5, 7)

y = f(x) x (x, f(x)) f(x) g(x) = f(x) + 2 (x, g(x)) 0 (0, 1) 1 3 (0, 3) 2 (2, 3) 3 5 (2, 5) 4 (4, 3) 3 5 (4, 5) 5 (5, 5) 5 7 (5, 7) 0 Relations and Functions.7 Transformations In this section, we stud how the graphs of functions change, or transform, when certain specialized modifications are made to their formulas. The transformations

More information

(Refer Slide Time: 1:27)

(Refer Slide Time: 1:27) Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 1 Introduction to Data Structures and Algorithms Welcome to data

More information

Chapter 1. Numeric Artifacts. 1.1 Introduction

Chapter 1. Numeric Artifacts. 1.1 Introduction Chapter 1 Numeric Artifacts 1.1 Introduction Virtually all solutions to problems in electromagnetics require the use of a computer. Even when an analytic or closed form solution is available which is nominally

More information

Imported Geometry Cleaning

Imported Geometry Cleaning LESSON 8 Imported Geometry Cleaning Objectives: Import CAD geometry. Identify problems with imported geometry. Fix geometry for the purpose of meshing. PATRAN 302 Exercise Workbook - Release 8.0 8-1 8-2

More information

C1M0 Introduction to Maple Assignment Format C1M1 C1M1 Midn John Doe Section 1234 Beginning Maple Syntax any

C1M0 Introduction to Maple Assignment Format C1M1 C1M1 Midn John Doe Section 1234 Beginning Maple Syntax any CM0 Introduction to Maple Our discussion will focus on Maple 6, which was developed by Waterloo Maple Inc. in Waterloo, Ontario, Canada. Quoting from the Maple 6 Learning Guide, Maple is a Symbolic Computation

More information

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24 Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras Lecture - 24 So in today s class, we will look at quadrilateral elements; and we will

More information

Getting Started With Mathematica

Getting Started With Mathematica Getting Started With Mathematica First Steps This semester we will make use of the software package Mathematica; this package is available on all Loyola networked computers. You can access Mathematica

More information

Efficacy of Numerically Approximating Pi with an N-sided Polygon

Efficacy of Numerically Approximating Pi with an N-sided Polygon Peter Vu Brewer MAT66 Honors Topic Efficacy of umerically Approximating Pi with an -sided Polygon The quest for precisely finding the irrational number pi has been an endeavor since early human history.

More information

Numerical Methods for PDEs : Video 11: 1D FiniteFebruary Difference 15, Mappings Theory / 15

Numerical Methods for PDEs : Video 11: 1D FiniteFebruary Difference 15, Mappings Theory / 15 22.520 Numerical Methods for PDEs : Video 11: 1D Finite Difference Mappings Theory and Matlab February 15, 2015 22.520 Numerical Methods for PDEs : Video 11: 1D FiniteFebruary Difference 15, Mappings 2015

More information

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors.

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors. 1 LECTURE 3 OUTLINES Variable names in MATLAB Examples Matrices, Vectors and Scalar Scalar Vectors Entering a vector Colon operator ( : ) Mathematical operations on vectors examples 2 VARIABLE NAMES IN

More information

Chapter 3 Path Optimization

Chapter 3 Path Optimization Chapter 3 Path Optimization Background information on optimization is discussed in this chapter, along with the inequality constraints that are used for the problem. Additionally, the MATLAB program for

More information

Initial Coding Guidelines

Initial Coding Guidelines Initial Coding Guidelines ITK 168 (Lim) This handout specifies coding guidelines for programs in ITK 168. You are expected to follow these guidelines precisely for all lecture programs, and for lab programs.

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

1.2 Functions and Graphs

1.2 Functions and Graphs Section.2 Functions and Graphs 3.2 Functions and Graphs You will be able to use the language, notation, and graphical representation of functions to epress relationships between variable quantities. Function,

More information

Integrating Equations of Motion in Mathematica

Integrating Equations of Motion in Mathematica MmaGuide-GLG.nb Integrating Equations of Motion in Mathematica Gary L. Gray Assistant Professor Engineering Science and Mechanics The Pennsylvania State University 227 Hammond Building University Park,

More information

Introduction to Computational Mathematics

Introduction to Computational Mathematics Introduction to Computational Mathematics Introduction Computational Mathematics: Concerned with the design, analysis, and implementation of algorithms for the numerical solution of problems that have

More information

Ph3 Mathematica Homework: Week 1

Ph3 Mathematica Homework: Week 1 Ph3 Mathematica Homework: Week 1 Eric D. Black California Institute of Technology v1.1 1 Obtaining, installing, and starting Mathematica Exercise 1: If you don t already have Mathematica, download it and

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

8.5 Quadratic Functions and Their Graphs

8.5 Quadratic Functions and Their Graphs CHAPTER 8 Quadratic Equations and Functions 8. Quadratic Functions and Their Graphs S Graph Quadratic Functions of the Form f = + k. Graph Quadratic Functions of the Form f = - h. Graph Quadratic Functions

More information

Using Arithmetic of Real Numbers to Explore Limits and Continuity

Using Arithmetic of Real Numbers to Explore Limits and Continuity Using Arithmetic of Real Numbers to Explore Limits and Continuity by Maria Terrell Cornell University Problem Let a =.898989... and b =.000000... (a) Find a + b. (b) Use your ideas about how to add a and

More information

4 Using Files and Extending Precision

4 Using Files and Extending Precision 4.1 Aims 4 Using Files and Etending Precision By the end of this worksheet, you will be able to: Read from and write to files Use etended precision 4.2 Reading from files In the real world, most of the

More information

Getting Started with Mathematica

Getting Started with Mathematica Getting Started with Mathematica Introduction What is Mathematica? Mathematica is a computer program for doing mathematics. It is often used for instruction, homework, research, and writing. Mathematica

More information

Week 1: Introduction to R, part 1

Week 1: Introduction to R, part 1 Week 1: Introduction to R, part 1 Goals Learning how to start with R and RStudio Use the command line Use functions in R Learning the Tools What is R? What is RStudio? Getting started R is a computer program

More information

Transformations of y = x 2 Parent Parabola

Transformations of y = x 2 Parent Parabola Transformations of = 2 SUGGESTED LEARNING STRATEGIES: Marking the Tet, Interactive Word Wall, Create Representations, Quickwrite 1. Graph the parent quadratic function, f () = 2, on the coordinate grid

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

A Specialized Case of the Euclidean 3-Dimensional Steiner Tree Problem

A Specialized Case of the Euclidean 3-Dimensional Steiner Tree Problem A Specialied Case of the Euclidean -Dimensional Steiner Tree Problem Jacob Shetler Introduction In a Steiner Tree problem, one must connect a given set of vertices together in order to create a connected

More information

Derivatives 3: The Derivative as a Function

Derivatives 3: The Derivative as a Function Derivatives : The Derivative as a Function 77 Derivatives : The Derivative as a Function Model : Graph of a Function 9 8 7 6 5 g() - - - 5 6 7 8 9 0 5 6 7 8 9 0 5 - - -5-6 -7 Construct Your Understanding

More information

This notebook "MathematicaDemo.nb" can be downloaded from the course web page.

This notebook MathematicaDemo.nb can be downloaded from the course web page. Mathematica demo http://www.wolfram.com/ This notebook "MathematicaDemo.nb" can be downloaded from the course web page. Basics Evaluate cells by pressing "shift-enter" / shift-return In[]:= + 3 Out[]=

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

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras Module No. #01 Lecture No. #1.1 Introduction to MATLAB programming

More information

Comp Assignment 2: Object-Oriented Scanning for Numbers, Words, and Quoted Strings

Comp Assignment 2: Object-Oriented Scanning for Numbers, Words, and Quoted Strings Comp 401 - Assignment 2: Object-Oriented Scanning for Numbers, Words, and Quoted Strings Date Assigned: Thu Aug 29, 2013 Completion Date: Fri Sep 6, 2013 Early Submission Date: Wed Sep 4, 2013 This work

More information

CLEMSON ALGEBRA PROJECT UNIT 4: INEQUALITIES IN TWO VARIABLES

CLEMSON ALGEBRA PROJECT UNIT 4: INEQUALITIES IN TWO VARIABLES CLEMSON ALGEBRA PROJECT UNIT 4: INEQUALITIES IN TWO VARIABLES PROBLEM 1: GIFT GIVING Gift-giving season is approaching and you wish to purchase gifts for four relatives and si friends. The amount you spend

More information

HANDS-ON START TO WOLFRAM MATHEMATICA. and Programming with the Wolfram Language. Cliff Hastings Kelvin Mischo Michael Morrison.

HANDS-ON START TO WOLFRAM MATHEMATICA. and Programming with the Wolfram Language. Cliff Hastings Kelvin Mischo Michael Morrison. HANDS-ON START TO WOLFRAM MATHEMATICA and Programming with the Wolfram Language Cliff Hastings Kelvin Mischo Michael Morrison Champaign 11 11 1 111THE COMPLETE OVERVIEW 1 Chapter 1 The Very Basics 3 Chapter

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

Dynamic Programming. Other Topics

Dynamic Programming. Other Topics Dynamic Programming Other Topics 1 Objectives To explain the difference between discrete and continuous dynamic programming To discuss about multiple state variables To discuss the curse of dimensionality

More information

Beginner s Mathematica Tutorial

Beginner s Mathematica Tutorial Christopher Lum Autonomous Flight Systems Laboratory Updated: 12/09/05 Introduction Beginner s Mathematica Tutorial This document is designed to act as a tutorial for an individual who has had no prior

More information

Lesson 9: Decimal Expansions of Fractions, Part 1

Lesson 9: Decimal Expansions of Fractions, Part 1 Classwork Opening Exercises 1 2 1. a. We know that the fraction can be written as a finite decimal because its denominator is a product of 2 s. Which power of 10 will allow us to easily write the fraction

More information

An Introduction to Maple This lab is adapted from a lab created by Bob Milnikel.

An Introduction to Maple This lab is adapted from a lab created by Bob Milnikel. Some quick tips for getting started with Maple: An Introduction to Maple This lab is adapted from a lab created by Bob Milnikel. [Even before we start, take note of the distinction between Tet mode and

More information

Getting Started with Mathematica

Getting Started with Mathematica G563 Quantitative Paleontology Department of Geological Sciences P. David Polly Getting Started with Mathematica Mathematica has a unique interface that takes a while to get used to. You open to a blank

More information

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering Final Eamination ECE 4F - Digital Systems Eaminers: S. Brown, J.

More information

Objectives and Homework List

Objectives and Homework List MAC 1140 Objectives and Homework List Each objective covered in MAC1140 is listed below. Along with each objective is the homework list used with MyMathLab (MML) and a list to use with the text (if you

More information

Maxima CAS presentation Chelton Evans

Maxima CAS presentation Chelton Evans Maxima CAS presentation 2015-12-01 Chelton Evans Abstract Maxima is a popular copyleft CAS (Computer Algebra System) which can be used for both symbolic and numerical calculation. Chelton Evans will present

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

Programming for Engineers Introduction to C

Programming for Engineers Introduction to C Programming for Engineers Introduction to C ICEN 200 Spring 2018 Prof. Dola Saha 1 Simple Program 2 Comments // Fig. 2.1: fig02_01.c // A first program in C begin with //, indicating that these two lines

More information

CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts)

CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts) CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts) Problem 0: Install Eclipse + CDT (or, as an alternative, Netbeans). Follow the instructions on my web site.

More information

Functions f and g are called a funny cosine and a funny sine if they satisfy the following properties:

Functions f and g are called a funny cosine and a funny sine if they satisfy the following properties: Assignment problems by Branko Ćurgus posted on 2070720 Problem. Funny trigonometry and its beauty ü Few Mathematica comments There are several standard Mathematica functions that can be useful here. For

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

Author: Leonore Findsen, Qi Wang, Sarah H. Sellke, Jeremy Troisi

Author: Leonore Findsen, Qi Wang, Sarah H. Sellke, Jeremy Troisi 0. Downloading Data from the Book Website 1. Go to http://bcs.whfreeman.com/ips8e 2. Click on Data Sets 3. Click on Data Sets: PC Text 4. Click on Click here to download. 5. Right Click PC Text and choose

More information

Lecture 3: Linear Classification

Lecture 3: Linear Classification Lecture 3: Linear Classification Roger Grosse 1 Introduction Last week, we saw an example of a learning task called regression. There, the goal was to predict a scalar-valued target from a set of features.

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

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering Digital Image Processing Prof. P.K. Biswas Department of Electronics & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Image Segmentation - III Lecture - 31 Hello, welcome

More information

Finite Element Analysis Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology Madras. Module - 01 Lecture - 15

Finite Element Analysis Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology Madras. Module - 01 Lecture - 15 Finite Element Analysis Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology Madras Module - 01 Lecture - 15 In the last class we were looking at this 3-D space frames; let me summarize

More information

Basic Exercises about Mathematica

Basic Exercises about Mathematica Basic Exercises about Mathematica 1. Calculate with four decimal places. NB F. 2.23607 2.23607 Ë We can evaluate a cell by placing the cursor on it and pressing Shift+Enter (or Enter on the numeric key

More information

Second Edition. Concept Builders. Jana Kohout

Second Edition. Concept Builders. Jana Kohout Second Edition Concept Builders Jana Kohout First published in Australia as an online resource in 016. Edited and printed in 017. Jana Kohout 017 Reproduction and Communication for educational purposes

More information

[2006] IEEE. Reprinted, with permission, from [Wenjing Jia, Gaussian Weighted Histogram Intersection for License Plate Classification, Pattern

[2006] IEEE. Reprinted, with permission, from [Wenjing Jia, Gaussian Weighted Histogram Intersection for License Plate Classification, Pattern [6] IEEE. Reprinted, with permission, from [Wening Jia, Gaussian Weighted Histogram Intersection for License Plate Classification, Pattern Recognition, 6. ICPR 6. 8th International Conference on (Volume:3

More information

Algebra 2 Semester 2 Final Exam Study Outline Semester 2 Final Exam Study Tips and Information

Algebra 2 Semester 2 Final Exam Study Outline Semester 2 Final Exam Study Tips and Information Algebra 2 Semester 2 Final Exam Study Outline 2013 Semester 2 Final Exam Study Tips and Information The final exam is CUMULATIVE and will include all concepts taught from Chapter 1 through Chapter 13.

More information

Lecture (01) Digital Systems and Binary Numbers By: Dr. Ahmed ElShafee

Lecture (01) Digital Systems and Binary Numbers By: Dr. Ahmed ElShafee ١ Lecture (01) Digital Systems and Binary Numbers By: Dr. Ahmed ElShafee Digital systems Digital systems are used in communication, business transactions, traffic control, spacecraft guidance, medical

More information

DEVS306 Tables & Graphs. Rasa Zakeviciute

DEVS306 Tables & Graphs. Rasa Zakeviciute DEVS306 Tables & Graphs Rasa Zakeviciute rasa.zakeviciute@jyu.fi Creating tables & graphs Year Your salary, yearly 2020 30 000 2021 40 000 2022 50 000 2023 60 000 Inflation rate, annual % 3% 1% 15% 20%

More information

Introduction to Scientific Computing Lecture 1

Introduction to Scientific Computing Lecture 1 Introduction to Scientific Computing Lecture 1 Professor Hanno Rein Last updated: September 10, 2017 1 Number Representations In this lecture, we will cover two concept that are important to understand

More information

Problem Solving With Loops

Problem Solving With Loops To appreciate the value of loops, take a look at the following example. This program will calculate the average of 10 numbers input by the user. Without a loop, the three lines of code that prompt the

More information

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad isn't: Mathcad is not the specialist's ultimate mathematical simulator Applied mathematicians may prefer the power of Mathematica Complex programs

More information

Please be sure to save a copy of this activity to your computer!

Please be sure to save a copy of this activity to your computer! Thank you for your purchase Please be sure to save a copy of this activity to your computer! This activity is copyrighted by AIMS Education Foundation. All rights reserved. No part of this work may be

More information

Summer Dear Geometry Students and Parents:

Summer Dear Geometry Students and Parents: Summer 2018 Dear Geometry Students and Parents: Welcome to Geometry! For the 2018-2019 school year, we would like to focus your attention to the prerequisite skills and concepts for Geometry. In order

More information

Lecture (01) Introduction Number Systems and Conversion (1)

Lecture (01) Introduction Number Systems and Conversion (1) Lecture (01) Introduction Number Systems and Conversion (1) By: Dr. Ahmed ElShafee ١ Digital systems Digital systems are used in communication, business transactions, traffic control, spacecraft guidance,

More information

Troubleshooting Maple Worksheets: Common Problems

Troubleshooting Maple Worksheets: Common Problems Troubleshooting Maple Worksheets: Common Problems So you've seen plenty of worksheets that work just fine, but that doesn't always help you much when your worksheet isn't doing what you want it to. This

More information

3 Applications of Di erentiation

3 Applications of Di erentiation 9 Applications of Di erentiation This chapter is intended to illustrate some of the applications of di erentiation. The activities of Section. illustrate the relationship between the values of rst and

More information

Glossary alternate interior angles absolute value function Example alternate exterior angles Example angle of rotation Example

Glossary alternate interior angles absolute value function Example alternate exterior angles Example angle of rotation Example Glossar A absolute value function An absolute value function is a function that can be written in the form, where is an number or epression. alternate eterior angles alternate interior angles Alternate

More information

Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013

Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013 Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September, 0 Contents. Getting Started. Basic plotting. Solving equations, approximating

More information

ELEN E3084: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals

ELEN E3084: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals ELEN E384: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals 1 Introduction In the last lab you learn the basics of MATLAB, and had a brief introduction on how vectors

More information

Lecture 2 The k-means clustering problem

Lecture 2 The k-means clustering problem CSE 29: Unsupervised learning Spring 2008 Lecture 2 The -means clustering problem 2. The -means cost function Last time we saw the -center problem, in which the input is a set S of data points and the

More information

Bits, Words, and Integers

Bits, Words, and Integers Computer Science 52 Bits, Words, and Integers Spring Semester, 2017 In this document, we look at how bits are organized into meaningful data. In particular, we will see the details of how integers are

More information

Using Characteristics of a Quadratic Function to Describe Its Graph. The graphs of quadratic functions can be described using key characteristics:

Using Characteristics of a Quadratic Function to Describe Its Graph. The graphs of quadratic functions can be described using key characteristics: Chapter Summar Ke Terms standard form of a quadratic function (.1) factored form of a quadratic function (.1) verte form of a quadratic function (.1) concavit of a parabola (.1) reference points (.) transformation

More information

Optimization Methods: Optimization using Calculus-Stationary Points 1. Module - 2 Lecture Notes 1

Optimization Methods: Optimization using Calculus-Stationary Points 1. Module - 2 Lecture Notes 1 Optimization Methods: Optimization using Calculus-Stationary Points 1 Module - Lecture Notes 1 Stationary points: Functions of Single and Two Variables Introduction In this session, stationary points of

More information

(Ca...

(Ca... 1 of 8 9/7/18, 1:59 PM Getting started with 228 computational exercises Many physics problems lend themselves to solution methods that are best implemented (or essentially can only be implemented) with

More information

Step by step set of instructions to accomplish a task or solve a problem

Step by step set of instructions to accomplish a task or solve a problem Step by step set of instructions to accomplish a task or solve a problem Algorithm to sum a list of numbers: Start a Sum at 0 For each number in the list: Add the current sum to the next number Make the

More information

Basics of Mathematica for data analysis

Basics of Mathematica for data analysis Basics of Mathematica for data analysis Angelo Esposito Physics Department, Columbia University January 14, 2017 Abstract In this brief tutorial I will introduce those features of Mathematica that are

More information

Overview: The original Mathematica was a computer algebra system (CAS) released by Stephen Wolfram in 1988.

Overview: The original Mathematica was a computer algebra system (CAS) released by Stephen Wolfram in 1988. Mathematica 7.0.1 Overview: The original Mathematica was a computer algebra system (CAS) released by Stephen Wolfram in 1988. Modern releases have augmented the CAS with powerful numerical and graphical

More information

General Information. There are certain MATLAB features you should be aware of before you begin working with MATLAB.

General Information. There are certain MATLAB features you should be aware of before you begin working with MATLAB. Introduction to MATLAB 1 General Information Once you initiate the MATLAB software, you will see the MATLAB logo appear and then the MATLAB prompt >>. The prompt >> indicates that MATLAB is awaiting a

More information

Linux Shell Scripting. Linux System Administration COMP2018 Summer 2017

Linux Shell Scripting. Linux System Administration COMP2018 Summer 2017 Linux Shell Scripting Linux System Administration COMP2018 Summer 2017 What is Scripting? Commands can be given to a computer by entering them into a command interpreter program, commonly called a shell

More information

Introduction to MCS 220 and L A TEX

Introduction to MCS 220 and L A TEX Introduction to MCS 220 and L A TEX Tom LoFaro August 28, 2009 1 Introduction to MCS 220 MCS 220, Introduction to Analysis, carries a WRITD (writing in the discipline) designation. What this means to you

More information

Digital Logic Lecture 2 Number Systems

Digital Logic Lecture 2 Number Systems Digital Logic Lecture 2 Number Systems By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department Outline Introduction. Basic definitions. Number systems types. Conversion between different

More information

Appendix H: Introduction to Maple

Appendix H: Introduction to Maple Appendix H: Introduction to Maple Maple is an application that can be used to analytically solve algebraic and differential equations. The capability to differentiate, integrate and algebraically manipulate

More information

6.001 Notes: Section 8.1

6.001 Notes: Section 8.1 6.001 Notes: Section 8.1 Slide 8.1.1 In this lecture we are going to introduce a new data type, specifically to deal with symbols. This may sound a bit odd, but if you step back, you may realize that everything

More information

Lecture Programming in C++ PART 1. By Assistant Professor Dr. Ali Kattan

Lecture Programming in C++ PART 1. By Assistant Professor Dr. Ali Kattan Lecture 08-1 Programming in C++ PART 1 By Assistant Professor Dr. Ali Kattan 1 The Conditional Operator The conditional operator is similar to the if..else statement but has a shorter format. This is useful

More information