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

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

[Octave-bug-tracker] [bug #56069] Symbolic Laplace transform of sin(w*t)


From: anonymous
Subject: [Octave-bug-tracker] [bug #56069] Symbolic Laplace transform of sin(w*t) gives wrong value
Date: Wed, 3 Apr 2019 23:57:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

URL:
  <https://savannah.gnu.org/bugs/?56069>

                 Summary: Symbolic Laplace transform of sin(w*t) gives wrong
value
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 04 Apr 2019 03:57:48 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Daniel Connors
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:


>> pkg load symbolic
>> syms a b w t
Symbolic pkg v2.7.1: Python communication link active, SymPy v1.3.
>> laplace(sin(a*t))
ans = (sym)

     a
  -------
   2    2
  a  + s

>> laplace(sin(b*t))
ans = (sym)

     b
  -------
   2    2
  b  + s

>> laplace(sin(w*t))
ans = (sym)

     t
  -------
   2    2
  s  + t

The Laplace Transform for symbolic variables a and b give the correct result. 
We see that in the code I provide above. However, the Laplace transform of
sin(w*t) gives an incorrect value. We see the incorrect result above. Is w a
special variable to Octave?  Is Octave getting the wrong variable for
integration in the case for w?  It's odd that a and b work correctly but w
fails. 

Thank you for looking into this.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56069>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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