octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45478] Symbolic pkg errors with E


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #45478] Symbolic pkg errors with E
Date: Sun, 05 Jul 2015 21:52:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45478>

                 Summary: Symbolic pkg errors with E
                 Project: GNU Octave
            Submitted by: dastew
            Submitted on: Sun 05 Jul 2015 21:52:06 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: doug stewart
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This report is mainly for Colin Macdonald

clear 
syms A B C D E E11 E1 ww
e1=2.5*A +1.5*D -2*E== 57.1
e2= 3*A +2.5*D -1*E== 27.6
e3=-4*A -6*D +2*E==-81.2
sf=solve(e1,e2,e3,A,D,E)

1) This first part works correctly.


2) Now try this:
se=solve(e1,A)
# answer is
# se = (sym)
#
#    3⋅D   4⋅ℯ   571
#  - ─── + ─── + ───
#     5     5     25

The answer I see has a small letter e in it, but no small  letter e in the
question.


3) Now try the following: I tried changing E to E1 
    to try and get away from the small e.
  this output is huge and wrong
e1=2.5*A +1.5*D -2*E1== 57.1
se=solve(e1,A)

4) to trouble shoot the wrong answer I tried:

ww=E1

and found out the E1 is a special function and cannot be used in my program.

The huge output from 3) is just this ascii warning sting treated as ascii
values multiplied into the answer to 3)

If i change E to E2 then all is good.
Colin keep up the good work, I am enjoying the symbolic pkg.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]