|
('General solution is ', (2/3)**n*C0) (2/3)**n ('General solution is ', (2/3)**n*C0) (2/3)**n |
('General solution is ', (2/3)**n*C1 + 2**(-n)*C0) (2/3)**n ('General solution is ', (2/3)**n*C1 + 2**(-n)*C0) (2/3)**n |
('General solution is ', (2/3)**n*C0 + (3/4)**n*C1) ('General solution is ', (2/3)**n*C0 + (3/4)**n*C1) |
('General solution is ', 2**n*C0 + (2/3)**n*C1) (2/3)**n ('General solution is ', 2**n*C0 + (2/3)**n*C1) (2/3)**n |
Now, change to octave mode to evaluate the remainder of these done numerically.
Traceback (click to the left of this block for traceback) ... ValueError: Argument names should be valid python identifiers. Traceback (most recent call last): p(n) = 2/3*p(n-1); File "", line 1, in <module> File "/home/sageserver/sage-8.7/local/lib/python2.7/site-packages/sagenb/misc/support.py", line 685, in preparse_worksheet_cell s = preparse_file(s, globals=globals) File "/home/sageserver/sage-8.7/local/lib/python2.7/site-packages/sage/repl/preparse.py", line 1343, in preparse_file numeric_literals=not numeric_literals)) File "/home/sageserver/sage-8.7/local/lib/python2.7/site-packages/sage/repl/preparse.py", line 1236, in preparse L = preparse_calculus(L) File "/home/sageserver/sage-8.7/local/lib/python2.7/site-packages/sage/repl/preparse.py", line 939, in preparse_calculus raise ValueError("Argument names should be valid python identifiers.") ValueError: Argument names should be valid python identifiers. |
8e-14 |-------------------------------------------------------------------| | + + + + | 7e-14 |-+ +-| | | | | 6e-14 |-+ ****| | *** | 5e-14 |-+ ***** +-| | *** | | ***** | 4e-14 |-+ ***** +-| | ****** | 3e-14 |-+ ***** +-| | ******* | | ***** | 2e-14 |-+ ***** +-| | **** | 1e-14 |-+ *** +-| | **** | | ***** + + + + | 0 |-------------------------------------------------------------------| 0 20 40 60 80 100 8e-14 |-------------------------------------------------------------------| | + + + + | 7e-14 |-+ +-| | | | | 6e-14 |-+ ****| | *** | 5e-14 |-+ ***** +-| | *** | | ***** | 4e-14 |-+ ***** +-| | ****** | 3e-14 |-+ ***** +-| | ******* | | ***** | 2e-14 |-+ ***** +-| | **** | 1e-14 |-+ *** +-| | **** | | ***** + + + + | 0 |-------------------------------------------------------------------| 0 20 40 60 80 100 |
1e-09 |-------------------------------------------------------------------| | + + + + | | | | | 8e-10 |-+ +-| | | | | | *| 6e-10 |-+ +*| | *| | * | | * | 4e-10 |-+ *+-| | * | | * | | ** | 2e-10 |-+ ** +-| | ** | | *** | | + + + ****** | 0 |-------------------------------------------------------------------| 0 20 40 60 80 100 1e-09 |-------------------------------------------------------------------| | + + + + | | | | | 8e-10 |-+ +-| | | | | | *| 6e-10 |-+ +*| | *| | * | | * | 4e-10 |-+ *+-| | * | | * | | ** | 2e-10 |-+ ** +-| | ** | | *** | | + + + ****** | 0 |-------------------------------------------------------------------| 0 20 40 60 80 100 |
3e+29 |-----------------------------------------------------------------| | + + + + | | | 2.5e+29 |-+ +-| | | | | | | 2e+29 |-+ +*| | *| | *| 1.5e+29 |-+ +*| | *| | *| 1e+29 |-+ +*| | *| | *| | *| 5e+28 |-+ +*| | *| | + + + + * | 0 |-----------------------------------------------------------------| 0 20 40 60 80 100 3e+29 |-----------------------------------------------------------------| | + + + + | | | 2.5e+29 |-+ +-| | | | | | | 2e+29 |-+ +*| | *| | *| 1.5e+29 |-+ +*| | *| | *| 1e+29 |-+ +*| | *| | *| | *| 5e+28 |-+ +*| | *| | + + + + * | 0 |-----------------------------------------------------------------| 0 20 40 60 80 100 |
Let's put these all together on one graph.
top = 25 error: __plt2vv__: vector lengths must match error: called from __plt__>__plt2vv__ at line 482 column 5 __plt__>__plt2__ at line 242 column 14 __plt__ at line 107 column 18 plot at line 223 column 10 /home/sageserver/.sage/temp/travis-PowerEdge-T430/18295/interface/tmp183\ 15 at line 32 column 1 1 |-+ | | | 0.8 |-+ | | | 0.6 |-+ | | | 0.4 |-+ | | | 0.2 |-+ | | | + + + + + 0 |---------------------------------------------------------------------- 0 0.2 0.4 0.6 0.8 1 top = 25 error: __plt2vv__: vector lengths must match error: called from __plt__>__plt2vv__ at line 482 column 5 __plt__>__plt2__ at line 242 column 14 __plt__ at line 107 column 18 plot at line 223 column 10 /home/sageserver/.sage/temp/travis-PowerEdge-T430/18295/interface/tmp18315 at line 32 column 1 1 |-+ | | | 0.8 |-+ | | | 0.6 |-+ | | | 0.4 |-+ | | | 0.2 |-+ | | | + + + + + 0 |---------------------------------------------------------------------- 0 0.2 0.4 0.6 0.8 1 |
New experimant with square rooting and then squaring back the same number of times. You should get what you started with...
x0 = 200 x = 200 n = 50 x = 190.566 ans = 0.0471687 x0 = 200 x = 200 n = 50 x = 190.566 ans = 0.0471687 |
2 0 2 0 |
|