# Advanced Math Extension!

**URL:** <https://forum.makecode.com/t/advanced-math-extension/29010>\
**Category:** Arcade\
**Created:** [May 29, 2024, 10:32pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010 "2024-05-29T22:32:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [May 29, 2024, 10:32pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010/1 "2024-05-29T22:32:33Z")

</div>

**I JUST MADE A NEW EXTENSION!**  
I’m super exited to say that my newest extension has just been released. The advanced math extension.

To start with the **Calculus** blocks are used like the following:

> **How to use the Calculus code**
>
> calculus.integrateByParts(null, null, 0, 0, function (x, x) {
> 
> })
> 
> calculus.integrate(null, 0, 0, 0, function (x) {
> 
> })
> 
> calculus.differentiate(null, 0, 0, function () {
> 
> })
> 
> You need to replace “null” with your input.

> **How to use the Cryptography code**
>
> To use this code, you need to put it in a variable or a text.  
> Cryptography2 = Cryptography.vigenereCipherDecrypt(“”, “”)  
> You can change “Decrypt” to “Encrypt” and change “vigenere” to either “substitution” or “caesar”.

> **How to use the Exp/Log code**
>
> let ExpLog = explog.log10(1)
> 
> ExpLog = explog.ln(1)
> 
> ExpLog = explog.exp(1)  
> This should be pretty self-explanatory. You put this code in text block or variable.

> **How to use the Trig Modes extension**
>
> Here is the code for the trigonometry block to use degrees.  
> TrigModes.Degrees(0) put this inside of the tan, sin, cos, atan2, acos, or asin blocks to get degrees instead of radians.

Here is the link:  
[RobbyZero/Advanced-Math](https://github.com/RobbyZero/Advanced-Math)  
Good luck on your MakeCode’n!

---

<div class="post-metadata">

**Author:** ![CopySprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/copysprite/32/35475_2.png) [@CopySprite](https://forum.makecode.com/u/CopySprite)\
**Post date:** [May 29, 2024, 10:49pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010/2 "2024-05-29T22:49:27Z")

</div>

Does it work in blocks?

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [May 29, 2024, 11:18pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010/3 "2024-05-29T23:18:46Z")

</div>

This is awesome! 🕶

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [May 29, 2024, 11:19pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010/4 "2024-05-29T23:19:03Z")

</div>

**Yes**

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [June 16, 2024, 4:45pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010/5 "2024-06-16T16:45:37Z")

</div>

# HUGE UPDATE!
No, it's not that I know basic html and used it to make words that say huge update. Also, it's not that I'm typing from a computer like a fancy person. My update is... LINEAR ALGEBRA FEATURES! Thats right I added some more blocks to this extension.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [July 11, 2024, 2:35am UTC](https://forum.makecode.com/t/advanced-math-extension/29010/6 "2024-07-11T02:35:44Z")

</div>

Hi @RobbyZero, can you please post a blocks example of how to use the calculus blocks? (and maybe the linear algebra ones as well?) I would appreciate it, and I’ll add it to Awesome Arcade as well.

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [July 11, 2024, 11:28pm UTC](https://forum.makecode.com/t/advanced-math-extension/29010/7 "2024-07-11T23:28:07Z")

</div>

So as I was making a demo both parts did not work Im removing those from the repo until I can get them fixed.

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [August 4, 2024, 5:41am UTC](https://forum.makecode.com/t/advanced-math-extension/29010/8 "2024-08-04T05:41:41Z")

</div>

# Update
I added number theory tools
