438 total contributions since 2011

EXPLORER

Professional Interests: Speech & Hearing

Solved

Pandigital Multiples of 11 (based on Project Euler 491)

A "Pandigital number of order X" is one that contains all of the numbers from 0 to X, but with no leading zeroes. If X>9, the c...

circa 2 anni ago

Solved

Is this a valid Tic Tac Toe State?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

circa 2 anni ago

Solved

The 5th Root

Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

circa 2 anni ago

Solved

Predicting life and death of a memory-less light bulb

You have a light bulb that can fail any moment according to the exponential probability distribution. At any moment, the pro...

circa 2 anni ago

Solved

A Simple Tide Gauge with MATLAB

You are standing in a few inches of sea water on a beach. You are wondering whether the high tide is coming soon or it has ju...

circa 2 anni ago

Solved

Basic electricity in a dry situation

This is a very hypothetical situation between two individuals in a very dry atmosphere. He came running in rubber boots when...

circa 2 anni ago

Solved

Energy of a photon

Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

circa 2 anni ago

Solved

How to subtract?

* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

circa 2 anni ago

Solved

Acid and water

Assume that there is a 100 liter tank. It is initially filled with just distilled water. It is continuously drained at R...

circa 2 anni ago

Solved

An asteroid and a spacecraft

Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian coordinates...

circa 2 anni ago

Problem

An asteroid and a spacecraft

Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian coordinates...

circa 2 anni ago | 4

Problem

Acid and water

Assume that there is a 100 liter tank. It is initially filled with just distilled water. It is continuously tapped at R ...

circa 2 anni ago | 1

Problem

Predicting life and death of a memory-less light bulb

You have a light bulb that can fail any moment according to the exponential probability distribution. At any moment, the pro...

circa 2 anni ago | 1

Problem

A Simple Tide Gauge with MATLAB

You are standing in a few inches of sea water on a beach. You are wondering whether the high tide is coming soon or it has ju...

circa 2 anni ago | 2

Problem

How to subtract?

* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

circa 2 anni ago | 5

Problem

Basic electricity in a dry situation

This is a very hypothetical situation between two individuals in a very dry atmosphere. He came running in rubber boots when...

circa 2 anni ago | 3

Problem

Energy of a photon

Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

circa 2 anni ago | 6

Solved

Given a number N, find the smallest prime P>N

Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

circa 2 anni ago

Problem

Given a number N, find the smallest prime P>N

Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

circa 2 anni ago | 1

Solved

Calories in a slice of pizza?

The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

circa 2 anni ago

Problem

Calories in a slice of pizza?

The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

circa 2 anni ago | 0

Solved

Minimum possible M of the maximum side of a triangle of given area A.

Suppose a triangle has area A. Suppose it has three sides S1, S2, and S3. Suppose M = max([S1 S2 S3]). What is the minimum po...

circa 2 anni ago

Problem

Minimum possible M of the maximum side of a triangle of given area A.

Suppose a triangle has area A. Suppose it has three sides S1, S2, and S3. Suppose M = max([S1 S2 S3]). What is the minimum po...

circa 2 anni ago | 0

Solved

Check if any duplicates in your data

Given an array x, return a number n equal to the largest number of repetitions in your data. For example: If x=[1 2 3 6 8 4 9]...

circa 2 anni ago

Problem

Check if any duplicates in your data

Given an array x, return a number n equal to the largest number of repetitions in your data. For example: If x=[1 2 3 6 8 4 9]...

circa 2 anni ago | 0

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

circa 2 anni ago

Solved

Find the outlier in a set of samples

Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

circa 2 anni ago

Problem

Find the outlier in a set of samples

Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

circa 2 anni ago | 0

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.

circa 2 anni ago

Problem

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.

circa 2 anni ago | 1