Solved


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

8 meses ago

Solved


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

8 meses ago

Solved


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

8 meses ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

8 meses ago

Solved


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

8 meses ago

Solved


calculate the length of matrix
input 1 array, calculate the length

8 meses ago

Solved


Find the max element of the array
Find the max element of the array

8 meses ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

8 meses ago

Solved


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

8 meses ago

Solved


Spherical Volume
Calculate the volume of a sphere.

8 meses ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

8 meses ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

8 meses ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

8 meses ago

Solved


kmph to mps
convert kilometer per hour to meter per second

8 meses ago

Solved


find the answer

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

8 meses ago

Solved


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

8 meses ago

Solved


area of a sphere

8 meses ago

Solved


Percentage
There is x liter water and y gram => z is percentage of salt in water

8 meses ago

Solved


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

8 meses ago

Solved


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

8 meses ago

Solved


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

8 meses ago

Solved


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

8 meses ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

8 meses ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

8 meses ago

Solved


Area of rhombus
Calculate the rhombus area

8 meses ago

Solved


convert matrix to single column
given any matrix, convert it to single column

8 meses ago

Solved


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

8 meses ago

Solved


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

8 meses ago

Solved


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

8 meses ago

Load more