Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Superellipse/Racket/superellipse.rkt
Normal file
10
Task/Superellipse/Racket/superellipse.rkt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#lang racket
|
||||
(require plot)
|
||||
#;(plot-new-window? #t)
|
||||
|
||||
(define ((superellipse a b n) x y)
|
||||
(+ (expt (abs (/ x a)) n)
|
||||
(expt (abs (/ y b)) n)))
|
||||
|
||||
(plot (isoline (superellipse 200 200 2.5) 1
|
||||
-220 220 -220 220))
|
||||
Loading…
Add table
Add a link
Reference in a new issue