3 1
4.3. VB- .
.
:
: 1305
: 5
, 2013 .
1. .
2. .
3. .
4. :
4.1 ;
4.2 ;
4.3 ;
4.3.1 ;
4.3.2 ;
4.3.3 ;
4.4 ;
4.5 .
5. .
6. .
.
VB- . .
.
-4-3-
: b = , I = b, j = [b]
x, y - (Double).
b (Double), j=[b] , , Fix().
3. :
VB :
b = ((x + y) / (0.2 * x)) ^ (1 / 3) * Sin((Tan(x)) ^ 2)
i=b; j=Fix(b)
, :
1. - Function func(), , ;
2. - Sub proc(), , ;
3. - Sub proc2() , .
.
;
;
Form | Name | Form1 | |
Text | 4.2 | ||
Label1 | Text | : | |
ForeColor | ControlText | ||
ImageAlign | MiddleCenter | ||
Label2 | Text | ||
ForeColor | Green | ||
ImageAlign | MiddleCenter | ||
Label3 | Text | X | |
Label4 | Text | Y | |
Label5 | Text | b | |
Label6 | Text | k | |
Label7 | Text | Fix(b) | |
Label8 | Text | Int(b) | |
Label9 | Text | p | |
Label10 | Text | b+p | |
Label11 | Text | s1+s2 | |
TextBox1 | Name | TextBox1 | |
TextBox2 | Name | TextBox2 | |
TextBox3 | Name | TextBox3 | |
TextBox4 | Name | TextBox4 | |
TextBox5 | Name | TextBox5 | |
TextBox6 | Name | TextBox6 | |
TextBox7 | Name | TextBox7 | |
TextBox8 | Name | TextBox8 | |
TextBox9 | Name | TextBox9 | |
Button1 | Name | Button1 | |
Text | |||
Button2 | Name | Button2 | |
Text | |||
Button1 Button2 | Font | Arial, , 12 |
;
|
|