Group Abstract Group Abstract

Message Boards Message Boards

Mathematica beyond mathematics

12 Replies

Your question doesn't have a precise answer. The book shows how a newcomer can start to use the language without knowing any functions (using the natural language and Wolfram Alpha). However some knowledge is recommended. I think even advanced users can find funny the examples used. In the book are used about 1000 functions, and the most important: the user will have learnt how to browse to find an appropriate function for his case. Thank you. Guillermo

Posted 6 years ago

Guillermo, Rohit,

Thanks for both your replies. I am discovering there are usually quite a few ways to achieve something in Mathematica!

Regards,

Paul

POSTED BY: Updating Name

This option is explained later in the book, for this reason I avoid to use a function until the concept it has not been explained.

In any case supplementary material and corrections (very few it has been necesary) are available at
http://Mathematicabeyondmathematics.com

Thanks

Posted 6 years ago

Or apply the rule to the right level.

Replace[list, {a_, b_, c_} -> a/(b + c), 2]
POSTED BY: Rohit Namjoshi
Posted 6 years ago

Hi José,

Just to say, I'm thoroughly enjoying your book.

One thing confused me though: on pages 78 and 79, you define a list

list = {{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}}

and then use replacement list /. {a, b, c_} -> a/(b + c) But this produces

{a1/(a2 + a3), b1/(b2 + b3), c1/(c2 + c3)}

Not

{a1/(b1 + c1), a2/(b2 + c2), a3/(b3 + c3)}

as suggested should be the answer.

From my limited knowledge, I think it is because it sees a, b and c being the three lists inside rather than the elements of each list.

Am I on the right track?

Also, from a bit of research, I think this would cure the problem:

list /. {a_Symbol, b_Symbol, c_Symbol} -> a/(b + c)

Thank you for your time.

Paul

POSTED BY: Paul Horth

Dear friend I have run all notebooks included in my book Mathematica Beyond Mathematics in Mathematica 11.3.0. I have updated the Mathematica beyond mathematics (it is necessary to modify only two functions using 11.3). Supplementary materials: http://diarium.usal.es/guillermo/mathematica/

In this occasion I have found very few differences with the previous version. I would like to share these differences not only for my readers but also for all Mathematica users.

a) In Mathematica 11.3 in some occasions it could be necessary to include the WorkingPrecision NIntegrate[…., WorkingPrecision -> 10]

NIntegrate[PDF[NormalDistribution[0.49, 0.02], p]*PDF[BinomialDistribution[3030, p], 1515], {p, 0, 1}, WorkingPrecision -> 10] In Math 11.2 you can avoid to including WorkingPrecision

b) According to Mathematica support:"hanges in Import and Export of XLSX files have been implemented to highly improve performance. ...Our development team has decided to include the legacy functionality of previous versions as well,You can use the legacy importer with SheetsLegacy."

Example (included in my book): Import["bp-statistical-review-of-world-energy-2016-workbook.xlsx", {"SheetsLegacy", "Primary Energy Consumption "}];

c) I have found a problem in Dataset that I hoppe be fixed in a next version. Dataset[EntityValue[EntityClass["Particle", "Lepton"], {"Symbol", "Charge", "Mass"}, "EntityPropertyAssociation"]] (* Note, RowBox and FractionBox in the output if you use Math 11.3.0. *)

J. Guillermo Sanchez

In fairness, it should be noted that in his presentations, Stephen Wolfram often emphasizes using Mathematica in various areas outside of mathematics proper; indeed, he sometimes almost grudgingly shows new mathematical features. See, e.g.: https://www.twitch.tv/stephen_wolfram

POSTED BY: Murray Eisenberg

Mathematica beyond mathematics. Tested with Math 11.1 and 11.2: Supplementary materials: http://diarium.usal.es/guillermo/mathematica/

Posted 8 years ago
POSTED BY: Eric L
POSTED BY: Todd Rowland
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard