Конвертер валютUSD 2,9921EUR 3,3424Моя статистикаПройдите любой тест
Все записи блога →
Последние Новости
  • Тур Хейердал — путешественник, переплывший океан на плоту
    Шесть мужчин, бальсовый плот и бескрайний Тихий океан. Тур Хейердал хотел проверить смелую идею: могли ли жители Южной Америки в древности добраться до островов Полинезии. Чтобы узнать это, он сам отправился в путь.Путь к успехуТур Хейердал родился 6 октября 1914 года в городе Ларвик в Норвегии. С детства он увлекался зоологией и дикой природой. В 1937–1938 годах Тур с женой прожил около года на острове Фату-Хива в Полинезии. Именно там, наблюдая за ветрами и течениями, он задумался о происхожде...
  • Христофор Колумб — мореплаватель, открывший Европе Америку
    Утром 12 октября 1492 года матрос с корабля «Пинта» крикнул, что видит берег. Через несколько часов три небольших судна подошли к острову, который местные жители называли Гуанахани. Экспедиция Христофора Колумба завершила первый переход через Атлантический океан, после которого мир перестал быть прежним.Путь к экспедицииКолумб родился около 1451 года в Генуе в семье ткача. Он рано ушёл в море, плавал по Средиземному и Атлантическому океанам, жил в Португалии. Он был уверен, что до Индии и Китая ...
  • Фрэнк Синатра — «Голос» века, певший по-своему
    Шляпа с лентой, небрежно накинутый плащ, бархатный баритон — Фрэнк Синатра умел превратить трёхминутную песню в маленький спектакль. Прозвище «Голос» закрепилось за ним ещё в 1940-х, и за десятилетия его мало кто смог оспорить.Путь к успехуСинатра родился в декабре 1915 года в Хобокене, штат Нью-Джерси, в семье итальянских эмигрантов. Музыкального образования он почти не получил, зато с юности пел на радио и в клубах. Первые успехи пришли в оркестрах Гарри Джеймса и Томми Дорси. В начале 194...
  • Михаил Булгаков — мастер, которого прочли после смерти
    Автор, которого при жизни почти не печатали, оказался одним из самых читаемых писателей столетия. История Михаила Афанасьевича Булгакова — это история терпения, упорства и веры в свою книгу.Путь к успехуБулгаков родился в 1891 году в Киеве, в семье преподавателя духовной академии. В 1916 году он окончил медицинский факультет Киевского университета и сразу начал работать врачом, в том числе в земской больнице в селе Никольском Смоленской губернии. Эти годы позже отразились в «Записках юного врача...
  • Дмитрий Менделеев — химик, составивший карту всех элементов
    Дмитрий Иванович Менделеев родился 8 февраля 1834 года (27 января по старому стилю) в Тобольске, в большой семье директора гимназии. Рос он в трудное время, но мать, по семейным преданиям, сделала всё, чтобы младший сын получил образование. Так будущий учёный оказался в Петербурге.Путь к успехуОкончив Главный педагогический институт, Менделеев стажировался в Европе, а в 1860-х годах стал профессором Петербургского университета. Читая курс неорганической химии, он не нашёл подходящего учебника и ...
  • Роальд Амундсен — покоритель полюсов и северо-западного прохода
    Полярные льды веками хранили свои тайны. Роальд Амундсен разгадал сразу несколько из них. Он не искал лёгкой славы: каждый его поход был итогом долгой учёбы у местных народов и внимательного расчёта.Путь к успехуАмундсен родился 16 июля 1872 года недалеко от города Борге в Норвегии. Он собирался стать врачом, но, прочитав о полярных экспедициях, выбрал другую жизнь. В 1897–1899 годах он участвовал в бельгийской экспедиции на судне «Бельжика», которая стала первой, перезимовавшей в Антарктике. Та...
  • Франциск Скорина — первопечатник Беларуси и Восточной Европы
    В 1517 году в Праге вышла небольшая книга, которую можно держать в одной руке. Это была Псалтирь, а на её страницах стояло имя издателя: «Франциск Скорина из Полоцка, в лекарских науках доктор». Так началась история восточнославянского книгопечатания.Путь к книгеТочная дата рождения Скорины неизвестна, обычно называют около 1490 года. Он родился в Полоцке в семье купца. В 1504 году его имя записано среди студентов Краковского университета. В 1512 году в итальянской Падуе он получил степень докто...
  • Марк Шагал — художник, чьи герои парят над городом
    На картинах Марка Шагала люди летают над крышами, скрипач сидит на домике, а синяя корова смотрит на зрителя человеческими глазами. Это не просто фантазия: художник всю жизнь рисовал родной Витебск, каким его хранила память, — с поэтической логикой сна.Путь к успехуМарк Шагал (при рождении Мовша Шагал) родился в 1887 году в семье бедного еврейского рабочего недалеко от Витебска и вырос в самом Витебске. Он учился у местного художника Юделя Пэна, затем уехал в Санкт-Петербург. В 191...
  • Янка Купала — народный поэт Беларуси
    Когда в начале XX века молодой поэт из деревни под Минском подписал свои стихи псевдонимом «Янка Купала», он, возможно, и не думал, что станет голосом целого народа. Но именно так и произошло.Путь к успехуИван Доминикович Луцевич родился в 1882 году в фольварке Вязынка близ Молодечно. Семья была небогатой: родители арендовали землю. Учился он в народном училище, потом работал домашним учителем, писарем, помощником провизора, много читал и рано начал писать стихи. Первое стихотворение «Мужик» нап...
  • Луи Пастер — учёный, победивший невидимых врагов
    Луи Пастер родился 27 декабря 1822 года в городке Доль на востоке Франции, в семье кожевника. Он был прилежным, но не блестящим учеником и интересовался живописью. Однако судьбу решила химия: она повела его от кристаллов к микробам и спасению жизней.Путь к успехуПервое крупное открытие Пастер сделал в 1848 году, изучая кристаллы солей винной кислоты. Он заметил, что они бывают двух зеркально отражённых форм, и тем самым заложил основы стереохимии. Позже он занялся брожением и показал, что за нег...
