Community Profile

# bainhome

### NEU

2 921 total contributions since 2013

#### bainhome's Badges

View all

Contributions in
View by

Solved

Find the absolute value of c=a-b
Find the absolute value of c=a-b

en dag ago

Solved

Number of lattice points within a circle
Find the number of points (x,y) in square lattice with x^2 + y^2 =< n. This is related to Jame's <http://www.mathworks.com/matla...

3 dagar ago

Solved

How many apple
You have x apples I take from you y apples now how many apples you have ?

3 dagar ago

Solved

Find the y=(1:x)
Look at the question

3 dagar ago

Solved

Minimum Distance Point to Segment
This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

5 dagar ago

Solved

Create a matrix that counts up diagonally
Given a single input _N_, create a _N_ x _N_ matrix that counts from 1 : _N_ ², (along up-right diagonals, starting with 1 in th...

7 dagar ago

Solved

Beads on a Necklace (Convex Hulls)
We may describe a <http://en.wikipedia.org/wiki/Convex_hull convex hull> as a rubber band stretched around a list of points. Som...

7 dagar ago

Solved

Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

9 dagar ago

Solved

Pentagonal dodecahedron
<<https://upload.wikimedia.org/wikipedia/commons/7/73/Dodecahedron.gif>> Pentagonal dodecahedron is a dodecahedron that is ...

9 dagar ago

Solved

Portfolio diversification: choose your stocks !
we have the returns of 3 stocks for the last 4 years and we have to combine only 2 stocks that are less correlated. Example: ...

10 dagar ago

Solved

What gear ratio does the cyclist need?
A cyclist (perhaps including our famed Codysolver the cyclist <http://www.mathworks.com/matlabcentral/cody/players/1841757-the...

11 dagar ago

Solved

King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

12 dagar ago

Solved

Path of least resistance
Find the length of the shortest path through the matrix from the top left to bottom right corner. You may move right, down, or d...

12 dagar ago

Solved

Prime Sum
What is the minimum value that can be written as sum of primes in n different ways? For example, 10 is the minimum value th...

12 dagar ago

Solved

Minimal Path - 04
Given a matrix, find the minimal path sum from any cell in the left column and finishing in any cell in the right column. You...

12 dagar ago

Solved

Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

13 dagar ago

Solved

Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

13 dagar ago

Solved

Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

13 dagar ago

Solved

4xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

13 dagar ago

Solved

3xa
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y.

13 dagar ago

Solved

Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

14 dagar ago

Solved

Minimal Path - 03
Given a matrix, find the minimal path sum from the top left to the bottom right corner. Now you can move up, right & down. ...

14 dagar ago

Solved

Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

14 dagar ago

Solved

Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

14 dagar ago

Solved

Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

14 dagar ago

Solved

Quarantine Days
In these quarantine days, a list of what Max may do on a typical day is given in a table with the starting hour to ending hour. ...

14 dagar ago

Solved

Word Ladder
Given a set of words, and two other words - start and destination, Find the smallest chain from start to the destination such...

15 dagar ago

Solved

Design a minimum-cost cable network for a power grid
You are given the 2-D point locations ( _xi_ , _yi_ ) of *N* _components_ of a power grid. These _components_ include power sour...

15 dagar ago

Solved

Count the number of reaction chains achievable in T mins
This problem is related to Problem <45467>. Let's denote a list of *N* compounds as 1, 2, ..., *N*. You are then given a list...

15 dagar ago

Solved

Propagate the effects of a blockage in a chemical plant
From the perspective of flow, a chemical plant can be described by a collection of _nodes_ and _edges_. _Nodes_ are points where...

16 dagar ago

Load more