Subversion Repositories wimsdev

Rev

Rev 8311 | Rev 11918 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8311 Rev 11467
Line 5... Line 5...
5
!set special_parm_=!text remove 0123456789 in $special_parm
5
!set special_parm_=!text remove 0123456789 in $special_parm
6
 
6
 
7
!if $special_parm_!=$empty
7
!if $special_parm_!=$empty
8
 !changeto lang/help.$moduclass_lang/$special_parm.phtml
8
 !changeto lang/help.$moduclass_lang/$special_parm.phtml
9
!endif
9
!endif
10
 
-
 
11
!set list=max(I,Q)\
10
!set list=max(I,Q)\
12
I\
11
I\
13
I*Q^0.3\
12
I*Q^0.3\
14
I*Q^0.5\
13
I*Q^0.5\
15
I*Q\
14
I*Q\
16
I^2*Q\
15
I^2*Q\
17
(I*Q)^2
16
(I*Q)^2
18
 
17
 
19
!set wims_backslash_insmath=yes
18
!set wims_backslash_insmath=yes
20
!set help_sw=!line $[$special_parm+1] of $shweights
19
!set help_sw=!line $[$special_parm+1] of $shweights
21
!set help_score_max=!line 1 of $shweights
20
!set help_score_max=!line 1 of $shweights
22
!set help_level=!word 2 of $help_sw
21
!set help_level=!word 2 of $help_sw
23
!set help_sw=!word 3 of $help_sw
22
!set help_sw=!word 3 of $help_sw
Line 32... Line 31...
32
!for rule=1 to 6
31
!for rule=1 to 6
33
 !set r=$(list[$rule;])
32
 !set r=$(list[$rule;])
34
<table class="wimsborder">
33
<table class="wimsborder">
35
<caption> $rule : \($(list[$rule;])\)</caption>
34
<caption> $rule : \($(list[$rule;])\)</caption>
36
<tr>
35
<tr>
37
  <th>Q  \   I</th>
36
  <th>Q \ I</th>
38
   !for ih = 0 to 10
37
   !for ih = 0 to 10
39
   <th>$ih</th>
38
   <th>$ih</th>
40
   !next
39
   !next
41
   </tr>
40
</tr>
42
   !for qh=0 to 10
41
   !for qh=0 to 10
43
 
-
 
44
   <tr><th>$qh</th>
42
<tr><th>$qh</th>
45
  !for ih = 0 to 10
43
  !for ih = 0 to 10
46
   <td>
44
   <td>
47
   !set r1=!mathsubst I=$[$ih/10] in $r
45
   !set r1=!mathsubst I=$[$ih/10] in $r
48
   !set r1=!mathsubst Q=$[$qh/10] in $r1
46
   !set r1=!mathsubst Q=$[$qh/10] in $r1
49
    $[ceil(100*$r1)/10]
47
    $[ceil(100*$r1)/10]