МатематикаМоя статистика

Тест по системам компьютерной алгебры

100 вопросов в 10 темах (лёгкий — 35, средний — 40, сложный — 25). Выберите темы, уровень и количество вопросов — к каждому ответу есть объяснение.

Mathematica, Maple, Maxima и SymPy: синтаксис, упрощение, решение уравнений, анализ, дифференциальные уравнения, линейная алгебра, графики и численные ловушки. Вопросы на английском.

Все вопросы теста 100

Нажмите на вариант ответа, чтобы проверить себя, или «Показать ответ».

CAS basics10
1Лёгкий
In Mathematica, what is displayed as the output of the following input?
N[Sqrt[2]]
  1. Sqrt[2]
  2. 1.41421
  3. 2^(1/2)
  4. 1.4
2Лёгкий
In Maple, with the default setting of Digits, what does the following command return?
evalf(Pi);
  1. 3.141592654
  2. Pi
  3. 3.14
  4. 3.1415926535897932385
3Средний
What does this Python/SymPy code print?
from sympy import symbols
x = symbols('x')
expr = x + 1
x = 2
print(expr)
  1. 3
  2. x + 1
  3. 2 + 1
  4. NameError: name 'x' is not defined
4Средний
In Mathematica, what does the following input return?
{Sin[Pi/6], Sin[Pi/6.]}
  1. {0.5, 0.5}
  2. {1/2, 1/2}
  3. {1/2, 0.5}
  4. {Sin[Pi/6], 0.5}
5Сложный
In SymPy, which expression creates exactly the rational number 1/10?
  1. Rational(0.1)
  2. S(0.1)
  3. Rational("0.1")
  4. Float("0.1")
6Лёгкий
In Mathematica, what does the following input return?
Sqrt[8]
  1. 2.82843
  2. Sqrt[8]
  3. 2.8284271247461903
  4. 2 Sqrt[2]
7Лёгкий
In SymPy (after from sympy import *), which call gives a decimal approximation of π with 20 significant digits?
  1. float(pi)
  2. round(float(pi), 20)
  3. N(pi, 20)
  4. pi**20
8Средний
In Maple, what is displayed by the last command?
x := 3:
y := x^2:
x := 4:
y;
  1. 16
  2. x^2
  3. y
  4. 9
9Средний
In Mathematica, what does the following input return?
1/3 + 0.5
  1. 5/6
  2. 1/3 + 0.5
  3. 0.833333
  4. 0.8
