Next: How it works, Previous: Handling the elements, Up: Introduction [Contents][Index]

When you select an element in the chalkboard, or add a new element, you will see a table at the bottom of the window *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 ‘`3.45x10-5`’, write:

3.45E-5

All numerical data must be without spaces. For example, the following numbers are wrong:

- 5.3 7.8E - 8

Also, FisicaLab can use many conversion factors. To use these, add the character `@` 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 ‘`75 km/h`’, use:

75 @ km/h

Here, we have one space before and after the character `@`, 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.

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:

fv finalv fvel

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:

t @ min

The scientific notation can be used with the unknowns, adding the characters `#E` at the end of the name. For example, for a coefficient of thermal expansion, that is a small value:

coefficient#E

Also, this can be used with a conversion factor. For example, for a very long distance that we want in kilometers:

distance#E @ km

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.

FisicaLab allows mathematical operations directly on the fields where you enter data. Can be carried out operations of addition (`+`), subtraction (`-`), multiplication (`*`) and division (`/`). Although not allowed to group operations by parentheses. It also provides some useful functions for certain calculations. These are listed below with its description:

cos(ang) | Calculates the cosine of the sexagesimal angle "ang". |

sin(ang) | Calculates the sine of the sexagesimal angle "ang". |

tan(ang) | Calculates the tangent of the sexagesimal angle "ang". |

sqrt(x) | Calculates the square root of the number "x". |

hypot(a,b) | Calculates the hypotenuse of a right triangle whose legs are "a" and "b". |

leg(c,a) | Calculates the leg of the right triangle whose hypotenuse is "c" and the other leg is "a". |

rd(m1,m2,d) | 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". |

The numbers that are passed as parameters to these functions must have consistent units. For example, in the ‘`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:

8*cos(34) hypot(4,3)-2 rd(3,6,40)*sin(30) @ cm 15*8/hypot(13,8)

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.

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.

For these fields are available two functions that calculates an angle from other relationships. These functions are:

acos(a/c) | Calculates the sexagesimal angle whose cosine is the ratio "a/c". |

asin(b/c) | Calculates the sexagesimal angle whose sine is the ratio "b/c". |

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.

**Caution:** *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.*

Next: How it works, Previous: Handling the elements, Up: Introduction [Contents][Index]