#mathematica

Rust Weekly 🦀rust_discussions
2025-05-10

Woxi - An interpreter for the Wolfram Language written in Rust

github.com/ad-si/Woxi

Discussions: discu.eu/q/https://github.com/

2025-04-24

[Перевод] Markdown презентации по-новому: контроллер Nintendo, интерактивный блокнот и немного магии

Как превратить скучные слайды в интерактивную демонстрацию, где код можно запускать прямо на месте? В этой статье попробуем перенести презентацию в браузер, а затем — в «блокнот». Интерактивные среды, такие как Jupyter Notebook, Observable, Mathematica, WLJS Notebook, позволяют создавать живые презентации, лекции и наглядные материалы для коллег или студентов. Они незаменимы и для визуализации моделей, симуляций и любых данных. Под катом — примеры, пошаговый разбор и демо вживую.

habr.com/ru/articles/904196/

#ppt #markdown #nintendo_switch #jupyter_notebook #jupyter #mathematica #wolfram #wljs #презентация #гироскоп

oh, man! @Wolfram just sent me a 60 free subscription to #Mathematica .. now i’m just gonna get all addicted..

2025-03-27

Гироскоп в презентации или зачем брать с собой JoyCon на большую научную конференцию

Анимации и свистоперделки в том виде, в котором они были популярны с PowerPoint 10 или 20 лет назад, значительно отступили на второй план. Любые технические доклады сейчас - это зачастую просто PDF документ. А хотелось бы больше 🧙🏼‍♂️ Как? Зачем превращать буханку хлеба в космический корабль? И при чем тут физика и webdev? Давайте разбираться! (осторожно! трафик)

habr.com/ru/articles/893940/

#revealjs #markdown #wljs #mathematica #jupyter #jupyter_notebook #nintendo #nintendo_switch #ppt

Antonio Ganfornina Andradeswadabadah
2025-03-11

Dear scientists of mastodon, I am once again asking for assistance 😅

I want to evaluate:

F(\omega',\omega)=\int_{-\infty}^{\infty}f(t,\omega)e^{i(\omega-\omega')t}dt

