Solving linear equations using Jasymca
Source code name: "symb_eq2.m"
Programming language: Octave
Topic: Symbolic/Equations
DMelt Version 1. Last modified: 05/09/2015. License: Pro
https://datamelt.org/code/cache/symb_eq2_4136.m
To run this script using the DataMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


# This uses Octave language

syms x,y
A=[x,1,-2,-2,0;1 2 3*y 4 5;1 2 2 0 1;9 1 6 0 -1;0 0 1 0] 
printf('%f\n',A)  
b = [1 -2  3  2  4 ];
a=trigrat( linsolve( rat(A), b) )  
printf('%f\n',a)

Ads help maintain this website.