:)

Solved

Factorions: Numbers that equal the sum of the factorials of their digits

From Wikipedia: _A factorion is a natural number that equals the sum of the factorials of its decimal digits_ For example: ...

6 months ago

Solved

Number of even divisors of a given number

Given a Number n, return the number of its even divisors without listing them. example: n=14 ; EvenDivisors={2,14} ; y=2 ...

6 months ago

Solved

Neither minima nor maxima

Input v is a vector. Return all the elements of v which are not a local minimum or maximum. Example: v = [1 2 3 4 5] Ou...

6 months ago

Solved

05 - Vector Equations 1

Define the vector _cVec_: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of -0....

6 months ago

Solved

Orthogonal lines

Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

6 months ago

Solved

Percentage profit

If you are buying at x dollar, what will be the selling price for making the r% profit?

6 months ago

Solved

Simple return on investment

Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...

6 months ago

Solved

Bell Number calculator

Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

6 months ago