Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Map-range/11l/map-range.11l
Normal file
5
Task/Map-range/11l/map-range.11l
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
F maprange(a, b, s)
|
||||
R b[0] + (Float(s - a[0]) * (b[1] - b[0]) / (a[1] - a[0]))
|
||||
|
||||
L(s) 0..10
|
||||
print(‘#2 maps to #.’.format(s, maprange((0, 10), (-1, 0), s)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue