Community Profile

Alexander Oleschuk

154 total contributions since 2018

View details...

Contributions in
View by

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

plus d'un an ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus d'un an ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

plus d'un an ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

plus d'un an ago

Solved

Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

plus d'un an ago

Solved

Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

plus d'un an ago

Solved

square root
Find square root of given number

plus d'un an ago

Solved

square root
Find the square root (y) of an input (x).

plus d'un an ago

Solved

Return area of square
Side of square=input=a Area=output=b

plus d'un an ago

Solved

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

plus d'un an ago

Solved

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

plus d'un an ago

Solved

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

plus d'un an ago

Solved

factorial of a number x
Factorial of a number x

plus d'un an ago

Solved

Box!
Given a box, find the volume of the cube. With each side = a.

plus d'un an ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

plus d'un an ago

Solved

Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

plus d'un an ago

Solved

Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

plus d'un an ago

Solved

Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

plus d'un an ago

Solved

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

plus d'un an ago

Solved

What percentage?
Calculate the output c as the percentage of a on b for given a and b.

plus d'un an ago

Solved

Take two incoming vectors and output the sum of the two vectors

plus d'un an ago

Solved

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

plus d'un an ago

Solved

Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

plus d'un an ago

Solved

plus d'un an ago

Solved

What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

plus d'un an ago

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

plus d'un an ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

plus d'un an ago

Solved

Square root of a number
Write a code that will output the square root of x.

plus d'un an ago

Solved