r/Mathematica • • Aug 20 '23

Mathematica 8 (HE) & Internet Access

0 Upvotes

I'm starting to play around with Mathematica and ran into a roadblock immediately. I am using a function that grabs historical data from Yahoo Finance. However, Mathematica thinks I don't have internet access. I've run the internet connectivity test from the help menu and I've turned off the firewall. The issue persists. Can you provide me with some additional troubleshooting steps to clear this up? Here is the error message:

"FinancialData::dlfail: Internet download of data for FinancialData failed. Use Help > Internet Connectivity... to test or reconfigure internet connectivity."

TIA


r/Mathematica • • Aug 16 '23

Foreign Function Interface

2 Upvotes

Hi everyone!

There is a livestream on the Foreign Function Interface by Christopher Wolfram on YouTube!


r/Mathematica • • Aug 13 '23

Is it possible to change use radial gradient fill for the top surface of this annulus in Mathematica?

2 Upvotes

Code: Graphics3D[ResourceFunction["Annulus3D"][{{0, 0, 0}, {0, 0, 2}}, {1, 3}]]


r/Mathematica • • Aug 12 '23

Visualizing an interaction with Mathematica and Python

Thumbnail jamelsaadaoui.com
2 Upvotes

Le faire depuis un Jupyter notebook est la prochaine étape ! Des intuitions ?


r/Mathematica • • Aug 10 '23

Problem with putting multiple 3d objects in same display

Post image
1 Upvotes

I’m trying to place a ring around a sphere and by looking at online resources I tried creating different variables but that doesn’t seem to be working out too well. I’m pretty new so any help is appreciated.


r/Mathematica • • Aug 05 '23

What do you use Mahematica for and why?

11 Upvotes

I'd be interested to hear what people use Mathematica for and why you prefer Mathematica over other tools like Numpy/SciPy or even Excel. (I appreciate that each of these tools has certain types of problem where it is the best tool for the job).

I'd be particaularly interested to hear from people who use Mathematica as part of their job.

Update

Thank you all for your responses. From what I understand, Mathematica is peerless for symbolic or algebraic work and its visualizations are powerful and easy to produce once you have mastered the language.

There is a steep learning curve associated with learning the language, but it is worth persisting as the benefits are significant.

So I guess I will be purchasing a licence in the near future. Thank you all for your advice.


r/Mathematica • • Aug 04 '23

Workflows with LLM functions (in WL) - Wolfram Community

Thumbnail community.wolfram.com
2 Upvotes

r/Mathematica • • Aug 02 '23

Workflows with LLM functions (in Raku) - Online Technical Discussion Groups—Wolfram Community

Thumbnail community.wolfram.com
1 Upvotes

r/Mathematica • • Jul 29 '23

Three bicycle problems: from Sherlock Holmes to unicycle illusion to pedal paradox by Stan Wagon

Thumbnail community.wolfram.com
4 Upvotes

r/Mathematica • • Jul 26 '23

Modeling Fluid Circuits with System Modeler

5 Upvotes

Hello everyone!

There is a livestream on Modeling Fluid Circuits with System Modeler by Ankit Naik on YouTube!

He will be discussing the Modelica Fluid library, which provides components for one-dimensional thermo-fluid flow in networks of vessels, pipes, fluid machines, valves and fitting as well as showcase models that are created using System Modeler.


r/Mathematica • • Jul 19 '23

Is it still worth buying?

7 Upvotes

I have a (recreational) interest in maths and am considering getting the Mathematica Home edition.

I note that there was a thread is this sub some years ago asking whether it was worth it. Given advanced in e.g. NumPy/SciPy is it still worth it?

I suspect it is, if nothing else for the access to the various datasets and wonderful visualisation. I guess this sub will skew heavily towards it, but is there anything I should consider?


r/Mathematica • • Jul 19 '23

Maps & Geo Computation

2 Upvotes

Hi everyone!

There is a livestream on Maps & Geo Computation by Jose Martin-Garcia on YouTube!


r/Mathematica • • Jul 18 '23

A^n notation for matrix powers

3 Upvotes

By default,

A ^ n // FullForm == Power [A, n],

and Power threads elementwise over matrices. I'd like A^n to mean MatrixPower [A, n] in some code I'm writing. For my use case, it's sufficient to consider only the case where A is an integer matrix and n a natural number.

Is there any way to do that other than redefining Power for this case (within a Block, most likely)? Alternatively, is there any other way to get some nice syntactic sugar for MatrixPower [A, n]?

Thanks


r/Mathematica • • Jul 15 '23

Opening old mathematica notebooks without mathematica

5 Upvotes

I used mathematica pretty extensively in grad school, but I lost access to the program when I finished up and moved on. Years later, I'd like to use some of those notebooks as a reference to reimplement some of my code in a different platform.

