Community Profile

photo

William


Last seen: Today
3 386 total contributions since 2012

Contact

William's Badges

  • Cody5 Hard Master
  • Introduction to MATLAB Master
  • Combinatorics I Master
  • Computational Geometry III Master
  • Word Puzzles Master
  • Strings I Master
  • Card Games Master
  • Project Euler I
  • Divisible by x Master
  • Computational Geometry IV Master
  • Indexing V Master
  • Computational Geometry II Master
  • Draw Letters
  • Matrix Manipulation I Master
  • Magic Numbers II Master

View all

Contributions in
View by

Solved


Find the point of intersection of tangents.
Given two points on a conic, find the point of intersection of the corresponding tangents. The conic is given in Cartesian co...

environ 6 heures ago

Solved


Connect Four - 03
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> <https://www.mathworks.co...

1 jour ago

Solved


Connect Four - 02
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> In addition to previous proble...

2 jours ago

Solved


Connect Four - 01
Connect four is a two player board game. <https://en.wikipedia.org/wiki/Connect_Four> Given a complete connect-four board,...

2 jours ago

Solved


Kissing Circles-01
Three circles are mutually tangent to each other and also to a line. find the radius of the smallest circle. The radius of th...

2 jours ago

Solved


Number generator
In this problem, a number will be given. starting with the first digit, keep on adding all subsequent digits till the state (...

2 jours ago

Solved


Cat's paw - 01
lets imagine a cat, standing on an infinitely long row of tiles. since its a 'cat', string length=3; it takes 3 tiles to stand. ...

2 jours ago

Solved


Area-07
This is a follow up of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06> in this case, fi...

2 jours ago

Solved


Grazing-01
A cow is tied to an outside corner of a rectangular barn of size (a,b) with a rope of length l. What is the maximum area the cow...

4 jours ago

Solved


Area-06
The length of the side of a square is given. Draw 4 quarter-circles inside the square from 4 corners with a radius equal to t...

5 jours ago

Solved


Sieve of Eratosthenes
Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

5 jours ago

Solved


How lucky r u ?
Find the nth number in the following sequence <https://oeis.org/A264940>

5 jours ago

Solved


lucky
check whether n is a lucky number <https://oeis.org/A000959>

5 jours ago

Solved


Find the shortest distance between a point and a straight line.
Given the Cartesian coordinates of three points A, B and C (in a flat Euclidean space), find the shortest distance between the ...

6 jours ago

Solved


chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example, * 'Qd5' >> [3,4]...

6 jours ago

Solved


Area-05
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

7 jours ago

Solved


XOR fibonacci
a & b are the first two terms in the xor fibonacci sequence. Find the nth term of that sequence. XOR fib sequence is that in ...

7 jours ago

Solved


Take it out
Consider the integer number sequence N (1 to infinity). After each iteration, take out the (k+1)th elements; where k is the n...

7 jours ago

Solved


Area-04
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

7 jours ago

Solved


Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

7 jours ago

Solved


Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner. ...

7 jours ago

Solved


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

7 jours ago

Solved


Castling-03
Given the position of different chess pieces on the chessboard, figure out whether castling is valid or not in the next move (wh...

8 jours ago

Solved


Castling-02
This is a follow up of problem <https://www.mathworks.com/matlabcentral/cody/groups/1/problems/45329-castling-01> Given...

8 jours ago

Solved


Castling-01
Given the position of only one player's chess pieces(some of them) on the chessboard, figure out whether castling is valid or no...

8 jours ago

Solved


Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

8 jours ago

Solved


Design matrix from eigenvalues
Write a function that takes one input argument n and outputs a (n x n) square matrix A with the following properties: -A has...

8 jours ago

Solved


Decimal Fraction to binary conversion
Given an fraction decimal number n, convert it to its equivalent binary number. If it is an infinite binary fraction, keep it...

9 jours ago

Solved


leap year
find the number of leap years within the given time interval

9 jours ago

Solved


SHA256 Hashing
Conduct SHA256 hashing on a hexadecimal input to produce a 256-bit hexadecimal output. Example: hash = SHA256('aa') hash ...

10 jours ago

Load more