Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168749
Image: ubuntu2004
import numpy as np import random as rnd from numpy.random import random_sample x1, y1 = 40. + 1./60. + 31.79/3600., 75. + 18./60. + 38.46/3600 x2, y2 = 40. + 1./60. + 49.57/3600., 75. + 18./60. + 39.54/3600 x3, y3 = 40. + 1./60. + 47.15/3600., 75. + 19./60. + 2.17/3600 x4, y4 = 40. + 1./60. + 26.12/3600., 75. + 18./60. + 56.45/3600 pts = [[random()*(x2-x4)+x4, random()*(y3 - y1)+y1] for i in range(100)] for j in pts: print j points([[x1,y1]], color='red') + points([[x2,y2]], color = 'red') + points([[x3,y3]], color = 'red') + points([[x4,y4]], color='red') + points(pts, color = 'grey') # Below are 100 random coordinates sort of between your boundaries # Below this list is a plot of the points with the corners of your plot in red
[40.0264186655499, 75.3170485877265] [40.0243237067998, 75.3167728468522] [40.0301286098557, 75.3154809770936] [40.0266169229977, 75.3170540084196] [40.0296392083070, 75.3165532341043] [40.0282091094256, 75.3115273002290] [40.0241941373678, 75.3114813031480] [40.0269517050808, 75.3144383762848] [40.0262341642757, 75.3162255061667] [40.0268185787107, 75.3112552961298] [40.0262945632514, 75.3163943540238] [40.0252386243990, 75.3131419094120] [40.0291232155925, 75.3123520456433] [40.0284470840113, 75.3125065416274] [40.0276027475199, 75.3148154800097] [40.0264102954239, 75.3146362637249] [40.0272753258866, 75.3150895387261] [40.0294205028785, 75.3117453246553] [40.0288531871912, 75.3128111715380] [40.0276671924291, 75.3170378188723] [40.0257167386397, 75.3171429984770] [40.0294282274408, 75.3120701898151] [40.0288116509829, 75.3151640238659] [40.0297256431435, 75.3141250327307] [40.0283889604476, 75.3168191802321] [40.0266618876041, 75.3162624513347] [40.0240105541824, 75.3148176733460] [40.0258424055152, 75.3164107517050] [40.0259258793159, 75.3107945797636] [40.0253771744919, 75.3114213306132] [40.0276997279191, 75.3161263277592] [40.0298157935052, 75.3161594678214] [40.0274134987050, 75.3129281352640] [40.0266851894712, 75.3119979451584] [40.0277836103814, 75.3113157792244] [40.0269989750771, 75.3129534502769] [40.0243603510479, 75.3108939710128] [40.0243101431414, 75.3119808219295] [40.0266665715680, 75.3168569984845] [40.0246115033308, 75.3170360937960] [40.0276891380244, 75.3155604106743] [40.0276421913453, 75.3143432738226] [40.0272683187565, 75.3155056768701] [40.0293017779576, 75.3128443618171] [40.0278431273510, 75.3107561217261] [40.0282442071168, 75.3108947628913] [40.0273784131270, 75.3111014860589] [40.0290239111034, 75.3127087935331] [40.0253301593608, 75.3137221129449] [40.0260486938445, 75.3158825490359] [40.0290473352907, 75.3153276206332] [40.0249577699711, 75.3109117147048] [40.0257781044164, 75.3139851850399] [40.0250016376380, 75.3107843249976] [40.0294954253949, 75.3148164483365] [40.0265358021486, 75.3154255540802] [40.0295836274071, 75.3137226804025] [40.0276189920257, 75.3112894998928] [40.0242348177270, 75.3147512815237] [40.0263270688466, 75.3131031966974] [40.0260295134480, 75.3142583062280] [40.0241229091489, 75.3129750519935] [40.0252982222186, 75.3156081651075] [40.0254765935441, 75.3149250231991] [40.0294212122854, 75.3114372785444] [40.0245715199948, 75.3147172772464] [40.0284498729741, 75.3135823652601] [40.0243885906282, 75.3125721936721] [40.0252509364165, 75.3141628582859] [40.0244220532972, 75.3158370157482] [40.0260028288054, 75.3121193093999] [40.0297376010739, 75.3144090119270] [40.0280664306191, 75.3136195981371] [40.0301087388328, 75.3153314104868] [40.0290290497446, 75.3138608060703] [40.0269045866251, 75.3137187699749] [40.0273960344103, 75.3161083985107] [40.0270368188938, 75.3114129355524] [40.0257575342900, 75.3157072279485] [40.0275346659012, 75.3146904839635] [40.0251414197691, 75.3129148402536] [40.0284106036993, 75.3131247678413] [40.0297830208648, 75.3151465388527] [40.0250380935998, 75.3119053575474] [40.0295683396210, 75.3143767460100] [40.0275021030406, 75.3132183501286] [40.0296047722024, 75.3120240609977] [40.0264349580774, 75.3150682442280] [40.0247223826379, 75.3112453327422] [40.0254341610715, 75.3140472511010] [40.0283319057638, 75.3146815116213] [40.0289219547270, 75.3124721270933] [40.0262417198759, 75.3132364876144] [40.0254289517055, 75.3151714791702] [40.0296552931375, 75.3167001429290] [40.0258351687979, 75.3118154331244] [40.0259624613682, 75.3134270503895] [40.0256807988782, 75.3155539292380] [40.0256987500282, 75.3120803066588] [40.0259307598490, 75.3126099882134]