Считаете, что Ubuntu недостаточно дружелюбна к новичкам? Помогите создать новое Руководство для новичков!
0 Пользователей и 1 Гость просматривают эту тему.
bc
bc <<< 2+2
armad@armad:~$ bc <<< 2 + s (10)bash: ошибка синтаксиса около неожиданной лексемы `('
MATH LIBRARY If bc is invoked with the -l option, a math library is preloaded and the default scale is set to 20. The math functions will calculate their results to the scale set at the time of their call. The math library defines the following functions: s (x) The sine of x, x is in radians. c (x) The cosine of x, x is in radians. a (x) The arctangent of x, arctangent returns radians. l (x) The natural logarithm of x.
armad@armad:~$ bc -l <<< 2 + s (10)bash: ошибка синтаксиса около неожиданной лексемы `('
А python не подойдет?
Страница сгенерирована за 0.071 секунд. Запросов: 23.