All functions

app()

GUI app for interactive whale-strike simulations

app2()

GUI application for whale simulation (version 2)

derivative()

Calculate derivative using first difference

dynamics()

Dynamical law

fillplot()

Draw polygon between two xy curves

knot2mps()

Convert a speed in knots to a speed in m/s

lethalityIndexFromStress()

Compute lethality index, based on compression stress

mps2knot()

Convert a speed in m/s to a speed in knots

parameters()

Set parameters for a whale strike simulation

pin()

Pin numerical values between stated limits

plot(<strike>)

Plot a strike object

raymond2007

Whale blubber stress-strain relationship

server()

Server for app, with standard arguments.

shipAreaFromMass()

Compute ship wetted area from mass

shipWaterForce()

Ship water force

sol20200708

Reference strike() solution

stressFromLethalityIndex()

Compute stress, based on lethality index

stressFromStrainFunction()

Create a function for stress in laminated layers

strike()

Simulate the collision of a ship and a whale

summary(<parameters>)

Summarize a parameters object

summary(<strike>)

Summarize the parameters of a simulation, and its results

updateParameters()

Update parameters

whaleAreaFromLength()

Whale projected area, as function of length

whaleCompressionForce()

Whale compression force

whaleLengthFromMass()

Compute whale length from mass

whaleMassFromLength()

Whale mass inferred from length

whaleSkinForce()

Skin force

whaleWaterForce()

Whale force

whaleshape

Whale side-view shape