For easy cases, frequency shifting property of Fourier transform will be enough. If f(t,omega)=a, the result will be 2*pi*a*delta(omega-omega').

I've tried to solve this in Matlab, but I lack of any confidence on this matter (script on alt-text).

How would you implement this? Thank you 🫂 😊

The integral evaluated in t (time) from -infinite to +infinite of a function f which depends of two variables; t (time) and omega (angular frequency), multiplied by the complex exponential of omega-omega_prime multiplied by t. This results in a primitive function F(omega_prime,omega).

The script I have made to solve this. However, I am not 100% sure, since even for a simple case (see below the code).

% The matrix f was obtained previously and it is a square matrix of 2000x2000 elements, where the rows corresponds to each omega (frequency) and each column corresponds to a different t (time).

f_ww = zeros(2000); % Initialise a matrix of zeros.
total_iterations = numel(f_ww);  % Total number of iterations
iteration = 0;  % Start iteration counter

% Evaluating the integral
for m = 1:2000
    for n = 1:2000
        omega_m = omega(m);
        omega_n = omega(n);
        exponential_term = exp(1i * (omega_m - omega_n) * t_vals);
        f_ww(m, n) = trapz(t_vals, f(m, :) .* exponential_term); % Trapz method
        % Update iteration counter
        iteration = iteration + 1;
        
        % Calculate and display progress percentage
        progress = (iteration / total_iterations) * 100;
        fprintf('Progress: %.2f%%\n', progress);
    end
end

My doubt; for an initial matrix f where all its elements are a constant value, I should obtain at the end a delta-like behaviour around the main diagonal, but when I plot the results I get something like sinc(omega-omega_prime).
Antonio Ganfornina Andradeswadabadah
2025-03-04

Hola! Cientifiques de Mastodon, especialmente si usáis Matlab, Mathematica, o Python. Estoy atascado con un problema ¿Podríais echarme un cable?

He obtenido una expresión analítica general que bajo casos puntuales soy capaz de "resolverla a mano", pero en otros casos las integrales no tienen solución analítica.

\int_{-\infty}^{t}dt'e^{\int_{t}^{t'}ds \gamma(s)}e^{-i\omega(t'-t)}

¿Cómo lo implementaríais en un script de integración numérico? Gracias 🫂😊

La integral definida desde menos infinito hasta  t con respecto a  t' (t prima), de la exponencial de la integral desde  t hasta  t' (t prima) de una función gamma (dependiente de s) respecto a la variable s, multiplicada por la exponencial de  -i*omega*(t' - t).

I didn't have time to fully update the code for #GPUZen3 on #Unity 6 LTS. So for now I'm sharing illustrations code and Jacobian derivation notebook (#Mathematica).
Plus some illustrations I did not use in the book chapter.
github.com/soufianekhiat/gpuze

Pustam | पुस्तम | পুস্তম🇳🇵pustam_egr@mathstodon.xyz
2025-01-17

The following equations use each of the digits \(1\) to \(9\) exactly once.

\[\Huge\boxed{567=\sqrt{321489}}\]

\[\Huge\boxed{854=\sqrt{729316}}\]

In fact, there are only \(2\) solutions to \(n=\sqrt N\) or \(n^2=N\), with the condition that \(n\) and \(N\) together use each of the digits \(1\) to \(9\) exactly once. See what #Mathematica and #Python return. Also, \(n^k=N\) seems to have no solutions for \(k\neq2\).

Python code:
[1] mycompiler.io/view/GEAYSh5dYeG
[2] sagecell.sagemath.org/?z=eJyFU

#Solution #Digits #CollectDigits

2025-01-09

[Перевод] Моделируем поверхность Земли в пару строчек

Вы когда-нибудь играли в Outer Wilds ? Планеты там невероятно красивы. Это собственно стало основной мотивацией создать свою простую модель планеты, используя реальные географические данные о высотах и немножко магии Wolfram Language

habr.com/ru/articles/872554/

#marching_cubes #геоданные #земля #блокнот #wljs #wolfram #jupyter_notebook #mathematica

2025-01-06

Released into the #PublicDomain and uploaded on #WikimediaCommons together with the #Mathematica script used to generate it: commons.wikimedia.org/wiki/Fil

2025-01-03

This is what people mean when they talk about "readable code," right?

(This is in fact a valid—and useful—line of #Mathematica code…)

Christos Argyropoulos MD, PhD, FASN 🇺🇸christosargyrop.bsky.social@bsky.brid.gy
2024-12-16

IMHO one of the prime reasons that most code found in academic (and perhaps corporate?) settings suck is because we don't teach people to use functional programming constructs. I have observed this in #perl, #rstats, #Mathematica & even #C (assuming you take care with pointers).

Christos Argyropoulos MD, PhD, FASN 🇺🇸christosargyrop.bsky.social@bsky.brid.gy
2024-12-16

IMHO One of the prime reasons that most code found in academic (and perhaps corporate?) settings suck is because we don't teach people to use functional programming constructs. I have observed this in #perl, #rstats, #Mathematica & even #C (assuming you take care with pointers).

Christos Argyropoulos MD PhDChristosArgyrop
2024-12-16

IMHO One of the prime reasons that most code found in academic (and perhaps corporate?) settings suck is because we don't teach people to use functional programming constructs. I have observed this in , , & even (assuming you take care with pointers).

2024-12-10

Released into the #PublicDomain and uploaded to #WikimediaCommons together with the #Mathematica script used to generate it: commons.wikimedia.org/wiki/Fil

GripNewsGripNews
2024-10-22

🌗 在Typescript中的一個Mathematica解譯器 - Slava Akhmechet
➤ Mathematica解譯器的建立過程
spakhm.com/ts-wolfram
在Typescript中嘗試Mathematica解譯器,包括實現象徵微分運算子的數學規則,以及建立一個足夠正確運行自訂微分碼的解譯器。作者描述了實現過程中遇到的問題和解決方法,並測試瞭解譯器在不同數學公式上的正確性。
+ 這篇文章詳細描述了在Typescript中建立Mathematica解譯器的過程,很有趣且具有教育意義。
+ 這個專案展示了作者對於解決數學問題和處理程式碼的熱情和耐心,對於學習如何處理符號推導的過程很有幫助。

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst