Operating on a list of values with units

February 06 2012 by erik10 196
false
Maple

0


Dear Maple users

The formula f = c/λ is expressing the frequency in terms of the velocity of light  c and the wavelength λ. Lets say given not just one wavelength, but a whole list af wavelengths. The values have units attached. I wonder if there is an elegant way to have Maple calculate the all the frequencies, eventually delivering them in a new list?

I want the units of the output reduced to SI-units, and delivered with decimals. I have tried using the map command, but I was unable to access the "Replace Units" command, which is usually available in the context menu ...

Maybe I am looking in the wrong direction. Would a table be more appropriate?

 

Regards,

Erik 

 

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account