由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Science版 - Re: 请教一个问题
相关主题
Predict values of vectors generated by black box functionsRe: 概率问题
numerical solving PDE on infinite semi-plane (转载)Someone mind to explain the argument in the post
cosmo.7.SRRe: 请教一个线性最小二乘拟合的基本问题,谢谢!
[转载] 一个科学问题让我头痛死了的问题
4-阶龙格库塔子程序powerful image processing software? (转载)
Re: help about autocorrelation.Numerical Method Question Help
Re: 问个数学问题Re: mathematica问题7
Re: multiple regression model's questionhelp with numerical integral transformation
相关话题的讨论汇总
话题: idum话题: ran2话题: moon话题: real话题: im1
进入Science版参与讨论
1 (共1页)
s***e
发帖数: 911
1

Numerical recipe里面的ran2.f能干这个,很不错的程序;
s***e
发帖数: 911
2

我把程序直接给你? 很短. 这个程序很好用. 其中有些注释句很多余,是以前我调程序
干的,没删掉. 是单精度实行.反正是random number, 没必要双精度. 主程序掉用强行
转一下就成.
FUNCTION ran2(idum)
c REAL FUNCTION ran2(idum)
INTEGER idum,IM1,IM2,IMM1,IA1,IA2,IQ1,IQ2,IR1,IR2,NTAB,NDIV
REAL ran2,AM,EPS,RNMX
* REAL*8 FUNCTION ran2(idum)
c REAL FUNCTION ran2(idum)
PARAMETER (IM1=2147483563,IM2=2147483399,AM=1./IM1,IMM1=IM1-1,
*IA1=40014,IA2=40692,IQ1=53668,IQ2=52774,IR1=12211,IR2=3791,
*NTAB=32,NDIV=1+IMM1/NTAB,EPS=1.2e-7,RNMX
k**y
发帖数: 320
3
btw, you should know the site:
www.nr.com
e*****e
发帖数: 17
4
www.netlib.org
tons of math software

【在 k**y 的大作中提到】
: btw, you should know the site:
: www.nr.com

b***i
发帖数: 3043
5
发信人: quantumguy (学习第一吃饭第二), 信区: SCIENCE
标 题: 请教一个问题
发信站: 碧海青天 (Tue May 16 19:50:41 2000), 转信
相对论说自然界最大的速度是光速,c=300000000m/s,但是这个速度是极其有限的
现在以我们的地球为参照系,我们知道,恒星每日东升西落,其周期是可以看成是
恒定的,即24小时为周期。而恒星距地球的距离非常遥远,如果一颗恒星距地球的
距离是一百光年(是完全可能的)由它的周期可得它相对我们的角速度。由这个角
速度和它与地球之间的距离,就可以求得它相对地球的线速度。而这个速度是远大
于光速的,是相对论错了吗?
maybe we need general relativity
s***e
发帖数: 911
6

相对论在你指出的这个问题上没错:)
http://www.weburbia.com/physics/FTL.html
有这类误解的详细解释, 包含你说的这一个. 你去看看吧.

【在 b***i 的大作中提到】
: 发信人: quantumguy (学习第一吃饭第二), 信区: SCIENCE
: 标 题: 请教一个问题
: 发信站: 碧海青天 (Tue May 16 19:50:41 2000), 转信
: 相对论说自然界最大的速度是光速,c=300000000m/s,但是这个速度是极其有限的
: 现在以我们的地球为参照系,我们知道,恒星每日东升西落,其周期是可以看成是
: 恒定的,即24小时为周期。而恒星距地球的距离非常遥远,如果一颗恒星距地球的
: 距离是一百光年(是完全可能的)由它的周期可得它相对我们的角速度。由这个角
: 速度和它与地球之间的距离,就可以求得它相对地球的线速度。而这个速度是远大
: 于光速的,是相对论错了吗?
: maybe we need general relativity

b***i
发帖数: 3043
7
Can't understand all. Who can translate and explain?
14. The moon revolves round my head faster than light!
Stand up in a clear space and spin round. It is not too difficult to turn at
one revolution each two seconds. Suppose the moon is on the horizon.
How fast is it spinning round your head? It is about 385,000 km away so
the answer is 1.21 million km/s, which is more than four times the speed
of light! It sounds ridiculous to say that the moon is going round your head
when really it is you wh

【在 s***e 的大作中提到】
:
: 相对论在你指出的这个问题上没错:)
: http://www.weburbia.com/physics/FTL.html
: 有这类误解的详细解释, 包含你说的这一个. 你去看看吧.

c********s
发帖数: 123
8

~~~~~first of all, what is this?
2nd, how do you compare v and c?
3rd, where do you compare v and c?
That discussion answers these 3 questions and tells you such a comparison
is not meaningful. And indeed, in its local inertia reference frame, moon
moves much slower than c.

【在 b***i 的大作中提到】
: Can't understand all. Who can translate and explain?
: 14. The moon revolves round my head faster than light!
: Stand up in a clear space and spin round. It is not too difficult to turn at
: one revolution each two seconds. Suppose the moon is on the horizon.
: How fast is it spinning round your head? It is about 385,000 km away so
: the answer is 1.21 million km/s, which is more than four times the speed
: of light! It sounds ridiculous to say that the moon is going round your head
: when really it is you wh

1 (共1页)
进入Science版参与讨论
相关主题
help with numerical integral transformation4-阶龙格库塔子程序
Re: [转载] Help!各位大虾帮忙Re: help about autocorrelation.
请教,怎么生成高斯分布的随机变量?Re: 问个数学问题
Re: Where is Matrix Inverse subroutine? Thx.Re: multiple regression model's question
Predict values of vectors generated by black box functionsRe: 概率问题
numerical solving PDE on infinite semi-plane (转载)Someone mind to explain the argument in the post
cosmo.7.SRRe: 请教一个线性最小二乘拟合的基本问题,谢谢!
[转载] 一个科学问题让我头痛死了的问题
相关话题的讨论汇总
话题: idum话题: ran2话题: moon话题: real话题: im1