inverse – How to get x value where area under curve is some number?

My goal is to get x value where area under the curve (from the x ~ infinity) is about 0.05. But the code which I have tried shows errors. How to correct it?

Solve(!(
*SubsuperscriptBox(((Integral)), (x), ((Infinity)))(
*FractionBox((
*SuperscriptBox((E), ((-x)/2)) 
*SuperscriptBox((x), (3/2))), (3 
*SqrtBox((2 (Pi))))) (DifferentialD)x)) == 0.05, x)

analytic number theory – A question on regularization of sum of expressions involving primes:

We know the following:

$$gamma=lim_{ntoinfty }left(sum_{k=1}^nfrac{1}{k}-ln(n)right)$$

This could be the good candidate for regularized sum of $left(sum_{k=1}^{infty}frac{1}{k}right)$.

Also we know the following:

$$-gamma=lim_{ntoinfty }left(sum_{pleq n}frac{ln(p)}{p-1}-ln(n)right)$$

I want to ask does this analogously mean that $-gamma$ is regularized value of $(sum_{p}frac{ln(p)}{p-1})$?

Also I wanted to ask similar question:

What is the regularized value of the following sum in above sense?

$$sum_{p} frac{1}{sqrt{cp}-1}$$

Here $c$ is a constant

Unprotect number constants

1 is not a valid symbol name. Set says that it is a raw object. How much do I need to break to make 1 a symbol, so that 1=stuff;1 evaluates to stuff?

Of course this is never useful in practice, and I imagine any way of doing it would need two kernel restarts just to wash away the dirty. I’m just curious, unless it’s built straight into the kernel.

analytic number theory – What’s the average order of the reduction of a section of an elliptic curve

Suppose $E$ is an elliptic curve over $mathbb Q$ and $x in E(mathbb Q)$ is not torsion. We can reduce $x pmod p$ for a prime $p$ of good reduction and it will have some order $n_p$ in the group $E(mathbb F_p)$. Has there been any work on the asympotitcs of $n_p$ as $p to infty$?

More generally, suppose $x,y in E(mathbb Q)$ are two linearly independent sections and let them generate subgroups $G_x(p),G_y(p) subset E(mathbb F_p)$ for a prime of good reduction. Have the asymptotics of $G_x(p)cap G_y(p)$ been studied?

This question seems tangentially related.

Keyboard number keys don’t work except for 5 6

Nothing happened at all it worked last time. I go on my computer and first my keys A D and K stopped working. I fixed it then my numbers stopped working and 5 6 only worked if you know how to fix this PLEASE help.

random – This code is a non-static C# class for rolling a number of dice

Fellow human beings, today I present to you my dice rolling script! Behold, in my amateurish attempt at some raw C# code. Perhaps this will remain here regardless of the dozens of other dice rolling scripts out there.

Contains a ‘for’ loop, a ‘switch’, and a method that returns a value.

I have indeed read through other, similar iterations of this class, and I have found them to be lacking in what I might learn from, usually due to over-complication for my tiny brain, or because it invoked the use of libraries I have yet to hear of.

I did my best to make it easy to read for whichever intrigued person stumbles upon this. I deeply respect and appreciate any who may take the time to offer any criticism on my code. What did I do right? What did I do wrong? I don’t have anyone or anywhere else to share it with.

using System;

namespace C_
{
    class RollDice : Program
    {


        //Variables

        int numOfDice;
        int numOfSides;

        int maxDice = 100;
        int minDice = 1;
        int maxSides = 100;
        int minSides = 1;
        int totalRolled;

        //Start method for number of Dice to throw - take the player input in InputMethod() which returns an int. If returning 0, then restart. Clamp the value between min/max. Continue to next function.

        public void GetDice()
        {
            Console.WriteLine("Welcome to Roll Dice!");
            Console.WriteLine("How many dice do you want to throw?");
            numOfDice = InputMethod();
            if(numOfDice == 0)
            {
                GetDice();
            }
            if (numOfDice > maxDice || numOfDice < minDice)
            {
                numOfDice = Math.Clamp(numOfDice, minDice, maxDice);
                Console.WriteLine($"Number of Dice set to {numOfDice}");
            }

            GetSides();
        }

        // Get the sides of each dice by using a similar process. Roll() for each dice, then sum the totals in RollTotal().

        public void GetSides()
        {
            Console.WriteLine("How many sides does each dice have?");
            numOfSides = InputMethod();
            if(numOfSides == 0)
            {
                GetSides();
            }
            if (numOfSides > maxSides || numOfSides < minSides)
            {
                numOfSides = Math.Clamp(numOfSides, minSides, maxSides);
                Console.WriteLine($"Number of Sides set to {numOfSides}");
            }

            for (int x = 1; x <= numOfDice; x++)
            {
                Roll();
            }

            RollTotal();
        }


