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.