Closed FabioZTessitore closed 7 years ago
i casi sono fatti male, la soluzione è più semplice. Prima di tutto considera i casi peggiori: 1) a, b, c tutti nulli 2) a, b nulli (quindi c non nullo) 3) a nullo (quindi b non nullo) 4) qui ci sono veramente le equazioni di 2^ grado e devi verificare il delta
Lo rifaccio?
2016-11-03 16:26 GMT+01:00 Fabio Z Tessitore notifications@github.com:
i casi sono fatti male, la soluzione è più semplice. Prima di tutto considera i casi peggiori: 1) a, b, c tutti nulli 2) a, b nulli (quindi c non nullo) 3) a nullo (quindi b non nullo) 4) qui ci sono veramente le equazioni di 2^ grado e devi verificare il delta
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258175845, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_YRa8W4KFoWgIXU7jfGwG2k4Pobrks5q6f0ngaJpZM4KnGHs .
lo devo rifare io?
ahahahah vado
2016-11-03 16:31 GMT+01:00 Fabio Z Tessitore notifications@github.com:
lo devo rifare io?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258177343, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_T4lmpuBS4DL9dApEeGuemnyyT76ks5q6f44gaJpZM4KnGHs .
Però comunque si trovava tutto
2016-11-03 16:31 GMT+01:00 carlo ruzzon carloruzzon@gmail.com:
ahahahah vado
2016-11-03 16:31 GMT+01:00 Fabio Z Tessitore notifications@github.com:
lo devo rifare io?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258177343, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_T4lmpuBS4DL9dApEeGuemnyyT76ks5q6f44gaJpZM4KnGHs .
Prof io ho fatto, ma mettiamo caso che si inserisca un'equazione spuri o pura, lui ce la darà come impossibile
2016-11-03 16:35 GMT+01:00 carlo ruzzon carloruzzon@gmail.com:
Però comunque si trovava tutto
2016-11-03 16:31 GMT+01:00 carlo ruzzon carloruzzon@gmail.com:
ahahahah vado
2016-11-03 16:31 GMT+01:00 Fabio Z Tessitore notifications@github.com:
lo devo rifare io?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258177343, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_T4lmpuBS4DL9dApEeGuemnyyT76ks5q6f44gaJpZM4KnGHs .
aggiusta il terzo caso, non è necessario scrivere tutta quella roba, basta a==0
Ma se proviamo a mettere 1 0 0 lui cercherà di calcolare il delta...
2016-11-03 16:49 GMT+01:00 Fabio Z Tessitore notifications@github.com:
aggiusta il terzo caso, non è necessario scrivere tutta quella roba, basta a==0
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258183566, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_eyP2rK3ObcSSezNL0uzxJpgkpdSks5q6gKbgaJpZM4KnGHs .
Vabbe faccio come dite voi e basta
Il giorno 3 novembre 2016 16:53, carlo ruzzon carloruzzon@gmail.com ha scritto:
Ma se proviamo a mettere 1 0 0 lui cercherà di calcolare il delta...
2016-11-03 16:49 GMT+01:00 Fabio Z Tessitore notifications@github.com:
aggiusta il terzo caso, non è necessario scrivere tutta quella roba, basta a==0
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258183566, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_eyP2rK3ObcSSezNL0uzxJpgkpdSks5q6gKbgaJpZM4KnGHs .
Fatto
Il giorno 3 novembre 2016 16:54, carlo ruzzon carloruzzon@gmail.com ha scritto:
Vabbe faccio come dite voi e basta
Il giorno 3 novembre 2016 16:53, carlo ruzzon carloruzzon@gmail.com ha scritto:
Ma se proviamo a mettere 1 0 0 lui cercherà di calcolare il delta...
2016-11-03 16:49 GMT+01:00 Fabio Z Tessitore notifications@github.com:
aggiusta il terzo caso, non è necessario scrivere tutta quella roba, basta a==0
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258183566, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_eyP2rK3ObcSSezNL0uzxJpgkpdSks5q6gKbgaJpZM4KnGHs .
se metti 1 0 0 sei proprio nel caso 3
hai aggiustato l'if, ma devi aggiustare cosa calcolare
Si ma in realtà l'equazione è nulla, io puntavo tutti i tipi di equazioni, perciò avevo messo anche spurie e varie in quelo modo ci diceva tutto e valeva per tutte le equazioni di 2° grado
2016-11-03 16:55 GMT+01:00 Fabio Z Tessitore notifications@github.com:
se metti 1 0 0 sei proprio nel caso 3
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258185345, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_RrOLcvq1d7X5BX7GrnRUhQL9VQNks5q6gPogaJpZM4KnGHs .
in realtà non sai la matematica
Aahahhahah se lo dite voi, vabbene comunque ho aggiustato l'if e cambiato il valore all'interno
2016-11-03 16:57 GMT+01:00 Fabio Z Tessitore notifications@github.com:
in realtà non sai la matematica
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258186081, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_WKJwafZaR6HaHnWebK3SDimneqsks5q6gRsgaJpZM4KnGHs .
ma hai rimesso il vecchio codice ... aggiusta
fatto...
2016-11-03 17:34 GMT+01:00 Fabio Z Tessitore notifications@github.com:
ma hai rimesso il vecchio codice ... aggiusta
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258197734, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_Qmz6dyNgsLIw67p0qNTW_m20Jciks5q6g0pgaJpZM4KnGHs .
sei testardo quando a è 0 devi calcolare la soluzione (unica)
Va bene così?
2016-11-03 17:47 GMT+01:00 Fabio Z Tessitore notifications@github.com:
sei testardo quando a è 0 devi calcolare la soluzione (unica)
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258201778, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_f-Wp44FBObZ1UaJqstwYoAJTub0ks5q6hA9gaJpZM4KnGHs .
ti sei avvicinato, ma ancora non va bene. Che fine ha fatto b?
Me n'ero scordato, risolto
2016-11-03 20:08 GMT+01:00 Fabio Z Tessitore notifications@github.com:
ti sei avvicinato, ma ancora non va bene. Che fine ha fatto b?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258243935, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_d2IzU5quAwox44wBOPrTxCoPTfzks5q6jE7gaJpZM4KnGHs .
Va bene?
Il 3 nov 2016 8:56 PM, "carlo ruzzon" carloruzzon@gmail.com ha scritto:
Me n'ero scordato, risolto
2016-11-03 20:08 GMT+01:00 Fabio Z Tessitore notifications@github.com:
ti sei avvicinato, ma ancora non va bene. Che fine ha fatto b?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CarloRuzzon/helloworld/issues/9#issuecomment-258243935, or mute the thread https://github.com/notifications/unsubscribe-auth/AWHK_d2IzU5quAwox44wBOPrTxCoPTfzks5q6jE7gaJpZM4KnGHs .
Scrivi un programma che trovi le soluzioni a equazioni di secondo grado nella forma ax^2+bx+c=0, con a, b e c interi. Il programma dovrebbe tener conto dei casi particolari.
Per il calcolo della radice quadrata si puo' utilizzare la funzione
sqrt()
della libreria matematica math