-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbisection.php
More file actions
64 lines (42 loc) · 1.44 KB
/
bisection.php
File metadata and controls
64 lines (42 loc) · 1.44 KB
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
58
59
<span class="nadpis">
<?php echo __("Bisection");
;
$function=$_REQUEST["function"];
if ($function=="")
{
$function=rawurldecode("cos(x)-4/5");
$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="bisection">
<label for="funkce">
<?php { echo __("Enter function, interval containing zero 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>
<?php echo $submitbutton;?>
</form><?php maw_after_form(); ?>
<?php history("bisection",$server);
?>
<?php
?>