## Answers

May 30, 2018 - 06:55 AM

An ellipse is a scaled circle. For example:

`ellipse(w, h) = scaled(circle(1), w, h)`

I am required to create an ellipse which is defined a data type Shape where Elipse is defined by having Side Side as it inputs. I was wondering how to do this.

My idea was to use to scale function from codeworld on the solidCircle function but am unsure of how to go about doing this.

Any help would be appreciated, Thanks

My idea was to use to scale function from codeworld on the solidCircle function but am unsure of how to go about doing this.

Any help would be appreciated, Thanks

Status:
Open Mar 26, 2018 - 04:53 AM

Haskell, codeworld, ellipse, shapes

Do you have the same question? Follow this Question

May 30, 2018 - 06:55 AM

An ellipse is a scaled circle. For example:

`ellipse(w, h) = scaled(circle(1), w, h)`

Please wait...