Sorry, an error occurred while loading the content.

## how to use scientific notation in a clip?

Expand Messages
• 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, 2006
• 0 Attachment
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, 2006
• 0 Attachment
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.