Calculator Challenge By: Chris Brown Under the direction of Professor Susan Rodger Duke University, January 2013.

Slides:



Advertisements
Similar presentations
Visual Lists By Chris Brown under Prof. Susan Rodger Duke University July 2012.
Advertisements

Transformations We want to be able to make changes to the image larger/smaller rotate move This can be efficiently achieved through mathematical operations.
Exponent Rules Practice. Multiplying Monomials Keep the base Add the exponents Multiply Coefficients if you see any.
Logarithms LSP 120. Logarithms What is a Logarithm?  A logarithm (or log) is a number that represents a power or exponent  Why use logs?  A simpler.
8.4 Logarithms p. 486.
Multiplying and Dividing in Scientific Notation. Multiplying Numbers in Scientific Notation Multiply the decimal numbers together. Add the exponents to.
Graphical Tree-Based Scientific Calculator: CalcuWiz Will Ryan Christian Braunlich.
Copyright © Cengage Learning. All rights reserved.
Logarithm Jeopardy The number e Expand/ Condense LogarithmsSolving More Solving FINAL.
Section 5.3 Properties of Logarithms Advanced Algebra.
1 Logarithms Definition If y = a x then x = log a y For log 10 x use the log button. For log e x use the ln button.
Logarithmic and Exponential Functions
Natural Exponents and Logs Exponential and Logarithmic Equations.
Solving Proportions, Using Exponents. Proportions Many chemistry problems deal with changing one variable and measuring the effect on another variable.
by Chris Brown under Prof. Susan Rodger Duke University June 2012
Unit 11, Part 2: Introduction To Logarithms. Logarithms were originally developed to simplify complex arithmetic calculations. They were designed to transform.
Unit 11, Part 2: Day 1: Introduction To Logarithms.
Exponents Properties. Warm Up Solve the following equations: 3 = 3x + 1 6x + 7 = 61 5a – 34 = -9.
Unit 11, Part 2: Introduction To Logarithms. Logarithms were originally developed to simplify complex arithmetic calculations. They were designed to transform.
The answer to exponential questions. How many times do I need to multiply 1 by 2 to get 64? Try this on your calculator and write an equation that gives.
Logarithms the inverse of exponential functions. The logarithmic functions help us work easily with very large or very small numbers…. While calculators.
Nonvisual Arrays and Recursion by Chris Brown under Prof. Susan Rodger Duke University June 2012.
Objective 1.To write very large or very small numbers in standard form, in scientific notation, and vice versa. To compare and order numbers in scientific.
STEPS FOR MULTIPLYING A 2-DIGIT NUMBER BY ANOTHER 2-DIGIT NUMBER With Partial Products.
Intro to Logarithms Goes along with 4.4 (GREEN book) Quiz: 1/12/10 Logs Test: 1/21/10.
Logarithms Definition Graphing. What’s a Log? the logarithm of a number to a given base is the power or exponent to which the base must be raised in order.
Making a Timer in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Scientific notation is a way of expressing really big numbers or really small numbers. Scientific notation is a way of expressing really big numbers or.
Copyright © Lynda Greene Aguirre Exponential Form is used when you want to multiply the same number by itself several times. 5 is the base 4 is.
Unit 5: Logarithmic Functions
Unit 5: Logarithmic Functions Inverse of exponential functions. “log base 2 of 6” Ex 1: Domain: all real numbers Range: y > 0 “log base b of x” Domain:
Nonvisual Arrays by Chris Brown under Prof. Susan Rodger Duke University June 2012.
Boat Racing Game Challenge #2 By Chris Brown Under the direction of Professor Susan Rodger Duke University, January 2013 Based off of the Boat Racing Game.
Distance Challenge By: Chris Brown Under the direction of Prof. Susan Rodger Duke University, January 2013.
Objective The student will be able to: express numbers in scientific and decimal notation. Designed by Skip Tyler, Varina High School.
Multiply the coefficients, the 2 and the -3 to get -6 a 3 * a 2 will be a 5, you add exponents when you multiply terms b 1 * b 4 will be b 5.
Properties of Logarithms. Basic Properties All logarithmic functions have certain properties. The basic properties are:
3.3 Day 2 Condensing Logarithmic Expressions The Change of Base Property Pg. 408 # even, even.
6.10/6.11 Laws of Logarithms and change of base formula.
Lesson 3.4 Properties of Logarithms
Technology 11.1 Natural Base, e Calculate the natural base e to nine decimal places. Figure 11.1 Enter e. For Figure 11.1, ENTERe2nd If e is a base of.
 What is the product of 3 x 2 or 3 groups of 2?  What is the product of 2 x 3 or 2 groups of 3?  Integers are similar: ◦ What is the product of 3 x.
