Community Profile # ChrisR

Last seen: Today Active since 2015

I teach courses in water resources and environmental fluid mechanics.

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Problem

Compute frequency factors for the normal distribution
In frequency analysis in hydrology, the streamflow corresponding to a specified exceedance probability (or return period ) can...

2 dagar ago | 0 | 2 solvers

Solved

An argument can be made about jokes. The shorter they are, the funnier. Further explained here: https://en.wikipedia.org/wiki/Hu...

6 dagar ago

Solved

Independent direction vectors of a plane
Given the equation of a plan of the form ax+by+cz=d, return 2 independent direction vectors which could e.g. be used to determin...

6 dagar ago

Solved

Hermite Polynomials
Problem 1304 deals with Hermite polynomial of the physicist's type. In this problem, Return the n-th Hermite polynomial of the ...

10 dagar ago

Problem

Determine flows of given probability using empirical frequency analysis
Write a function that takes as input observations of peak streamflow and exceedance probabilities expressed as percentages an...

10 dagar ago | 0 | 4 solvers

Solved

Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

11 dagar ago

Solved

Play with array Min-Max
An array is provided. For example, a= [ 2,1,11,4,5,13] Create an array from a like this way, out= [ 1,11,2,13,4,5] ➢ 1st take...

11 dagar ago

Solved

Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

11 dagar ago

Solved

Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

11 dagar ago

Solved

An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks received by the students?
An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks rec...

13 dagar ago

Solved

An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

13 dagar ago

Solved

Connect Four - 04
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45355-connect-four-03> In addition to the previo...

15 dagar ago

Solved

Maya long Count
Given a Mayan date, calculate the number of days after the end of the last Great Cycle. <https://en.wikipedia.org/wiki/Maya_c...

15 dagar ago

Solved

Connect Four - 03
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> <https://www.mathworks.co...

15 dagar ago

Problem

Compute the area of the shoemaker’s knife
A shape resembling a shoemaker’s knife is constructed from a semicircle with diameter with two semicircular “bites” of diameter...

16 dagar ago | 1 | 8 solvers

Solved

Relative pose in 2D: problem 2
We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There is a ...

16 dagar ago

Solved

Find the day for a date
Today's day and date will be given to you. By utilising that you need to find the day of the old date. (Date will be in DD/MM/YY...

16 dagar ago

Solved

The End of the World
given a date -- represent it in the Maya long count system. <https://en.wikipedia.org/wiki/Maya_calendar> <https://maya.nm...

16 dagar ago

Solved

Integer vector optimal lossless deduplication
You're given an integer vector A, a Min scalar and a Max scalar. You can assume all elements in A are in [Min,Max] range, and nu...

17 dagar ago

Solved

Lost days
Given two dates in a particular format, calculate the difference between them.

17 dagar ago

Solved

Day counter function
Write a function called _day_counter_ that returns the number of Mondays that fell on the first day of the month in a given year...

17 dagar ago

Solved

Area-05
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

18 dagar ago

Solved

Repeatitive Summation
Given numeric vectors x, a and b, perform the following operation - a represents a vector of numbers and b represents a vector ...

18 dagar ago

Solved

Area-04
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

19 dagar ago

Solved

Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

19 dagar ago

Solved

Area-07
This is a follow up of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06> in this case, fi...

19 dagar ago

Solved

A secret can be told only to 2 persons in 5 minutes. Now, these 2 more persons can spread the secret to 4 other people in the ne...

20 dagar ago

Solved

You can use the axes function to define the position of an empty x/y axis. The position is measured relative the the bottom left...

20 dagar ago

Problem

Find patterns in subprime Fibonacci sequences
Lots of Cody problems involve Fibonacci and Collatz sequences. Fibonacci sequences start with two numbers, and later terms are c...

20 dagar ago | 0 | 2 solvers

Solved

Place wastewater treatment processes in the correct order
There are many technologies for treating wastewater. For example, grit chambers are used to remove heavy solids, filtration is u...

20 dagar ago