Resuelto


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

alrededor de 4 años hace

Resuelto


How many rectangles in a grid ?
How many rectangles are there in an m × n grid ? For example, if m=1 & n=2, we have 3 rectangles.

alrededor de 4 años hace

Resuelto


Generate binary combinations for a given number of bit(s)
Generate the binary combination as in the example below. Example: If you are given: bin_comb(2) The answer will be: ...

alrededor de 4 años hace

Resuelto


Mass Conversion 1

alrededor de 4 años hace

Resuelto


Temperature Conversion 3

alrededor de 4 años hace

Resuelto


Temperature Conversion 2

alrededor de 4 años hace

Resuelto


Temperature Conversion 1

alrededor de 4 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

alrededor de 4 años hace

Resuelto


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

alrededor de 4 años hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

alrededor de 4 años hace

Resuelto


Kinetic energy calculation

alrededor de 4 años hace

Resuelto


Potential energy calculation

alrededor de 4 años hace

Resuelto


Total energy

alrededor de 4 años hace

Resuelto


Laws of motion 6

alrededor de 4 años hace

Resuelto


Laws of motion 5

alrededor de 4 años hace

Resuelto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

alrededor de 4 años hace

Resuelto


Laws of motion 3

alrededor de 4 años hace

Resuelto


Laws of motion 2

alrededor de 4 años hace

Resuelto


Laws of motion 1

alrededor de 4 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

alrededor de 4 años hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

alrededor de 4 años hace

Resuelto


True engineer
Prove that pi is indeed equal to e. Return 1 by rounding pi and e to the nearest integer then asserting rounded pi and e are eq...

alrededor de 4 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

alrededor de 4 años hace