A résolu


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.

3 mois il y a

A résolu


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

3 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a

A résolu


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

4 mois il y a