Math and graph representing a competitive struggle between competitors with a fixed  number of supporters.

  1. A data set of 1000. 10 competitors. Need a graph over time representing gain or loss for each competitor starting with 0 which represents 1000/10. Positive when competitor wins support from other competitor and negative from looser. Is there an algorithm that can be used to calculate and graph data?
  • Mathe Mathe

    Could you try to rephrase your question?

  • Hi Kev, I'm trying to develop an app that brings people closer to their governments. The idea is to allow people to virtually move their support between law makers in the same legislative body. By taking the sum of support for all law makers voting yes, to a piece of legislation, devided by the total support available times 100 or percentage of concensus. I think you have grasped the question well. I was hoping ther was a ready made algorithm where you could pop in the fixed values.

  • I will suggest programmers use python. I would like to use a graph for each legislator where support is reset to 0 after election and then shows popularity of positive or negative with 0 as x axis over time.


Answers can be viewed only if
  1. The questioner was satisfied and accepted the answer, or
  2. The answer was disputed, but the judge evaluated it as 100% correct.
View the answer
Kav10 Kav10
  • Kav10 Kav10

    I am glad that I have grasped the question well! I can try to write a python code for the steps I provided above but it takes some time.

  • Thanks Kav, I'm waiting for response from team to use python. If they need help how much time are you thinking?

    • Kav10 Kav10

      Sure. Do you like the approach I provided above? Do you want me write a Python code for that? If the approach makes sense to you, I can write a python code on Monday.

  • Thanks Kav, I do like your approach. We want to be able to demonstrate the popularity of each legislator inside a legislative body with a graph over time of + or - support on the x axis. The x axis is set to 0 after an election. At that time each legislator has support from total #of voters / number of legislators. Are you AI? Would you like to communicate using my email [email protected]?

    • Kav10 Kav10

      Sounds good. But Matchmaticians does not allow communication outside their platform. Unless that has changed recently, we need to communicate here. I can work on the code tomorrow and send it here. I will let you know how much time I spent. I charge $65/hr. The website takes 20% commission. You can then tip me here. Does that work for you?

  • Hi Kav10, Just asking, like everything on internet these days, all locked down. I haven't heard from my developers yet. We usually meet Tuesday night. If they can use code I will hire you. Thanks again

    • Kav10 Kav10

      @Matchmaticians, please let me know if things have changed and users are allowed to interact outside the platform and maybe come back here to set a question or add tip?

    • Kav10 Kav10

      Sounds good Gaiagov2023!

The answer is accepted.
Join Matchmaticians Affiliate Marketing Program to earn up to 50% commission on every question your affiliated users ask or answer.