Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AVA
FloVer
Commits
99599a8b
Commit
99599a8b
authored
Apr 02, 2019
by
Joachim Bard
Browse files
fixing testcase for daisy
adding '<='-bounds in addition to '<'-bounds
parent
99f512ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
testcases/fm2019/Science.scala
View file @
99599a8b
...
...
@@ -23,11 +23,11 @@ object Science {
def
carbonGas
(
T
:
Real
,
a
:
Real
,
b
:
Real
,
N
:
Real
,
p
:
Real
,
V
:
Real
)
:
Real
=
{
require
(
T
>=
300
&&
T
<=
300
&&
a
>=
0.401
&&
a
<=
0.401
&&
b
>=
42.7e-6
&&
b
<=
42.7e-6
&&
N
>=
1000
&&
N
<=
1000
&&
p
>=
3.5e7
&&
p
<=
3.5e7
&&
0.1
<
V
&&
V
<
0.5
)
p
>=
3.5e7
&&
p
<=
3.5e7
&&
0.1
<=
V
&&
V
<=
0.5
&&
0.1
<
V
&&
V
<
0.5
)
val
k
:
Real
=
1.3806503e-23
(
p
+
a
*
(
N
/
V
)
*
(
N
/
V
))
*
(
V
-
N
*
b
)
-
k
*
N
*
T
}
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment