The Student Room Group

GCSE Math

Can someone help with this.....

Sarah is comparing magazines and newpapers and one newspaper and one magazine. They each contain 100 words and she counts the lengths of all the words.

Sarah then says that the magazine has the shortest words.

Write a hypothesis about the length of words in newspapers and magazines.

Design and carry out an investigation to test your hypothesis.




Can someone help?
Thanks
Ste
Reply 1
Sarah is comparing magazines and newpapers and one newspaper and one magazine. They each contain 100 words and she counts the lengths of all the words.

Sarah then says that the magazine has the shortest words.

Write a hypothesis about the length of words in newspapers and magazines.

Design and carry out an investigation to test your hypothesis.
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
Specifics

MX(w) = 100
NY(w) = 100

Mx(Average Word Length) < Ny(Average Word Length)

where M = Magazine
where N = Newspaper
where w = Number of words

General
Hypothesis: Magazines in General have a shorter average word length than Newspapers in general.

Investigation: I will take sample text from 10 newspapers and 10 magazines from the internet. I will write a program to analyze the average word length in each magazine and each newspaper. I have chosen a block of text from each issue 100 words long. (included in appendix).

Here is my source code:

#!/usr/bin/perl
opendir(DIR, "/home/me/mags/");
@mags = readdir(DIR);
shift @mags;shift@mags;
foreach $mag (@mags){
open (MAG, "/home/me/mags/$mag/");
$/ = ".";
@stuff = <MAG>;
foreach $line (@stuff){
$sum .= $line;
$sum =~ s/\.,\(\)//g;}
@words = split(" ", $sum);


you can finish the rest. quite obvious, and should only take you a few minutes. Should be able to graph the results quite easily. HTH.
Reply 2
Coursework on comparing length of words in newspaper:

http://www.coursework.info/419/
Reply 3
if u have done ur coursework can u pleas send it to me PLEEEEEASe

[email protected]
Reply 4
Originally posted by Unregistered
Can someone help with this.....

Sarah is comparing magazines and newpapers and one newspaper and one magazine. They each contain 100 words and she counts the lengths of all the words.

Sarah then says that the magazine has the shortest words.

Write a hypothesis about the length of words in newspapers and magazines.

Design and carry out an investigation to test your hypothesis.




Can someone help?
Thanks
Ste
Reply 5
yeh i need some help on that too!!! J.
Reply 6
If you need help with these problems in math, visit the site www.helptosolve.com
Reply 7
yeh i'm doing that too. u cud do the broadsheet and tabloid newspapers instead of magazines coz there r sooo many different 1s!! i got that far but am still confused! can ne1 help?
I read your reply but i still need more help i am not sure how to even start it. Please help me. Where it says source code..... what does that mean.
Please help me









Unregistered
Sarah is comparing magazines and newpapers and one newspaper and one magazine. They each contain 100 words and she counts the lengths of all the words.

Sarah then says that the magazine has the shortest words.

Write a hypothesis about the length of words in newspapers and magazines.

Design and carry out an investigation to test your hypothesis.
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
Specifics

MX(w) = 100
NY(w) = 100

Mx(Average Word Length) < Ny(Average Word Length)

where M = Magazine
where N = Newspaper
where w = Number of words

General
Hypothesis: Magazines in General have a shorter average word length than Newspapers in general.

Investigation: I will take sample text from 10 newspapers and 10 magazines from the internet. I will write a program to analyze the average word length in each magazine and each newspaper. I have chosen a block of text from each issue 100 words long. (included in appendix).

Here is my source code:

#!/usr/bin/perl
opendir(DIR, "/home/me/mags/");
@mags = readdir(DIR);
shift @mags;shift@mags;
foreach $mag (@mags){
open (MAG, "/home/me/mags/$mag/");
$/ = ".";
@stuff = <MAG>;
foreach $line (@stuff){
$sum .= $line;
$sum =~ s/\.,\(\)//g;}
@words = split(" ", $sum);


you can finish the rest. quite obvious, and should only take you a few minutes. Should be able to graph the results quite easily. HTH.

Latest

Trending

Trending