Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What command assigns the value 5 to the variable x?
Use the equal sign.
Determine the output of the command: a = 4; a + 2.
Add a and 2 together.
What does the command a = 5 do in SCILAB?
Think about the purpose of the equal sign in programming.
Is %pi a special constant in SCILAB?
Recall what common mathematical constants exist in SCILAB.
Create a SCILAB script that logs a session of basic calculations including addition, subtraction, and output the final results.
Focus on logging and performing multiple calculations in one session.
Use SCILAB to calculate the value of (sin( %pi/4 ) + cos(%pi/4)) and log the output.
Remember to use the sine and cosine functions properly with the pi constant.
5 more questions in this section. Enroll free to practise them all.
Enroll free