标题: [發問] 三個Mathematica的問題請求幫助 [打印本页] 作者: fantuen 时间: 2011-3-28 21:52 标题: [發問] 三個Mathematica的問題請求幫助 請各位專家幫忙提示我該如何解題 2 |+ ^$ t1 K9 c. n感激不盡3 m$ c$ q4 m4 u6 Z, Z0 f
% L8 E/ J+ B, z& [4 w. C. y u Question.nb(5.6 KB, 下载次数: 2)
2011-3-28 21:51 上传
点击文件名下载附件
Mathematica notebook檔案 下载积分: 体力 -2 点
$ z* s7 w2 Q* g4 s" D7 L 作者: fantuen 时间: 2011-3-28 22:37
題目如下, 請高手幫幫忙 ^^ |" L( |: H$ x7 f
1. Write a function that as input has an expression f, and returns the logarithmic derivate 1/f (d f)/(d x) . Use a conditional or pattern test to make your function accept any symbols as input except for lists. 4 t8 f1 h- `" C+ r( Y2 u. [( e
' J+ [9 C. v$ H: R; s* d5 O
2. & N# A4 [) Y3 H1 [# S3 [a) Write a recursive function that computes the function f[n] defined by 6 n f[n]=f[n-1]+n! for n>0, and f[0]=7. Restrict the argument to positive integers.8 h7 D- W7 K) i
b) Write and test a program that computes f[n] using Module and a While loop.% P3 [% C7 n) H. U. J- j
c) Compare the timings of the two methods by computing f[n] in both cases for very large values of n and/or doing the computation many times. You may have to use Clear or restart to clear Mathematica's memory of previous calculations. Explain your results. % o/ C; [, Q0 l2 D& _7 J ! n+ o9 X8 K% z4 L$ F4 _8 o2 ?1 `Consider the iterative map Subscript[x, n] == 1/2 Subsuperscript[x, n-1, 2] -\[Mu]. / r: b# W. S. ?/ r6 V1 k6 m
a) Compute its fixed points and 2-cycles as a function of \[Mu]. * C5 U( |2 H/ v$ h zb) Using linear stability analysis, compute the range of stability of both the fixed points as well as the 2-cycles. 4 z' Y% F5 V5 t# k8 t5 e8 e( @ C
c) Show cobweb diagrams for representative parameters illustrating the (un)stable fixed point and 2-cycle. , a) t( v3 e$ x8 o/ S' y [! g/ {d) Graphically demonstrate the onset of a stable 3-cycle. 3 ` r0 t$ G2 x G s) ke) Produce the bifurcation diagram.作者: fantuen 时间: 2011-3-28 22:40
似乎貼的不是很好..." ^3 }7 Q3 A$ d( y* r! p
如果有達人願意幫忙, 麻煩+我QQ 860288311 9 \: T; A% B& V1 o! k我可以把notebook檔案發給你作者: gaoshanliu水 时间: 2011-3-29 13:35