A résolu


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

plus de 5 ans il y a

A résolu


Square a Number
Given an input x, return y, which is equal to the square of x.

plus de 5 ans il y a

A résolu


divide by 5

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Multiply pi
Multiply pi with x!

plus de 5 ans il y a

A résolu


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

plus de 5 ans il y a

A résolu


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

plus de 5 ans il y a

A résolu


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

plus de 5 ans il y a

A résolu


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


raise 1/3
Raise a number to 1/3 power.

plus de 5 ans il y a

A résolu


Square
square root of x

plus de 5 ans il y a

A résolu


cube of number
find cube of number

plus de 5 ans il y a

A résolu


square of a number
find square of a given number

plus de 5 ans il y a

A résolu


square root
Find square root of given number

plus de 5 ans il y a

A résolu


Square root of number
Square root of given number.

plus de 5 ans il y a

A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

plus de 5 ans il y a

A résolu


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

plus de 5 ans il y a

A résolu


Square root of a number
Write a code that will output the square root of x.

plus de 5 ans il y a

A résolu


Determine the square root
Determine the square root of the value the user has entered, n.

plus de 5 ans il y a

A résolu


square root
Find the square root (y) of an input (x).

plus de 5 ans il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

plus de 5 ans il y a

A résolu


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

plus de 5 ans il y a

A résolu


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

plus de 5 ans il y a

A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

plus de 5 ans il y a

A résolu


Find max
Find the maximum value of a given vector or matrix.

plus de 5 ans il y a

A résolu


Inner product of two vectors
Find the inner product of two vectors.

plus de 5 ans il y a

Charger plus