4.3 Laws of Logarithms. 2 Laws of Logarithms  Just like the rules for exponents there are corresponding rules for logs that allow you to rewrite the.
An Introduction to Alice By Chris Brown under the direction of Professor Susan Rodger Duke University, March 2013.
Logs - Day 1 TUESDAY, FEBRUARY 2, 2016 DEFINE THE TERMS ON PAGE 291 INTO YOUR VOCAB LIST! ADAPTED FROM:
Lesson 10.2Logarithmic Functions Logarithm: Inverse of exponential functions. “log base 2 of 6” Ex: Domain: x>0 Range: all real numbers Inverse of exponential.
Solving Exponential Equations using Logs Wednesday, February 10, 2016 Topic 7-9 in TEXT.
Boat Racing Game Challenge #3 By Chris Brown Under the direction of Professor Susan Rodger Duke University, January 2013 Based off of the Boat Racing Game.
Unit 5: Logarithmic Functions Inverse of exponential functions. “log base 2 of 6” Ex 1: Domain: all real numbers Range: y > 0 “log base b of x” Domain:
Boat Racing Game Challenge #4 By Chris Brown Under the direction of Professor Susan Rodger Duke University, January 2013 Based off of the Boat Racing Game.
Sin x = Solve for 0° ≤ x ≤ 720°
PERFORMING CALCULATIONS IN SCIENTIFIC NOTATION ADDITION AND SUBTRACTION.
SOLVING LOGARITHMIC EQUATIONS. STEPS: 1.Get the LOG, LN, or e expression alone. 2. Convert to the opposite form. Logarithmic ---> Exponential Exponential.
Common Logarithms, Base e, Natural Logs, Properties of Logarithms.
Goals:  Understand logarithms as the inverse of exponents  Convert between exponential and logarithmic forms  Evaluate logarithmic functions.
7.4 Logarithms p. 499 What you should learn: Goal1 Goal2 Evaluate logarithms Graph logarithmic functions 7.4 Evaluate Logarithms and Graph Logarithmic.
5.1 Exponential Functions
By Melissa Dalis Professor Susan Rodger Duke University June 2011
Logarithmic Functions
Unit 8 [7-3 in text] Logarithmic Functions
Introduction to Events
Bell Ringer (in Math Journal)
Sec. 5.3 Properties of Logarithms
Objective Use multiplication properties of exponents to evaluate and simplify expressions.
Splash Screen.
Chapter 3: Selection Structures: Making Decisions
Logarithms Definition Graphing.
under the direction of Professor Susan Rodger
Presentation transcript:

Calculator Challenge By: Chris Brown Under the direction of Professor Susan Rodger Duke University, January 2013

Introduction In this world, you will be able to use Alice as a calculator to evaluate expressions. However, it is not complete. It is your job to create the functions that you want your calculator to be able to accomplish so that when you enter the values and click a button on the calculator, the program will know what to do. Turn the calculator on and off by clicking the “ON” button. You will be able to enter the numbers that you want to use, and click on “CE” to clear the screen and “ENT” to compute the answer when you are finished.

1. Starting Functions Challenge Functions are chunks of code that return a value when they are called. All of the functions that you need have already been built, but right now they don’t do anything except return the value 1. Finish the program by filling in these functions using Alice built-in functions so that they will return the correct values and make the calculator run correctly!

2. Log Challenge If you look through the Alice world advanced math functions, you will see that there is not a function to calculate the logarithm of a number in base 10 (natural log is base e). You will need to find a formula to calculate the log base 10 to put into this function.

3. Exponents Challenge Right now, our calculator does not do exponents. You will need to add a button, so that when it is clicked the calculator will know to raise the value to a certain power. The button will have to be a new billboard object, and you will need to create a new function with parameters to pass in as well as an event to run the function when the button is clicked. abab

4. General Function Challenge Create a special button, y, that computes the value of a function you specify and you can plug in any value for x to solve for y. For example, if you specify in world.y the function y = x 2 – 3x + 10 and set the value of x to be 5, this function computes 20, which means y = 20.

Other Challenge Ideas Use loops to implement the exponent challenge, rather than the “a raised to the b power” function. Pretend that multiplication does not exist. Use loops and addition to create the same affects of multiplying two numbers together. Make a function to calculate the factorial of a number. (6 factorial = 6! = 6*5*4*3*2*1) Build a +/- button to easily switch between positive and negative numbers. Create other buttons to go with all of the Alice’s advanced math functions (cos, sin, tan, ln, …) and add them to your calculator.