Length of an arc between two angles: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 646: | Line 646: | ||
<pre>43.6332313</pre> |
<pre>43.6332313</pre> |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|go}} |
{{trans|go}} |
||
<syntaxhighlight lang="vlang">import math |
<syntaxhighlight lang="v (vlang)">import math |
||
fn arc_length(radius f64, angle1 f64, angle2 f64) f64 { |
fn arc_length(radius f64, angle1 f64, angle2 f64) f64 { |