#### Cone

G
```/**
* This class represents a circular cone and can calculate its volume and surface area
* https://en.wikipedia.org/wiki/Cone
* @constructor
* @param {number} baseRadius - The radius of the base of the cone.
* @param {number} height - The height of the cone
*/
export default class Cone {
this.height = height
}

baseArea = () => {
}

volume = () => {
return this.baseArea() * this.height * 1 / 3
}

surfaceArea = () => {
return this.baseArea() + Math.PI * this.baseRadius * Math.sqrt(Math.pow(this.baseRadius, 2) + Math.pow(this.height, 2))
}
}
```
{"ft_lang_label":"__label__en","ft_lang_prob":0.510149,"math_prob":0.9562626,"size":653,"snap":"2023-40-2023-50","text_gpt3_token_len":173,"char_repetition_ratio":0.18644068,"word_repetition_ratio":0.05,"special_character_ratio":0.31087288,"punctuation_ratio":0.20353982,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99754006,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-29T20:29:25Z\",\"WARC-Record-ID\":\"<urn:uuid:92a2eebb-36bf-4b4b-a2fb-922609c28ed6>\",\"Content-Length\":\"86626\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:892d6aba-0117-4693-8790-e358b07bbeae>\",\"WARC-Concurrent-To\":\"<urn:uuid:052eaa4d-6530-4042-a84e-328cf81a29c3>\",\"WARC-IP-Address\":\"76.76.21.21\",\"WARC-Target-URI\":\"https://the-algorithms.com/algorithm/cone?lang=javascript\",\"WARC-Payload-Digest\":\"sha1:VMLIJ4SKCTS42QTWSY2YWBU5UDWUGIMX\",\"WARC-Block-Digest\":\"sha1:CAYYTFKEJVS22PLKN2O55JCQAI2R7TFX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510528.86_warc_CC-MAIN-20230929190403-20230929220403-00656.warc.gz\"}"}