Resuelto


Times 3 problem
When you enter the number, it should return the number multiplied by 3

más de 11 años hace

Resuelto


Potential Energy
Calculate the potential energy of a rock.

más de 11 años hace

Resuelto


Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...

más de 11 años hace

Resuelto


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

más de 11 años hace

Resuelto


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

más de 11 años hace

Resuelto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

más de 11 años hace

Resuelto


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

más de 11 años hace

Resuelto


y equals x divided by 2
function y = x/2

más de 11 años hace

Resuelto


square number
Square a number

más de 11 años hace

Resuelto


Array of Ones
Create a 100 X 100 array of ones.

más de 11 años hace

Resuelto


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

más de 11 años hace

Resuelto


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

más de 11 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

más de 11 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

más de 11 años hace

Resuelto


Times 32
X is given as your variable. Y is your output multiplied by 32 Example x=1 y=1x32=32

más de 11 años hace

Resuelto


Find the square root of a value
Given the variable x as your input, find the square root and let the result be represented by y Examples: Input x = 4 O...

más de 11 años hace

Resuelto


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

más de 11 años hace

Resuelto


Sum Even Numbers
Given a number x, make the summation of all the even until x. For instance, x = 7, so y = 2+4+6 = 12 * x = [3] * y = 2 * ...

más de 11 años hace

Resuelto


times 5
Given the variable x as your input, multiply it by five and put the result in y.

más de 11 años hace

Resuelto


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

más de 11 años hace

Resuelto


Perfect Square
Find a function that finds the root of a perfect number!

más de 11 años hace

Resuelto


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

más de 11 años hace

Resuelto


Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

más de 11 años hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

más de 11 años hace

Resuelto


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

más de 11 años hace

Resuelto


Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

más de 11 años hace

Resuelto


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

más de 11 años hace

Resuelto


Variable_Addition
be able to add any variable to the number one

más de 11 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

más de 11 años hace

Resuelto


Calculate square and cube of number
Calculate square and cube of number x

más de 11 años hace

Cargar más