Gelöst


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.

etwa 2 Monate vor

Gelöst


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

etwa 2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


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

2 Monate vor