Friday, November 30, 2007

Ideas for final project

Use this post to share ideas: This is what i wrote:

Folks,

I wanted to remind you that I created lots of help for you on seelogo.

Simply go to lessons and click on Math Art.

Both for the previous stuff and dynamic Art. I know you will apprecaite it and enjoy playing with it.

Here is also another suggestion for groups to play with (some more technical people can help with the computer and others with suggestions etc.)

I click on the abc button, chose a color and wrote the text" My first Semester: it it came in big black letter on the screen. I then tyoe Flash 0.1 It (thanks to David and Josh!!)

What you saw in the "left brain" that is the editor was something like:
flash 0.1 [COLOR BLUE[GT -143 26 STRETCH 127% [SIZE 240% [WR "My first Semester" ]]]

Now comes the fun part:

Every number you see in this program can become a variable and even the words themselves "My first Semester" can change.

Remember that 127% = 1.27 etc.

so if you change this programs to something
local t x y s etc
loop 100000 [t=t+1/100000 x=___ y=____ s=____ etc..
flash 0.1 [color blue [GT x y STRETCH s [SIZE 240% [WR "My first Semester" ]]
]]

If you play with different functions you can make amazing things happen.

You can also change the colors instead of blue write RGB c1 c2 c3 where c1 c2 c3 are functions...

--Dani

Thursday, November 29, 2007

Final Project Update

FINAL EXAM:
Easy, Med, Thought Provoking. For each please submit to the appropriate folder located on the Q: drive (i.e. easy) a seelogo demonstration and a .doc (Microsoft word document) explaining the seelogo demonstration.

Easy: Due Nov. 29

Medium: Due Dec. 4

Thought Provoking: Due Dec. 6

JOURNALS:
Journals (that everybody kept up with, right?): Due Dec. 6


MATH PRESENTATION (EMERSON):
Enhance your "Thought Provoking" from what you feel in your soul You do not have to hand in a word document explaining what it means. It's like real life, you have to be able to back up what you say, but there are always things that sometimes we just don't understand'.

Presentation: Dec 10th

FINAL PAPER:
Suggested Guidelines for paper:
1. Experience as a freshman
2. About the course (Seelogo)
3. Reflection
*. Pros & Cons about the course, suggestions for improvement...

Paper: Due December 18th @ 10:30am (final project time)

FINAL EXAM TIME:
There is a forum planned with pizza and good times. You may bring your paper to talk about your experiences as a 1st year at Ithaca College.

December 18th @ 10:30am

Tuesday, November 27, 2007

final project

FINAL PROJECT!!!!!!!!!!!!!!!!!!!!!!!!!

Easy: Due Nov. 29

Medium: Due Dec. 4

Thought Provoking =0 : Due Dec. 6

Journals (that everybody kept up with, right?): Due Dec. 6

Presentation: Dec 10th

Final Paper: Due Dec. 13
Guidelines for paper:
1. Experience as a freshman
2. About the course (Seelogo)
3. Reflection

Thursday, November 8, 2007

Practice for test for next week (Thursday)

Here are some questions that you may want to practice. The only HW this weekend is to complete the assignment and practice for the test.

The best way to learn is to try to do it on your own. When needed look at the solution (first comment) and then try again. Write notes. Once you get it do not stop there. Come back to it later and do it again until you start feeling really good inside. It will be such an enjoyable experience at the end. :)

1. Can you explain in your own words the meaning of the commands and why do we need themm:
A. local t x y etc.
B. t=t+1/10000
C. loop
D. x=100*t jt x x
E. r=circle 100*t


2. Make a small program w/o looking ta any notes that moves a small circle from:

A. (0,0) to (100,0)
B. (20,100) to (80,100) How would you slow it down by a factor of 3?
C. (100,100) to (0,0)
D. (15,60) to (-120, 110) How would you make sure the answer is correct?
I suggest to practice with D a lot by picking up your own points and testing yourself.

3. Make a small program that moves a small object chaning colors randomly around a circle of radius 120 5 times around the center of the screen
////////////////////////////////////
If master this up to here you are a B student on this material. If you want go further.

4. Modify the previous program so that it creates a spiral rather than a circle and turns around the center 3 times

5. Make a program that moves two points at the same time from (100,100) and (-100,-100) and meet at the origin and then make the spiral of life explode

6. Make a program that moves a point from (0,0) to (100,0) and then from (100,0) to (100,100)

7. Move an object along a line segment hence and forth 5 times <------------>

8. Play with colors that change smoothly and not randomly

Wednesday, November 7, 2007

Labyrinth design




Please try to decipher the code in the picture so that will match the actual Labyrinth that can be found in:

http://pvs.k12.nm.us/OutdoorPages/labyrinth/labyrinth-design-6.jpg


The puzzle is to find the connection between the code at the top of the picture and the actual picture.

Sunday, November 4, 2007

deepening understanding of functions

Using SeeLogo to Understand Functions

We can use SeeLogo to create a picture that changes in time. One good reason to do this is so that we can become familiar with using functions and manipulate them to achieve certain desired effects.

In order to carry out this exercise, we need to translate our regular mathematical notation to the language that the SeeLogo program can understand.

Before we do this, let's review what a function is.

A function y=f(x) can be seen as a rule or a formula so that for every number x that we choose to use as input for the formula (and there may be some limitations), we are going to get another number y=f(x) that is called the output. To put it in words, we say, "y equals f of x," or "y is a function of x."

For many students, this seems strange at the beginning, but note that in spoken language, we also use this concept. For example, when we say, "His success in this endeavor depends on how much effort he put into it," or in short: "Success is a function of effort." Furthermore, we can say, "The temperature is a function of time; at night it is usually colder."

We also refer to the input (x in this case) as the "independent variable" and the output as the "dependent variable."

The choice of f x and y to express the function and its input and output is based on tradition and is not really essential. In fact, any symbol, letter, or word can be used. For instance, we could write r=g(t) to or salary=fun(seniority) or x=h(y).

Every function has a domain and a range. The domain of a function is the set of input numbers and the range is the set of output numbers. When we specify a function, we usually have to specify the domain as well, but the range is then determined by the domain.

In algebra and calculus, we use formulas to express functions and one of the simplest examples is y=x^2. If we specify the domain to be all the numbers x between 0 and 2 (0<=x<=2), then the range will turn out to be all the numbers between 0 and 4 (0<=y<=4).

When defining a function in SeeLogo, we usually want to use it to display pictures that change in time . In many situations we choose the symbol t (indicating time) to represent the independent variable. The dependent variable will vary and in most situations we will deal with several functions all of which will be using the same independent variable t. We will use these functions to "do things" graphically. For convenience we also choose the domain of t to be the interval between 0 and 1 (0<=t<=1).
Before going any further, let us study how to relate this information to the current version of SeeLogo.

When we define and use functions with SeeLogo, we need to start by defining a task. A function should have a function :). In other words, it should be functional and do something. For example:

