Debian Codegraph @

Documentation/Manual/English/introduction.texinfo

raw
1 @c -*-texinfo-*-
2 @c This is part of the FisicaLab User Manual.
3 @c Copyright (C) 2013 German A. Arias.
4 @c See the file copying.texinfo for copying conditions.
5
6 @node Welcome, Kinematics, Top, Top
7 @chapter Introduction
8
9 @cindex Introduction
10
11 FisicaLab is an educational application to solve physics problems. Its main objective is let the user to focus in physics concepts, leaving aside the mathematical details (FisicaLab take care of them). This allows the user to become familiar with the physical concepts without running the risk of getting lost in mathematical details. And so, when the user gain confidence in applying physical concepts, will be better prepared to solve the problems by hand (with pen and paper). FisicaLab is easy to use and very intuitive. However, in order to take advantage of all its features, we recommend you read first these help files.
12
13 FisicaLab display two windows, one named @emph{Modules and elements} and other named @emph{Chalkboard}. The first of these windows, contain all modules that can be used to solve problems. These modules are grouped by: kinematics, static, dynamics, ... (see image below). You can select one of these groups with the buttons at the top of the window, marked with (1) in the image. When you leave the mouse's cursor above one of these buttons, a label with the group name is displayed. The buttons marked with (2) let you select the system of units, SI or English. You can see the modules of the selected group inside the box marked with (3). The tabs marked with (4) let you select one of the available modules. The elements of the selected module are displayed inside the box marked with (5). This elements let you set the problems. Inside the box marked with (6) you can write the element's data (if any element is selected, this box will be empty).
14
15 @center @image{FisicaLabPanel, 7cm}
16
17 The window named @emph{Chalkboard} (see image below), have at the top two buttons, marked with (7). The button at the left let you solve the problem, and the other is to clean the chalkboard. The black box marked with (8) is the chalkboard, where you add the elements to set the problems. You need keep in mind, although you can't see, that the chalkboard is a grid formed with cells of 50x50 pixels. By default the chalkboard size is 26x18 cells. In @emph{Preferences} panel you can change the size to a maximum of 100x100 cells (A greater size than the default could be useful for trusses problems). The text view marked with (9) is where FisicaLab show the answer and messages. The checkbox marked with (10) erase the content of the text view before show the next answer or message. If you want keep the previous content, unselect this checkbox. In this case you can add notes to identify the results of the different problems.
18
19 @center @image{FisicaLabPizarra, 7cm}
20
21
22 @menu
23 * Handling the elements::
24 * Element data::
25 * How it works::
26 * Messages::
27 @end menu
28
29 @node Handling the elements, Element data, Welcome, Welcome
30 @section Handling the elements
31
32 @cindex Handling the elements
33
34 To add elements at the chalkboard, do a click above the desired element. The mouse's cursor will become in an open hand, meaning this that we will add an element. Do a click above the chalkboard in the position where you want the element, the mouse's cursor will back at its original shape. Each time you add a new element, or select one different, a yellow square will be drawn around the current element. The data of the current element are displayed, for its edition, at panel @emph{Modules and elements}. When you leave the mouse's cursor above one element in the chalkboard, a label with the element's data is displayed. In @emph{Preferences} panel you can configure the font size of these labels.
35
36 @center @image{chalkboardProperties, 7cm}
37
38 If you want move an element, click above it with the @key{Control} key pressed, the mouse's cursor will become in a close hand, meaning this that we are moving an element. Do click in the new position and the mouse's cursor will back at its original shape. In other hand, if you want delete an element, do click above it with the @key{Shift} key pressed.
39
40 Keep in mind that FisicaLab don't let you combine elements from different modules. The elements in each module are enough to set a wide variety of problems.
41
42 @node Element data, How it works, Handling the elements, Welcome
43 @section Element data
44
45 @cindex Element data
46
47 When you select an element in the chalkboard, or add a new element, you will see a table at the bottom of the window @emph{Modules and elements}. With a double click above any field of the second column, you can write the data. FisicaLab supports scientific notation, to use this use the letter E. For example, to write the number @samp{3.45x10-5}, write:
48
49 @example
50
51 3.45E-5
52
53 @end example
54
55 All numerical data must be without spaces. For example, the following numbers are wrong:
56
57 @example
58
59 - 5.3
60 7.8E - 8
61
62 @end example
63
64 Also, FisicaLab can use many conversion factors. To use these, add the character @kbd{@@} before the conversion. If you have selected the SI system, FisicaLab assumes that all data are in meters, kg, seconds, etc. With the English system, FisicaLab assumes that all data are in feet, pounds, slugs, seconds, etc. (in the English system the mass must be in slugs). For example, if you want write an speed of @samp{75 km/h}, use:
65
66 @example
67
68 75 @@ km/h
69
70 @end example
71
72 Here, we have one space before and after the character @kbd{@@}, but these are for clarity, and are not required. Each module has its how conversion factors, as you can see in the sections that deal about these.
73
74 You can use letters or words to represent the unknown data. If, for example, the final velocity is an unknown data, you can represent this like:
75
76 @example
77
78 fv
79 finalv
80 fvel
81
82 @end example
83
84 or any other combination. But, we recommend you use letters or words that are related with the unknown data. Also, the conversion factors can be used with the unknown data. For example, if the time is unknown, and you want this in minutes, write something like:
85
86 @example
87
88 t @@ min
89
90 @end example
91
92 The scientific notation can be used with the unknowns, adding the characters @kbd{#E} at the end of the name. For example, for a coefficient of thermal expansion, that is a small value:
93
94 @example
95
96 coefficient#E
97
98 @end example
99
100 Also, this can be used with a conversion factor. For example, for a very long distance that we want in kilometers:
101
102 @example
103
104 distance#E @@ km
105
106 @end example
107
108 All the conversion factors are available in a contextual menu. After select the row of data where want add the factor, a right mouse click open a context menu with all available factors.
109
110 @sp 1
111
112 @center @image{MenuContextual, 7cm}
113
114 FisicaLab allows mathematical operations directly on the fields where you enter data. Can be carried out operations of addition (@kbd{+}), subtraction (@kbd{-}), multiplication (@kbd{*}) and division (@kbd{/}). Although not allowed to group operations by parentheses. It also provides some useful functions for certain calculations. These are listed below with its description:
115
116 @multitable @columnfractions .3 .6
117
118 @item cos(ang)
119 @tab Calculates the cosine of the sexagesimal angle "ang".
120
121 @item sin(ang)
122 @tab Calculates the sine of the sexagesimal angle "ang".
123
124 @item tan(ang)
125 @tab Calculates the tangent of the sexagesimal angle "ang".
126
127 @item sqrt(x)
128 @tab Calculates the square root of the number "x".
129
130 @item hypot(a,b)
131 @tab Calculates the hypotenuse of a right triangle whose legs are "a" and "b".
132
133 @item leg(c,a)
134 @tab Calculates the leg of the right triangle whose hypotenuse is "c" and the other leg is "a".
135
136 @item rd(m1,m2,d)
137 @tab Calculates the distance of the mass "m1" to the center of mass of the system consisting of the masses "m1" and "m2", which are spaced a distance "d".
138
139 @end multitable
140
141 The numbers that are passed as parameters to these functions must have consistent units. For example, in the @samp{hypot()} function both legs must be in the same units, whether centimeters, meters, inches, etc. These functions can be used in operations of addition, subtraction, multiplication and division. In these operations blank spaces are not allowed. Here are some examples:
142
143 @example
144
145 8*cos(34)
146 hypot(4,3)-2
147 rd(3,6,40)*sin(30) @@ cm
148 15*8/hypot(13,8)
149
150 @end example
151
152 Once entered the operation, FisicaLab will do the calculation and will write the result in the entry. Note that is possible to apply conversion factors. Although these can also be applied after carrying out the calculation.
153
154 The fields where you enter angles do not allow the operations and functions described above. This is because these fields have their own operations and functions. For example, FisicaLab allows write the angles as slopes (a/b), and automatically convert this to sexagesimal angles. What is very useful for problems of trusses.
155
156 @center @image{angulos, 7cm}
157
158 For these fields are available two functions that calculates an angle from other relationships. These functions are:
159
160 @multitable @columnfractions .3 .6
161
162 @item acos(a/c)
163 @tab Calculates the sexagesimal angle whose cosine is the ratio "a/c".
164
165 @item asin(b/c)
166 @tab Calculates the sexagesimal angle whose sine is the ratio "b/c".
167
168 @end multitable
169
170 If an operation is entered incorrectly, for example if it contains spaces or contains a function with an incorrect number of parameters, FisicaLab will do nothing and will take that string as an unknown.
171
172 @strong{Caution:} @emph{If, for example, you add a mass conversion factor in a time data, this will cause an error in the solution. And you will not get a message about this error.}
173
174 @node How it works, Messages, Element data, Welcome
175 @section How it works
176
177 @cindex How it works
178
179 FisicaLab work over the base of @emph{number of equations = number of unknown data}. In general you don't need worry about this. But in some cases you will see the error @strong{"The system is undetermined"}. This occurs when you write numeric data in a field that must be an unknown data. The examples show this cases.
180
181 @node Messages, , How it works, Welcome
182 @section Messages
183
184 @cindex Messages
185
186 FisicaLab write a wide variety of messages in the text view when a problem is wrong. However, you always will see a message about the calculation's status, as you can see in the following image:
187
188 @sp 1
189
190 @center @image{ejemplo5, 12cm}
191
192 The last line say @strong{"State = success"}, meaning that the calculation was successful. Any other status different as @emph{success}, mean that or the set problem don't have a solution, or an unexpected error occurred.