Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Your assignment will be assigned the grade corresponding to the column that best describes your assignment. In the event that no single column best describes your assignment, a judgement will be made...

1 answer below »
Your assignment will be assigned the grade co
esponding to the column that best describes your assignment. In the event that no single column best
describes your assignment, a judgement will be made on the balance of the criteria, with criteria becoming more important as you move down the page.
High Distinction
mark = 7
Distinction
mark = 6
Credit
mark = 5
Pass
mark = 4
Fail
mark = 3
Fail
mark (2, 1 or 0)
How well is the code
commented?


Are the computations
executed co
ectly?




Does the code run and
meet the
specifications?





What level of mastery
of the principles of
scientific
communication is
demonstrated in the
output of the
program?


How likely is this
program to achieve its
(highly ambitious)
purpose? (A holistic
assessment)
There is sufficient
commenting. It is clear
and accurate.

Conceptual
understanding of the
mathematical models
has been demonstrated
and accurately applied.

The code runs without
e
or, and the output
file demonstrates that it
meets the
specifications, for all
target audiences and
expected inputs.

The communication of
scientific information
and ideas is clear,
fluent, and uses a level
and style appropriate
for each target
audience. It displays
insight and originality.

The program is very
likely to achieve its
purpose (as articulated
in the quote from the
exhibition prospectus)
for all patrons.
There is sufficient
commenting. It is clear
and accurate.

Conceptual
understanding of the
mathematical models
has been demonstrated
and accurately applied.

The code runs without
e
or, and the output
file demonstrates that it
meets the
specifications, for all
target audiences and
expected inputs.

The communication of
scientific information
and ideas is clear,
fluent, and uses a level
and style appropriate
for each target
audience.


The program is likely to
achieve its purpose (as
articulated in the quote
from the exhibition
prospectus) for most
patrons.
There is sufficient
commenting. It is clear
and accurate.

Conceptual
understanding of the
mathematical models
has been demonstrated
and accurately applied.

The code runs without
e
or and meets the
specifications for all
target audiences and
expected inputs.



The communication of
scientific information
and ideas is mostly
clear, fluent, and uses a
level and style
appropriate for each
target audience.


The program may
achieve its purpose (as
articulated in the quote
from the exhibition
prospectus) for some
patrons.
There is sufficient
commenting.


Conceptual
understanding of the
mathematical models
has mostly been
demonstrated.

The code runs without
e
or for most expected
inputs. It meets
specifications in all but
perhaps a few minor
ways.


The communication of
scientific information
and ideas is adequate
for most target
audiences.


There is commenting in
the code.


Limited conceptual
understanding of the
mathematical models
has been
demonstrated.

The code runs for most
expected inputs.






The communication of
scientific information
and ideas lacks clarity
or is not at the
appropriate level for
most target audiences.

Does not meet the criteria
for a 3.
This ru
ic has been constructed with reference to, and in compliance with, the UQ grade descriptors specified at http:
ppl.app.uq.edu.au/content/ XXXXXXXXXXgrading-system
http:
ppl.app.uq.edu.au/content/ XXXXXXXXXXgrading-system

from pylab import *
def mackenzie_sos(temperature, depth, salinity):
return 1503

def sal_of_seawater(latitude):
return 35
def temp_of_seawater(latitude, depth):
return 11
Answered Same Day May 13, 2021 SCIE1000 University of Queensland

Solution

Shivinder answered on May 18 2021
152 Votes
import pyla

def sal_of_seawater(latitude):

'''Since salinity is a linear function on latitude,
if latitude = 0 i.e. at equator, salinity is 36
by using euqation of a straight line, y =mx+c, here y(salinity) = 36, x(latitude) = 0, we get c(intercept) = 36
and at poles, we have salinity = 34 and latitude = 90, putting that in same equation,
we get y = 34, x = 90, c= 36, we get m (slope) = -1/45 = -0.22'''

slope = -0.022 #Slope of the linear relationship between salinity and latitude
intercept = 36 #Intercept

salinity = (slope * latitude) + intercept #Calculates salinity
return salinity #Return Salinity
def temp_of_seawater(latitude, depth):

if 0 < depth <= 200:
'''When depth is between range 0 and 200 metres, the summer temperatue is
a linear function of latitude.
When latitude = 0(equator), temperature = 24, using the equation of line, y = mx+c
here y = 24, x = 0 gives c = 24
Now when temperature is 2 at poles i.e, y = 2 and x = 90, which gives m(slope) = -22/90 = -0.244'''

slope = -0.244
intercept = 24

temperature = (slope*latitude) + intercept #Temperatur value
elif 200 < depth < 1000:
'''Here temperature is a linear function of depth
to find this, first we will find the surface temperatur at a given latitude
using the eqaution derived above'''

t1 = (-0.244*latitude) + 24 #Temperature at surface at depth 0
t2 = 2.0 #Temperature at depth 2
#Now we will get temperatur as a function of depth
'''Since temperatur is a function of depth, we have two temperatures,
t1 at surface and t2 at depth 1000
using t1 and t2, we will derive a relationship between temperatur and depth'''

'''Consider the relationship bw temperature and depth as y = mx+c,
where y is temperature, x is depth and x and c are slope and intercept.
At t1, i.e, depth = 0, c will be equal to...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here