Group Abstract Group Abstract

Message Boards Message Boards

0
|
10.3K Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

A simple problem with the new version of Mathematica. (units)

POSTED BY: Rob Brown
3 Replies
Posted 11 years ago

Syntax clumsy but at least the formula is built-in.

a = Quantity[4*10^14, "Hz"];
b = Quantity[273, "Kelvin"];
FormulaData[{"PlanckRadiationLaw",  "Frequency"}, {QuantityVariable["\[Nu]","Frequency"] -> a,  QuantityVariable["T","Temperature"] -> b}]

I(\[Nu])==2.728045498776555*10^-37 kg/(s)^2
POSTED BY: Douglas Kubler
Posted 11 years ago

Hello!

UnitConvert[ Quantity[10, "Grams"]*Quantity[980, "Centimeters"]/ Quantity[("Seconds")^2], Quantity["Dynes"]]

(for F= 10 g and not F= 10 gm)

POSTED BY: Vorname

Thanks for the quick response. That way of doing things makes sense, but it was a lot easier the old way. I suppose they had their reasons for changing things, but it seems to me that at least leaving the easier, more straightforward way would be a lot better. For instance, can you think what it would look like to use that kind of syntax to calculate the black body radiation formula. Anyway, thanks. Your response really helped.

POSTED BY: Rob Brown
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard