Monday, April 27, 2015

Number patterns

Some numbers make a pattern.



  • x  y
  • 1  1
  • 2  2
  • 3  3 
  • 4  4
  • 5  5







Some numbers are random




The sieve of Eratosthanes

Some we have to check for patterns

There are all sorts of ways to generate (pseudo) random numbers.


Number issue: Tasks

Number Ideas for CIT

Starting concepts. Scope of what we’re doing.
Short history of numbers.
Patterns in numbers.
Random numbers. Generating random numbers in Excel using RND() and RNDBETWEEN()
Eg 1,2,3
5,10,15,20
3,9,27,81,
Visualising patterns
Linear graphs and others.
Factors, multiples, divisor. The MOD function in Excel.
LCM GCD  functions in Excel.

Tasks:
1.)
Project. Create a stand-alone web page that illustrates some part of the history of numbers. It should have at least 5 pictures and contain tables, lists and a small form. (You do not have to use the results of the form.) A total of 10 different tags should be used.  Be prepared to talk to the class about your page. Think about colour, layout, style, tone, grammar  and spelling. This is worth 5% of the final assessment. Due Friday 8 May at 23:59.

2)Write a spreadsheet which graphs y=3*x from x=0 to x=20. Take a screenshot for your blog.

3)Also do y = x+4, y=x-2, y=2*x, y=2*x + 1, y = 3*x, y= 3*x +2, y= 3*x – 2, y= 5*x, y = 100*x, y = -2*x. Put the graphs into your blog .Do a table with x from x=0 to x=20.

3.5) Write a paragraph in your blog explaining how the Sieve of Eratosthanes works. Construct a table that shows the Sieve and write down the first 20 prime numbers. If possible use colour and fonts to show the number patterns. 

4)Randoms
Generate a list 200 random numbers between 0 and 100 using RANDBETWEEN()
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.
4.1)Randoms
Generate a list 100 random numbers between 0 and 1000 using RANDBETWEEN()
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.
4.2)Randoms
What is the longest list of randoms  between 1 and 100 you can do in Excel using RANDBETWEEN().
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.
4)Randoms
Generate a list 200 random numbers between 0 and 100 using RANDBETWEEN()
Add up the numbers in your list. What is the average number? Can you work out how to graph this list.

5) Do the same as above but this time use 600  random numbers between 1 and 6. This is simulation for dice. Use COUNTIF() to count the number of 1’s, 2’s, … 6’s thrown . Copy your results into a HTML table for your blog and add a sentence about what’s in the table. What were you expecting?

6) Repeat, but this time simulate 1000 tosses of a coin. (So you just want a big list or 0,s and 1,s). Write up your results in the same way. 

7) Make a list of 100 random numbers between 0 and 100. Add them up and divide by 100 to give you the average. You can recalculate several times by pressing F9. Put in your blog three different averages with a suitable sentence.

8) Same as 7 but this time use 1000 numbers between 0 and 100. Your averages should be a bit closer to 50.

9) Make a list of 1000 random numbers and beside each number calculate the remainder when divided by 5 by using =MOD(number,5). Draw a graph of your results and put into your blog with a suitable message.

Number Systems

Current systems

Some older systems



One to one correspondence came first.





Tuesday, February 24, 2015

And the best browser is ...


A rating of all the common browsers is given in this site.




Also, look at this site ( the best browser is ..) and do the associated task. This has made some people review their favorite browser.





Editors come in all shapes and sizes

There are people who always use special HTML editors to write their HTML scripts. Others use only simple text editors.


We often write HTML scripts in a text editor. There are many available and most are free.




Others are Notepad++, EditPlus and Ultra Edit. There is not a "best one" , they all have their own set of features. A lot of people just stick with Notepad in Windows and TextEdit on Macs. One of your tasks is to explore different text editors.