Community Profile

# Ty Sheloski

Last seen: 약 2달 전 2022 이후 활성

배지보기

#### Content Feed

보기 기준

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

약 2달 전

해결됨

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

약 2달 전

해결됨

You just measured its surface area, that is the input.

약 2달 전

해결됨

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

약 2달 전

해결됨

Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

약 2달 전

해결됨

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

약 2달 전

해결됨

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

약 2달 전

해결됨

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

약 2달 전

해결됨

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

약 2달 전

해결됨

Simple equation: Annual salary
Given an hourly wage, compute an annual salary

약 2달 전

해결됨

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

약 2달 전

해결됨

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

약 2달 전

해결됨

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

약 2달 전

해결됨

Is my wife right?
Regardless of input, output the string 'yes'.

약 2달 전

해결됨

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

약 2달 전

해결됨

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

약 2달 전

해결됨

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

약 2달 전

해결됨

Find the circumference of the circle
Geometry

약 2달 전

해결됨

Find the area of the circle
geometry

약 2달 전

해결됨

Find the circumference of the circle
geometry

약 2달 전

해결됨

Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

약 2달 전

해결됨

Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

약 2달 전

해결됨

Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

약 2달 전

해결됨

Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

약 2달 전

해결됨

Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

약 2달 전