解決済み


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

約1年 前

解決済み


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

約1年 前

解決済み


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

約1年 前

解決済み


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

約1年 前

解決済み


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

約1年 前

解決済み


Converts numbers into characters
Converts numbers into characters

約1年 前

解決済み


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

約1年 前

解決済み


factorial of a number x
Factorial of a number x

約1年 前

解決済み


Positive Infinity
Round the array a towards positive infinity

約1年 前

解決済み


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

約1年 前

解決済み


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

約1年 前

解決済み


Return area of square
Side of square=input=a Area=output=b

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


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

約1年 前

解決済み


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

約1年 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

約1年 前