Activity for Rodolfo Broco Maninâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #63 | Initial revision | — | 3 months ago |
Answer | — |
A: Matriz do operador derivada $D = \begin{bmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 2 & 0 \\ 0 & 0 & 0 & 3 \\ 0 & 0 & 0 & 0 \end{bmatrix}$ (more) |
— | 3 months ago |
Edit | Post #60 | Initial revision | — | 3 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) |
— | 3 months ago |
Edit | Post #57 | Initial revision | — | 3 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) |
— | 3 months ago |