Skip to content

LL08-MathematicalModelling-dowell/R08.007.Random-Sampling.Dowell

Repository files navigation

R08.007.Random-Sampling.Dowell

Random Graph Function

Base URL

http://100022.pythonanywhere.com/

1. Field Random Points

End Point

/fieldrp/

Request

{
    "side": 100,
    "selection": 5,
    "choice": 0,
    "value": 10
}

Response

{
  "input_data": {
    "side": 100,
    "selection": 5,
    "choice": 0,
    "value": 10
  },
  "listOfPoints": [
    [
      0,
      -50
    ],
    [
      -35.673002392284054,
      -49.17753720129195
    ],
    [
      15.786318905249376,
      -17.999505001376477
    ],
    [
      32.90476906232237,
      -36.19725687805518
    ],
    [
      -30.40997593018656,
      -31.332570914541105
    ],
    [
      5.974991327546126,
      -14.821327151654636
    ],
    [
      29.99040382499477,
      -30.665698276149154
    ],
    [
      13.43904552010463,
      -16.945021551304585
    ],
    [
      25.96788429923947,
      -25.527392256719452
    ],
    [
      21.876765721316072,
      -21.81052206390099
    ]
  ],
  "success": true
}

2. Excel Random Points

End Point

/excelrp/

Request

{
    "side":100,
    "selection":10
}

Response

{
  "input_data": {
    "side": 100,
    "selection": 10
  },
  "listOfPoints": [
    [
      10,
      88
    ],
    [
      18,
      80
    ],
    [
      29,
      78
    ],
    [
      35,
      69
    ],
    [
      26,
      76
    ],
    [
      21,
      66
    ],
    [
      25,
      56
    ],
    [
      23,
      45
    ],
    [
      20,
      55
    ],
    [
      19,
      54
    ],
    [
      15,
      64
    ],
    [
      27,
      60
    ],
    [
      37,
      66
    ],
    [
      39,
      78
    ],
    [
      36,
      89
    ],
    [
      30,
      99
    ],
    [
      31,
      77
    ],
    [
      32,
      88
    ],
    [
      12,
      85
    ],
    [
      1,
      81
    ],
    [
      13,
      69
    ],
    [
      22,
      77
    ],
    [
      11,
      75
    ],
    [
      2,
      68
    ],
    [
      14,
      87
    ],
    [
      5,
      81
    ],
    [
      4,
      61
    ],
    [
      16,
      65
    ],
    [
      7,
      61
    ],
    [
      24,
      54
    ],
    [
      34,
      48
    ],
    [
      17,
      63
    ],
    [
      38,
      94
    ],
    [
      3,
      69
    ],
    [
      33,
      68
    ],
    [
      42,
      75
    ],
    [
      49,
      66
    ],
    [
      41,
      75
    ],
    [
      40,
      59
    ],
    [
      51,
      62
    ],
    [
      60,
      56
    ],
    [
      71,
      56
    ],
    [
      61,
      61
    ],
    [
      68,
      71
    ],
    [
      69,
      60
    ],
    [
      63,
      51
    ],
    [
      64,
      62
    ],
    [
      58,
      40
    ],
    [
      66,
      49
    ],
    [
      73,
      57
    ],
    [
      75,
      68
    ],
    [
      77,
      56
    ],
    [
      76,
      44
    ],
    [
      56,
      45
    ],
    [
      50,
      35
    ],
    [
      28,
      33
    ],
    [
      45,
      31
    ],
    [
      46,
      27
    ],
    [
      57,
      24
    ],
    [
      47,
      43
    ],
    [
      53,
      54
    ],
    [
      72,
      65
    ],
    [
      82,
      70
    ],
    [
      86,
      44
    ],
    [
      97,
      47
    ],
    [
      90,
      34
    ],
    [
      96,
      31
    ],
    [
      91,
      42
    ],
    [
      88,
      23
    ],
    [
      95,
      31
    ],
    [
      85,
      10
    ],
    [
      74,
      8
    ],
    [
      81,
      15
    ],
    [
      83,
      31
    ],
    [
      87,
      41
    ],
    [
      98,
      41
    ],
    [
      100,
      25
    ],
    [
      94,
      16
    ],
    [
      84,
      22
    ],
    [
      79,
      29
    ],
    [
      59,
      22
    ],
    [
      55,
      46
    ],
    [
      54,
      57
    ],
    [
      48,
      66
    ],
    [
      8,
      9
    ],
    [
      9,
      10
    ],
    [
      6,
      19
    ],
    [
      44,
      23
    ],
    [
      43,
      25
    ],
    [
      67,
      29
    ],
    [
      78,
      35
    ],
    [
      92,
      57
    ],
    [
      93,
      55
    ],
    [
      65,
      36
    ],
    [
      62,
      26
    ],
    [
      80,
      1
    ],
    [
      89,
      6
    ],
    [
      70,
      14
    ],
    [
      52,
      25
    ],
    [
      99,
      21
    ]
  ],
  "success": true
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published