Feeds
문제를 풀었습니다
Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)
1년 초과 전
문제를 풀었습니다
Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...
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년 초과 전
문제를 풀었습니다
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
1년 초과 전
문제를 풀었습니다
Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...
1년 초과 전
문제를 풀었습니다
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
1년 초과 전
문제를 풀었습니다
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
1년 초과 전
문제를 풀었습니다
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
1년 초과 전
문제를 풀었습니다
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
1년 초과 전
문제를 풀었습니다
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
1년 초과 전
문제를 풀었습니다
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
1년 초과 전
문제를 풀었습니다
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
1년 초과 전
문제를 풀었습니다
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
1년 초과 전
문제를 풀었습니다
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
1년 초과 전
문제를 풀었습니다
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
1년 초과 전
문제를 풀었습니다
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 ...
1년 초과 전
문제를 풀었습니다
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...
1년 초과 전
문제를 풀었습니다
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
1년 초과 전
문제를 풀었습니다
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
1년 초과 전


