-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path4.2.3_4.4_mathml_functions_trig.cellml
90 lines (90 loc) · 2.44 KB
/
4.2.3_4.4_mathml_functions_trig.cellml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<!-- CellML Test Suite. https://github.com/MichaelClerx/cellml-validation -->
<!-- CellML 1.0, 4.2.3: The MathML "CellML subset"
Trigonometric functions: sin, cos, tan, arcsin, arccos, arctan -->
<model name="mathml_functions_trig"
xmlns="http://www.cellml.org/cellml/1.0#"
xmlns:cellml="http://www.cellml.org/cellml/1.0#">
<component name="A">
<variable name="sin" units="dimensionless" />
<variable name="cos" units="dimensionless" />
<variable name="tan" units="dimensionless" />
<variable name="arcsin" units="dimensionless" />
<variable name="arccos" units="dimensionless" />
<variable name="arctan" units="dimensionless" />
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>sin</ci>
<apply>
<sin />
<apply>
<plus />
<cn cellml:units="dimensionless">1.2</cn>
<cn cellml:units="dimensionless">3.4</cn>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>cos</ci>
<apply>
<cos />
<apply>
<times />
<cn cellml:units="dimensionless">3</cn>
<cn cellml:units="dimensionless">3.01</cn>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>tan</ci>
<apply>
<tan />
<apply>
<times />
<cn cellml:units="dimensionless">-1.2</cn>
<cn cellml:units="dimensionless">-5.123</cn>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>arcsin</ci>
<apply>
<arcsin />
<apply>
<divide />
<cn cellml:units="dimensionless">1</cn>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>arccos</ci>
<apply>
<arccos />
<apply>
<divide />
<cn cellml:units="dimensionless">1</cn>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>arctan</ci>
<apply>
<arctan />
<apply>
<times />
<cn cellml:units="dimensionless">-1</cn>
<cn cellml:units="dimensionless">-1</cn>
</apply>
</apply>
</apply>
</math>
</component>
</model>