photo

Ben Petschel


Last seen: 3 maanden ago Active since 2009

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Knowledgeable Level 2
  • Cody Challenge Master
  • Project Euler I
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • First Answer
  • CUP Challenge Master
  • Scholar
  • ASEE Challenge Master

View badges

Feeds

Submitted


frontier_multiobj
find a Pareto frontier for multiple objective mixed integer linear optimisation with two objectives

3 maanden ago | 6 downloads |

Thumbnail

Submitted


graphcolouring
Determines a minimal graph vertex colouring. Includes a browser to visualise the numerous examples provided.

meer dan een jaar ago | 3 downloads |

Thumbnail

Submitted


golaycodec
encode/decode a binary array using the Golay code with error correction

meer dan een jaar ago | 6 downloads |

Solved


Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...

meer dan een jaar ago

Solved


Best Problem Elections
When I am writing those words, there are 2002 problems on Cody. Many of them are simply wonderful. Do you remember which of them...

meer dan een jaar ago

Solved


Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

meer dan een jaar ago

Solved


Rule of mixtures (composites) - other bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

meer dan een jaar ago

Solved


Rule of mixtures (composites) - weighted bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

meer dan een jaar ago

Solved


Rule of mixtures (composites) - lower and upper bounds
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

meer dan een jaar ago

Solved


Rule of mixtures (composites) - lower bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

meer dan een jaar ago

Solved


Rule of mixtures (composites) - upper bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

meer dan een jaar ago

Solved


Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

meer dan een jaar ago

Solved


Musical Note Interval 1 - Diatonic Scale
Assuming a simple diatonic C scale, calculate the interval (integer) between two notes (provided as strings). By applying number...

meer dan een jaar 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 ...

meer dan een jaar ago

Submitted


cyclebasis
Find a basis for the cycle subspace of a graph/network.

meer dan 6 jaar ago | 1 download |

Submitted


Fractions Toolbox
create and manipulate fractions (K+N/D) using exact arithmetic

meer dan 7 jaar ago | 1 download |

Solved


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

ongeveer 8 jaar ago

Solved


convert?
* Given a string containing a number followed by pounds or kgs, for example: * 'Billy lost 22 pounds in four weeks.' * 'Maria ...

ongeveer 8 jaar ago

Solved


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

ongeveer 8 jaar ago

Solved


Find the qube of a give number.
You are given a number, find the qube of that number.

ongeveer 8 jaar ago

Solved


modulus of a number
find the modulus of a given number

ongeveer 8 jaar ago

Solved


find lenth of array
you have given an array, find the length of that.

ongeveer 8 jaar ago

Solved


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

ongeveer 8 jaar ago

Solved


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

ongeveer 8 jaar ago

Solved


Coin Tossing: Probability of Same Heads for N tosses
A pair of physicists toss a coin n times each. What is the probability that they tossed the same number of heads? *Input:*...

ongeveer 8 jaar ago

Solved


Make a logical diamond using GALLERY function
Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/1078-make-a-diamond Problem 1078. Make a diamond> In thi...

ongeveer 8 jaar 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...

ongeveer 8 jaar ago

Solved


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

ongeveer 8 jaar ago

Solved


Generalized Fibonacci
The Fibonacci sequence is defined as: Fib(1) = 0 Fib(2) = 1 Fib(N) = Fib(N-1) + Fib(N-2) The Fibonacci sequence ca...

ongeveer 8 jaar ago

Solved


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

ongeveer 8 jaar ago

Load more