Any suggestion for programming?
- Subject: Any suggestion for programming?
- From: zycentre
- Date: Thu, 10 Mar 2005 22:18:45 +0800 (CST)
Thank you very much for your instructive suggestions.
Perhaps it will be a long way for me to grasp the
Maxima.
When I read the introduction of "the maxima book"
today, I was deeply moved by the story of Dr.
Schelter, who stilly maintain the system until his
untimely death.
Best regards,
Zou Yuan-Chuan
--- Barton Willis wrote:
>
> Two suggestions.
>
> 1. %pi is Maxima's name for the circular constant.
> You
> don't need to assign your own value to pi. Also,
> Maxima
> has built in values for many physical constants.
> To access them, load the file 'physconst.'
>
> (%i16) load(physconst)$
> (%i17) float(%m_e);
> (%o17) 9.109381880000002*10^-31*kg
> (%i18) float(%%c);
> (%o18) (299792458*m)/s
> (%i19) float(%pi);
> (%o19) 3.1415926535897931
>
> 2. You can change the way Maxima converts a symbol
> to
> TeX by using the 'texput' function. To do this,
> load
> the file 'mactex-utilities'
>
> (%i2) load("mactex-utilities")$
> (%i3) texput(st,"\\Sigma_t");
> (%o3) \Sigma_t
> (%i4) tex(st^2);
> $$\Sigma_t^2$$
>
> Barton
>
> -----maxima-admin@math.utexas.edu wrote: -----
>
> >The following is a part of one of my code:
> >
> > c : 3.0D10$
> > e : 4.803242D-10$
> > m_e : 9.109534D-28$
> > m_p : 1.6726485D-24$
> > pi : 3.14159265358979D0$
> > \\sigma_T : 6.652448D-25$
>
>
_________________________________________________________
Do You Yahoo!?
150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
http://music.yisou.com/
ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
http://image.yisou.com
1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/