Sorry, an error occurred while loading the content.
Browse Groups

• Hi, I just made two clips that convert frequency to wavelength and vice versa but could not figure out how to use the math functions to handle scientific
Message 1 of 2 , Dec 4 6:26 AM
View Source
Hi,

I just made two clips that convert frequency to wavelength and vice versa but could not figure out how to use the math functions to handle scientific notation. The online help (v4.95) was too skimpy about this. I would like the frequency to allow for numbers like 1.43x10 to the 9th power, and the same for the speed of light (29979245800 cm/sec). Can someone explain to me the correct syntax?

H="Frequency -> Wavelength"
^!Prompt ^?[Enter the frequency (cycles per sec.)] cycles/sec = ^\$Calc(29979245800/^?[Enter the frequency (cycles per sec.)])\$ cm

H="Wavelength -> Frequency"
^!Prompt ^?[Enter the wavelength (cm)] cm = ^\$Calc(29979245800/^?[Enter the wavelength (cm)])\$ cycles/sec.

Yours,

Michael F
-������-
~
http://www.mafware.com
*************************
Never Forget
September 11, 2001
*************************

[Non-text portions of this message have been removed]
• I think you will find what you need here: http://tech.groups.yahoo.com/group/ntb-clips/message/10156 Regards, Sheri ... versa but could not figure out how to
Message 2 of 2 , Dec 4 9:06 AM
View Source
I think you will find what you need here:

http://tech.groups.yahoo.com/group/ntb-clips/message/10156

Regards,
Sheri

--- In ntb-clips@yahoogroups.com, mfrascinella@... wrote:
>
> Hi,
>
> I just made two clips that convert frequency to wavelength and vice
versa but could not figure out how to use the math functions to handle
scientific notation. The online help (v4.95) was too skimpy about
this. I would like the frequency to allow for numbers like 1.43x10 to
the 9th power, and the same for the speed of light (29979245800
cm/sec). Can someone explain to me the correct syntax?
>
> H="Frequency -> Wavelength"
> ^!Prompt ^?[Enter the frequency (cycles per sec.)] cycles/sec =
^\$Calc(29979245800/^?[Enter the frequency (cycles per sec.)])\$ cm
>
> H="Wavelength -> Frequency"
> ^!Prompt ^?[Enter the wavelength (cm)] cm =
^\$Calc(29979245800/^?[Enter the wavelength (cm)])\$ cycles/sec.
>
>
> Yours,
>
> Michael F
> ~
> http://www.mafware.com
> *************************
> Never Forget
> September 11, 2001
> *************************
>
> [Non-text portions of this message have been removed]
>
Your message has been successfully submitted and would be delivered to recipients shortly.
• Changes have not been saved
Press OK to abandon changes or Cancel to continue editing
• Your browser is not supported
Kindly note that Groups does not support 7.0 or earlier versions of Internet Explorer. We recommend upgrading to the latest Internet Explorer, Google Chrome, or Firefox. If you are using IE 9 or later, make sure you turn off Compatibility View.