문제를 풀었습니다


Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

2개월 전

문제를 풀었습니다


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

2개월 전

문제를 풀었습니다


Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

2개월 전

문제를 풀었습니다


Determine the average number of rounds for the following game.
Each round a uniformly distributed random number is picked between 0 and 1. The game ends when the sum of the random numbers is ...

2개월 전

문제를 풀었습니다


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

2개월 전

문제를 풀었습니다


Solve an ODE: equation C
Write a function to solve the following ordinary differential equation: with and . The parameter is a constant. The functi...

2개월 전

문제를 풀었습니다


Eliminate redundant numbers in text
Occasionally someone might write text such as Briefly explain one (1) common problem that can result from the constant use of ...

2개월 전

문제를 풀었습니다


List the titles of Cody problems
Cody has several ways to list problems, but I have not yet found an easy way to list them by their numbers. Listing by date crea...

2개월 전

문제를 풀었습니다


Make the first letter of a sentence Capital.
In this problem you will be given a string of 2 or 3 lines. Your work is to make the first letters of every line Capital. You wi...

2개월 전

문제를 풀었습니다


Backgammon #1 - Pip Count
The following is a possible representation of a backgammon board: White stones are represented by positive integers Red stones ...

2개월 전

문제를 풀었습니다


Redefine the Array if the Elements in the Array are Repeating
Check if the Array has any repeating elements, if there are repeating elements then choose "n" as a number of times you want tha...

2개월 전

문제를 풀었습니다


Find all the indices when a value repetition occurs
Find all the sequences of consecutive repeated numbers in a numeric array, returning the indices where each sequence starts and ...

2개월 전

문제를 풀었습니다


Write a function to generate AND operation

2개월 전

문제를 풀었습니다


Solve an ODE: equation B

2개월 전

문제를 풀었습니다


Flip coins

2개월 전

문제를 풀었습니다


Solve an ODE: equation A
Write a function to solve the following ordinary differential equation: with and . The function should return the values of...

2개월 전

문제를 풀었습니다


Convert any case sentence to Title Case

2개월 전

문제를 풀었습니다


Add 100

2개월 전

문제를 풀었습니다


Similar triangles

2개월 전

문제를 풀었습니다


Min-Max digit

2개월 전

문제를 풀었습니다


End Digits

2개월 전

문제를 풀었습니다


Find the nearest value to the given one

2개월 전

문제를 풀었습니다


Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes. Example: the result ...

2개월 전

문제를 풀었습니다


Do you have the minimum age?

2개월 전

문제를 풀었습니다


Construct a continued fraction for a square root

2개월 전

문제를 풀었습니다


Convert a number from base 10 to factorial notation

2개월 전

문제를 풀었습니다


Convert a number from factorial notation to base 10

2개월 전

더 보기