We hope you had a wonderful holiday season, and we wish you a productive and prosperous 2018! Julia 2017 Growth Statistics Number of News Mentions of Julia…
Category Archives: Julia
Visualizing the Inscribed Circle and Square Puzzle
By: perfectionatic
Re-posted from: http://perfectionatic.org/?p=517
Recently, I watched a cool mind your decsions video on an inscribed circle and rectangle puzzle. In the video they showed a diagram that was not scale. I wanted to get a sense of how these differently shaped areas will match.
There was a cool ratio between the outer and inner circle radii that is expressed as
.
I used Compose.jl to rapidly do that.
using Compose set_default_graphic_size(20cm, 20cm) ϕ=sqrt((pi -2)/(4-pi)) R=10 r=R/ϕ ctx=context(units=UnitBox(-10, -10, 20, 20)) composition = compose(ctx, (ctx, rectangle(-r/√2,-r/√2,r*√2,r*√2),fill("white")), (ctx,circle(0,0,r),fill("blue")), (ctx,circle(0,0,R),fill("white")), (ctx,rectangle(-10,-10,20,20),fill("red"))) composition |> SVG("inscribed.svg")
DifferentialEquations.jl 3.3: IMEX Solvers
By: SciML
Re-posted from: http://sciml.ai/2018/01/01/IMEX.html
What’s a better way to ring in the new year than to announce new features?
This ecosystem 3.3 release we have a few exciting developments, and at the
top of the list is new IMEX schemes. Let’s get right to it.
