commodity risk management

Solved

Coin change combinations.

Using only pennies (1), nickels (5), dimes (10), quarters (25), half dollars (50), and dollars (100), how many different combina...

3 Tage ago

Solved

Probability of red tulips (at both ends of a row)

I planted tulip bulbs in a row on my flower bed. I thought that I had planted white tulips all. However, later, it turned out t...

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

5 Tage ago

Solved

Unique dice configurations

Given a number of dice N and the number of sides on each die S, write a MATLAB function that will output how many unique permuta...

6 Tage ago

Solved

Eliminate Outliers Using Interquartile Range

Given a vector with your "data" find the outliers and remove them. To determine whether data contains an outlier: # Identi...

6 Tage ago

Solved

Probability of Choosing a Red Ball

Given two jars of red and blue balls, find the probability of choosing a red ball from Jar 1 after going through the steps. ...

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

7 Tage ago

Solved

Coin Tossing: Probability of Same Heads for N tosses

A pair of physicists toss a coin n times each. What is the probability that they tossed the same number of heads? *Input:*...

7 Tage ago

Solved

The almost-birthday problem.

This is a harder version of the birthday problem. Now, you will have to determine the probability that two or more people in a r...

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

10 Tage ago

Solved

Don't be mean. Be nice!

For this problem, you will be given a range of single digits R, and a separate number K. You job is to calculate the mean of al...

11 Tage ago

Solved

Given n, create n random numbers such that their standard deviation is also n.

Given n, create n random numbers such that their standard deviation is also n.

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

13 Tage ago

Solved

Square the input

Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

13 Tage ago

Solved

Positive Definiteness of a Matrix

Determine if input matrix is positive definite or not.

13 Tage ago

Solved

The glass half full

Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

13 Tage ago

Solved

Predicting life and death of a memory-less light bulb

*💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 💡 &...

13 Tage ago

Solved

Spot the First Occurrence of 5

This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

14 Tage ago

Solved

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

14 Tage ago

Solved

Write c^3 as sum of two squares a^2+b^2

write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

14 Tage ago

Solved

The Top 5 Primes

This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

14 Tage ago

Solved

Divisible by n, Composite Divisors

Pursuant to <http://www.mathworks.com/matlabcentral/cody/problems/42453-divisible-by-n-prime-vs-composite-divisors Divisible by ...

19 Tage ago

Solved

Divisible by n, Truncated-number Divisors

Some divisors only require a few numbers at the end of the number in question to determine divisibility, no matter how long. Exa...

19 Tage ago

Solved

Divisible by n, prime divisors from 20 to 200

Pursuant to the previous problem (linked below), this problem requires a function that checks for divisibility of large numbers ...

19 Tage ago

Solved

Divisible by n, prime divisors - 11, 13, 17, & 19

Divisibility checks against prime numbers can all be accomplished with the same routine, applied recursively, consisting of add ...

19 Tage ago

Solved

Divisible by n, prime divisors (including powers)

For this problem, you will be provided an array of numbers (not necessarily in order). Return the array of numbers with only pri...

21 Tage ago

Solved

Divisible by n, prime vs. composite divisors

In general, there are two types of divisibility checks; the first involves composite divisors and the second prime divisors, inc...

28 Tage ago

Solved

Divisible by 16

Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

etwa ein Monat ago

Solved

Divisible by 15

Write a function to determine if a number is divisible by 15. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

etwa 2 Monate ago

Solved

Divisible by 14

Write a function to determine if a number is divisible by 14. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

etwa 2 Monate ago