Community Profile

photo

Elizabeth Jaffe


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

presque 7 ans il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

presque 7 ans il y a

A résolu


Potential Energy
Calculate the potential energy of a rock.

presque 7 ans il y a

A résolu


Concatenate two strings
Its very easy. Just concatenate two strings.

presque 7 ans il y a

A résolu


select the primes of a vector
Find the prime numbers in a vector

presque 7 ans il y a

A résolu


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

presque 7 ans il y a

A résolu


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

presque 7 ans il y a

A résolu


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

presque 7 ans il y a

A résolu


sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.

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

presque 7 ans il y a

A résolu


first element of matrix
find the first elements of a column matrix

presque 7 ans il y a

A résolu


Convert degrees to radians
Given input in degrees, output to radians

presque 7 ans il y a

A résolu


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

presque 7 ans il y a

A résolu


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

presque 7 ans il y a

A résolu


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

presque 7 ans il y a

A résolu


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

presque 7 ans il y a

A résolu


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

presque 7 ans il y a

A résolu


Conversion from hours to mili sec
Convert given input in hours to mili seconds

presque 7 ans il y a

A résolu


Calculate volume of box
Calculate the volume of box,hiven its sides

presque 7 ans il y a

A résolu


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

presque 7 ans il y a

A résolu


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

presque 7 ans il y a

A résolu


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

presque 7 ans il y a

A résolu


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

presque 7 ans il y a

A résolu


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

presque 7 ans il y a

A résolu


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

presque 7 ans il y a

A résolu


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

presque 7 ans il y a

A résolu


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

presque 7 ans il y a

A résolu


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

presque 7 ans il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

presque 7 ans il y a

A résolu


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

presque 7 ans il y a

Charger plus