Solved


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

11 years ago

Solved


Potential Energy
Calculate the potential energy of a rock.

11 years ago

Solved


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

11 years ago

Solved


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];

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


square number
Square a number

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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?

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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 ]

11 years ago

Solved


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

11 years ago

Solved


Variable_Addition
be able to add any variable to the number one

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Load more