Resuelto


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

12 meses hace

Resuelto


My wife's logic
Its is always the opposite of the causality law, that is to say the opposite of the implication relationship in math/logic terms...

12 meses hace

Resuelto


Ulam primes second formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give some prime numbers not given...

12 meses hace

Resuelto


Ulam primes first formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give the first 760 prime numbers ...

12 meses hace

Resuelto


Euler primes
Historical context The great swiss mathematician Leonhard Euler found the formula to give some prime numbers. Problem...

12 meses hace

Resuelto


Frequencies of prime gaps
Problem statement Given two positive integers n and , write a function which computes the frequency of the gap between two ...

12 meses hace

Resuelto


Find the first occurence of a given gap between two consecutive prime numbers
Problem statement Given a gap = p' - p between the two consecutive prime numbers p and p', find its first occurence, f. E...

12 meses hace

Resuelto


Prime numbers which are the difference of two consecutive cubes
Problem statement Given a positive integer n greater than 2, find the prime numbers less or equal to n and which are the diff...

12 meses hace

Resuelto


Area under the curve
Compute area under the curve specified by points stored in y, where y is in range (0,inf) and x time step is 1. note: please r...

alrededor de 1 año hace

Resuelto


Cell Operator *
Please implement operator * for cell: >> {2,3} * 2 ans = 1×4 cell array [2] [3] [2] [3] >> {2,3} * [2 3]...

alrededor de 1 año hace

Resuelto


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

alrededor de 1 año hace

Resuelto


Return the middle element of an NxN square matrix where N is odd
Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...

alrededor de 1 año hace

Resuelto


Simple Income Tax

alrededor de 1 año hace

Resuelto


Draw a Diamond shape in ones Matrix with '0' s
Input will be odd numbers.The task is to make a Diamond shape in a ones matrix with '0's where the matrix will be a square matri...

alrededor de 1 año hace

Resuelto


Can the given sides form a triangle?
Can the three given sides form a triangle?

alrededor de 1 año hace

Resuelto


Find the index of nth maximum of a row vector of real numbers
Given a vector of real numbers x, find the index idx of _n_ th maximum value. If nth maximum occurs more than once, return the i...

alrededor de 1 año hace

Resuelto


Person of interest?
given a person_of_interest, what is his_name?

alrededor de 1 año hace

Resuelto


How many hours are there in a day in Italy?
Remember "European Summer Time"

alrededor de 1 año hace

Resuelto


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

alrededor de 1 año hace

Resuelto


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

alrededor de 1 año hace

Resuelto


Find the equivalent resistance of a dc circuit

alrededor de 1 año hace

Resuelto


List numbers that are not squares
The numbers 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, etc. are not perfect squares. Write a function to list the th term in ...

alrededor de 1 año hace

Resuelto


Gray Image

alrededor de 1 año hace

Resuelto


Basic Operation with the middle number of odd matrix
# Take an odd matrix *like* 3-by-3 # Access the *middle element* of the matrix i.e in case of 3-by-3 matrix the index of the pa...

alrededor de 1 año hace

Resuelto


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

alrededor de 1 año hace

Resuelto


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

alrededor de 1 año hace

Resuelto


normalize group of numbers to integers
Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,l...

alrededor de 1 año hace

Resuelto


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

alrededor de 1 año hace

Resuelto


Keep Only the Upper characters in a string
Keep Only the Upper characters in a string s = 'Sreeram Mohan'; output = SM;

alrededor de 1 año hace

Resuelto


Find the relation
Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

alrededor de 1 año hace

Cargar más