Solved


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.

17 days ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

17 days ago

Solved


Power of Moving Vehicle
Engineers at Tesla calculate how much power is required to maintain vehicle motion.

1 month ago

Solved


Machine Efficiency Test
Engineers at Siemens test how efficiently a motor converts electrical energy into mechanical work.

1 month ago

Solved


Power Loss in Transmission Lines
Electricity transmitted by Power Grid Corporation of India experiences power loss due to resistance. Current = 10 A Resistance...

1 month ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

1 month ago

Solved


Velocity of a Particle Under Constant Acceleration Using Energy Methods
Scientists at CERN are testing a linear accelerator that uses electromagnetic force to accelerate charged particles along a stra...

1 month ago

Solved


expand intervals vol.2
Similar to problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528>. This is a more general case, when bounds ...

1 month ago

Solved


The Tortoise and the Hare - 02
Previous problem <https://www.mathworks.com/matlabcentral/cody/problems/45425-the-tortoise-and-the-hare-01> Suppose in an inf...

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago