Analytic symplification and system of linear equations
Code: "symbolic5.py". Programming language: Python
DMelt Version 1. Last modified: 05/09/2015. License: Pro
https://datamelt.org/code/cache/symbolic5_4152.py
To run this script using the DMelt IDE,
copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.
# This uses Jasymca engine
from jhplot.math import *
from jhplot import *
from java.awt import Color
j=Symbolic("jasymca") # this sets the engine to "jasymca"
s="syms x; sin(x)^2+cos(x)^2"
print "Simplified ",s, " is ",j.eval(s)
s1="A=[2 3 1; 4 4 5; 2 9 3;];"
s2="b=[0;3;1];"
print "Systems of Linear Equations:",s1,s2
print j.eval(s1+s2+"linsolve(A,b)")
You see the box below because you did not login.