Solved


Minefield Sonar
*Background* In mine-hunting games (e.g. Microsoft Minesweeper), the user is provided with a covered grid that, upon a left c...

4 years ago

Solved


Calculate the probability that at least two people in a group share the same birthday.
Calculate the probability that at least two people in a group share the same birthday. Given an integer input n, return to 0.015...

4 years ago

Solved


Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

4 years ago

Solved


Mean ignoring NaNs
Define a function that behaves in the same way as mean(x) and mean(x,d) except that it ignores NaNs (unless all of the values be...

4 years ago

Solved


Determine whether one vector is a subset of another
While bumbling through a pair of problems in the Number Theory group, I wrote code to determine whether a vector is a subset of ...

4 years ago

Solved


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

4 years ago

Solved


Monte-Carlo integration
Write a function that estimates a d-dimensional integral to at least 1% relative precision. Inputs: * d: positive integer....

4 years ago

Solved


Numerical Integration
Input * |x0|, a real number greater than 0 Output * |I|, a numerical estimate of the integral x0 / I...

4 years ago

Solved


Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation dy...

4 years ago

Solved


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

4 years ago

Solved


Throwing Dice - Will You Be Eaten By The Dragon?
You and a dragon have agreed to let dice rolls determine whether it eats you or not. The dragon will roll a single die, of x ...

4 years ago

Solved


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

4 years ago

Solved


Make a Plot with Functions
Make a plot and test

4 years ago

Solved


Count the Number of Undirected Cycles in a Graph
Given a symmetric adjacency matrix, determine the number of unique undirected cycles. For example, the graph represented by adj...

4 years ago

Solved


Find Logic 24

4 years ago

Solved


Find Logic 32

4 years ago

Solved


Find Logic 31

4 years ago

Solved


Find Logic 30

4 years ago

Solved


Find Logic 29

4 years ago

Solved


Find Logic 28

4 years ago

Solved


Find Logic 27

4 years ago

Solved


Find Logic 26

4 years ago

Solved


Find Logic 25

4 years ago

Solved


Find Logic 23

4 years ago

Solved


Find Logic 22

4 years ago

Solved


Find Logic 21

4 years ago

Solved


Find Logic 20

4 years ago

Solved


Splitting Circle
Consider a circle which has been divided into three concentric circles as depicted in the figure below The ratio betwen the a...

4 years ago

Load more