Pi Estimate 1
Estimate Pi as described in the following link:
<http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
6年弱 前
解決済み
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...
6年弱 前
解決済み
Box
Give the volume of a box, x is equal to the body diagonal.
6年弱 前
問題
Box
Give the volume of a box, x is equal to the body diagonal.
6年弱 前 | 4 | 195 個のソルバー
解決済み
Box!
Given a box, find the volume of the cube. With each side = a.
Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN;
output -> matrix(p*m), the same matrix where we deleted the enti...
6年弱 前
解決済み
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody.
Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
6年弱 前
解決済み
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input vector of numbers, output a square array with the...
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...
6年弱 前
解決済み
Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.
6年弱 前
解決済み
Multiply a column by a row
* Given a column vector C and and a row vector R.
* Output a matrix M.
* Every column of M equals to C multiplied by correspon...
6年弱 前
解決済み
0<=x<=pi?
Check whether the given angle is between zero and pi.
Return logical true or false.