Decode a simplified barcode
Given a bar code from this <http://www.mathworks.com/matlabcentral/cody/problems/602-make-a-simplified-bar-code exercise>:
Re...
Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series:
pi/4 = 1 - 1/3 + 1/5 - 1/7 + ...
For a given numbe...
2年以上 前
解決済み
Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...
Pi Estimate 1
Estimate Pi as described in the following link:
<http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
2年以上 前
解決済み
Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
2年以上 前
解決済み
Reverse Calculator
Use this reverse calculator and give correct output
Its simple, In my Reverse calculator if you press 0 it will be considered...
2年以上 前
解決済み
Additive persistence
Inspired by Problem 2008 created by Ziko.
In mathematics, the persistence of a number is the *number of times* one must apply...
2年以上 前
解決済み
Converting numbers back from extended form
Thanks for all the help you guys gave me on writing out the numbers in extended form in <http://www.mathworks.com/matlabcentral/...
2年以上 前
解決済み
Numbers in extended form
Shhhhhhh. Don't tell my daddy, but I'm borrowing his Cody account so all of you very smart people can help me out. I just star...
2年以上 前
解決済み
Ripping numbers apart!
So you have to "rip" a number apart into individual digits... The end output is a cell.
That is if:
x = 12345678
o...
2年以上 前
解決済み
Make a simplified barcode
Given an integer to encode, make a barcode using the following encoding scheme:
* The bar code is made from the binary versio...
2年以上 前
解決済み
7 segment LED display
Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...
2年以上 前
解決済み
Convert Roman to Arabic Numerals
Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g....
2年以上 前
解決済み
Math with Roman Numerals
Given a function R within (+,-,*,/) and two Roman numerals a & b, compute aRb in Roman numerals.