Feeds
문제를 풀었습니다
Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.
12년 초과 전
문제를 풀었습니다
Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*
12년 초과 전
문제를 풀었습니다
sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
거의 13년 전
문제를 풀었습니다
Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...
거의 13년 전
문제를 풀었습니다
Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...
거의 13년 전
문제를 풀었습니다
Continued fractions
Find a <http://en.wikipedia.org/wiki/Continued_fraction continued fraction> approximation of x.
거의 13년 전
문제를 풀었습니다
Looping a nested integral equation with multiple parapeters
I'm attempting to solve the function S, which is iteratively solved and looks like: S(z,omega) = e^(-z^2)*int_0^infinity of (...
거의 13년 전
문제를 풀었습니다
Schwarzschild radius
Compute the <http://en.wikipedia.org/wiki/Schwarzschild_radius Schwarzschild radius> for objects of mass m (kg). Use c = 299,792...
거의 13년 전
문제를 풀었습니다
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
거의 13년 전
문제를 풀었습니다
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
거의 13년 전
문제를 풀었습니다
CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5
거의 13년 전
문제를 풀었습니다
Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).
대략 13년 전
문제를 풀었습니다
Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...
대략 13년 전
문제를 풀었습니다
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
대략 13년 전
문제를 풀었습니다
Geometry: Find Circle given 3 Non-Colinear Points
*This Challenge is to determine the center and radius of a circle given three non-colinear points.* *Input:* Points *Outpu...
대략 13년 전
문제를 풀었습니다
Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...
대략 13년 전
문제를 풀었습니다
MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...
대략 13년 전
문제를 풀었습니다
Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
대략 13년 전
문제를 풀었습니다
find a specific value in a matrix
Hi, I am using matlab for a thesis I have to write. the matrix consists of several option characteristicas such as closing pric...
대략 13년 전
문제를 풀었습니다
Rescaling vector
Rescale the entries of a vector x so that it spams [a,b]. The new values should be linearly stretched into the new range. _Ex...
대략 13년 전




