This is a very difficult exponent to be evaluated. The imaginary unit is uncountable, so you will be unable to evaluate the exponent like how you did conventionally, multiplying the number by itself for an uncountable number of times.
Continue reading “Finding a Complex Number to The Power of a Complex Number”Disable Security Manager in Java
This snippet code allows you to disable the Java Security Manager, provided that you have full access to any reflection related operations. It is not as simple as obtaining the security
static field within java.lang.System
and set the value to null
. More information will be given below. Also, this code is licensed under the Unlicense, which nearly gives you all permissions, except for modifying the original snippet code.
Finding the Square Root of complex numbers
Finding the square root of complex numbers is not an easy job. A complex number consists of the real part and the imaginary part, in the form of , where and are real numbers, and is the imaginary unit.
Continue reading “Finding the Square Root of complex numbers”Finding the Square Root of i
We often find square roots. For example, . Square roots are numbers which will result in the given number when multiplied twice. All numbers have square roots, even negative one, but just represented as an imaginary number and not possible with real numbers. In this article, we will talk about finding the square root of i.
Continue reading “Finding the Square Root of i”Optimizing the Chudnovsky Algorithm for Implementations
The Chudnovsky Algorithm is a fast method for calculating the digits of . Here is the definition:
The complexity of the algorithm is very high. It involves multiple factorials, exponents and calculations with large numbers. You should not directly implement the it as its definition, since the program will be pretty slow. Here shows some optimization of the algorithm for computations.
Continue reading “Optimizing the Chudnovsky Algorithm for Implementations”