Convert Birkana to Hexademical
code-golf ascii-art string number hexadecimal
Introduction
Birkana is a not-very-well-known notation for hexadecimal using
rune-like symbols. The general structure of a Birkana rune is like this:
|\ <-- 0x1
|/ <-- 0x2
|\ <-- 0x4
|/ <-- 0x8
The ...
@MartinEnder The accident report stated that the cargo was badly secured, but that alone should have been recoverable. The crucial part that failed was a hinge on the elevators as far as I understand.
Given a set of roots, find the simplest polynomial (in the number of terms) that has those roots, where the first coefficient is always 1. For example:
Roots: x = 3, x = -2, x = 5.
(x - 3)(x + 2)(x - 5) = 0
x^3 - 6x^2 - x + 30 = 0
You may assume that the roots are unique. You may give the answ...
We're sorry! An error occurred while you were using GeoGebra. Please try again later and let us know if your problem persists. One of the following things has gone wrong:
You tried to access something which has been deleted from GeoGebra. Try using the search field above to find the material you are looking for. You do not have access to the page you requested, some pages are only available for moderators or administrators. Please sign in and try to access this page again. Sorry, there is a problem with this web address. Please go to this page in your web browser and copy the addre…
@orlp i signed in and then clicked you link again ^
I think it's funny when my method names, despite being accurate, sound like they do something totally different. Any guess what autocompleteTyping() does?
where a chebyshev coordinate is a 2-tuple (r, s), where r is the radius of a square centered on the origin, and s is a real number between 0-1 that increases linearly counter-clockwise along the perimeter of that square
p = (x^p+y^p)^(1/p) is it possible to solve for p here? x and y represent the cartesian coordinates of the point, while p is both the norm and distance.
I don't think you can explicitly solve it, but as you're working with real numbers, and I assume you're working with finite precision, you can do it numerically.
Are the corners that appear to stay still during the transition from square to diamond actually moving very slightly to make the radius strictly increasing?
but as long as for any angle alpha the distance of the origin to the curve at arbitrary r is strictly increasing, the coordinate system has a unique representation for any point
Determining the length of an irregular arc segment is also called rectification of a curve. Historically, many methods were used for specific curves. The advent of infinitesimal calculus led to a general formula that provides closed-form solutions in some cases.
== General approach ==
A curve in the plane can be approximated by connecting a finite number of points on the curve using line segments to create a polygonal path. Since it is straightforward to calculate the length of each linear segment (using the Pythagorean theorem in Euclidean space, for example), the total length of the ap...
@Maltysen Sounds like your usage is entirely correct. I guess it would be worth including an explanation in the challenge as "arc" is firmly connected with circle arcs for many (me...)
@Lynn In this answer you use Pyth's .R, which transforms -0.5 into 0. This is unlike Python's (and Matlab's) round, which according to the documentation would give -1. Are they different functions then? Do you know if there's a function in Python that corresponds to Pyth's .R?
@feersum The function could be defined along those lines. What I find surprising is that Pyth uses a round function different than Python's homonymous function
Chebyshev Rotation
code-golf
Given a number n, all the points on the plane with integer coordinates with Chebyshev-distance less or equal to n. Within this set, the Chebyshev-Rotation (as defined in this challenge) moves each point counterclockwise to the next point along it's contour line of t...