Why is “mathematical code” so highly regarded in society?

If someone writes a piece of program code (it doesn't have to be particularly complex), it doesn't impress anyone much (even non-computer scientists aren't particularly fascinated by it). But if that person were to think of converting their code into mathematical notation and conventions (including lots of beautiful Greek letters), manually executing the algorithms contained therein, and writing it all down on a blackboard, they suddenly look like Einstein. Why is that?

(5 votes)
Loading...

Similar Posts

Subscribe
Notify of
36 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
eterneladam
2 years ago

You seem to understand (and possibly from school-mathematical optics) a mathematical formula from instruction. And then it’s nicely illustrated code for you. However, this view is too narrow. It is only right when it comes to deriving from formulas or even developing mathematical theories.

hologence
2 years ago

because these are two different things. Program code is an executable computational rule that can be performed by any doof (including computer); mathematical equations, on the other hand, represent general relationships between terms that can be used in any desired direction in an elegant manner. In addition, mathematical symbols are clear and can thus show symmetry in contexts, the program code is more hidden than demonstrated.

The well-known T-shirt with the Maxwell equations would look only half as cool without Nabla operator, and program code would depend on the choice of the coordinate system and would not fit on a T-shirt or show the connection.

YBCO123
2 years ago
Reply to  freelancer351

So I can’t even recognize this connection if I try very hard. You compare apples with pears…

hologence
2 years ago
Reply to  freelancer351

when you learn this language.

Even and especially everyone who programmed should not have a problem with learning any language quickly. Languages are problem-oriented, and mathematical language solves a different problem than procedural program code, as well as SQL or graphic UML diagrams solve other problems. Who e.g. projects backward-chain algorithms has necessarily understood quantum logic beforehand.

Kelec
2 years ago
Reply to  hologence

In which unit system are the equations written here?

1/c at the time derivative of E, too, seems strange to me. There should actually be 1/c2 when you write it at the vacuum speed.

The factor 1/c during the rotation of E is also strange to me.

So either they are written in another unit system, or they were otherwise transformed.

YBCO123
2 years ago
Reply to  Kelec

In which unit system are the equations written here?

in the CGS system. I’ve learned that.

Reggid
2 years ago
Reply to  Kelec

that should be Gaussian. then I think it will be

hologence
2 years ago
Reply to  Kelec

c doesn’t even belong there. It’s just a T-shirt. https://www.maxwells-equations.com/forms.php

Reggid
2 years ago
Reply to  hologence

where this is already the unnecessarily long writing.

“correct” is written naturally in manifest kovarianter formula

YBCO123
2 years ago

One difficulty is that mathematics is unfortunately not exactly defined enough.

What’s that supposed to mean? In mathematics everything is exactly defined. Before Rate first, the terms used therein must be 100% clear and non-consistent defined : Then follows Proof. There is no other science that would be better in defining terms than mathematics. Without defining things exactly, mathematics would be useless. That’s what she’s doing. How do you get that?

YBCO123
2 years ago

I only find it highly impractical if I have to rewrite every mathematical equation into a python progamm to talk about it. Example: How do you want the Preticity equation rewrite meteorology as a python program? If you show me how to make this concrete and also show convincingly what benefits you can draw from it against mathematical notation, I am convinced. I don’t see it right now.

YBCO123
2 years ago

Because it’s… you’re writing more stuff. There is no mathematical code, only a mathematical notation. However, this has nothing to do with a programming language, unless a mathematical relationship is used in it.

Someone writes a program to Python and then converts it to the “mathematical code”.

What’s the bullshit? Sorry.

Look at the rest of the answers, then you’ll see what I mean:-)

hologence
2 years ago

paradoxically, this discussion demonstrates what I said with my answer: on program code it would not have been possible.

Kelec
2 years ago

That’s right, the Maxwell equations in the Gaussian unit system.

Kelec
2 years ago

c can be found sometimes.

So the time derivative of E is often written with the prefactor 1/c2 because e*u*c2 =1.

This is done, for example, when you look at electromagentic waves.

Then you can also replace u with 1/(c2 *e) which is sometimes helpful

Reggid
2 years ago

DIR does that.

that’s all.

MonkeyKing
2 years ago

Because people can’t understand. But they’re more uneducated people who get dazzled by something. Who really knows about one thing, I don’t have to hide behind cryptic characters and foreign words.

YBCO123
2 years ago

Can’t honestly follow you…

KlausMueller52
2 years ago
Reply to  YBCO123

Haeä?

Tannibi
2 years ago

Because the one who writes the code usually
the template needs the other to the table
has yelled.

Tannibi
2 years ago
Reply to  freelancer351

The program must have its algorithm somewhere.
Usually, e.g. B. no calculation of a
Standard deviation without the mathematical basics
to know.

GuteAntwort2021
2 years ago
Reply to  Tannibi

Sorry, but the comparison is back and up!

GuteAntwort2021
2 years ago

Basics would be programming in machine code! If you get a high-quality app programmed in Assembler, I would really be impressed!

GuteAntwort2021
2 years ago

My answer referred to the execution of Tannibi. He had indirectly degraded algorithms to write. But then you should also say that mathematicians only write what they have learned in the (basic) school. Numbers, letters, etc.

Otherwise, I agree with the general attitude here: Programming or IT in general is another achievement of mathematics. That should answer your question. 😉 What programming has nothing to do with the basics nowadays. At the latest with ChatGPT, however, any more complex programs can easily co-scroll together thanks to thousands of libraries etc.

After everything you hear, the latest version can even create whole (functional) websites from nothing more than a sketch.

daCypher
2 years ago

Is that so? I am usually rather annoyed by mathematical code, because mathematicians use only one letter for each variable and the formulas look much more complicated than they are actually.

What I think is good, however, if you can make your code more efficient with mathematical deformations. Yesterday, for example, the question of how to calculate the sum of all natural numbers up to a fixed upper limit was raised. A programmer would probably take the simple path first and start a loop from 1 to n and add everything together. If you know about mathematics, you could use the Gaussian formula and the task would always be solved immediately.

KlausMueller52
2 years ago

How do you get that? Since GPT-3 everyone can program!