Home > By category > Scripts >Games > Brain Teaser Solver



Brain Teaser Solver

  • Downloads: 
  • Views: 
  • Rating:

The function OutcomeSequence.m solve brain teasers such as:

1. You toss a coin, what is the expected number of tosses for you to get the sequence 'Tails-Heads-Tails' ?

2. You throw a dice, what is the expected number of throws for you to get the sequence '1, 2, 3, 2, 1' ?

3. You randomly hit your keyboard, what is the expected number of keys you have to hit to get the sequence 'ABRACADABRA' ?

4. You play one poker game everyday. Assume you are likely to win 1 out of 4 games you play. What is the expected number of days you have to play to win 3 times in a row ?

Function details:
OutcomeSequence(Sequence, N_Outcomes)

Inputs:
- Sequence: sequence (row vector) of numbers representing the different possible outcomes. The occurrence times of those outcomes are assumed to be I.I.D. random variables, i.e. the outcomes occur independently of each other and are equally likely to happen.
- N_Outcomes: number of different possible (independent) outcomes.

Output:
- Expected_Time: expected time to get the input sequence of outcomes. This time would correspond to a number of tosses of a coin, throws of a dice and so on depending on the problem considered.

Free download from Shareware Connection - You toss a coin, what is the expected number of tosses for you to get the sequence 'Tails-Heads-Tails'

Publisher: Rodolphe Sitter | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 06-05-2013 | Rating: 0 | Title: Brain Teaser Solver

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/23478/2/OutcomeSequence.zip

More downloads from Brain Teaser Solver publisher Rodolphe Sitter:

Heston Option Pricer - Compute European call option price using the Heston model and a conditional Monte-Carlo method

Foreign Exchange Options - Valuation of European and American call and put options on foreign exchange using Garman-Kohlhagen model.

Bootstrapping Yield Curve - Bootstrap the yield curve, discount curve and the forward curve from market data

Log-Uniform Jump-Diffusion Model - JDprice.m : Compute European call option price using a Log-Uniform Jump-Diffusion model.

Plot Some Paths - Plot arithmetic and geometric Brownian motion

Brain Teaser Solver keywords:
Brain Teaser Solver related downloads:

Random Variable Generation - This collection generates random variables and vectors of random variables with various distributions

Algebraic Manipulation of Random Variables (Numerical) - % [z zC Z ZC] = transRV(jointXY,C,opp,n) Numerically approximate the PDF of % a nonlinear combination of the random variables X and Y given the joint % distribution of X and Y.

Big Brain Wolf - Help a Big Brain Wolf become the genie he`s always wanted to be in this Brain Teaser game!

Fitznik - Fitz is on a quest to gather gems from an ancient city. Each room in the city presents a brain teaser which must be solved to get all of the gems and safely to the exit. This is a puzzle game for people who like really thinking about thier puzzles.

Laird-Ware Random Effects Model - Fits the Laird-Ware Linear Random Effects Model

Shareware Connection periodically updates pricing and software information of 'Brain Teaser Solver' from company source 'Rodolphe Sitter' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Brain Teaser Solver' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Brain Teaser Solver.

New Reviews

Safe In Cloud - It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...

BitKiller - Dealing with various types of data efficiently holds the key to success in any computing task. Apart from generating new data and modifying existing files, it becomes necessary to delete existing files at times. While most users resort to using ...

SeaMonkey, Portable Edition - Using the Internet has become a necessity for a majority of people, including those who do not use a PC regularly. To browse web, stream video or download online content, people often resort to using various third party apps. For example, using ...

Wipe Expert 3 - Data security has become a serious issue for billions of computer users worldwide. From using encryption apps to backing up data in cloud, users are resorting to various measures to ensure safety of their data nowadays. However, you also need to ...

MAGIX Video easy - Editing videos was a complicated task even a few years back and it was restricted to studios and post production areas in general. However, advancements in computer technology and advent of numerous portable video capture devices have made things ...

PCMark 8 - Not every PC user would have penchant for running new benchmarks and benchmarking software in their computers. It is only hardcore gamers and seasoned users who like tinkering around with various settings in PC benchmarking tools. Such apps also ...

Backup Dwarf Home Edition - Making backups of data and media content has become extremely important for computer users nowadays. Owing to hardware failure, you may end up losing gigabytes of precious data. Besides, you may not want to leave sensitive data accessible to all ...

Bolide Movie Creator - Not many PC users ventured into editing video clips even a few years back. It was a task reserved for studio setups and professionals. However, emergence of mobile video recording devices, access to internet has changed things in recent times. ...

Stellar Insta Backup - Data Backup Software - Taking backup of data stored in your PC is quite essential these days, given the fact average PC users deal with tons of data and hardware failure or OS corruption can happen. However, it is also necessary that you pick the right software for ...

Quick Heal PCTuner - Performance deficit or unexpected slowdown is something most PC users are acquainted with. Even those with powerful laptops and desktops have to face these issues from time to time. A PC can run slowly when temporary files clutter the HDD or ...




New Downloads

Free Audio Editor 2015

Free Audio Editor is a
multi-award winning mp3
editing software tool. The
Free Audio Editor software
includes a powerful ...

VidMate Video Converter

VidMate Video Converter is the
most renowned video converter
for converting video files
between various formats, with
...

Shop Management System

Shop management software is a
unique tool for managing your
retail shop effectively. With
this application you get a ...

Hosted~FTP~

Website visitors can send and
receive files with your
Hosted~FTP~ account

pplot

PPLOT is a graphical plot
layout and design tool for
both Matlab 4 and Matlab 5
(both PC and UNIX versions)

Binary STL file reader

This function is used for
loading binary STL files

Calculated dielectric
constant of sea water

This code calculates the
dielectric constant of
seawater using the equations
shown in the paper of Stogryn
(1973), but ...

Mean-variance portfolio
optimization using GA and
PATTERNSEARCH

Please see PORTOPTGADS, by
following link 'Published
m-files' below

Templates for Modeling
Scheduling Behavior with
Simulink and Stateflow ver
1p0

The complete set of software
in a electronic control unit
(ECU) consists of an operation
system, hardware drivers, ...

Particle Filter Color
Tracker

A simple example demonstrating
how to track an object with
particle filter

Fractal curves

Dragon Curve

Mad Bomber

Mad Bomber game challenges you
to catch bombs before they hit
the ground and explode.