Getting started with symbolics - English
- subtitles off
- captions off
- English
- Questions posted on Forums
- Python Tutorials - English
-
getting started with symbolics
Dear AllI am getting following error whilw finding value of sin pi/4 i typed n(sin(pi/4))in jupyter notebook shellTypeError Traceback (most recent call last) <ipython-input-26-16cf6d20b88c> in <module>() ----> 1 n(sin(pi/Integer(4))) /opt/sagemath-9.0/local/lib/python3.7/site-packages/sage/misc/functional.py in numerical_approx(x, prec, digits, algorithm) 1417 return numerical_approx_generic(x, prec) 1418 else: -> 1419 return n(prec, algorithm=algorithm) 1420 1421 n = numerical_approx /opt/sagemath-9.0/local/lib/python3.7/site-packages/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression.numerical_approx (build/cythonized/sage/symbolic/expression.cpp:34714)() 5998 res = x.pyobject() 5999 else: -> 6000 raise TypeError("cannot evaluate symbolic expression numerically") 6001 6002 # Important -- the we get might not be a valid output for numerical_approx in TypeError: cannot evaluate symbolic expression numericallykindly suggestregards
00-01M 10-20S gaganj1981@gmail.com
Answer last updated on: April 29, 2020, 2:56 p.m.
-
1Getting started with ipython
-
2Using the plot command interactively
-
3Embellishing a plot
-
4Saving plots
-
5Multiple plots
-
6Additional features of IPython
-
7loading data from files
-
8Plotting the data
-
9Other types of plots
-
10Getting started with sage notebook
-
Getting started with symbolics
-
12Using Sage
-
13Using sage to teach
-
14Getting started with lists
-
15Getting started with for
-
16Getting started with strings
-
17Getting started with files
-
18Parsing data
-
19Statistics
-
20Getting started with arrays
-
21Accessing parts of arrays
-
22Matrices
-
23Least square fit
-
24Basic datatypes and operators
-
25I O
-
26Conditionals
-
27Loops
-
28Manipulating lists
-
29Manipulating strings
-
30Getting started with tuples
-
31Dictionaries
-
32Sets
-
33Getting started with functions
-
34Advanced features of functions
-
35Using python modules
-
36Writing python scripts
-
37Testing and debugging
Questions posted on ST Forums:
6578 visits
Outline:
Getting started with symbolics symbolic expressions built-in constants & functions algebraic expressions, series integration, differentiation matrices symbolic functions defining simplification finding roots & factors substituting expressions output formats
Width: | 736 | Height: | 560 |
---|---|---|---|
Duration: | 00:23:27 | Size: | 9.9 MB |
Show video info