Statistik
0 Probleme
279 Lösungen
RANG
N/A
of 301.052
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.162
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
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 number of...
mehr als ein Jahr vor
Gelöst
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
mehr als ein Jahr vor
Gelöst
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...
mehr als ein Jahr vor
Gelöst
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
mehr als ein Jahr vor
Gelöst
Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.
mehr als ein Jahr vor
Gelöst
Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.
mehr als ein Jahr vor
Gelöst
Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...
etwa 11 Jahre vor
Gelöst
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
etwa 11 Jahre vor
Gelöst
Check to see if a Sudoku Puzzle is Solved
*Description:* Your task, should you choose to accept it, is to make a function that checks to see if a 9x9 matrix of integer...
etwa 11 Jahre vor
Gelöst
Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9
etwa 11 Jahre vor
Gelöst
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
etwa 11 Jahre vor
Gelöst
give nth decimal place of pi
max 15th place after the decimal point is ok for now
etwa 11 Jahre vor
Gelöst
Stuff the Board
You have a stack of tiles to put onto an array-like playing board. Each tile has a number (always an integer), and the board var...
etwa 11 Jahre vor
Gelöst
Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...
etwa 11 Jahre vor
Gelöst
How long is the longest prime diagonal?
Stanislaw Ulam once observed that if the counting numbers are <http://en.wikipedia.org/wiki/Ulam_spiral arranged in a spiral>, t...
etwa 11 Jahre vor
Gelöst
Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...
etwa 11 Jahre vor
Gelöst
vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.
etwa 11 Jahre vor
Gelöst
02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>
etwa 11 Jahre vor
Gelöst
Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
etwa 11 Jahre vor
Gelöst
Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3
etwa 11 Jahre vor
Gelöst
Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...
etwa 11 Jahre vor
Gelöst
01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>
etwa 11 Jahre vor
Gelöst
Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...
etwa 11 Jahre vor
Gelöst
No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...
etwa 11 Jahre vor
Gelöst
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
etwa 11 Jahre vor





