The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Trying to access array offset on value of type null - Line: 4475 - File: inc/functions.php PHP 8.0.30 (Linux)
|
Step wise Equation Solving - Printable Version +- jWork.ORG forums (https://jwork.org/forum) +-- Forum: DataMelt (/forumdisplay.php?fid=1) +--- Forum: Discussion of new DataMelt features (/forumdisplay.php?fid=4) +--- Thread: Step wise Equation Solving (/showthread.php?tid=75) |
Step wise Equation Solving - mathemagic12 - 07-05-2015 08:56 PM I was writing a program to obtain the results of a linear quadratic equation and i used the jhplot.math.Numeric class to compute the results. I was wondering if i could a) solve quadratic equation in a step by step fashion storing intermediate results. for example : x2-4x+3=0 x2-3x-x+3=0 x(x-3)-1(x-3)=0 (x-1)(x-3)=0 x=1 and x=3 b) plot the quadratic equation as a graph in 2d space. I am using the data melt one jar file to write the program in java and am a newbie. Any help in this regard would be much appreciated. thanks. RE: Step wise Equation Solving - sergei175 - 07-13-2015 11:47 AM Hello, I'm not sure about intermediate steps, but to solve and [/code][/php]plot quadratic equations are easy: Code: from jhplot.math.Numeric import * Also, check Apache common math included into the package best, Sergei (07-05-2015 08:56 PM)mathemagic12 Wrote: I was writing a program to obtain the results of a linear quadratic equation and i used the jhplot.math.Numeric class to compute the results. I was wondering if i could |