Task: Draw a small circle that moves at a constant speed from the coordinate xmin=20 to xmax=100 where the vertical position is 50 pixels above the x axis.

In order to implement this function we first translate the task to succinct mathematical language:

Move a small circle at a constant rate from the point (20,50) to the point (100,50).

In this case we need to define just two variables: The independent variable with domain 0<=t<=1 and the function x=x(t) with range (20<=x<=100). There are two stages in creating the animation:

1. Finding the function x(t) and
2. Implementing it in seelogo.

The answer to stage 1 is:
The function x(t) = 20 + 80*t. The reason is that for t=0 x is 20 and for t=1 x is 100

The way we will program the computer to do this is (our first attempt is to explain it in human language

1.Define the variables t and x and set t=0
Local x t
t=0
2.Next repeat the following process 10000 time (Loop 10000 then open "["and close "]" at the end of the process
Add a small time increment to define a new time (t=t+1/10000)
Define the new value of x(t) (x=20 + 80*t)
Make the cursor (or turtle) jump to the new coordinate
Draw a small circle (circle 3)


The actual seelogo implementation is:
local x t
t=0
loop 10000 [
t=t+1/10000
x=20 + 80*t
JT x 50
circle 3
]

Now we will ask a series of question that will test your understanding and teach you further. Some of the questions are multiple choice:
1. Imagine that you type the following program into seelogo

local t x y
t=0
loop 1000 [t=t+0.001 x=100*t y=50*t]

A. what are the names of the functions involved?
1. x 2. y 3. t 4. x and t 5. x and y

B. What is the domain of the functions? ([a,b] means "all the numbers in between a and b"
1. [0,2] 2. [0,1] 3. [1,2] 4. [1,0]

C. What is the range of the function x?
1. [20,100] 2. [0,50] 3. [0,100] 4. [100,0

D. What is the range of the function y.

E. How will you slow the program by a factor of 100?

2. Write an increasing linear function with name x and domain t from 0 to 1 where x ranges from 50 to 120 (a function is called increasing if the output numbers become bigger as the input numbers increase)

A. x=50 + 70*t B. x=70+50*t C. x=120 D. x=120 - 70*t

3. Write an decreasing linear function with name x and domain t from 0 to 1 where x ranges from 50 to 120 (a function is called decreasing if the output numbers become smaller as the input numbers increase)

A. x=50 + 70*t B. x=70 - 50*t C. x=80 D. x=120 - 70*t

4. Find two linear function x and y so that x with domain t, 0<=t<=1 such that x starts at -100 and ends at 100 and y starts at 90 and ends at 10.
A. x=-100 + 200*t y= 10 + 80*t B. x=-100 + 100*t y=90 - 80*t C. x=-100 + 200*t y = 90 - 80*t

5. Write a small program that makes a small circle move from the point (-100,100) to (90,10)

local t x y
t=0
loop 100000 [t=t+1/100000 x=____ y=_____ JT __ __ ______ 3]
What are the blanks?

6. Now write a program from scratch w/o looking that does the same thing and test it
7. Write a program without looking that makes a small circle move from (120,-100) to (-110,90)

8. A. Find a function x with domain [0,1] and range [-100,100] and another function r with the same domain but range [0,100]
B. Write a program that uses the functions x and r so that a circle of diameter r is placed at the point (x,0).
C, change the program so that the color of the circle will be random.

Contributors