문제를 풀었습니다


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

대략 1년 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

대략 1년 전

문제를 풀었습니다


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

대략 1년 전

문제를 풀었습니다


Laws of motion 6

대략 1년 전

문제를 풀었습니다


Laws of motion 5
Calculate the force is u are given mass and acceleration.

대략 1년 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

대략 1년 전

문제를 풀었습니다


Laws of motion 2

대략 1년 전

문제를 풀었습니다


Laws of motion 1

대략 1년 전

문제를 풀었습니다


Kinetic energy calculation

대략 1년 전

문제를 풀었습니다


Total energy

대략 1년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

대략 1년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

대략 1년 전

문제를 풀었습니다


Spherical Volume
Calculate the volume of a sphere.

대략 1년 전

문제를 풀었습니다


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

대략 1년 전

문제를 풀었습니다


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

대략 1년 전

문제를 풀었습니다


Create a vector
Create a vector from 0 to n by intervals of 2.

대략 1년 전

문제를 풀었습니다


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

대략 1년 전

문제를 풀었습니다


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

대략 1년 전

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

대략 1년 전

문제를 풀었습니다


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

대략 1년 전

문제를 풀었습니다


Inner product of two vectors
Find the inner product of two vectors.

대략 1년 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

대략 1년 전

문제를 풀었습니다


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

대략 1년 전

문제를 풀었습니다


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

대략 1년 전

문제를 풀었습니다


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

대략 1년 전

문제를 풀었습니다


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

대략 1년 전

문제를 풀었습니다


Potential energy calculation

대략 1년 전

문제를 풀었습니다


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

대략 1년 전

더 보기