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 > Fondamenti di architettura e programmazione > [Laboratorio] Esercizi fino al 26 - 11
Pages (3): « 1 2 [3]   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

come faccio ad elevare a potenza un numero???? in cmettevo "variabileE3" variabile alla 3 mi sembra!
è brutto e scomodo fare tutto il casino della somma *10ecc...meglio elevare..o no?

__________________
giO

19-11-2003 16:09
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ellegi
.powerbook.

User info:
Registered: Sep 2003
Posts: 185 (0.02 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: Terzo (1° turno)
Time Online: 1 Day, 21:10:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
come faccio ad elevare a potenza un numero???? in cmettevo "variabileE3" variabile alla 3 mi sembra!
è brutto e scomodo fare tutto il casino della somma *10ecc...meglio elevare..o no?


Ma per quale esercizio serve ? :? :?

__________________
"L'ossessione è la fonte perpetua del genio e della follia"

19-11-2003 16:36
Click Here to See the Profile for ellegi Click Here to See the Blog of ellegi Click here to Send ellegi a Private Message Find more posts by ellegi Add ellegi to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per il troncamento servirebbe di brutto!
metteresti il nemero *10 elevato alla cifra ennesima da tagliare(il valore intero da inserire) poi lo forzi in int e poi lo ridividi per 10 elevato alla cifra ennesima !!!!

__________________
giO

19-11-2003 16:59
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Mifune
dsy moderator

User info:
Registered: Jul 2003
Posts: 3061 (0.37 al dì)
Location: Milano/ we Milano 3
Corso: Work
Anno: Work
Time Online: 20 Days, 22:03:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
per il troncamento servirebbe di brutto!
metteresti il nemero *10 elevato alla cifra ennesima da tagliare(il valore intero da inserire) poi lo forzi in int e poi lo ridividi per 10 elevato alla cifra ennesima !!!!


ma io lo ho risolto senza queste complicazioni, pero consiglio di usare i Long!!!

__________________
Imac G5 2.1 Ghz 20" 1.5 Ram - Ibook 1.2 Ghz 12" 768 Ram - Ipod mini 4Gb - Base airport extreme - jbl creature
nippi.it - Blog

19-11-2003 17:01
Click Here to See the Profile for Mifune Click Here to See the Blog of Mifune Click here to Send Mifune a Private Message Visit Mifune's homepage! Find more posts by Mifune Add Mifune to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Fatemi un esempio di calcolo con dei valori che diano radice negativa....giusto per vedere se anche il mio prog li da uguali...tipo mettete dentro a=...b=... e C=... in modo che il delta dia negativo poi scrivetimi i vostri risultati così controllo...! grazie

__________________
giO

19-11-2003 17:10
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
foolish
bleak

User info:
Registered: Oct 2003
Posts: 3585 (0.44 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
come faccio ad elevare a potenza un numero???? in cmettevo "variabileE3" variabile alla 3 mi sembra!
è brutto e scomodo fare tutto il casino della somma *10ecc...meglio elevare..o no?


anche io ho provato in ogni modo ad elevare la variabile per far si che non dovevo fare la somma. Io ho risolto con un ciclo di for.

Ma ci deve essere un modo.

Quindi chi lo scopre lo dica... solo per curiosità!!

__________________
The only way to discover the limits of the possible is to go beyond them into the impossible.
Arthur C. Clarke.

19-11-2003 18:46
Click Here to See the Profile for foolish Click Here to See the Blog of foolish Click here to Send foolish a Private Message Find more posts by foolish Add foolish to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
EagleSpirit
.consigliere.

User info:
Registered: Oct 2003
Posts: 127 (0.02 al dì)
Location: VA
Corso:
Anno:
Time Online: 8 Days, 6:36:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

lo avevo chiesto tempo fa al tutor

C'è il metodo Math.pow(double x,double y) che restituisce un double, ma dato che non è stato menzionato a lezione, penso che l'esercizio vada risolto con il ciclo per il calcolo della potenza di dieci, quindi non modificare il tuo programma.

19-11-2003 21:26
Click Here to See the Profile for EagleSpirit Click here to Send EagleSpirit a Private Message Find more posts by EagleSpirit Add EagleSpirit to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 04:51.    Post New Thread    Post A Reply
Pages (3): « 1 2 [3]   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.057 seconds (61.76% PHP - 38.24% MySQL) con 24 query.