Rev 16120 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !set methtit=Separate the cases according to an (in)equation |
2 | !set methenv=ZZ QQ RR |
||
3 | !set methparmtype=function, choice 6, function |
||
4 | !set methhelp=This method separates the situation into two cases, according \ |
||
5 | to the truth of an equation or inequality. The equation/inequality and \ |
||
6 | its inverse will be added to the hypotheses in the two respective\ |
||
7 | cases. |
||
8 | |||
9 | !if $wims_read_parm iswordof form check |
||
16120 | bpr | 10 | !goto $wims_read_parm |
20 | reyssat | 11 | !endif |
12 | |||
13 | !exit |
||
14 | :form |
||
16120 | bpr | 15 | Separate the cases according to the truth of the (in)équation <br/> |
16 | <input size="10" name="methparm1" value="$methparm1"/> |
||
17 | !formselect methparm2 from 1 to 6 prompt =,!=,<,>,<=,>= |
||
18 | <input size="10" name="methparm3" value="$methparm3"/> |
||
20 | reyssat | 19 | !exit |
20 | :check |
||
16120 | bpr | 21 | sign1=!item $methparm2 of =,!=,<,>,<=,>= |
22 | sign2=!item $methparm2 of !=,=,>=,<=,>,< |
||
20 | reyssat | 23 | |
16120 | bpr | 24 | casesplit=$methparm1 $sign1 $methparm3\ |
20 | reyssat | 25 | $methparm1 $sign2 $methparm3 |
16135 | bpr | 26 | methexp=Separate the cases \($methparm1 $sign1 $methparm3) and \($methparm1 $sign2 $methparm3) |
20 | reyssat | 27 | |
28 | !exit |