Community Profile

# Steven Beumer

### Technische Universiteit Eindhoven

330 total contributions since 2015

View details...

Contributions in
View by

Solved

Narcissistic problem
How many likes has this problem?

10 jours ago

Solved

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

10 jours ago

Solved

Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?

environ un mois ago

Solved

surface of a spherical planet
you just discovered its circumference, that is the input.

environ un mois ago

Solved

What time can I drive after drinking?
At T o'clock, after a hard day of Matlab, I immediately start drinking and treat myself to N pints of tasty beer. Each beer I dr...

environ un mois ago

Solved

Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

environ 2 mois ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

environ 2 mois ago

Solved

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

environ 2 mois ago

Solved

only input
Return the output without writing any code into the function.

environ 2 mois ago

Solved

Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

environ 2 mois ago

Solved

Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

environ 2 mois ago

Solved

convert matrix to single column
given any matrix, convert it to single column

environ 2 mois ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

environ 2 mois ago

Solved

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

environ 2 mois ago

Solved

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

environ 2 mois ago

Solved

Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

environ 2 mois ago

Solved

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

environ 2 mois ago

Solved

Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

environ 2 mois ago

Solved

Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

environ 2 mois ago

Solved

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

environ 2 mois ago

Solved

Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

environ 2 mois ago

Solved

MATLAB Basic: rounding IV

environ 2 mois ago

Solved

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

environ 2 mois ago

Solved

MATLAB Basic: rounding II

environ 2 mois ago

Solved

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

environ 2 mois ago

Solved

Create tangent function out of cosine only
Please don't use tangent and sine functions

environ 2 mois ago

Solved

Given input in radians, output to degrees

environ 2 mois ago

Solved

You have tested one good and one bad colorimeters with a colored solution at two path lengths of light and recorded transmittanc...

environ 2 mois ago

Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

environ 2 mois ago

Solved

An asteroid and a spacecraft
&#128640 Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...

environ 2 mois ago