Coherent Calculator

image

Computational logic

After entering the desired parameters and click on the button below to calculate adjustments:

  • Formula
  • Bigger N
  • Smaller N
  • Bigger M
  • Smaller M

So in this strategy is Fixed in Ft value entered, the other three parameters will be adjusted as needed.

Formula

         Calculate stretegy
         1. Force N to Nth power of 2
         2. With Fs and Ft fixed, calculate M based on N
         3. Force calculated M to the nearest prime number 
         4. Recalculate Fs based on the resulted M   

Bigger N

         Calculate stretegy
         1. Force nudN to (N+1)th power of 2
         2. With N and Ft fixed, calculate M based on given Fs
         3. Force calculated M to the nearest prime number 
         4. Recalculate Fs based on the calculated M

Smaller N

         Calculate stretegy
         1. Force nudN to (N-1)th power of 2
         2. With Fs and Ft fixed, calculate M based on N
         3. Force calculated M to the nearest prime number 
         4. Recalculate Fs based on the calculated M

Bigger M

         Calculate stretegy
         1. Force cbboxM to the bigger prime number 
         2. With Fs and Ft fixed, calculate the N with the resulted M;

Smaller M

         Calculate stretegy
         1. Force cbboxM to the smaller prime number 
         2. With Fs and Ft fixed, calculate the N with the resulted M;

Guess you like

Origin www.cnblogs.com/lyh523329053/p/11664797.html