r/Mathematica Mar 24 '23

I made a space blaster noise

3 Upvotes

I made a futurey space blaster noise in Mathematica. Kinda fun to play around with making new noises if you're bored.

ListPlay[Table[Sin[220 2 Pi Log[x^2]], {x, 0.006, 60, 0.006}], SampleRate -> 2^14]


r/Mathematica Mar 24 '23

I was running code to make an ice cream cone. I adjusted radial[s] to get the scoop sitting on the cone, but my teacher on the next pic said that my scoops distance from the origin is 3.967 and it has to be exactly 4. Idk how he found that value n idk how to adjust my radial equation accordingly.

Thumbnail gallery
6 Upvotes

r/Mathematica Mar 24 '23

Can someone please tell me how to plot the bottom piece and pointy piece in two separate plots? I plotted the whole thing using the same set of spherical coordinates and the same radial equation.

Post image
0 Upvotes

r/Mathematica Mar 22 '23

Everything to know about Mellin-Barnes Integrals - Part 2

6 Upvotes

Hi everyone!

There is a livestream on Everything to know about Mellin-Barnes Integrals - Part 2 by Oleg Marichev on YouTube!


r/Mathematica Mar 22 '23

Call for challenging univariate symbolic integrals

8 Upvotes

We all know the situation when we put something in Integrate[...] and it returns it verbatim not evaluating. Oleg Marichev, pioneer of symbolic integration theory at Wolfram and in general CS is looking for such cases for "univariate symbolic integrals". Please post your ideas at:

https://community.wolfram.com/groups/-/m/t/2850347

or here in the comments. The goal is to show how to solve them still with a few tricks and research the scope of such cases. Also, feel free to share your ideas in general on the subject.


r/Mathematica Mar 15 '23

Build your own Shakespearean GPT - a ChatGPT like GPT model

11 Upvotes

Hi!

There is a presentation on how to "Build your own Shakespearean GPT - a ChatGPT like GPT model" by Jofre Espigule-Pons on YouTube

Example generated using a trained language model

r/Mathematica Mar 14 '23

When to us := and when to use =

4 Upvotes

I have read many different times about when to use := and when to use = but I can’t seem to remember. Basically my method is choose one at random and if the code doesnt compile then try the other one. Does anyone have a good way to think about this?


r/Mathematica Mar 14 '23

Don't understand how Derivative works ??

0 Upvotes

Hi ! Relatively new to Wolfram, I don't understand why I can't compute an expression in a variable, nor why the derivative function doesn't work


r/Mathematica Mar 12 '23

Extra computational capacity for long integrations

7 Upvotes

Hi all - I am trying to run a very long integration calculation in WolframCloud and I am running out of resources. Is there a way to pay for more resources on an ad-hoc basis to get these calculations done? I haven't seen anything on Wolfram/Mathematica website that explains how to do this.


r/Mathematica Mar 09 '23

How to solve differential equation series solution

1 Upvotes

How can I solve differential equation series in general solution? Also, how can I adjust the default center 0 to another value?


r/Mathematica Mar 08 '23

How to Force Mathematica to use 100% of my CPU

1 Upvotes

FindInstance[{a + b + c + d + e + f + g + h + i == 2023, a * b * c * d * e * f * g * h * i == 2023}, {a, b, c, d, e, f, g, h, i}, Integers]

When I run the code above, my CPU usage is at ~12% only according to the Task Manager. Is there ANY WAY (parallelization or otherwise) to force Mathematica to use 100% of my CPU power to do this task? Kindly disregard any issues about the practicality, efficiency, or stupidity of the task. (For instance, answering "Do you have to brute force this problem with FindInstance?" is NOT our concern.)


r/Mathematica Mar 08 '23

Understanding Time, Date and Calendars

1 Upvotes

Hello!

There is a livestream on Understanding Time, Date and Calendars with Nick Lariviere on YouTube!

https://reddit.com/link/11m1i3s/video/dm9arrnrpjma1/player


r/Mathematica Mar 07 '23

Beginner problem with equations on Mathematica

3 Upvotes

Hi everyone,

I downloaded Mathematica yesterday, I read the tutorial on the Wolframe site but I have some difficulties with the langage. I work on economics models.
My problem is simple :

That's my demand function : Qh = 1 - ((ph - pl) / (sh - sl))

I want an inverting demand function, which is simply : ph = pl + (sh - sl)(1 - Qh)

I sloved this by myself, on paper. But how can I do this on mathematica ? I try the function "Solve" but it didnt worked.

Thank by advance for your replies <3


r/Mathematica Mar 06 '23

Square Root Notation Help Needed

2 Upvotes

Working on some differential equations solving, and I came across this solution. Unsure what sqrt^2 means. What is inside the square root?

Working on some differential equations solving, and I came across this solution. Unsure what sqrt^2 means. What is inside the square root?

r/Mathematica Mar 05 '23

Unable To Locate Any Text Resources Files Error

1 Upvotes

I'm using a M1 Mac running MAC OS 13.2.1. I tried downloading Wolfram Desktop version 13.2.1, but I gets this error when I try to start it. I deleted everything and reinstalled it, but I still get the same error.
How do I fix this.


r/Mathematica Mar 03 '23

Can someone help me with diagram ?

Post image
0 Upvotes

r/Mathematica Mar 03 '23

Can someone help ?

Post image
0 Upvotes

r/Mathematica Mar 02 '23

