문제를 풀었습니다


Easy Sequences 103: One-line Code Challenge - Evaluate String Math Expressions
Given a character string of a simple mathematical expression containing only numbers, parentheses and arithmetic symbols (+ - * ...

6일 전

문제를 풀었습니다


Easy Sequences 102: One-line Code Challenge - Take While Function
takeWhile is another useful functional programming construct. The takewhile function is similar to the built-in function arrayfu...

6일 전

문제를 풀었습니다


Easy Sequences 100: One-line Code Challenge - 100th Digit of 100th power of an Integer
Given a integer , write a function that computes the digit of . If has less than digits just output a NaN. For example if , ...

6일 전

문제를 풀었습니다


Easy Sequences 99: One-line Code Challenge - Real Digitizer
Given a real number r, write the function rDigitizer that breaks r into constituent digits and symbols. For example: >> ...

6일 전

문제를 풀었습니다


Easy Sequences 98: One-line Code Challenge - Ternary Operator Function
Ternary operation is a standard construct in most computer languages. The ternary operator assigns value to a variable depending...

6일 전

문제를 풀었습니다


Easy Sequences 97: One-line Code Challenge - Sequence with Constant Difference
While answering Problem #57725, I noticed a pattern that immediately led me to a solution, namely: the -th difference of the seq...

6일 전

문제를 풀었습니다


Easy Sequences 96: One-line Code Challenge - Polynomial Folding Function
The Matlab fold function is a very useful functional programming construct. Unfortunatlely, fold is not available io Cody player...

6일 전

문제를 풀었습니다


Easy Sequences 94: GCD Sums
Given positive integer , write the function gSum(x), that sums all the GCD's of the integer pairs . For example in the Excel scr...

6일 전

문제를 풀었습니다


Easy Sequences 93: Recursive Polynomial Function
For a natural number and a polynomial function , we define a recursive function , as follows: , and ...

7일 전

문제를 풀었습니다


Easy Sequences 92: Number of Roots of a System of Linear Diophantine Equations
One of the tasks that Matlab is very good at, is in solving systems of linear equations. In this problem we shall tackle a sys...

7일 전

문제를 풀었습니다


Easy Sequences 91: Generalized McCarthy-91 Recursive Function
The McCarthy 91 function is a recursive function, defined by the computer scientist John McCarthy as a test case for formal veri...

7일 전

문제를 풀었습니다


Easy Sequences 90: Triple Summation of a Combinatorial Function
Given a positive integer , we are asked to evaluate the following triple summation: The symbol is the combin...

7일 전

문제를 풀었습니다


Easy Sequences 89: Double Summation of a Trigonometric Product
Given and angle in radians and a positive integer , evaluate the following product summation: which 'dir...

7일 전

문제를 풀었습니다


Easy Sequences 88: Double Summation of a Combinatorial Function
Given two positive integers and , , we define the function as the sum of the reciprocals of the products of all combinations o...

7일 전

문제를 풀었습니다


Easy Sequences 87: Perfect Power Modular Residue of a Nested Sum-product Function
For a positive integer , we define the function , as follows: ; and for . He...

7일 전

문제를 풀었습니다


Easy Sequences 86: The "real" Hyperprimorials
In Easy Sequences 85, we define the hyperprimorial of , as a exponent ladder of primes numbers from the -th prime down to first ...

7일 전

문제를 풀었습니다


Easy Sequences 85: Hyperprimorials
Given an integer , the primorial of , , is defined as product of all primes from to the -th prime. In other words, if is the ...

7일 전

문제를 풀었습니다


Easy Sequences 84: Digits of Powers of 5
OEIS sequence #A008566, deals with the following series: This sequence is the digits of powers of 5 listed si...

7일 전

문제를 풀었습니다


Easy Sequences 83: Digits of Powers of 3
This problem is a simpler version of 'Easy Sequences 82: Digits of Powers of 2'. Given integers and , we are asked to return th...

7일 전

문제를 풀었습니다


Easy Sequences 82: Digits of Powers of 2
In Project Euler Problem #16, we are asked for sum of the digits of powers of 2. Here we will be asked for more than that. Give...

7일 전

문제를 풀었습니다


Radar Doppler Blind Velocity Detection
In a pulsed Doppler radar, some target radial velocities cannot be measured correctly because of Doppler ambiguity. These veloci...

7일 전

문제를 풀었습니다


Easy Sequences 78: Trailing Zeros of Factorial Numbers at any Base
Given an integer and a number base , write a function that calculates the number of trailing zeros of the factorial of when wr...

8일 전

문제를 풀었습니다


Easy Sequences 72: Complete Graph
In Graph Theory, we say a graph is a Complete Graph, if all of its nodes are connected to evey other nodes in the graph. Example...

8일 전

문제를 풀었습니다


Easy Sequences 71: A Nonlinear Function with Quadratic Domain
Consider the function: The outputs of this function are fed as domain to another function: ...

8일 전

문제를 풀었습니다


Easy Sequences 70: Inflection Points of Binomial Product Function
Inflection points are points along the graph curve of a function, where the curvature of the curve changes from concave to conve...

8일 전

문제를 풀었습니다


Easy Sequences 67: Project Euler Problem 1 - Not Again!!!
You know the drill... Given two integers and , with , find the sum of all positive integers below , that are multiples of any ...

8일 전

문제를 풀었습니다


Calculation of Radar Dwell Time
This problem aims to determine the dwell time of a 2D-search radar antenna. The function takes as input the antenna horizontal b...

8일 전

문제를 풀었습니다


Monostatic Radar Received Power Calculation
This problem aims to determine the received power of a monostatic radar system. The function takes as input the main radar param...

8일 전

문제를 풀었습니다


Radar Unambiguous Range Determination
This problem aims to determine the radar unambiguous range based on the Pulse Repetition Frequency (PRF). The function takes the...

8일 전

문제를 풀었습니다


Calculate Radar Pulse Energy
Compute the energy contained in a single radar pulse. The inputs are the peak power Pp (W) and the pulse width PW (s). The pulse...

8일 전

더 보기