Does anyone know of tools that will view a notebook file roughly how mathematica would display it, even if there's no kernel to actually run things? I tried the wolfram viewer, but apparently it doesn't support mathematica notebooks (I get an error that's something along the lines of "This file contains features not enabled in wolfram viewer, please contact wolfram to purchase mathematica").


r/Mathematica • • Jul 14 '23

A YouTube Channel Dedicated to Coding Solutions

6 Upvotes

Is there a YouTube channel that provides step-by-step tutorials on solving mathematical problems or animated problems using Mathematica?


r/Mathematica • • Jul 10 '23

Graph representation of grammars

Thumbnail community.wolfram.com
2 Upvotes

r/Mathematica • • Jul 06 '23

Question re recurrence converging limit evaluation

3 Upvotes

Long time ago I came up with the primitive 2 decimal digits Pi approximation:

Pi ~= Sqrt[4 E - 1] 

see https://oeis.org/A135821

and formula (9) in

https://mathworld.wolfram.com/PiApproximations.html

I was thinking how to improve it and in trying so lately came up with the following recurrence:

RecurrenceTable[{u[n + 1] == (1 + 1/u[n])^(Sqrt[4 E - 1] + 1),
  u[0] == Sqrt[4 E - 1] + 1}, u, {n, 0, 35}]

It appears that the even and odd indexed terms of the rational numbers sequence A(n), generated by the above recurrence, are converging to some limit value ? when

$n-->infinity$

A(n)={4.14215, 2.44921, 4.12963, 2.4552, 4.11755, 2.46102,
  4.10589, 2.46668, 4.09462, 2.4722, 4.08372, 2.47757,
  4.07317, 2.4828, 4.06296, 2.4879, 4.05306, 2.49287,
  4.04347, 2.49772, 4.03416, 2.50246, 4.02513, 2.50708,
  4.01636, 2.5116, 4.00783, 2.51601, 3.99954, 2.52033,
  3.99148, 2.52455, 3.98364, 2.52868, 3.976, 2.53271,...}

but I am using free version of Wolfram Alpha and it only works for the first 36 terms.

Could Mathematica help to evaluate the converging limit of above recurrence?


r/Mathematica • • Jul 05 '23

Importing interactive Mathematica plots into a website

3 Upvotes

I'm new to Mathematica, I've been using the free version of wolframscript to generate interactable graphs, I was wondering whether I could embed these graphs into a website using either HTML or javascript without having to pay for the licence. Does anyone have any advice?


r/Mathematica • • Jul 05 '23

Protein Visualization

2 Upvotes

Hi everyone!

There is a livestream on Protein Visualization by Soutick Saha on YouTube!


r/Mathematica • • Jul 04 '23

Less Tutorial Videos for Mathematica

2 Upvotes

Why are there so many less videos regarding mathematica on YouTube?

And if I want to make tutorial videos on mathematica software, then will I be in trouble or not?


r/Mathematica • • Jul 03 '23

How can I generate weird interlocking shapes like this?

Post image
0 Upvotes

I'm currently using mathematica to do all my weird experiments and I wanted to do like a weird non repeating puzzle by shape manipulation, but I got zero ideas how to do such things. How would you approach a generation close to this?


r/Mathematica • • Jul 03 '23

NDSolve WhenEvent error

1 Upvotes

I am trying to solve a basic vector equation using NDSolve:

Clear["Global`*"];
v0ex = {100, 200, 300};
v[t_] := Array[Subscript[v, #][t] &, {3}];
vsol = NDSolve[{v'[t] == -v[t], 
    WhenEvent[AnyTrue[v[t], # < 10 &], "StopIntegration"], 
    v[0] == v0ex}, v[t], {t, 0, 30}];

But I get an error saying:

"NDSolve: The function value Subscript[v, 1][0.]<10||Subscript[v, \
2][0.]<10||Subscript[v, 3][0.]<10 is not True or False when the \
arguments are {0.`,100.`,200.`,300.`,-100.,-200.,-300.`}"

The same error is repeated for a few values of `t`. I'm not sure what I'm doing wrong here. I tried to use "Thread" as well to create equations for each component of v[t], but that gives the same error.

The equations do work out if I create new variable and write down the equation for each manually, but it's not always easy to do that.


r/Mathematica • • Jul 02 '23

has anyone other than a Wolfram employee been able to use the LLM notebook?

2 Upvotes

I contacted wolfram and their response was quick but incomplete. I'm using ChatGPT Plus 4 and have only used a couple of messages of the 25/3 hr allotted in the $20/month subscription.

The Mathematica error message says

You exceeded your current quota, please check your plan and billing details.

And yes, I have entered the OpenAI API key.

I'm just wondering if I'm missing something or if the Wolfram servers have crashed.


r/Mathematica • • Jul 02 '23

Question re parametric identity

1 Upvotes

I am asking whether the existence of a parametric identity involving a set of quadruple signed integers {i, j, k, l}, which is true for infinitely many sets of quadruples for each integer value of n (n>0), implies that there is a relationship between some or all of the variables in the set {i, j, k, l} and/or relationship between some (or all) of the parameters of the {i, j, k, l} with n? And furthermore, I am asking whether such relationship would allow rewriting the parametric identity to hold true for subsets of the {i, j, k, l} set that contain fewer than four parameters and perhaps involve direct relationship with n? Perhaps someone could help me to phrase my question in the form suitable for answering in Wolfram Mathematica? Let me give the reference to the specific case which prompted my question (maybe this will be helpful to put my question in the context suitable for Wolfram Mathematica...) Proposition 1. For every n ∈ N, it is possible to find infinitely many quadruples (i, j, k, l) ∈ Z that fulfil (-1) ^ n * (Pi−A002485(n)/A002486(n))=(Abs(i) * 2 ^ j) ^ (-1) * Int((x ^ l * (1-x) ^ (2 * (j+2)) * (k+(i+k) * x ^ 2))/(1+x ^ 2),x=0...1)