-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbanach.php
62 lines (43 loc) · 1.63 KB
/
banach.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<span class="nadpis">
<?php echo __("Method of iterations");
$function=$_REQUEST["function"];
if ($function=="")
{
$function=rawurldecode("cos(x)");
$a=0; $b=1; $c=0.5; $n=10;
}
?>
</span>
<?php maw_before_form()?><form name="exampleform" id="exampleform"
<?php //echo $onsubmit;
?>
<?php formmethod();?> action="<?php echo($server);?>/banach/banach.php">
<?php polejazyka($lang); ?>
<input type="hidden" name="method" value="banach">
<label for="funkce">
<?php { echo __("Enter function, interval containing fixed point and number of steps.");} ?>
</label>
<br>
<?php echo __("Function")?>: <input size="60" name="funkce" id="in-funkce"
value="<?php echo $function;?>">
<input value="<?php echo(__("Editor")); ?>" onclick="edit('funkce')" type="button" class="tlacitko editor">
<input value="<?php echo(__("Preview")); ?>" title="<?php echo($previewmsg); ?>" onclick="previewb('funkce')" type="button" class="tlacitko">
<?php hint_preview();?>
<?php echo __("Interval from ")?>
<input size="6" name="a" value="<?php echo $a;?>" id="in-a">
<?php echo __("to")?>
<input size="6" name="b" value="<?php echo $b;?>" id="in-b">
<?php echo __("(integers or decimal numbers)")?>
<br>
<?php echo __("Number of steps ");?>
<input size="4" name="n" value="<?php echo $n;?>" id="in-n">
<?php echo __("(integer between 2 and 40)");?>
<br><br>
<?php echo __("Initial approximation");?>
<input size="10" name="c" value="<?php echo $c;?>" id="in-c">
<?php echo __("(integer or decimal number)");?>
<br>
<?php echo $submitbutton;?>
</form><?php maw_after_form(); ?>
<?php history("banach",$server);
?>