Solved


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

2 months ago

Solved


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

2 months ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

2 months ago

Solved


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

2 months ago

Solved


length of a vector
Find twice the length of a given vector.

2 months ago

Solved


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

2 months ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

2 months ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

2 months ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

2 months ago

Solved


easy problem
Find the last element of the array

2 months ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

2 months 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

2 months ago

Solved


Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'

2 months ago

Solved


Converts numbers into characters
Converts numbers into characters

2 months ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

2 months ago

Solved


to the 2 all elements
to the 2 all elements

2 months ago

Solved


Double all elements in the array
Duplicate all elements in the array

2 months ago

Solved


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

2 months ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

2 months ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

2 months ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

2 months ago

Solved


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

2 months ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

2 months ago

Solved


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

2 months ago

Solved


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

2 months ago

Problem


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

2 months ago | 0 | 28 solvers

Solved


Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15

2 months ago

Solved


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

2 months ago

Problem


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

2 months ago | 0 | 18 solvers

Solved


Convert Celsius temperature to Fahrenheit
Given a temperature in Celsius, return the equivalent in Fahrenheit. Formula: F = C * 9/5 + 32Example: cel2fahr(100) returns 212...

2 months ago

Load more