Community Profile

photo

ChrisR


Last seen: Today
2.987 total contributions since 2015

I teach courses in water resources and environmental fluid mechanics.

Contact

ChrisR's Badges

  • Divisible by x Master
  • Tiles Challenge Master
  • Matrix Patterns III Master
  • Strings I Master
  • Famous
  • Cody Problems in Japanese Master
  • Promoter
  • Magic Numbers II Master
  • Sequences And Series I Master
  • ASEE Challenge Master
  • Matrix Patterns II Master
  • Number Manipulation II Master
  • Indexing II Master
  • Leader
  • Puzzler

View all

Contributions in
View by

Solved


Simple Income Tax

ongeveer 6 uur ago

Solved


Number Puzzles - 012

ongeveer 21 uur ago

Solved


Number Puzzles - 011

ongeveer 21 uur ago

Solved


Get ranks of values in a vector
For a given vector, say [6 3 8 2], return the ranks (ascending) of observations, i.e. [3 2 4 1]. Do not worry about tied ranks. ...

1 dag ago

Problem


List prime anagrams of a number

1 dag ago | 1 | 2 solvers

Solved


FizzBuzz
<http://c2.com/cgi/wiki?FizzBuzzTest FizzBuzz Test> The "Fizz-Buzz test" is an interview question designed to help filter out...

1 dag ago

Solved


McCabe Complexity
The Challenge is to return the McCabe complexity for various functions. One way to determine the McCabe Complexity is to use ...

1 dag ago

Problem


Pass the cards in Fitch Cheney's five-card trick

1 dag ago | 0 | 1 solver

Solved


Which coins to give
I was in shop today. I admired, how shop assistant had to think, which coins to give me. The task is we have a vector v=[0.5 0....

3 dagen ago

Solved


The glass half full
Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

3 dagen ago

Solved


short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

3 dagen ago

Solved


continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

3 dagen ago

Solved


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

3 dagen ago

Solved


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

3 dagen ago

Solved


Jack's hand in "Titanic" ♤
Given a series of cards, return true if it's the famous hand. Note that i pretend that poker cards goes from 1 to 10 so be care...

3 dagen ago

Solved


basic finance application
i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

3 dagen ago

Solved


Portfolio diversification: choose your stocks !
we have the returns of 3 stocks for the last 4 years and we have to combine only 2 stocks that are less correlated. Example: ...

3 dagen ago

Solved


Check for keywords
If the entered string is a MATLAB keyword, return true else false

4 dagen ago

Solved


Dial Up
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF...

4 dagen ago

Solved


Reepeating numbers in array
Repeating numbers in array In = [1 0 0 0 2 0 0 0 3 0 0 0 0 0 5 0 0 0 0]. Out = [1 1 1 1 2 2 2 2 3 3 3 3 3 3 5 5 5 5 5].

4 dagen ago

Solved


Bleed non-zeros to the right
What a title! Yet, it says what I mean. You get a vector, some values and a lot of zeroes. Every zero is replaced by the firs...

4 dagen ago

Solved


Create a random vector of integers with given sum
Your task today is to write a function that returns a vector of integer numbers, between, and including, 1 and m, of which the s...

4 dagen ago

Solved


Elastic Collision 001: 1-D
Elastic Collision of two particles. <http://en.wikipedia.org/wiki/Elastic_collision wiki Elastic Collision> Solve Conservat...

5 dagen ago

Solved


Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

5 dagen ago

Problem


Guess the card in Fitch Cheney’s five-card trick

5 dagen ago | 0 | 1 solver

Solved


Wind outward from the center ...
Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...

6 dagen ago

Solved


Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

6 dagen ago

Load more