phabio junior Posted July 1, 2016 Share Posted July 1, 2016 Olá Todos do Forum Estou abrindo este pequeno espaço para tirar duvidas sobre Matrizes. Vamos lá... Presciso que alguem me esclareça umas duvidas, se for possivel atenda meu apelo em seguida. Primeira duvida é possivel Gerar 2 ou mais Matrizes com posiçoes diferentes que mantenham a mesma garantia com as mesmas condiçoes? exemplo Matriz 19-15-14-15 = 110 esta Matriz os numeros estao nas posiçoes x certo? Mas quero outra Matriz com 19 numeros 19-15-14-15= 110 a diferença da primeira Matriz sao combinaçoes diferentes, novas posiçoes sem conter duplicidade, cada uma assumindo a mesma garantia... Lembrando que a Matriz citada é apenas EXEMPLO. Existe esta possibilidade? Alguem dar uma Luz aqui? Se nao entendeu explico novamente. Att. Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 1, 2016 Author Share Posted July 1, 2016 É claro que pode Gerar uma Matriz 19-15-14-15= 220 e dividir, mas nao é este meu raciocinio.... Quote Link to comment Share on other sites More sharing options...
BigMax Posted July 1, 2016 Share Posted July 1, 2016 (edited) Use o Htloto para fazer substituições diferenciadas a cada X. Na 1ª faz assim: 1= 12 2= 33 3= 45 etc... Na outra X faz assim: 1= 50 2= 17 3= 28 4 = 12 5= 33 6= 45 etc... É só inverter a posição das dezenas etc... um modelo- fiz com poucas alterações: 13 14 15 16 17 18 19 20 13 14 15 16 17 18 19 23 13 14 15 16 17 18 21 22 13 14 16 19 20 21 22 23 13 15 18 19 20 21 22 23 13 16 17 19 20 21 22 23 14 15 17 19 20 21 22 23 14 17 18 19 20 21 22 23 15 16 18 19 20 21 22 23 //////////////// 13 14 15 16 17 18 21 23 13 14 15 16 18 19 20 22 13 14 15 17 19 20 21 22 13 14 15 18 19 20 22 23 13 14 16 17 19 20 22 23 13 14 16 19 20 21 22 23 13 14 17 18 19 20 21 22 13 15 16 17 18 20 21 23 15 16 17 18 19 21 22 23 Edited July 1, 2016 by BigMax incluir 2 matriz Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 1, 2016 Author Share Posted July 1, 2016 (edited) Obridado BigMax! Então é possivel construir permanecendo as mesma garantias e condiçoes. legal! Vou buscar entender aos poucos. Att. Edited July 1, 2016 by phabio junior . Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 1, 2016 Author Share Posted July 1, 2016 Fiz nesse modelo testei a Matriz 17-15-14-15= 8 e inverti os numeros e nao houve duplicaçao.. Matriz / A 1 2 4 5 7 8 9 10 11 12 13 14 15 16 17 1 2 3 4 5 6 7 8 9 11 12 13 15 16 17 1 2 3 4 5 6 8 9 10 11 13 14 15 16 17 1 3 4 5 6 7 8 9 10 12 13 14 15 16 17 1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 14 15 17 1 2 3 4 5 6 7 9 10 11 12 13 14 16 17 2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 Matriz / B 17 16 14 13 11 10 9 8 7 6 5 4 3 2 1 17 16 15 14 13 12 11 10 9 7 6 5 3 2 1 17 16 15 14 13 12 10 9 8 7 5 4 3 2 1 17 15 14 13 12 11 10 9 8 6 5 4 3 2 1 17 16 15 13 12 11 10 9 8 7 6 5 4 3 2 17 16 15 14 13 12 11 10 9 8 7 6 4 3 1 17 16 15 14 13 12 11 9 8 7 6 5 4 2 1 16 15 14 12 11 10 9 8 7 6 5 4 3 2 1 Nesse modelo você indicou? Ou tem outras diferente? Att. Quote Link to comment Share on other sites More sharing options...
visualsorte Posted July 1, 2016 Share Posted July 1, 2016 A cada ordem de entrada das dezenas cria-se um conjunto de combinações diferentes. Para cálculo da quantidade de ordens de entradas usa-se a fórmula de Permutação que é o fatorial da quantidade de dezenas e que no caso é : 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 ........até x 19. O valor desee cálculo é 121.645.100.408.832.000 ou seja mais de 120 quatrilhões conjuntos diferentes. Então embora a garantia mínima seja mantida, a quantidade de prêmios se altera. Visual Sorte 1 Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 1, 2016 Author Share Posted July 1, 2016 Entendi. Só quero gerar a segunda Matriz a terceira etc.. mas todas mantendo as mesma garantias e tambem %. Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 2, 2016 Author Share Posted July 2, 2016 Alguem sabe Gerar Matriz com a menor garantia possivel?, mas que a quantidade de conjuntos gerados seja igual ao da Matriz que assume a garantia real 100%. Exemplo Mariz x-x-14-15 = 100 100% 14 se 15, mas quero outra similar x-x-14-15 = 100 más nao seja 100%. (Sao apenas exemplos) Parece bobagem pessoal mas é assunto serio. Quote Link to comment Share on other sites More sharing options...
munizf Posted July 2, 2016 Share Posted July 2, 2016 (edited) Vc quer a mesma matriz mas com disposições(arranjo interno) diferentes? C(05,03,01,03,01)=1 - 100% linha1: 02 03 05 outra C(05,03,01,03,01)=1 - 100% linha1: 01 02 03 Edited July 2, 2016 by munizf Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 2, 2016 Author Share Posted July 2, 2016 (edited) 18 minutos atrás, munizf disse: Vc quer a mesma matriz mas com disposições(arranjo interno) diferentes? C(05,03,01,03,01)=1 - 100% linha1: 02 03 05 outra C(05,03,01,03,01)=1 - 100% linha1: 01 02 03 Isso, exemplo Matriz 20-15-14-15 = 356 100% 14 , ela fecha 14 e até 15 pontos. meu pedido é gerar 20-15-14-15 =350 mas nao 100% para 14, ou seja, gerar matriz com a menor garantia possivel. Edited July 2, 2016 by phabio junior . Quote Link to comment Share on other sites More sharing options...
munizf Posted July 2, 2016 Share Posted July 2, 2016 Já pensou em gerar todas as C(20,15,15,15,01)=15.504 e usar as primeiras 350 linhas? Poderá fazer no COLOGA. Penso eu que deverá achar onde as colisões acontecem para "melhorar" a matriz ou "piorar" nesse caso. Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 2, 2016 Author Share Posted July 2, 2016 (edited) Quero gerar 20-15-15-15= 15.504 depois que encontrar a matriz que citei... porque realmente quero piorar a matriz que mencionei. Ainda nao usei as 350 primeira da matriz, é presciso testa la. Edited July 2, 2016 by phabio junior . Quote Link to comment Share on other sites More sharing options...
munizf Posted July 2, 2016 Share Posted July 2, 2016 (edited) As 350 primeiras linhas fica com 19,5820%... vamos ver as 350 do fim... 26,9995% Edited July 2, 2016 by munizf 1 Quote Link to comment Share on other sites More sharing options...
phabio junior Posted July 2, 2016 Author Share Posted July 2, 2016 1 hora atrás, munizf disse: As 350 primeiras linhas fica com 19,5820%... vamos ver as 350 do fim... 26,9995% Nossa é por ai. Rsrs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.