Search Header Logo

révision intra

Authored by Xurui Han

Mathematics

University

Used 1+ times

révision intra
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Quelle est la bonne syntaxe pour définir une fonction sur Mathematica?

f[x]=x^2

f[x_]:=x_^2

f[x]:=x^2

f[x_]:=x^2

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Qu'obtiendra-t-on si on tape l'expression suivante dans Mathematica:

In[1]:= (1!= 2 ) || ( 1 == 3) ?

Vrai

True

False

Null

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Soit v={E,I,Pi}. Comment fait-on pour accéder à Pi?

v[[3]]

v[3]

v3

v_list[[3]]

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Comment fait-on pour construire la liste suivante:

{3, 5, 7, 9, 11}?

Table[OddQ[i], {i, 3, 11}]

Table[2i+1, {i, 1, 5}]

Table[{2i+1}, {i, 1, 5}]

List[2i+1,{i, 2, 6}]

5.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

Soient v1 et v2 deux vecteurs. Leur produit scalaire est donné par

DotProduct[v1,v2]

v1.v2

Dot[v1,v2]

Norm[v1,v2]^2

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Que fait la commande suivante:

f[x_]:=x^2/;x>=0

f[x_]:=0/;x<0

Définir la fonction f(x)=0 pour x négatif

Définir la fonction f(x)=x^2 pour x positif

Définir une fonction conditionnelle f(x)

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Quelle(s) commande(s) trace(nt) un cercle rouge centré en (0,0) de rayon 1?

Plot[x^2+y^2==1, {x,-1,1}, {y,-1,1}, PlotStyle->Red]

Graphic[Circle[], Red]

Graphics[{Red, Circle[]}]

Graphics[{Red, Circle[{0,0}, 1]}]

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?