[ Prev | Index | Next ]
Japanese English

Step 1 - How to Use in GUI Mode
(on the Calculator Window)

In this page, as the first step, Let's use RINPn in a standard way: GUI mode.

Sponsored Link


The RINPn has two mode - GUI mode and CUI mode. On the GUI mode, you can use the RINPn on a simple calculator window, so it is easy to use for everyone. Therefore, as a first step, Let's try to use GUI mode!

How to Launch the RINPn

How to launch the RINPn depends on the type of your environment.

For Microsoft® Windows®

Double-click the batch file "RINPn_?.?.?.bat" (?.?.? are version numbers) to launch the RINPn. Also, you can launch the RINPn by inputting "rinpn" command with no argumuments on the command-line terminal, if you registered "cmd" folder of the RINPn in the environment variable "Path" (» More details).

At the first time you launched the RINPn, some preparation/configuration steps may run. Please do it as guided by messages.

For Other OS (Linux®, etc.)

Launch on the command-line terminal as follows:

cd (The folder of the RINPn)
java -jar RINPn.jar

Also, you can launch the RINPn by inputting only "rinpn" command with no argumuments, if you registered "cmd" folder of the RINPn in the environment variable "PATH" (» More details).

When you execute the above command line, if an error occurred with the error message indicating that "java" command is not found, Java® Runtime Environment(JRE) is required separately. There are some ways to install it.

Probably, one of most adaptable way on various OSes is, to install the OpenJDK which is a development environment of Java® including the runtime environment. For details, search on the web with keywords "OpenJDK   install   (name of your OS)". The OpenJDK might be helpful too, when you want to call new functions (methods) written in Java® from the RINPn, because you are required to compile the code written in Java® in such case.

Also, on some Linux® distributions, you might be able to install only JRE easily, by using "apt" command. Firstly, search available packages:

apt search jre     (or "apt-cache" instead of "apt")

and then install appropriate one, for example:

sudo apt install default-jre     (or "apt-get" instead of "apt")
or
sudo apt install openjdk-?-jre     (?: version numbers)

Please note that the RINPn will NOT work on JRE with the name ends with "-headless".

Calculator Window

When you succeeded to launch the RINPn, the following calculator window will be displayed:

You can retract the key panel by clicking "ŁKEY-PANEL" switch, and expand by clicking it again. The window color, opacity, font sizes, and so on are customizable by modifying values in "Settings.txt" (open the file by a text editor, and modify contents, and save it).

How to Calculate

To take calculations, input the expression into the "INPUT" text-field, and press the Enter key on your key board, or click "=" button on the window. Then the calculated value of the expression will be output on the "OUTPUT" text-field. For example:

INPUT:
( 1 + 2 ) / 3 - 4 + 5

OUTPUT:
2

As the above, parentheses "( )" and orders of operations (multiplication & division are prior than addition & subtraction) are considered correctly.

* To clear the input field, press "Esc" key on your key board, or click "C" button on the window.

Also, you can use functions/variables as:

INPUT:
sqrt ( sin( PI / 2 ) + 1 )

OUTPUT:
1.414213562

Available functions/variables by default are listed in the section: Appendix - List of Built-in Functions/Variables. In addition, you can create and use new function/variables as Step-4, Step-5.

- About Precision and Roundings -

In internal processing of the RINPn, numerical values are handled as double-precision (64-bit) binary floating-point number. Hence, some type of numerical errors are contained in some digits at tails of calculation results. Therefore, the RINPn rounds a calculation result in 10-digits by default (customizable by "Settings.txt"), before displaying it. When you use the RINPn, please note that above things, and thereby the RINPn may be unusable for some purposes (for example, calculations requiring perfect precision).

- Trademarks/Credits -
  • Oracle and Java are registered trademarks of Oracle and/or its affiliates.
  • Microsoft Windows is either a registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
  • Linux is a trademark of linus torvalds in the United States and/or other countries.
  • Other names may be either a registered trademarks or trademarks of their respective owners.


Sponsored Link



Japanese English
Index of this category
News

Software Updates: Command Expansion in RINEARN Graph, and English Support in VCSSL
2024/02/05 - We updated our apps. This updates include "Enhancing the Command-Line Features of RINEARN Graph" and "Adding English Support to VCSSL." Delves into each of them!

Inside the Repetitive Execution Speedup Impremented in Vnano Ver.1.1
2024/01/17 - Delves into the update in Vnano 1.1 from a developer's viewpoint, providing detailed insights into the specific improvements made to the internal structure of the script engine.

Scripting Engine Vnano Ver.1.1 Released: Dramatic Speed Improvement for Repetitive Executions of the Same Content
2023/12/22 - Released the Vnano script engine Ver.1.1. In this version, we've made significant enhancements in processing speed by reducing the overhead of handling requests. Explains the details.

Code Archive
Circular Wave Animation

Draws the circular wave as 3D animation, under the specified wave parameters.
2022-12-14
Sine Wave Animation

Draws the sine wave as animation, under the specified wave parameters.
2022-11-26
Tool For Converting Units of Angles: Degrees and Radians

A GUI tool for converting the angle in degrees into radians, or radians into degrees.
2022-11-22
Fizz Buzz Program

A program printing the correct result of Fizz Buzz game.
2022-05-12
Vnano | Solve The Lorenz Equations Numerically

Solve the Lorenz equations, and output data to plot the solution curve (well-known as the "Lorenz Attractor") on a 3D graph.
2021-02-18
» More