Community Profile

photo

Tanguy


397 2012 이후 총 참여 횟수

담당자

Tanguy's 배지

  • Knowledgeable Level 1
  • First Answer
  • CUP Challenge Master
  • ASEE Challenge Master
  • Cody Challenge Master
  • Creator
  • Leader
  • Tiles Challenge Master
  • Commenter
  • Promoter
  • Speed Demon
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Add two numbers
Add two numbers (For beginners)

약 6년 전

해결됨


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

약 6년 전

해결됨


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

약 6년 전

해결됨


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

약 6년 전

해결됨


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

약 6년 전

해결됨


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...

약 6년 전

해결됨


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

약 6년 전

해결됨


only input
Return the output without writing any code into the function.

약 6년 전

해결됨


01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

약 6년 전

해결됨


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

약 6년 전

해결됨


03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

약 6년 전

해결됨


Return area of square
Side of square=input=a Area=output=b

약 6년 전

해결됨


Min of a Matrix
Return the minimum value in the given matrix.

약 6년 전

해결됨


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 --> ...

약 6년 전

해결됨


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

약 6년 전

해결됨


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

약 6년 전

해결됨


Function writing test
Tests your ability to write a trivial function.

약 6년 전

해결됨


Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

약 6년 전

해결됨


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

약 6년 전

해결됨


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

약 6년 전

해결됨


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

약 6년 전

해결됨


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

약 6년 전

해결됨


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

약 6년 전

해결됨


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

약 6년 전

해결됨


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

약 6년 전

해결됨


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

약 6년 전

해결됨


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

약 6년 전

해결됨


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

약 6년 전

해결됨


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

약 6년 전

해결됨


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

약 6년 전

Load more