        // Create a new Random() instance for the number of sides and add it to the totalRolled variable.

         public void Roll()
        {
            Console.WriteLine(".....");
            Console.WriteLine("Rolling");
            Random r = new Random();
            var result = r.Next(1, numOfSides + 1);
            Console.WriteLine($"You rolled {result}");
            totalRolled += result;
        }
        
        // Output the total and prompt to roll again or quit. Reset the total..

        public void RollTotal()
        {
            Console.WriteLine($"Total sum rolled is {totalRolled}");
            Console.WriteLine(" ");
            Console.WriteLine("Enter 1 to re-roll or 2 to quit.");
            var answer = InputMethod();

            switch (answer)
            {
                case 0:
                RollTotal();
                break; 
            
                case 1:
                totalRolled = 0;
                GetDice();
                break;           
            
                case 2:
                totalRolled = 0;
                Environment.Exit(0);
                break;
            
                default:
                Environment.Exit(0);
                break;
            }
        }

        //Convert the input to an integer if valid and return the value. Else return 0.

        public int InputMethod()
        {
            var input = Console.ReadLine();
            if(!Int32.TryParse(input, out int convertedStringToInt))

            {
                Console.WriteLine("You need to enter a valid number!");
                return 0;
            }
            
            else 
            
            {
                return Convert.ToInt32(input);
            }

        }

    }
}

What does two asterisks mean in this strange USA “phone number”? (**)

These are special “StarStar” numbers offered by StarStar Mobile: https://www.starstarmobile.com/

So the asterisks don’t really represent anything, they’re literal representations of * key/button you find on any phone.

While I’m not familiar with the details of the implementation, it appears to be a clever hack on VSCs, which are how telcos let you control various telephony features via the network itself:

https://en.wikipedia.org/wiki/Vertical_service_code

So presumably the Star Star folks have struck a deal with the big telcos to route any calls starting with ** their way, and they can then forward the calls to the paying customers.

javascript – v-data-footer__pagination display wrong number in Vue

I using data-list in vue something like below

<data-list :payload="modelObj" v-model="pagination" class="product_table" :headers="headers" :total="total" :pagination="pagination" >

I implemented searching on this list
Code something like

data(){
    NewValueSearching:''
    filterObj: {
        search: ''
      },
}

The function get data something like this

   this.modelObj.loading = true
   this.modelObj.module = this.MODULE_URL
   this.filterObj.isChanged = 1
   if(this.filterObj.search !== this.NewValueSearching){
     this.filterObj.isChanged = 0
     this.NewValueSearching= this.filterObj.search
    
   }

Then i call get list data function when i searching like code below

 filterObj.search' () {
      this.getDataHandler ()
    }

My problem is when page loaded data i go to page number 2 or number 3 and i search the list display data but the current page display wrong number it should be return to page 1 when user go to page 2 ,page 3 and so on and try to search

enter image description here

In image above it is display 76 it should display 1.

Thank you so much

probability – n>0 balls into x >= 2 bins. X represents the number of balls landing in bin1, and Y the number of balls landing in bin2.

I’m having trouble solving this problem. I don’t really know how to do it especially the last part.

We throw n>0 balls into x >= 2 bins. X represents the number of balls landing in bin1, and Y the number of balls landing in bin2.

  • Calculate: E(X), E(Y), E(X|Y), Var(X), cov(X,Y)
  • Calculate: L(X|Y), L(Y|X), Q(X|Y)? (where Q(X|Y) is the best quadratic estimator of Y given X, and L represents the Linear Least Square Estimate)

Google Analytics – Match URLs on Unique Number in Content Drilldown Using RegEx?

I am trying to track pageviews on Google Analytics for knowledge base articles (on Zendesk).
Each article has a unique number. However, the title of the page is sometimes appended to the URL, and GA tracks this as a separate page. If the title of the article changes, it generates a new URL.

For example, these would all be the same article, so I want to see a single pageviews count, but GA would show as 3 separate stats

/hc/en-us/articles/360039413394
/hc/en-us/articles/360039413394-How-To-Make-A-Sandwich
/hc/en-us/articles/360039413394-How-To-Make-A-Turkey-Sandwich

I want GA to roll up the articles matching on the unique number, and ignoring everything after that. Is there a built-in way to do this? Is there a way to do this with Regex? Where would I add the Regex for the Content Drilldown page? Help!

Thank you.