10Сложный
In Mathematica, N[0.1, 30] does not give 30 correct digits of 1/10. Why?
  1. N only accepts up to 16 digits; anything larger is ignored
  2. The second argument of N is the number of decimal places to drop
  3. N needs an extra option, WorkingPrecision -> 30, to accept the request
  4. 0.1 is already a machine-precision number, and N cannot add precision it never had; N[1/10, 30] works
Mathematica syntax10
11Лёгкий
Which input computes sin(π/2) in Mathematica?
  1. sin(pi/2)
  2. Sin(Pi/2)
  3. sin[Pi/2]
  4. Sin[Pi/2]
12Лёгкий
In Mathematica, what is the effect of the semicolon at the end of this input?
a = Integrate[x^2, x];
  1. It is a required statement terminator; without it the input is a syntax error
  2. It turns the rest of the line into a comment
  3. The input is evaluated and a is assigned, but the output is not displayed
  4. It delays the integration until a is used
13Средний
Which input is equivalent to the following Mathematica input?
x^2 - 1 // Factor
  1. x^2 - Factor[1]
  2. Factor[x^2] - 1
  3. Factor[x^2 - 1]
  4. x^2 - 1 (// starts a comment)
14Средний
In Mathematica, what does the following input return?
f /@ {1, 2, 3}
  1. f[{1, 2, 3}]
  2. {f[1], f[2], f[3]}
  3. f[1, 2, 3]
  4. {f, f, f}
15Сложный
In Mathematica, what does the last line return?
f[x_?Positive] := Sqrt[x]
f[-4]
  1. 2 I
  2. 2
  3. f[-4]
  4. -2
16Лёгкий
How do you write a list of the numbers 1, 2, 3 in Mathematica?
  1. [1, 2, 3]
  2. {1, 2, 3}
  3. (1, 2, 3)
  4. list(1, 2, 3)
17Средний
In Mathematica, what does the last line return?
a = 5;
f[x_] := a x;
a = 10;
f[2]
  1. 20
  2. 10
  3. 2 a
  4. f[2]
18Средний
In Mathematica, which expression is the same as f @ g @ x?
  1. f[g][x]
  2. g[f[x]]
  3. f[g[x]]
  4. f[g, x]
19Сложный
In Mathematica, what does the last line return?
g[x] := x^2
g[3]
  1. 9
  2. g[3]
  3. x^2
  4. 3^2
20Сложный
In Mathematica, which statement about these two lines is correct?
r = RandomReal[]; {r, r}
s := RandomReal[]; {s, s}
  1. The first list has two equal numbers, the second list usually has two different numbers
  2. Both lists have two equal numbers
  3. Both lists usually have two different numbers
  4. The first list has two different numbers, the second list has two equal numbers
Maple syntax10
21Лёгкий
Which operator assigns the value 5 to the name a in Maple?
  1. a = 5;
  2. a <- 5;
  3. a == 5;
  4. a := 5;
22Средний
In Maple, what does the last command display?
3 + 4;
10 * 2;
%% + 1;
  1. 8
  2. 21
  3. 11
  4. Error, %% is not valid syntax
23Средний
In Maple, what does the last command return?
assume(x > 0):
sqrt(x^2);
  1. x (displayed as x~)
  2. |x|
  3. sqrt(x^2)
  4. -x
24Сложный
In Maple, f was defined as an expression, not as a function. What does the last command return?
f := x^2 + 1:
f(3);
  1. 10
  2. x^2 + 1
  3. x(3)^2 + 1
  4. Error, f is not a procedure
25Сложный
In Maple, what happens with the second command?
x := 3:
int(x^2, x);
  1. It returns x^3/3
  2. An error, because x evaluates to 3 and 3 is not a valid integration variable
  3. It returns 9*x
  4. It returns 27
26Лёгкий
In Maple, what is the difference between ending a command with ; and with :?
  1. The colon executes the command, the semicolon only displays it
  2. The colon makes the command run only when the worksheet is saved
  3. The semicolon is needed for assignments, the colon for function calls
  4. Both execute the command; the colon suppresses the display of the result
27Лёгкий
What does the following Maple command do?
with(LinearAlgebra):
  1. Loads the LinearAlgebra package so its commands can be called by short names such as Determinant(A)
  2. Creates a new empty matrix called LinearAlgebra
  3. Checks whether LinearAlgebra is installed and returns true or false
  4. Switches Maple into numeric-only mode for matrix computations
28Лёгкий
In Maple, p := x^2 + 3*x is an expression (not a function). Which command evaluates p at x = 2?
  1. p(x = 2)
  2. eval(p, x = 2)
  3. p[2]
  4. eval(p, x := 2)
29Средний
In Maple, what does the following input display?
Digits := 5:
evalf(Pi);
  1. 3.14159
  2. 3.1416
  3. 3.141592654
  4. 3.14
30Средний
In Maple, what does the last command display?
x = 5;
x;
  1. 5
  2. true
  3. x
  4. false
Maxima and SymPy10
31Лёгкий
Which input assigns the value 5 to the variable a in Maxima?
  1. a : 5;
  2. a = 5;
  3. a := 5;
  4. a <- 5;
32Лёгкий
In a fresh Python session, what happens when this code runs?
from sympy import *
expr = x**2 + 1
  1. expr becomes x**2 + 1
  2. expr becomes 1
  3. SymPy asks which variable to use
  4. NameError: name 'x' is not defined
33Средний
What does this Python/SymPy code return?
from sympy import symbols
x = symbols('x')
x + 1/2
  1. x + 1/2
  2. x
  3. TypeError: unsupported operand
  4. x + 0.5
34Средний
In SymPy with x = symbols('x'), what do these two calls return?
sqrt(x).subs(x, 2)
sqrt(x).evalf(subs={x: 2})
  1. sqrt(2) and 1.41421356237310
  2. 1.41421356237310 and sqrt(2)
  3. sqrt(2) and sqrt(2)
  4. 1.41421356237310 and 1.41421356237310
35Сложный
What does this Python/SymPy code do?
from sympy import symbols
x = symbols('x')
y = x^2
  1. y becomes x**2
  2. y becomes 2*x
  3. y becomes x XOR 2 as a symbolic logic expression
  4. It raises TypeError, because ^ is Python's bitwise XOR, not a power
36Лёгкий
Which input defines the function f(x) = x² in Maxima?
  1. f(x) = x^2;
  2. f := x -> x^2;
  3. f[x_] := x^2
  4. f(x) := x^2;
37Лёгкий
In Maxima, what does the following input return?
ratsimp((x^2 - 1)/(x - 1));
  1. x + 1
  2. (x^2 - 1)/(x - 1)
  3. x - 1
  4. (x - 1)*(x + 1)
38Средний
In SymPy, f = lambdify(x, x**2 + 1). What is f and what is f(3)?
  1. f is a SymPy expression, and f(3) is 3*x**2 + 3
  2. f is an ordinary numeric Python function, and f(3) is 10
  3. f is a SymPy Function object, and f(3) stays unevaluated as f(3)
  4. f is a plot of x**2 + 1, and f(3) is an error
39Средний
Which Maxima input gives the numeric value of π?
  1. float(%pi);
  2. float(pi);
  3. N[Pi]
  4. evalf(Pi);
40Сложный
In SymPy with x = symbols('x'), what does the following comparison return?
(x + 1)**2 == x**2 + 2*x + 1
  1. False
  2. True
  3. Eq((x + 1)**2, x**2 + 2*x + 1)
  4. It raises TypeError
Algebra and simplification10
41Лёгкий
In SymPy with x = symbols('x'), what does the following call return?
factor(x**2 - 5*x + 6)
  1. (x + 3)*(x + 2)
  2. (x - 3)*(x - 2)
  3. (x - 6)*(x + 1)
  4. x**2 - 5*x + 6
42Лёгкий
In Mathematica, what does the following input return?
Solve[x^2 == 4, x]
  1. {-2, 2}
  2. {{x -> -2}, {x -> 2}}
  3. {x -> 2}
  4. x == -2 || x == 2
43Средний
Why does this Mathematica input fail?
Solve[x^2 = 4, x]
  1. Solve needs the variable in braces: {x}
  2. Solve cannot handle quadratic equations; use NSolve
  3. A single = is assignment (Set) and tries to assign 4 to x^2; equations need ==
  4. The equation must be written as x^2 - 4 = 0
44Средний
In SymPy with x = symbols('x'), what does the following call return?
apart(1/(x*(x + 1)))
  1. 1/(x + 1) - 1/x
  2. -1/(x + 1) + 1/x
  3. 1/(x**2 + x)
  4. 1/x + 1/(x + 1)
45Сложный
In SymPy, x and y are created with symbols('x y') and no assumptions. What does the following call return?
expand_log(log(x*y))
  1. log(x*y)
  2. log(x) + log(y)
  3. log(x) * log(y)
  4. log(x) + log(y) + 2*I*pi
46Лёгкий
In SymPy with x = symbols('x'), what does the following call return?
expand((x + 1)**3)
  1. x**3 + 1
  2. x**3 + 3*x + 1
  3. x**3 + 3*x**2 + 3*x + 1
  4. (x + 1)**3
47Лёгкий
In SymPy with x = symbols('x'), what does the following call return?
simplify(sin(x)**2 + cos(x)**2)
  1. sin(x)**2 + cos(x)**2
  2. 1
  3. 2
  4. sin(2*x)
48Средний
Which Mathematica input returns x?
  1. Simplify[Sqrt[x^2], x > 0]
  2. Simplify[Sqrt[x^2]]
  3. Expand[Sqrt[x^2]]
  4. FullSimplify[Sqrt[x^2]]
49Средний
In Maple, what does the following command return?
solve({x + y = 3, x - y = 1}, {x, y});
  1. {x = 1, y = 2}
  2. [2, 1]
  3. x = 2
  4. {x = 2, y = 1}
50Сложный
In SymPy with x = symbols('x'), what does the following call return?
solve(sin(x), x)
  1. [0]
  2. all multiples of pi: n*pi for integer n
  3. []
  4. [0, pi]
Calculus10
51Лёгкий
In Mathematica, what does the following input return?
D[x^3, x]
  1. x^4/4
  2. 3 x^3
  3. 3 x^2
  4. x^2
52Лёгкий
In Mathematica, what does the following input return?
Limit[Sin[x]/x, x -> 0]
  1. 0
  2. 1
  3. Indeterminate
  4. ComplexInfinity
53Средний
In SymPy with x = symbols('x'), what does integrate(1/x, x) return?
  1. log(Abs(x)) + C
  2. ln(x) + C
  3. log(x)
  4. -1/x**2
54Средний
In Maxima, what does the following input return?
integrate(exp(-x^2), x, minf, inf);
  1. sqrt(%pi)/2
  2. sqrt(%pi)
  3. 1
  4. %pi
55Сложный
In SymPy with x = symbols('x'), what does the following call return?
limit(1/x, x, 0)
  1. -oo
  2. oo
  3. zoo
  4. It raises an error because the two-sided limit does not exist
56Лёгкий
In Maple, what does the following command return?
int(x^2, x = 0 .. 1);
  1. 0.3333333333
  2. x^3/3
  3. 1/3
  4. 1
57Средний
In SymPy with x = symbols('x'), what does the following call return?
diff(x**3*sin(x), x)
  1. 3*x**2*cos(x)
  2. x**3*cos(x) + 3*x**2*sin(x)
  3. x**3*cos(x)
  4. 3*x**2*sin(x) - x**3*cos(x)
58Средний
In Mathematica, what does the following input return?
Series[Sin[x], {x, 0, 5}]
  1. x - x^3/6 + O[x]^4
  2. x - x^3/6 + x^5/120 + O[x]^6
  3. x - x^3/3 + x^5/5 + O[x]^6
  4. 1 - x^2/2 + x^4/24 + O[x]^6
59Сложный
In SymPy with x = symbols('x'), what does the following call return?
series(exp(x), x, 0, 4)
  1. 1 + x + x**2/2 + x**3/6 + x**4/24 + O(x**5)
  2. 1 + x + x**2/2 + O(x**3)
  3. 1 + x + x**2/2 + x**3/6 + O(x**4)
  4. x + x**2/2 + x**3/6 + x**4/24
60Сложный
In SymPy with x, n = symbols('x n') and no assumptions, what does integrate(x**n, x) return?
  1. x**(n + 1)/(n + 1)
  2. Piecewise((x**(n + 1)/(n + 1), Ne(n, -1)), (log(x), True))
  3. n*x**(n - 1)
  4. log(x)
Differential equations10
61Лёгкий
In Mathematica, what does the following input return?
DSolve[y'[x] == y[x], y[x], x]
  1. {{y[x] -> E^x}}
  2. {{y[x] -> x + C[1]}}
  3. y[x] == E^x C[1]
  4. {{y[x] -> E^x C[1]}}
62Лёгкий
Which Mathematica function solves a differential equation numerically when no closed-form solution is needed or available?
  1. NDSolve
  2. NSolve
  3. DSolve
  4. NIntegrate
63Средний
In Maple, what does the following command return?
dsolve({diff(y(x), x) = 2*y(x), y(0) = 3}, y(x));
  1. y(x) = 2*exp(3*x)
  2. y(x) = _C1*exp(2*x)
  3. y(x) = 3*exp(x) + 2
  4. y(x) = 3*exp(2*x)
64Средний
In SymPy with x = symbols('x') and f = Function('f'), what does the following call return?
dsolve(f(x).diff(x) - x*f(x), f(x))
  1. Eq(f(x), C1*exp(x**2/2))
  2. Eq(f(x), C1*exp(x))
  3. Eq(f(x), C1*exp(x**2))
  4. Eq(f(x), x**2/2 + C1)
65Сложный
In Mathematica, why is DSolve[y'[x] == y[x], y, x] (second argument y) often preferred over DSolve[y'[x] == y[x], y[x], x]?
  1. With y[x] DSolve can only find numerical solutions
  2. With y the solution has no arbitrary constants
  3. With y[x] the equation is solved for x instead of y
  4. With y it returns y -> Function[...], so the rule also replaces y'[x], y[0] and so on; with y[x] the rule only replaces the literal y[x]
66Лёгкий
Maple's dsolve(diff(y(x), x) = y(x), y(x)) returns y(x) = _C1*exp(x). What is _C1?
  1. The value of y at x = 1
  2. A placeholder that marks an error in the equation
  3. The first eigenvalue of the equation
  4. An arbitrary constant of integration in the general solution
67Средний
In SymPy with x = symbols('x') and f = Function('f'), what does the following call return?
dsolve(f(x).diff(x) - f(x), f(x), ics={f(0): 2})
  1. Eq(f(x), C1*exp(x))
  2. Eq(f(x), exp(x) + 2)
  3. Eq(f(x), 2*exp(x))
  4. Eq(f(x), 2*exp(-x))
68Средний
In Mathematica, how do you get the numerical value of the solution at x = 2?
sol = NDSolve[{y'[x] == -y[x], y[0] == 1}, y, {x, 0, 5}];
  1. sol[2]
  2. y[2]
  3. y[2] /. sol
  4. N[sol, 2]
69Сложный
In SymPy with x = symbols('x') and f = Function('f'), what does the following call return?
dsolve(f(x).diff(x, 2) + f(x), f(x),
       ics={f(0): 0, f(x).diff(x).subs(x, 0): 1})
  1. Eq(f(x), cos(x))
  2. Eq(f(x), C1*sin(x) + C2*cos(x))
  3. Eq(f(x), exp(x))
  4. Eq(f(x), sin(x))
70Сложный
Why is there a quote before diff in this Maxima input?
ode2('diff(y, x) = y, y, x);
  1. It marks y as the unknown function
  2. It tells ode2 to return a numerical solution
  3. It is a typo; Maxima ignores the quote
  4. The quote prevents diff from being evaluated; otherwise diff(y, x) would be 0 because y is just a symbol that does not depend on x
Linear algebra10
71Лёгкий
In Mathematica, what does the following input return?
Det[{{1, 2}, {3, 4}}]
  1. -2
  2. 2
  3. 10
  4. -5
72Лёгкий
After with(LinearAlgebra), which Maple command computes the eigenvalues of a Matrix A?
  1. Eigenvalues[A]
  2. eig(A)
  3. Eigenvalues(A)
  4. A.eigenvals()
73Средний
In SymPy, what does A*B return?
A = Matrix([[1, 2], [3, 4]])
B = Matrix([[0, 1], [1, 0]])
A*B
  1. Matrix([[0, 2], [3, 0]])
  2. Matrix([[3, 4], [1, 2]])
  3. Matrix([[2, 1], [4, 3]])
  4. ShapeError
74Средний
In Mathematica, what does the following input return?
Eigenvalues[{{2, 1}, {1, 2}}]
  1. {3, 1}
  2. {2, 2}
  3. {3, -1}
  4. {{1, 1}, {-1, 1}}
75Сложный
In Maxima, M : matrix([1, 2], [3, 4]). Which input gives the matrix product M·M, i.e. matrix([7, 10], [15, 22])?
  1. M^2
  2. M*M
  3. M**2
  4. M^^2
76Лёгкий
Which input creates the 2×2 matrix with rows (1, 2) and (3, 4) in Maxima?
  1. Matrix([[1, 2], [3, 4]])
  2. matrix([1, 2], [3, 4])
  3. {{1, 2}, {3, 4}}
  4. [[1, 2], [3, 4]]
77Средний
In Mathematica, what does the following input return?
{{1, 2}, {3, 4}} * {{0, 1}, {1, 0}}
  1. {{2, 1}, {4, 3}}
  2. {{3, 4}, {1, 2}}
  3. {{0, 2}, {3, 0}}
  4. 6
78Средний
In SymPy, what does A.inv() return?
A = Matrix([[1, 2], [3, 4]])
A.inv()
  1. Matrix([[-2.0, 1.0], [1.5, -0.5]])
  2. Matrix([[4, -2], [-3, 1]])
  3. Matrix([[1, 1/2], [1/3, 1/4]])
  4. Matrix([[-2, 1], [3/2, -1/2]])
79Сложный
In SymPy, what does the following call return?
Matrix([[2, 0], [0, 2]]).eigenvals()
  1. {2: 2}
  2. [2, 2]
  3. {2: 1}
  4. {2: 1, 2: 1}
80Сложный
In Mathematica, what does the following input return?
{{1, 2}, {3, 4}}^2
  1. {{1, 4}, {9, 16}}
  2. {{7, 10}, {15, 22}}
  3. {{2, 4}, {6, 8}}
  4. -2
Plotting10
81Лёгкий
Which input plots sin x for 0 ≤ x ≤ 2π in Mathematica?
  1. Plot[Sin[x], {x, 0, 2 Pi}]
  2. Plot[Sin[x], x, 0, 2 Pi]
  3. plot(sin(x), x = 0 .. 2*Pi)
  4. Plot(Sin[x], {x, 0, 2 Pi})
82Лёгкий
What does this Maple command draw?
plot3d(x^2 - y^2, x = -1 .. 1, y = -1 .. 1);
  1. A paraboloid opening upwards
  2. Two curves y = x² and y = −x² in the plane
  3. A saddle-shaped surface z = x² − y² over the square [−1, 1] × [−1, 1]
  4. A circle of radius 1
83Средний
How do you draw sin x and cos x in the same Mathematica plot?
  1. Plot[Sin[x], Cos[x], {x, 0, 2 Pi}]
  2. Plot[Sin[x] + Cos[x], {x, 0, 2 Pi}]
  3. Plot[Sin[x]; Cos[x], {x, 0, 2 Pi}]
  4. Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi}]
84Средний
Which SymPy call plots x² for −2 ≤ x ≤ 2 (with x = symbols('x') and plot imported from sympy)?
  1. plot(x**2, x = -2 .. 2)
  2. plot(x**2, (x, -2, 2))
  3. plot(x**2, {x, -2, 2})
  4. plot(x^2, (x, -2, 2))
85Сложный
In Maple, what is the difference between these two commands?
plot([cos(t), sin(t), t = 0 .. 2*Pi]);
plot([cos(t), sin(t)], t = 0 .. 2*Pi);
  1. Both draw the unit circle
  2. Both draw two separate curves
  3. The first draws two curves, the second draws the unit circle
  4. The first draws the unit circle (parametric plot), the second draws the graphs of cos t and sin t as two curves
86Лёгкий
Which input plots sin x for 0 ≤ x ≤ 2π in Maple?
  1. plot(sin(x), [x, 0, 2*Pi]);
  2. Plot[Sin[x], {x, 0, 2 Pi}]
  3. plot(sin(x), x = 0 .. 2*Pi);
  4. plot(sin(x), x = 0 : 2*Pi);
87Лёгкий
What does this Mathematica input draw?
Plot3D[x^2 + y^2, {x, -1, 1}, {y, -1, 1}]
  1. A bowl-shaped paraboloid with its minimum at the origin
  2. A saddle surface
  3. A sphere of radius 1
  4. A circle in the xy-plane
88Средний
What curve does this Mathematica input draw?
ParametricPlot[{Cos[t], Sin[t]}, {t, 0, 2 Pi}]
  1. The graphs of cos t and sin t as two separate curves
  2. A sine wave
  3. A straight line from (1, 0) to (0, 1)
  4. The unit circle
89Средний
Which Maxima input plots sin x for 0 ≤ x ≤ 2π?
  1. plot2d(sin(x), x = 0 .. 2*%pi);
  2. plot(sin(x), [x, 0, 2*pi]);
  3. plot2d(sin(x), {x, 0, 2*%pi});
  4. plot2d(sin(x), [x, 0, 2*%pi]);
90Сложный
In Maple, plot(1/(x - 1), x = 0 .. 2) draws a nearly vertical line at x = 1. What fixes it?
  1. Increasing Digits
  2. Adding the option discont = true
  3. Replacing 1/(x - 1) by evalf(1/(x - 1))
  4. Writing the range as x = 0.0 .. 2.0
Numerics and pitfalls10
91Лёгкий
In Mathematica, what does the following input return?
{1/3, 1./3}
  1. {0.333333, 0.333333}
  2. {1/3, 1/3}
  3. {0, 0.333333}
  4. {1/3, 0.333333}
92Средний
In Mathematica, what does the following input return?
Sqrt[2.]^2 - 2
  1. 4.44089*10^-16
  2. 0
  3. 0.
  4. Sqrt[2]^2 - 2
93Средний
In Mathematica, what does the following input return?
Log[-1]
  1. I Pi
  2. Indeterminate
  3. -I Pi
  4. 0
94Сложный
In SymPy, what does the following expression return?
(-8)**Rational(1, 3)
  1. -2
  2. 2*(-1)**(1/3)
  3. 2
  4. nan
95Сложный
In SymPy with x = symbols('x') (no assumptions), which expression simplifies to x?
  1. simplify(log(exp(x)))
  2. simplify(exp(log(x)))
  3. simplify(sqrt(x**2))
  4. simplify(asin(sin(x)))
96Лёгкий
In plain Python (as used with SymPy), what does 0.1 + 0.2 == 0.3 return?
  1. True
  2. False
  3. 0.3
  4. It raises an error
97Лёгкий
Why does a CAS such as Mathematica, Maple or SymPy leave sqrt(x^2) unsimplified when x is a symbol without assumptions?
  1. Because √(x²) = x is false in general, for example for x = −3
  2. Because simplifying square roots is too slow
  3. Because √(x²) = −x for all x
  4. Because the CAS cannot square symbols
98Средний
In SymPy, what does the last line return?
r = symbols('r', real=True)
sqrt(r**2)
  1. Abs(r)
  2. r
  3. sqrt(r**2)
  4. -r
99Средний
In SymPy with x = symbols('x'), what does x**(1/3) produce?
  1. x**(1/3)
  2. x
  3. x**0.333333333333333
  4. x**0
100Сложный
In Mathematica, 0.1 + 0.2 == 0.3 returns True, while in Python it is False. Why?
  1. Mathematica stores 0.1 and 0.2 exactly as rationals
  2. Mathematica uses decimal instead of binary floating point
  3. Mathematica's Equal treats machine numbers as equal if they differ only in the last few binary digits
  4. Mathematica rounds every result to 6 digits before comparing

Как проходить тест

  • Выберите темы и уровень — лёгкий уровень проверяет определения и задачи в одно действие, средний — стандартные вычисления, сложный — многошаговые задачи и теорию.
  • Отвечайте касанием или с клавиатуры: 1–4 или A–D, Enter — следующий вопрос.
  • Читайте объяснения — после ошибки разбор открывается сразу, после верного ответа его можно раскрыть кнопкой «Почему».
  • Работайте над ошибками — «Повторить ошибки» в конце теста или режим «Только мои ошибки» потом: ответы запоминаются в этом браузере.

Незавершённый тест сохраняется — после перезагрузки страницы можно продолжить с того же вопроса.

Темы теста

  • CAS basics 10
  • Mathematica syntax 10
  • Maple syntax 10
  • Maxima and SymPy 10
  • Algebra and simplification 10
  • Calculus 10
  • Differential equations 10
  • Linear algebra 10
  • Plotting 10
  • Numerics and pitfalls 10