| ²é¿´: 183 | »Ø¸´: 2 | |||
| µ±Ç°Ö÷ÌâÒѾ´æµµ¡£ | |||
oytxtuÌú¸Ëľ³æ (ÕýʽдÊÖ)
|
[½»Á÷]
¡¾ÇóÖú¡¿ÄÄλ³ÌÐò¸ßÊÖ°ïÎÒ¿´¿´£¬Õâ¸ö³ÌÐò£¨ÒÑ»ñµÃÖú£©
|
||
|
ÕâÊÇÒ»¸ö¼ÆËãÁú¸ñ-¿âËþµÄ³ÌÐò ÀÏÊdzöÏÖ£º Linking... rk.obj : error LNK2001: unresolved external symbol _GRKT1@36 Debug/rk.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Õâ¸ö´íÎó program rk dimension y(3),d(3),z(3,11),b(3) double precision y,d,z,t,h,b,m,n integer i,j t=0.0 y(1)=-1.0 y(2)=0.0 y(3)=1.0 h=0.01 m=3 n=11 call grkt1(t,y,m,h,n,z,f,d,b) write(*,*) do 10 i=1,n t=(i-1)*h write(*,50) t write(*,100) (z(j,i),j=1,m) write(*,*) 10 continue 50 format(1x,'t=',f7.3) 100 format(1x,'y(1)=',d13.6,3x,'y(2)=',d13.6,3x,'y(3)=',d13.6) end subroutine grekt1(t,y,m,h,n,z,f,d,b) dimension y(m),d(m),z(m,n),a(4),b(m) double precision y,d,z,a,b,t,h,x,tt a(1)=h/2.0 a(2)=a(1) a(3)=h a(4)=h do 5 i=1,m 5 z(i,1)=y(i) x=t do 100 j=2,n call f(t,y,m,d) do 10 i=1,m 10 b(i)=y(i) do 30 k=1,3 do 20 i=1,m y(i)=z(i,j-1)+a(k)*d(i) b(i)=b(i)+a(k+1)*d(i)/3.0 20 continue tt=t+a(k) call f(tt,y,m,d) 30 continue do 40 i=1,m 40 y(i)=b(i)+h*d(i)/6.0 do 50 i=1,m 50 z(i,j)=y(i) t=t+h 100 continue t=x return end subroutine subroutine f(t,y,m,d) dimension y(m),d(m) double precision y,d,t d(1)=y(2) d(2)=-y(1) d(3)=-y(3) return end subroutine [ Last edited by kuhailangyu on 2008-12-9 at 10:45 ] |
» ²ÂÄãϲ»¶
085601²ÄÁϹ¤³ÌÕÒµ÷¼Á
ÒѾÓÐ11È˻ظ´
×Ü·Ö293Çóµ÷¼Á
ÒѾÓÐ9È˻ظ´
334·Ö Ò»Ö¾Ô¸ÎäÀí ²ÄÁÏÇóµ÷¼Á
ÒѾÓÐ5È˻ظ´
327Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
329Çóµ÷¼Á
ÒѾÓÐ10È˻ظ´
275Çóµ÷¼Á
ÒѾÓÐ15È˻ظ´
291Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
309Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´
297Çóµ÷¼Á
ÒѾÓÐ11È˻ظ´
Ò»Ö¾Ô¸ÄϺ½ 335·Ö | 0856 | GPA 4.07 | ÓпÆÑоÀú
ÒѾÓÐ6È˻ظ´
zhougc
ľ³æ (ÕýʽдÊÖ)
ºÚÉç»áÀÏ´ó
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 2590.9
- É¢½ð: 120
- Ìû×Ó: 982
- ÔÚÏß: 43.8Сʱ
- ³æºÅ: 393957
- ×¢²á: 2007-06-06
- ÐÔ±ð: GG
- רҵ: Äý¾Û̬ÎïÐÔ II £ºµç×ӽṹ
¡ï
jghe(½ð±Ò+1,VIP+0):ллÄãÌṩµÄ°ïÖú£¡
jghe(½ð±Ò+1,VIP+0):ллÄãÌṩµÄ°ïÖú£¡
|
subroutine Öк¯ÊýÃûgrekt1 Ö÷º¯ÊýÖÐ call grkt1 |

2Â¥2008-10-09 16:13:16
oytxtu
Ìú¸Ëľ³æ (ÕýʽдÊÖ)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 5912.3
- É¢½ð: 20
- ºì»¨: 1
- Ìû×Ó: 536
- ÔÚÏß: 177.1Сʱ
- ³æºÅ: 484191
- ×¢²á: 2007-12-26
- רҵ: Äý¾Û̬ÎïÐÔI:½á¹¹¡¢Á¦Ñ§ºÍ
3Â¥2008-10-09 16:14:06














»Ø¸´´ËÂ¥