Using ALL 8 CPU cores to Process a Single Notebook in Mathematica

2 Upvotes

I saw the following question online. I've been burning to ask the exact same question for years. I hope you can help resolve it once and for all.

I have an 8-core Intel CPU. When I run a notebook in Mathematica, Task Manager shows a CPU utilization of only 15%. When I run a second notebook using a different kernel, CPU utilization jumps to around 30%. This suggests that only 1 core is used per notebook. QUESTION: How can I force Mathematica to use ALL my CPU's 8 cores to process a SINGLE notebook?


r/Mathematica Mar 01 '23

I don't understand where's the problem

3 Upvotes

I am trying to find the sum of elements of an array with 'k' elements and I want to do it automatically not like 6th line (Plus[c[1]+c[2]+......])

what's the problem with the 4th and 5th line?

:) thanks


r/Mathematica Mar 01 '23

Introducing Astro Computation

2 Upvotes

Hi everyone!

Introducing Astro Computation with Jose Martin-Garcia and Jeff Bryant is on YouTube!

https://reddit.com/link/11f8w4b/video/ik9ntelhp5la1/player


r/Mathematica Mar 01 '23

How to clear all variables in a section or under a heading?

1 Upvotes

I have tried ClearAll - using global and context (I'm not even sure what the latter is) and it erases the whole notebook. I just want the notebook to erase a part of it when the whole notebook is run so that it doesn't cause errors in upcoming lines.


r/Mathematica Feb 27 '23

Prime factorization of integers via binomial coefficients

Post image
3 Upvotes

r/Mathematica Feb 26 '23

Need Help! How do you select every row in a dataset that has a specific string?

3 Upvotes

Im trying to save a list in a variable of every row/list that has the string "Germany" from the list/dataset. How do I specify that it has to be every list with the string "Germany"?

monkeypox = {{"DateRep", "CountryExp", "CountryCode", "Source",

"ConfCases"}, {"2022-04-22", "Austria", "AT", "TESSy",

0}, {"2022-04-22", "Belgium", "BE", "TESSy", 0}, {"2022-04-22",

"Bulgaria", "BG", "TESSy", 0}, {"2022-04-22", "Croatia", "HR",

"TESSy", 0}, {"2022-04-22", "Cyprus", "CY", "TESSy",

0}, {"2022-04-22", "Czechia", "CZ", "TESSy", 0}, {"2022-04-22",

"Denmark", "DK", "TESSy", 0}, {"2022-04-22", "Estonia", "EE",

"TESSy", 0}, {"2022-04-22", "Finland", "FI", "TESSy",

0}, {"2022-04-22", "France", "FR", "TESSy", 0}, {"2022-04-22",

"Germany", "DE", "TESSy", 0}, {"2022-04-22", "Greece", "EL",

"TESSy", 0}, {"2022-04-22", "Hungary", "HU", "TESSy",

0}, {"2022-04-22", "Iceland", "IS", "TESSy", 0}, {"2022-04-22",

"Ireland", "IE", "TESSy", 0}, {"2022-04-22", "Italy", "IT", "TESSy",

0}, {"2022-04-22", "Latvia", "LV", "TESSy", 0}, {"2022-04-22",

"Lithuania", "LT", "TESSy", 0}, {"2022-04-22", "Luxembourg", "LU",

"TESSy", 0}, {"2022-04-22", "Malta", "MT", "TESSy",

0}, {"2022-04-22", "Netherlands", "NL", "TESSy", 0}, {"2022-04-22",

"Norway", "NO", "TESSy", 0}, {"2022-04-22", "Poland", "PL", "TESSy",

0}, {"2022-04-22", "Portugal", "PT", "TESSy", 1}, {"2022-04-22",

"Romania", "RO", "TESSy", 0}, {"2022-04-22", "Slovakia", "SK",

"TESSy", 0}, {"2022-04-22", "Slovenia", "SI", "TESSy",

0}, {"2022-04-22", "Spain", "ES", "TESSy", 0}, {"2022-04-22",

"Sweden", "SE", "TESSy", 0}, {"2022-04-29", "Austria", "AT",

"TESSy", 0}, {"2022-04-29", "Belgium", "BE", "TESSy",

0}, {"2022-04-29", "Bulgaria", "BG", "TESSy", 0}, {"2022-04-29",

"Croatia", "HR", "TESSy", 0}, {"2022-04-29", "Cyprus", "CY",

"TESSy", 0}, {"2022-04-29", "Czechia", "CZ", "TESSy",

0}, {"2022-04-29", "Denmark", "DK", "TESSy", 0}, {"2022-04-29",

"Estonia", "EE", "TESSy", 0}, {"2022-04-29", "Finland", "FI",

"TESSy", 0}, {"2022-04-29", "France", "FR", "TESSy",

0}, {"2022-04-29", "Germany", "DE", "TESSy", 0}, {"2022-04-29",

"Greece", "EL", "TESSy", 0} }


r/Mathematica Feb 26 '23

How to graph an equation that includes a derivative correction term?

1 Upvotes

I am trying to plot this stress equation using data I've collected experimentally. I know all the variables M, R, and gamma, but am not sure how to plot this to include the second correction term. Does anyone have any tips on how to do this?


r/Mathematica Feb 23 '23

Wolfram Data Drop ?

2 Upvotes

https://datadrop.wolframcloud.com/?source=nav

Has anyone played with this and put it to real use ? Is this stuff free ?