English Русский
 
 
 
 
     
 
 
         
   

Manual

The questions which are considered here:

Mobcad usage

Basements

   The first step is to create or load the saved project. To do this you need to select menu item New in Main Menu. The editor window will be opened. All calculations are divided into separate equations. For example, 5+5=10 is equation and sin(pi/2)=1 is an equation too. So, to make new equation press the button Menu in editor window. In the next window select item Insert equation. You will automatically return to the editor window where you'll see that the new input field has been added. The form of writing is the same as in Mathcad. If you have any expierence with Mathcad, you'll have no problems here.
   For example, we need to calculate the problem 5+9. So, enter 5+9 in the input field and press Call button. The result will appear to the right: 5+9=14. You can also refresh the calculation result with this button.

Functions creation

   Lets us think that we want to create the function which will calculate the addition result 2 of its parameters. To do this enter sum(a,b):=a+b, where sum is the name of the function and the letters in brackets are its parameters. To use this function you need to create one more equation below (!), enter sum(6,8) and press the Call button. That's all! Easy, isn't it? You've got the result sum(6,8)=14.

Variables creation

   Variables creation has no difference with functions creation. For example, let's create a variable which will be the square root result of 2. To do this enter a:=sqrt(2) in the empty field and press Call button. Variable a is ready to be used! To use this variable it is enough to type it's name, for example a+2. The result will be a+2=3.414214

Setting the amount of decimal places

   To set the amount of decimal places, select the required equation and press the button More. In the opened window you'll see Decimals field, enter there the amount of decimal places. Press the button Ok and you'll be back to the editor's menu.

Convertion of numbers to any number system

   To set the number system to which it is required to convert the result, select the equation and press the button More. In the opened window you'll see Radix field. Enter there the number system. For example, 2 is a binary system. Press the Ok button and you'll be back to the editor's menu.

Hexadecimal, octadecimal and binary number systems

   Mobcad supports 3 additional number systems that the numbers can be entered in.
Suffixes:
     h - hexadecimal
     o - octadecimal
     b - binary
To enter the number in the required form add the corresponding suffix to the end of a number. ATTENTION ! If the first character in the number system is the letter then this kind of number should be started with zero.
Example:
     1000b = 8
     10h = 16
      0ffh = 255  (!)
     10o = 8

Error report

   If you entered invalid equation or the error has been occured during calculation process, the equation field takes the red color. To view the error details, select the required field and press More. Error message will be at the top of the window.

Enum data type

   Beginning from version 1.3 Mobcad Light supported enumerated data type. For example: a:=1, 2 .. 10. So, a will be an array with values from 1 to 10 with step 1. You may access separate elements specifying the index of element in brackets after the name of variable. For example: a(4) = 4. To view all elements press the button More.
   Beginning from version 1.4 there is new way to define Enum data type. The previous one is absolete. Now you must use either Array(from, next, to) or Enum(n1, n2 .. nn).

Mobcad particulars

  • There is the system of visible ranges in Mobcad. What does it mean ? It means that you can't use variable of function if you have not defined it before your equation. Surely, it is not applied to system functions and variables, such as sin, cos, log.
  • You cannot redefine system functions and variables. For example, you can write pi:=5, but, in spite of it, it's value will remain 3.14.
  • You can use the numbers in the names of variables and functions, but the number can't be the first character in the name. The reason is revealed in hexadecimal, octadecimal and binary number systems support .
  • When the new equation field is creating, the number of decimal places and radix are taken from a previous equation.

Keymap



Colors

The colors which represent different equation's states:
  • Red - the error has been occured.
  • Yellow - the equation is in calculation queue.
  • Green - the equation is being calculated at the moment.
  • Blue - the equation is successfully processed.
  • White - the equation that isn't taking place in calculations (comment).

System functions and variables list

  1. Abs(n)
  2. Acos(n)
  3. Array(from, next, to)
  4. Asin(n)
  5. Atan(n)
  6. Ceil(n)
  7. Cos(n)
  8. Ctan(n)
  9. Deg(n)
  10. E
  11. Enum(n1, n2 ... nn)
  12. Exp(n)
  13. Fact(n)
  14. Floor(n)
  15. Lg(n)
  16. Ln(n)
  17. Log(n, base)
  18. Pi
  19. Pow(n, i)
  20. Rad(n)
  21. Round(n, d)
  22. Sin(n)
  23. Sqr(n)
  24. Sqrt(n)
  25. Tan(n)
  26. Trunc(n, d)

Abs(n)

Parameters:
  • n - number
Purpose:
  Returns an absolute number n.
Example:
  abs(-5) = 5
  abs(-e) = 2.7183

Acos(n)

Parameters:
  • n - number
Purpose:
  Returns ArcCos(n).
Example:
  acos(-1) = 3.1416
  acos(0) = 1.5708

Array(from, next, to)

Parameters:
  • from - number
  • next - number
  • to - number
Purpose:
  Creates an array (Enum data type) with values starting from from, the next value will be next and the last is to. So the step is (next - from).
Example:
  array(1,2,10) = {1,2,3,4,5,6,7,8,9,10} ( step = 1 )
  array(1,3,19) = {1,3,5,7,9,11,13,15,17,19} ( step = 2 )

Asin(n)

Parameters:
  • n - number
Purpose:
  Returns ArcSin(n).
Example:
  asin(0) = 0
  asin(1) = 1.5708

Atan(n)

Parameters:
  • n - number
Purpose:
  Returns ArcTan(n).
Example:
  atan(1) = 0.7854
  asin(0) = 0

Ceil(n)

Parameters:
  • n - number
Purpose:
  Returns the nearest bigger of n.
Example:
  ceil(3.2) = 3
  ceil(5.7) = 6

Cos(n)

Parameters:
  • n - angle in radians
Purpose:
  Returns Cos(n).
Example:
  cos(0) = 1.5708
  cos(1) = 0

Ctan(n)

Parameters:
  • n - angle in radians
Purpose:
  Returns cotangent of n.
Example:
  сtan(pi/4) = 1
  ctan(3*pi/2) = 0

Deg(n)

Parameters:
  • n - angle in radians
Purpose:
  Converts radians to degrees.
Example:
  deg(pi) = 180
  deg(pi/4) = 45

E

Purpose:
  e = 2.71828182845904512
  Also used to point the power of 10.
Example:
  ln(pow(e,5)) = 5
  log(exp(5), e) = 5
  2e2 = 200
  5e-2 = 0.05

Enum(n1, n2 ... nn)

Parameters:
  • n1, n2 .. nn - numbers
Purpose:
  This function creates an enumarated data type (array) with values n1, n2 and so on.
Example:
  sin( rad( enum(0,90,180,270,360) ) ) = {0, 1, 0, -1, 0}

Exp(n)

Parameters:
  • n - number
Purpose:
  Returns en
Example:
  exp(5) = 148.4132 (e5)
  exp(e) = 15.1543 (ee)

Fact(n)

Parameters:
  • n - nonnegative whole number
Purpose:
  Returns factorial of n.
Example:
  fact(3) = 6
  fact(10) = 3,6288E6

Floor(n)

Parameters:
  • n - number
Purpose:
  Returns the nearest smaller of n.
Example:
  floor(3.2) = 3
  floor(5.7) = 6

Lg(n)

Parameters:
  • n - number
Purpose:
  Returns base 10 logarithm of n.
Example:
  lg(100) = 2
  lg(10000) = 4

Ln(n)

Parameters:
  • n - number
Purpose:
  Returns natural logarithm of n.
Example:
  ln(148.4132) = 5 (e^5 = 148.4132)
  ln(20.0855) = 3

Log(n, base)

Parameters:
  • n - number
  • base - base
Purpose:
  Returns base base logarithm of n.
Example:
  log(32, 2) = 5
  log(27, 3) = 3

Pi

Purpose:
   = 3.14159265358979323
Example:
  sin(pi) = 0
  sin(3*pi/2) = -1

Pow(n, i)

Parameters:
  • n - number
  • i - power
Purpose:
  Returns n in the power of i.
Example:
  pow(2, 8) = 256
  pow(15, 2) = 225

Rad(n)

Parameters:
  • n - angle in degrees
Purpose:
  Converts degrees to radians.
Example:
  rad(180) = 3.14

Round(n, d)

Parameters:
  • n - number
  • d - number of decimal places
Purpose:
  Rounds n to d decimal places.
Example:
  round(5.19573, 3) = 5.196
  round(0.947345, 2) = 0.95

Sin(n)

Parameters:
  • n - angle in radians
Purpose:
  Returns Sin(n).
Example:
  sin(pi) = 0
  sin(3*pi/2) = -1

Sqr(n)

Parameters:
  • n - number
Purpose:
  Returns n2.
Example:
 sqr(15) = 225

Sqrt(n)

Parameters:
  • n - number
Purpose:
  Returns the square root of n.
Example:
 sqrt(225) = 15
 sqrt(256) = 16

Tan(n)

Parameters:
  • n - angle in radians
Purpose:
  Returns the tangent of n.
Example:
  tan(pi/4) = 1
  tan(0) = 0

Trunc(n, d)

Parameters:
  • n - number
  • d - numbers of decimal places
Purpose:
  Truncate number n to d decimal places.
Example:
  trunc(5.19573, 1) = 5.1
  trunc(0.947345, 3) = 0.947
   
         
(c) 2004 Design by Incredible >>> Incredible SOFT - WebMaster

Лучшие игровые сайты, присоединяйтесь! Каталог сотовой связи. Все русские мобильные ресурсы на одном сайте. Украинская баннерная сеть