문제를 풀었습니다


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

대략 5년 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

대략 5년 전

문제를 풀었습니다


Positive Infinity
Round the array a towards positive infinity

대략 5년 전

문제를 풀었습니다


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

대략 5년 전

문제를 풀었습니다


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

대략 5년 전

문제를 풀었습니다


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

대략 5년 전

문제를 풀었습니다


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

대략 5년 전

문제를 풀었습니다


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

대략 5년 전

문제를 풀었습니다


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

대략 5년 전

문제를 풀었습니다


y equals x divided by 2
function y = x/2

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

대략 5년 전

문제를 풀었습니다


The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1, otherwise return 0. eg. input x = [1 2 NaN ; 4 NaN 6] >>> out...

대략 5년 전

문제를 풀었습니다


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

대략 5년 전

문제를 풀었습니다


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

대략 5년 전

문제를 풀었습니다


Just another sum (JAS)
*Task:* Write a function that takes a vector X and returns the alternating sum of X: X(1)-X(2)+X(3)-X(4)+... *Example...

대략 5년 전

문제를 풀었습니다


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

대략 5년 전

문제를 풀었습니다


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...

대략 5년 전

문제를 풀었습니다


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

대략 5년 전

문제를 풀었습니다


Narcissistic problem
How many likes has this problem?

대략 5년 전

문제를 풀었습니다


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

대략 5년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Negative matrix
Change the sign of all elements in given matrix.

대략 5년 전

더 보기