Applmath Assignment #1 - Shayan Rakhshan
Applmath Assignment #1 - Shayan Rakhshan
Applmath Assignment #1 - Shayan Rakhshan
Output:
Question 2
Confirmed with Python:
# question 2
import numpy
from sympy import *
Output:
Question 3
Question 4
(A)
I predict that the greater the maximum length is, the greater the maximum weight will be as well. This
makes sense both logically and mathematically. Logically, the greater the size of the cat, the more space it
has to grow flesh and bone, thus, allowing for an increased total weight potential. Mathematically, the
length can be related to surface area, and the volume can be related to mass (considering all large cats
have similar average body density); now, using the shape of a cube as a model for large cats, the mass
(volume) will grow allometrically in relation to the length (surface area), as it is a third degree function
whereas length (surface area) is a second degree function.
(B)
import numpy
import matplotlib.pyplot as plt
max_w = numpy.array([387.8, 313, 158, 125.2, 96, 75, 75, 38, 26, 23]) #
array of max weight values
max_l = numpy.array([4.17, 3.64, 2.8, 2.8, 2.75, 2.5, 2.5, 1.5, 1.9, 1.9])
# array of max length values
import numpy
import matplotlib.pyplot as plt
max_w = numpy.array([387.8, 313, 158, 125.2, 96, 75, 75, 38, 26, 23]) #
array of max weight values
max_l = numpy.array([4.17, 3.64, 2.8, 2.8, 2.75, 2.5, 2.5, 1.5, 1.9, 1.9])
# array of max length values
import numpy
import matplotlib.pyplot as plt
max_w = numpy.array([387.8, 313, 158, 125.2, 96, 75, 75, 38, 26, 23]) #
array of max weight values
max_l = numpy.array([4.17, 3.64, 2.8, 2.8, 2.75, 2.5, 2.5, 1.5, 1.9, 1.9])
# array of max length values
(C)
(D)
My prediction was correct; max weight increases allometrically in relation to max length. The reason it
turned out to be correct is because my prediction of allometry was correct, as well as being correct in
choosing a cube as a model for the shape of large cats.
(E)
Although there are no blatant outliers, there seems to be a somewhat extreme data point towards the lower
end of length, embodied by the Eurasian Lynx. One explanation is that the Eurasian Lynx is adapted to a
colder climate than the rest of the large cats, so, over time, it has developed a heat insulation system
consisting of storing more fat. This can be proven by observing images of the Eurasian Lynx in
comparison to other large cats; for their length, they happen to be much wider. As a result, they are able to
store more weight with the same length, so they do not fit as accurately within our created model as other,
leaner large cats do.