Differenze tra le versioni di "Comando Coefficienti"
Da GeoGebra Manual.
Riga 1: | Riga 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function|Coefficienti}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function|Coefficienti}} | ||
− | ; Coefficienti | + | ; Coefficienti(Polinomio) |
: Restituisce la lista di tutti i coefficienti <math>a_k,a_{k-1},\ldots,a_1, a_0</math> di un polinomio nella forma <math>a_kx^k+a_{k-1}x^{k-1}+\cdots+a_1x+a_0</math>. | : Restituisce la lista di tutti i coefficienti <math>a_k,a_{k-1},\ldots,a_1, a_0</math> di un polinomio nella forma <math>a_kx^k+a_{k-1}x^{k-1}+\cdots+a_1x+a_0</math>. | ||
− | :{{example| 1=<code><nowiki>Coefficienti | + | :{{example| 1=<code><nowiki>Coefficienti(x^3 - 3 x^2 + 3 x)</nowiki></code> restituisce ''{1, -3, 3, 0}''.}} |
− | ; Coefficienti | + | ; Coefficienti(Conica) |
: Data la conica in forma canonica <math>a x^2 + b y^2 + c + d x y + e x + f y = 0</math> restituisce la lista {''a'', ''b'', ''c'', ''d'', ''e'', ''f'' }. | : Data la conica in forma canonica <math>a x^2 + b y^2 + c + d x y + e x + f y = 0</math> restituisce la lista {''a'', ''b'', ''c'', ''d'', ''e'', ''f'' }. | ||
:{{note|1=Per le rette in forma implicita ''r'': ''ax'' + ''by'' + ''c'' = 0 è possibile ottenere i coefficienti utilizzando la sintassi ''x''(''r''), ''y''(''r''), ''z''(''r''). | :{{note|1=Per le rette in forma implicita ''r'': ''ax'' + ''by'' + ''c'' = 0 è possibile ottenere i coefficienti utilizzando la sintassi ''x''(''r''), ''y''(''r''), ''z''(''r''). | ||
Riga 13: | Riga 13: | ||
==Sintassi CAS== | ==Sintassi CAS== | ||
− | ;Coefficienti | + | ;Coefficienti(Polinomio) |
: Restituisce la lista di tutti i coefficienti del polinomio rispetto alla variabile principale. | : Restituisce la lista di tutti i coefficienti del polinomio rispetto alla variabile principale. | ||
− | :{{example| 1=<code><nowiki>Coefficienti | + | :{{example| 1=<code><nowiki>Coefficienti(x^3 - 3 x^2 + 3 x)</nowiki></code> restituisce ''{1, -3, 3, 0}''.}} |
− | ;Coefficienti | + | ;Coefficienti(Polinomio, Variabile) |
: Restituisce la lista di tutti i coefficienti del polinomio rispetto alla variabile indicata. | : Restituisce la lista di tutti i coefficienti del polinomio rispetto alla variabile indicata. | ||
:{{example| 1=<div> | :{{example| 1=<div> | ||
− | :* <code><nowiki>Coefficienti | + | :* <code><nowiki>Coefficienti(a^3 - 3 a^2 + 3 a, a)</nowiki></code> restituisce ''{1, -3, 3, 0}'' |
− | :* <code><nowiki>Coefficienti | + | :* <code><nowiki>Coefficienti(a^3 - 3 a^2 + 3 a, x)</nowiki></code> restituisce ''a''³ - 3 ''a''² + 3 ''a''.}} |
Versione delle 08:57, 3 ott 2017
- Coefficienti(Polinomio)
- Restituisce la lista di tutti i coefficienti a_k,a_{k-1},\ldots,a_1, a_0 di un polinomio nella forma a_kx^k+a_{k-1}x^{k-1}+\cdots+a_1x+a_0.
- Esempio:
Coefficienti(x^3 - 3 x^2 + 3 x)
restituisce {1, -3, 3, 0}.
- Coefficienti(Conica)
- Data la conica in forma canonica a x^2 + b y^2 + c + d x y + e x + f y = 0 restituisce la lista {a, b, c, d, e, f }.
- Note: Per le rette in forma implicita r: ax + by + c = 0 è possibile ottenere i coefficienti utilizzando la sintassi x(r), y(r), z(r).
- Esempio: Data
r: 3x + 2y - 2 = 0
:x(r )
restituisce 3y(r )
restituisce 2z(r )
restituisce -2.
Sintassi CAS
- Coefficienti(Polinomio)
- Restituisce la lista di tutti i coefficienti del polinomio rispetto alla variabile principale.
- Esempio:
Coefficienti(x^3 - 3 x^2 + 3 x)
restituisce {1, -3, 3, 0}.
- Coefficienti(Polinomio, Variabile)
- Restituisce la lista di tutti i coefficienti del polinomio rispetto alla variabile indicata.
- Esempio:
Coefficienti(a^3 - 3 a^2 + 3 a, a)
restituisce {1, -3, 3, 0}Coefficienti(a^3 - 3 a^2 + 3 a, x)
restituisce a³ - 3 a² + 3 a.