-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathderivace.php
62 lines (47 loc) · 1.81 KB
/
derivace.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
58
<span class="nadpis">
<?php echo __("Derivative and partial derivative");?>
</span>
<?php maw_before_form()?><form name="exampleform" id="exampleform"
<?php echo $onsubmit;?>
<?php formmethod();?> action="<?php echo($server);?>/derivace/derivace.php">
<?php polejazyka($lang); ?>
<?php
$function=rawurldecode($_REQUEST["function"]);
if ($function=="")
{
$function="x^3*exp(x^2)";
}
?>
<label for="funkce">
<?php echo __('Function'); ?>
</label>
<span style="font-style:
italic;">f=</span> <input size="60" name="funkce" id="in-funkce" title=""
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(); ?>
<input name="linear" type="checkbox" checked="on" id="ch-linear" title="">
<?php echo __('automatically use linearity of derivative');?>
<br>
<input name="constants" type="checkbox" id="ch-constants" title="">
<?php echo __('automatically differentiate constants');?>
<br>
<br>
<fieldset class="vnitrni">
<legend>
<?php echo __("The type of the derivative");?>
</legend>
<input name="akce" type="radio" checked="checked" value="0" id="ch-0" title="">
<?php echo __("Ordinary derivative (function in one variable)");?>
<br>
<input name="akce" type="radio" value="1" id="ch-1" title="">
<?php echo __("Partial derivative with respect to <i>x</i> (function in two variables)");?>
<br>
<input name="akce" type="radio" value="2" id="ch-2" title="">
<?php echo __("Partial derivative with respect to <i>y</i> (function in two variables)");?>
</fieldset>
<?php echo $submitbutton;?>
</form><?php maw_after_form(); ?>
<?php history("derivace",$server);
?>