Changes between Initial Version and Version 1 of Ticket #4890, comment 5


Ignore:
Timestamp:
2018-04-18T19:20:46Z (7 years ago)
Author:
Vitalij Ruge

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4890, comment 5

    initial v1  
    33{{{#!modelica
    44model pow_test                     
    5   Real x = (-y)^(1/7);             
    6   Real y(start = 2, fixed=true);   
     5  Real x = (-y)^(1/3);             
     6  Real y(start = 1, fixed=true);   
    77equation                           
    88  der(y) = 0;                     
    99end pow_test;
    1010}}}
    11 work, solution `x = -1.104089513673812`
     11work, solution `x = -1`
    1212
    1313{{{#!modelica
    1414model pow_test                     
    15   Real x = (-y)^(2/7);             
    16   Real y(start = 2, fixed=true);   
     15  Real x = (-y)^(2/3);             
     16  Real y(start = 1, fixed=true);   
    1717equation                           
    1818  der(y) = 0;                     
    1919end pow_test;
    2020}}}
    21 failed, solution `x = (-1.104089513673812)^2`
     21failed, solution `x = (-1)^2`