Tuesday, May 6, 2014

Maths tasks

Maths 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 Thursday 22 May 5pm.

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 .

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.

Monday, May 5, 2014

Layout options

Below is an HTML script from W3 Schools that lays out some interesting divisions within a web page. In one of the tasks you are asked to run this script then make some changes.

<!DOCTYPE html>
<html>
<body>

<div id="container" style="width:500px">

<div id="header" style="background-color:#FFA500;">
<h1 style="margin-bottom:0;">Main Title of Web Page</h1></div>

<div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;">
<b>Menu</b><br>
HTML<br>
CSS<br>
JavaScript</div>

<div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;">
Content goes here</div>

<div id="footer" style="background-color:#FFA500;clear:both;text-align:center;">
Copyright © W3Schools.com</div>

</div>

</body>
</html>

Number systems

Current systems

Some older systems



One to one correspondence came first.