Curve that touches three points: Difference between revisions
m
→{{header|Julia}}
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: inline image) |
|||
Line 327:
=={{header|Julia}}==
To make things more specific,
<syntaxhighlight lang="julia">using
struct Point; x::Float64; y::Float64; end
Line 353:
x = a-r:0.25:a+r
y0 = sqrt.(r^2 .- (x .- a).^2)
scatter!(
</syntaxhighlight>{{out}}
<pre>
The circle with center at x = 105.0, y = 81.31578947368422 and radius 118.78948534384199.
</pre>
[[File:Circle3points.png]]
=={{header|Lambdatalk}}==
|