2
$\begingroup$

PlanckRadiationLaw is a function that returns the properties of a wavelength in a specific temperature.

PlanckRadiationLaw[Quantity[10000, "Kelvins"], Quantity[500, "Nanometers"]]

As shown in helpenter image description here But in this version, v11.3, if I run the code in help, it displayed error with no reason. Why?

enter image description here

$\endgroup$
1
  • $\begingroup$ It works fine on my MMA version 11.3. $\endgroup$
    – Subho
    Commented May 4, 2018 at 10:23

1 Answer 1

5
$\begingroup$

So I have solved this problem after some digging into the problem. Turns out the data depends on the database of Mathematica-which should normally be working fine. But however, the data gets updated sometimes. In China the wolfram server is hard to access, and the connection breaks from time to time. enter image description here So if the connection breaks down before everything is properly updated, it can cause weird behaviors. The way to solve this is get a steady connection, then update the data manually. After this the function worked fine. enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.