Community Profile # Jarhed Szalkowski

2018 이후 활성

#### Statistics

• • • • • • • 배지보기

#### Content Feed

보기 기준

해결됨

Number Power
Raise a number to itself.

약 3년 전

해결됨

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

약 3년 전

해결됨

Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

약 3년 전

해결됨

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

약 3년 전

해결됨

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

약 3년 전

해결됨

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

약 3년 전

문제

Number Power
Raise a number to itself.

약 3년 전 | 1 | 솔버 수: 58

해결됨

Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

약 3년 전

해결됨

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

약 3년 전

해결됨

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. <<http://upload...

약 3년 전

해결됨

Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

약 3년 전

해결됨

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

약 3년 전

해결됨

Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

약 3년 전

해결됨

Product of all elements in an array
Compute the product of all elements in an array.

약 3년 전

해결됨

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

약 3년 전

해결됨

Test Problem
Let y = x.

약 3년 전

해결됨

Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

약 3년 전

해결됨

How many ways to write a number
Given two positive numbers n and k, where n>=k. In how many ways can we write n as sum of k positive numbers. Same numbers but d...

약 3년 전

해결됨

The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

약 3년 전

해결됨

Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

약 3년 전

해결됨

Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

약 3년 전

해결됨

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

약 3년 전

해결됨

How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

약 3년 전

해결됨

Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

약 3년 전

해결됨

Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

약 3년 전

해결됨

Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

약 3년 전

해결됨

How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

약 3년 전

해결됨

Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

약 3년 전

해결됨