Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Architettura degli elaboratori e delle reti > Programma q-fattoriale d'antona
Pages (4): [1] 2 3 4 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Programma q-fattoriale d'antona

Mi è sembrato MOLTO piu semplice rispetto a quelli degli altri anni...

C'è qualcuno che l'ha fatto e può controllare alcuni risultati per sicurezza ?

[1]1!=1
[8]1!=56
[4]6!=11137
[4]3!=520
[3]9!=910
[7]9!=1061864866
[5]12!=42640585

23-01-2008 15:09
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fighter_81
.novellino.

User info:
Registered: Jul 2006
Posts: 7 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:25:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusami, io l'ho fatto, allora, quando scrivi [8]1! intendi

n=8 e q=1?

perchè in quel caso da quanto ho capito le specifiche con q=1 ottengo il fattoriale di 8 giusto?

che è:

8!=8*7*6*5*4*3*2

e non 8*7=56

nel tuo prog da quanto vedo non hai memorizzato il risultato parziale e quindi ti da 56, magari sbaglio io

23-01-2008 15:35
Click Here to See the Profile for fighter_81 Click here to Send fighter_81 a Private Message Find more posts by fighter_81 Add fighter_81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si intendo n=8 e q=1,

io credo che il valore sia da calcolare cosi:

(1+ 1^2 + ... + 1^(8-2)) * (1+ 1^2 + ... + 1^(8-1))=7*8=56

tu come arrivi tramite il q-fattoriale ad ottenre quel risultato?

23-01-2008 16:31
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mi sa che hai ragione tu....ho ricontrollato bene le specifiche :)

23-01-2008 16:32
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mi puoi confermare se gli altri risultati ti tornano?

23-01-2008 16:36
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fighter_81
.novellino.

User info:
Registered: Jul 2006
Posts: 7 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:25:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sinceramente mi viene uguale solamente [3]9!

23-01-2008 17:44
Click Here to See the Profile for fighter_81 Click here to Send fighter_81 a Private Message Find more posts by fighter_81 Add fighter_81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il metodo generale per calcolarsi il tutto a parte il caso che mi hai fatto notare tu, dovrebbe essere:
(1 + q + q^2 + ... + q^n-2) * (1 + q + q^2 + ... + q^n-1)

ti torna?

23-01-2008 19:59
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fighter_81
.novellino.

User info:
Registered: Jul 2006
Posts: 7 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:25:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusa se non ti ho risposto ieri ma mi sono concesso dopo tanto studio di vedere la partita, allora per come ho capito io la formula era questa:

(1+q) * (1+q+q^2) * .......... *(1+q+q^2+....+q^n-2) * (1+q+q^2+..q^n-2+q^n-1);

quindi ad esempio per q=2 e n=3 a me viene:

(1+2) * (1+2+4) = 21 ti risulta?

per n=4 e q=2 invece:

(1+2) * (1+2+4) * (1+2+4+8) = 315

a te risulta cosi? magari ho capito male io le specifiche, non saprei....

Ciao

24-01-2008 07:48
Click Here to See the Profile for fighter_81 Click here to Send fighter_81 a Private Message Find more posts by fighter_81 Add fighter_81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok, ora ho capito com'è il sistema di calcolo...ed effettivamente cosi ha piu senso..., come alsolito avevo interpretato male :(

grazie mille per il momento, sistemo e mi rifaccio vivo :)

24-01-2008 09:38
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sistemato e fatto alcuni test verificando anche su carta per numeri piccoli e ora dovrebbe esere tutto a posto, ricapitolando:

[1]1!=1
[3]1!=6
[8]1!=40320
[4]6!=77959
[4]3!=2080
[3]9!=910
[7]9!=803923568
[5]12!=1130088065

24-01-2008 10:43
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fighter_81
.novellino.

User info:
Registered: Jul 2006
Posts: 7 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:25:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

stessi risultati!!!!!!

24-01-2008 12:16
Click Here to See the Profile for fighter_81 Click here to Send fighter_81 a Private Message Find more posts by fighter_81 Add fighter_81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Motomax
.amico.

User info:
Registered: Nov 2004
Posts: 25 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: 2
Time Online: 9:02:47 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao,
Scusate potreste aiutare anche a me come funziona??

ho provato con
[4]3!=2080 e quindi n=4 e q=3 e la formula dovrebbe essere:
(1+3)*(1+3+3^2)*(1+3+3^2+3)

Mi dite cortesemente dove sbaglio?

24-01-2008 12:26
Click Here to See the Profile for Motomax Click here to Send Motomax a Private Message Find more posts by Motomax Add Motomax to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Larios
.consigliere.

User info:
Registered: Oct 2007
Posts: 114 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 20:21:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

credo tu abbia dimenticato l'ultimo 3^3

dovrebbe essere cosi:

(1+3)*(1+3+3^2)*(1+3+3^2+3^3)

24-01-2008 13:06
Click Here to See the Profile for Larios Click here to Send Larios a Private Message Find more posts by Larios Add Larios to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blade_77
.novellino.

User info:
Registered: Mar 2007
Posts: 7 (0.00 al dì)
Location: Figino Serenza
Corso: Informatica
Anno: terzo
Time Online: 3:22:50 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

..io l'ho finito e sono un paio di giorni che faccio prove su prove (visto che lo scorso progetto non ne avevo fatte abbastanza e non funzionava con alcuni valori) per vedere se tutto funziona a dovere...e per quanto ne so, funziona tutto splendidamente...

Vorrei chiedere come posso gestire i casi come questo :
[10]10! = -490692093 ?esiste un sistema per evitare questo errore?

metto un po' di valori che vorrei mi controllaste:
[5]5! = 22661496
[4]5! = 29016
[5]4! = 3043425

giusti?

01-02-2008 13:23
Click Here to See the Profile for blade_77 Click here to Send blade_77 a Private Message Find more posts by blade_77 Add blade_77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fighter_81
.novellino.

User info:
Registered: Jul 2006
Posts: 7 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:25:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

assolutamente...................................si

01-02-2008 14:26
Click Here to See the Profile for fighter_81 Click here to Send fighter_81 a Private Message Find more posts by fighter_81 Add fighter_81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 15:01.    Post New Thread    Post A Reply
Pages (4): [1] 2 3 4 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.048 seconds (74.21% PHP - 25.79% MySQL) con 27 query.