Community Profile

# Eric Mueller

Last seen: environ un mois ago Active since 2019

commodity risk management

#### Content Feed

View by

Solved

Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '1' and 0.(x is odd and bigger than 4) Example x=5 ans = [1 1 1 1 ...

10 mois ago

Solved

Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

environ un an ago

Solved

What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

environ un an ago

Solved

Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

plus d'un an ago

Solved

Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

plus d'un an ago

Solved

Would you win a raffle?

plus d'un an ago

Solved

Divisors

plus d'un an ago

Solved

Find the sum

plus d'un an ago

Solved

Create and Transpose Matrix

plus d'un an ago

Solved

Add a, b, c to get d

plus d'un an ago

Solved

Subtract two numbers

plus d'un an ago

Solved

Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

plus d'un an ago

Solved

Angle of triangle
For three unknown points a b c, given three sides ab bc ca, find three angles abc bca cab in radians. Your function should b...

plus d'un an ago

Solved

Find Logic 4

plus d'un an ago

Solved

plus d'un an ago

Solved

Summy's even sum

plus d'un an ago

Solved

Summy's odd sum

plus d'un an ago

Solved

Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

plus d'un an ago

Solved

Output a vector which is table of 9
Output a vector which is table of 9

plus d'un an ago

Solved

Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

plus d'un an ago

Solved

Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

plus d'un an ago

Solved

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

plus d'un an ago

Solved

Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

plus d'un an ago

Solved

Sum two matrices
Take two incoming matrices, and sum them

plus d'un an ago

Solved

0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

plus d'un an ago

Solved

Matrix for beginners
Multiply x and y elemwise.

plus d'un an ago

Solved

Values in Array
How many values are in the array

plus d'un an ago

Solved

raise 1/3
Raise a number to 1/3 power.

plus d'un an ago