Resuelto


calculate interest saved because of reduction of interest rate
calculate interest saved because of a reduction of interest rate per year (Assuming No leap year) Currently, in India, rate o...

alrededor de 11 años hace

Resuelto


Function definition: BMI calculator
Define a function CalculateBMI with inputs massKg and heightCm. The function returns bodyMassIndex. The function should be able ...

alrededor de 11 años hace

Resuelto


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

alrededor de 11 años hace

Resuelto


Create a random integer vector to 100
Create a random integer vector to 100, with one output. Example randi(r, z) Ans. 54

alrededor de 11 años hace

Resuelto


Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

alrededor de 11 años hace

Resuelto


System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

alrededor de 11 años hace

Resuelto


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

alrededor de 11 años hace

Resuelto


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

alrededor de 11 años hace

Resuelto


Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

alrededor de 11 años hace

Resuelto


Twins in a Window
<http://en.wikipedia.org/wiki/Twin_primes Twin primes> are prime numbers that differ by 2, such as [11,13] or [41,43]. Write a f...

alrededor de 11 años hace

Resuelto


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

alrededor de 11 años hace

Resuelto


N-Queens Checker
Picture a chessboard populated with a number of queens (i.e. pieces that can move like a queen in chess). The board is a matrix,...

alrededor de 11 años hace

Resuelto


Perfect Square
Find a function that finds the root of a perfect number!

alrededor de 11 años hace

Resuelto


Celsius to Kelvin
Degrees Celsius = Kelvin - 273.15

alrededor de 11 años hace

Resuelto


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

alrededor de 11 años hace

Resuelto


Finding the volume of a basketball.
You are given a basketball with a given radius (r), what is its volume?

alrededor de 11 años hace

Resuelto


Billiards
Considering there are 15 pool balls, (b), in the game of pool, and given a radius, (r). What is the volume, (V), of a rack in th...

alrededor de 11 años hace

Resuelto


Mobius function
From <http://en.wikipedia.org/wiki/Möbius_function wikipedia>: For any positive integer n, define μ(n) as the sum of the prim...

alrededor de 11 años hace

Resuelto


Not square-free number sequence
<http://oeis.org/A013929 Not square-free numbers> are all positive integers divisible by a square greater than one: 4, 8, 9, 12,...

alrededor de 11 años hace

Resuelto


Sphenic number sequence
<http://oeis.org/A007304 Sphenic numbers> are positive integers that are products of three distinct prime numbers: 30, 42, 66, 7...

alrededor de 11 años hace

Resuelto


Positive Infinity
Round the array a towards positive infinity

alrededor de 11 años hace

Resuelto


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

alrededor de 11 años hace

Resuelto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

alrededor de 11 años hace

Resuelto


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

alrededor de 11 años hace

Resuelto


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...

alrededor de 11 años hace

Resuelto


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

alrededor de 11 años hace

Resuelto


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

alrededor de 11 años hace

Resuelto


Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
Example: in = magic(5) in = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 ...

alrededor de 11 años hace

Resuelto


Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

alrededor de 11 años hace

Resuelto


7 segment LED display
Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (http://en.wikipedia.org...

alrededor de 11 años hace

Cargar más