Activity for Rodolfo Broco Manin
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #63 | Initial revision | — | 6 months ago |
Answer | — |
A: Matriz do operador derivada (more) |
— | 6 months ago |
Edit | Post #60 | Initial revision | — | 6 months ago |
Question | — |
Teste de "syntax highlighting" Teste de "syntax highlighting": ``` #include #include #include #define KNOWNGARBAGE ((int)0u) int main (void) { int ptr = KNOWNGARBAGE; ptr = malloc(0); int errnochanged = errno; if(ptr == NULL) puts("Returned NULL."); else if(ptr == KNOWNGARBAGE) puts("Didn... (more) |
— | 6 months ago |
Edit | Post #57 | Initial revision | — | 6 months ago |
Question | — |
Exemplo de programa Exemplo de programa: ``` Solve the quadratic equation ax2 + bx + c = 0 import complex math module import cmath a = 1 b = 5 c = 6 calculate the discriminant d = (b2) - (4ac) find two solutions sol1 = (-b-cmath.sqrt(d))/(2a) sol2 = (-b+cmath.sqrt(d))/(2a) print('The solution ar... (more) |
— | 6 months ago |