![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Wednesday, January 21, 1998 Published at 16:26 GMT Talking Point Do we still need to learn maths? Your reaction <% ballot="49370" ' Check nothing is broken broken = 0 if ballot = "" then broken = 1 end if set vt = Server.Createobject("mps.Vote") openresult = vt.Open("Vote", "sa", "") ' Created object? if IsObject(vt) = TRUE then ' Opened db? if openresult = True AND broken = 0 then ballotresult = vt.SetBallotName(ballot) ' read the vote votetotal=(vt.GetVoteCount(ballot, "yes")+vt.GetVoteCount(ballot, "no")) if votetotal <> 0 then ' there are votes in the database numberyes = vt.GetVoteCount(ballot, "yes") numberno = vt.GetVoteCount(ballot, "no") percentyes = Int((numberyes/votetotal)*100) percentno = 100 - percentyes ' fix graph so funny graph heights dont appear 'if percentyes = 0 then ' percentyes = 1 'end if 'if percentno = 0 then ' percentno = 1 'end if else ' summut went wrong frig it numberyes = 0 numberno = 0 percentyes = 50 percentno = 50 end if end if end if %> Votes so far:
I don't trust a calculator unless I have done the sum in my head as well. It's comfirmation of the answer, and with more complicated numbers I estimate the answer in my head, and the calculator does the exact work. You shouldn't rely on a computer, or your brain will go soft.
This "Talking Point" relates to another of today's stories, "Pioneering new
maths scheme could go nationwide". In the early 90's, some people suggested that schools spent too much time on mental arithmetic. After all, they said, what's the point of it, when calculators are cheap and abundant? As your story shows, that idea was simply double-plus-ungood. Students stopped learning math.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||