Support in the processing of our modules
When editing our workshops there are a few typical sources of errors, which are listed here. If you receive an error message, this may be due to the notation required by the Julia programming language.
Typical input error | Wrong input | Correct input |
Comma as decimal separator | 1,5 | 1.5 |
Wrong arithmetic symbol for multiplication | 2 x 4 | 2 * 4 |
Use of sine, cosine and tangent in radians instead of degrees | sin(), cos(), tan() | sind(), cosd(), tand() |
Incorrect call of arcussine, arcuscosine and arcustangent (degree measure) | sin^(-1), cos^(-1), tan^(-1) | asind(), acosd(), atand() |
Enter the number π as a character | π | pi |
Copy formulas from text | sin(440-2π-t) | sin(440*2*pi*t) |
Column vectors without a semicolon between entries | [1 2 3 4] | [1; 2; 3; 4] |
Systems of equations or matrices without a semicolon at the end of each line |
[ 1 2 3 |
[ 1 2 3; |
Copying the numerical values instead of using the variables | 1.1 | s (variable in which this value is stored) |
Wrong spelling of variables (esp. upper and lower case) | Transmittertime, PMirror |
transmitterTime, Pmirror |
Inputs of words (strings), e.g. to complete sentences, without double quotation marks “. . . " |
word | "word" |
ˆ is sometimes not accepted when entered | ˆ without space bar | After entering ˆ, press the press the space bar. |
Played sounds cannot be heard | Using the Firefox browser |
Use another browser (e.g. Chrome) |
First code field is not executed | Execute first code field on each worksheet, before subsequent code fields are processed. |
|
Kernel down after inactivity (especially when editing is paused for a longer period of time) | Top right says "No Kernel" | Click on "No Kernel" and select Julia |
Markdown cell (text cell of the worksheets) were double clicked. |
Editing mode is open | Execute text cell by clicking on the Run button |
Input was entered correctly but not recognized as correct |
Restart the kernel of the worksheet and execut the complete worksheet |