Community Profile

# Eric Mueller

Last seen: 18日 前 2019 年からアクティブ

commodity risk management

バッジを表示

#### Content Feed

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 ...

1年以上 前

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...

2年弱 前

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 ...

2年弱 前

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.

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

Would you win a raffle?

Divisors

Find the sum

2年以上 前

Create and Transpose Matrix

2年以上 前

Add a, b, c to get d

2年以上 前

Subtract two numbers

2年以上 前

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

2年以上 前

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...

2年以上 前

Find Logic 4

2年以上 前

2年以上 前

Summy's even sum

2年以上 前

Summy's odd sum

2年以上 前

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

2年以上 前

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

2年以上 前

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

2年以上 前

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

2年以上 前

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

2年以上 前

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

2年以上 前

Sum two matrices
Take two incoming matrices, and sum them

2年以上 前

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

2年以上 前

Matrix for beginners
Multiply x and y elemwise.

2年以上 前

Values in Array
How many values are in the array

2年以上 前

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

2年以上 前