Retired physicist with background in the petroleum and process industry. My main interests are mathematical modelling, numerical methods, and thermodynamics.

All

RANK**210**

REPUTATION**332**

CONTRIBUTIONS

**2** Questions

**117** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**66**

RANK**1,546**

REPUTATION**1,070**

AVERAGE RATING**5.00**

CONTRIBUTIONS**10** Files

DOWNLOADS **188**

ALL TIME DOWNLOADS**7339**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

Solved

Compute the effective conductivity of a heterogeneous aquifer

Slow flow through soil or another porous medium follows Darcy’s law, which relates the flow of water to the gradient in piezome...

3 days ago

Solved

Compute a sum involving the totient over divisors of a number

Write a function to compute the following sum: where is the totient function. The sum is computed over the divisors of (inc...

4 days ago

Solved

Nuclear Binding Energy

Compute the approximate nuclear binding energy in MeV using the least-squares fit of the semi-emirical mass formula. Round to th...

7 days ago

Solved

Median computation (★★★)

See easy edition of this problem. However, now you must compute the median of any real-valued vector without using the in-built...

8 days ago

Solved

Eliminate redundant numbers in text

Occasionally someone might write text such as Briefly explain one (1) common problem that can result from the constant use of ...

9 days ago

Solved

Identify Ruth-Aaron numbers

After Hank Aaron hit his 715th home run and passed Babe Ruth’s total of 714, Carl Pomerance noticed that the union of the prime ...

9 days ago

Solved

Solve an ODE: equation C

Write a function to solve the following ordinary differential equation: with and . The parameter is a constant. The functi...

15 days ago

Solved

Count unique orderings of vertices of a polygon

Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

16 days ago

Solved

Compute a sum of Ramanujan

Srinivasa Ramanujan defined the following function: Write a function to compute for various values of . See also Cody Proble...

16 days ago

Solved

Compute the harmonic numbers

The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...

17 days ago

Solved

Find the smallest integer m such that n divides m!

Write a function that takes an integer and finds the smallest integer whose factorial is divisible by . For example, if , then...

20 days ago

Solved

Reverse Boggle

*Description* In the classic Parker Brothers game <http://en.wikipedia.org/wiki/Boggle Boggle>, players find words from a 4x4...

21 days ago

Solved

Determine when snow started

R.P. Agnew posed the following problem: It starts snowing in the morning and continues steadily throughout the day. A snowplow t...

28 days ago

Solved

Code breaker, Part II: Operation Orthos

You have been tasked with decoding several batches of coded messages that have been intercepted. Based on previous intellig...

29 days ago

Solved

Code breaker, Part I: Operation Phoenix

You have been tasked with decoding a set of coded messages that have been intercepted. Based on previous intelligence that ...

29 days ago

Solved

Implement a ROT13 cipher

Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

1 month ago

Solved

Scrabble Scores - 2

An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

1 month ago

Solved

Scrabble Scores

Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

1 month ago

Solved

Order of things - 2

This problem is closely related to <http://www.mathworks.nl/matlabcentral/cody/problems/2189-order-of-things-1 Problem 2189, Ord...

1 month ago

Solved

Write out numbers in words

Write out numbers in words ( range [0-9999] ) with British spelling rules. For example; * 1 > one * 56 > fifty-six * 100 >...

1 month ago

Solved

Order of things - 1

Let's assume you have a number of calculations to perform, that depend on each other. E.g. 'A' can be calculated, once the outco...

1 month ago

Solved

Set the Euler-Mascheroni constant with an identity using available MATLAB functions

Cody Problem <https://www.mathworks.com/matlabcentral/cody/problems/42826 42826> asked us to estimate the <https://en.wikipedia....

1 month ago