Learn Algebra with Julia - Math for entry-level IT professionals, vol. 1, 🆕 is available here:
leanpub.com/learnalgebrawithju

> As W. W. Saywer writes in his Mathematicians Delight, “The main object of this book is to dispel the fear of mathematics.”

> “It’s no secret that knowing advanced mathematical concepts and being comfortable with learning will open up more avenues for you as a software . …"

> The very nature of programming is mathematical.

-- from the Intro

\+ 50 Math Puzzles - Solved Using Functional Julia, my is available [here](leanpub.com/more50mathpuzzles-)

Math and , some puzzles. (Or you can just copy and paste the code into a Julia REPL and... 🎉 ... watch the magic! ❇️ )

teaser puzzle [here](telegra.ph/Pickleminster-to-Qu)

A , Matalab

Euler Math Toolbox
euler.rene-grothmann.de/

> ... (EMT), a powerful math combining numerical and symbolic tools (using the open computer algebra system Maxima) in one free and open source package. Its idea is similar to Matlab, but the syntax is not exactly compatible.

> One of the central problems in fluid dynamics is to figure out if the [Euler] equations ever fail, outputting nonsensical values that render them unable to predict a fluid’s future states.
> Mathematicians have long suspected that there exist initial conditions that cause the equations to break down. But they haven’t been able to prove it.
> In a preprint posted online last month, a pair of mathematicians has shown that a particular version of the Euler equations does indeed sometimes fail.
...
> Perhaps in some situations, the equations will proceed as expected, producing precise values for the state of the fluid at any given moment, only for one of those values to suddenly skyrocket to infinity. At that point, the Euler equations are said to give rise to a “singularity” — or, more dramatically, to “blow up.”
> Once they hit that singularity, the equations will no longer be able to compute the fluid’s flow.
...

Computer Proof ‘Blows Up’ Centuries-Old Fluid Equations
quantamagazine.org/computer-he

Very important and interesting work, if you're a mathematician, a physicist or an engineer that has ever 'crashed' with Euler/Navier-Stokes equations.

"All structures that exist mathematically exist also physically."
-- Max Tegmark, Mathematical Universe Hypothesis

> If we knew how much math goes into writing a video game, we might have paid more attention in math class. If you need a refresher, [Fletcher Dunn] and [Ian Parbery] have their book “3D Math Primer for Graphics and Game Development” available free online. ...


hackaday.com/2022/05/17/book-t

"I'm so glad I learned about parallelograms instead of how to do taxes. It's ready handy this parallelogram season."

- Unknown.

and

My first big deception with Julia. 😢

julia> 2^62
4611686018427387904

julia> 2^63
-9223372036854775808

julia> 2^64
0

When using Python:

>>> 2**62
4611686018427387904
>>> 2**63
9223372036854775808
>>> 2**64
18446744073709551616

Now you see why the snake won.

## Calling all programmers
Code a puzzle 4 Xmas

_[The Twelve Days of Christmas](en.wikipedia.org/wiki/Twelve_D)_

_According to the traditional song, on the first day of Christmas (25th December), my true love sent to me:_

* _A partridge in a pear tree_

_On the second day of Christmas (26th December), my true love sent to me THREE presents:_

* _Two turtle doves_
* _A partridge in a pear tree_

_On the third day of Christmas (27th December and so on) my true love sent to me SIX presents:_

* _Three French hens_
* _Two turtle doves_
* _A partridge in a pear tree_

_This carries on until the the twelfth day of Christmas, when my true love sends me:_

* _Twelve drummers drumming_
* _Eleven pipers piping_
* _Ten lords a-leaping_
* _Nine ladies dancing_
* _Eight maids a-milking_
* _Seven swans a-swimming_
* _Six geese a-laying_
* _Five gold rings_
* _Four calling birds_
* _Three French hens_
* _Two turtle doves_
* _A partridge in a pear tree_

_Puzzle Author: Stephen Froggatt_

1. Strict, hard coded, solution:
```
function allgifts()
dg = [] # daily gifts storage
for d in 1:12
d = sum(1:d) # daily gifts from day 1 to 12
push!(dg, d) # storing each day gifts
end
print(sum(dg)) # showing total number of gifts in storage
end

# > allgifts()
# 364
```
2. Generalizing the function for any number of days:
```
# I'll put here my solution (in Julia) on the twelfth day
```
**Meanwhile, I invite you all to post in the comments some solution coded in the programming language of your choice**

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.