0% found this document useful (0 votes)
8 views1 page

Untitled Document

Code

Uploaded by

Hockey for life
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Untitled Document

Code

Uploaded by

Hockey for life
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Method Name Description Argument Type Return Type Example

pow(x, y) Raises x to the int, double double result = Math.pow(10,


power of y 2) // result is 100

Quote: “I’m a man of the


sqrt(x) land,thefellas.
Calculates int Right now,double
I’m getting result
the lay of it.”
= Math.sqrt(25)
• Analysis: This square root of x
line introduces the character Scott, who // result is 5
arrives
from the outside world. By calling himself “a man of the land,” Scott
claims an understanding of survival and a connection to nature. However,
his motivesabs(x) Returns the
and true abilities int, double
are ambiguous,
absolute value
int,double since
especially result
he= arrives
Math.abs(-8.1)
// result is 8.1
with a sense of entitlementof x and self-assurance. This contrasts with the
Anishinaabe community’s deep, respectful relationship with their land and
culture. Scott’s
sin(x) words hint at potential
Calculates the conflict, as
int, double his superficial
double result = Math.sin(3) //
sine of x in rad result is 0.1411
connection to the land may lead him to clash with the community’s values
and ways ofround(x)
life. Rounds x to the double int result =
closest integer Math.round(6.87) //
2. Quote: “Well, sir, I humbly come before you asking for refuge
result is 7 in
your community. I’m sure you’re aware of the situation in the city. It’s
getting worse,
floor(x)and I feared
Roundsfor my safety.
x down double So I escaped
int in theresult
darkness
= Math.floor(8) //

Text
to the largest result is 8
early this morning.” integer
• Analysis:
ceil(x)
In this plea, Scottdouble
Rounds x up to
presents himself
int
as humble and in
result = Math.ceil(6.2)
need, seeking shelter from the deteriorating conditions in urban
the nearest areas.
// result is 7
His language is formal integer
and deferential, aiming to earn the community’s
trust and sympathy. However, his desperation and escape “in the
darkness” hint at the danger he may bring with him. This line brings
forward the novel’s themes of trust and survival, as the community must
decide how much to risk to help outsiders. It’s a moment of vulnerability
that exposes the precariousness of life beyond the community, while also
raising questions about the impact of outsiders on the community’s
resources and safety.

You might also like