티스토리 뷰

Maxima

multiple commands on a single line

skyground21 2023. 6. 26. 08:56

multiple commands on a single line

If you want to enter multiple commands on a single line, you can separate them with a semicolon (;) or a dollar ($).

However, the output of commands that end with a dollar ($) is not displayed on the screen.

 

한줄에 여러 명령 입력 방법

한 줄에 여러 개의 명령을 입력하고 싶을 때는 세미콜론(;) 또는 달러($)로 구분하면 된다.

단, 달러($)로 끝나는 명령의 출력은 화면에 표시되지 않는다.

 

(%i13) sqrt(2)+1; 10-1/x; sin(x)^2+cos(x)^2;

They are all concatenated with ";" so that the results all appear on the screen.

모두 ";"으로 연결되어 있어 결과가 모두 화면에 나타난다.

 

(%i16) sqrt(2)+1; 10-1/x$ sin(x)^2+cos(x)^2;

The $10-1/x$ command ends with a $, so the result does not appear on the screen.

10-1/x$ 명령은 $로 끝나서 결과가 화면에 나타나지 않는다.

 

반응형
LIST

'Maxima' 카테고리의 다른 글

Assign values  (0) 2023.06.28
Shift+Enter and Enter  (0) 2023.06.26
Maxima 명령의 실행  (0) 2023.06.26
Cells  (0) 2023.06.23
MAXIMA 관련사이트  (0) 2023.06.23