Skip to content

Commit

Permalink
Merge branch 'develop' into fix/command_in_interval_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
1037ga authored Feb 19, 2024
2 parents 7220864 + a7a8026 commit ca8f7d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/interval/floor_sin.hydla
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ CONSTX <=> [](cont = 1 => x'' = 0).
* new x' = (-k * sin^2 + cos^2) * x' + (k+1) * sin * cos * y'
* new y' = (k+1) * sin * cos * x' + (sin^2 + (-k) * cos^2) * y'
*/
CONST <=> [](s = cos(x-)/(1 + cos(x-)^2)^(1/2) &
c = 1 /(1 + cos(x-)^2)^(1/2)).
CONST <=> [](s = cos(x)/(1 + cos(x)^2)^(1/2) &
c = 1 /(1 + cos(x)^2)^(1/2)).
BOUNCE <=> []( y- = sin(x-) => cont = 0 &
x' = ((-e) * s^2 + c^2) * x'- + ((e+1) * s * c) * y'-
&
y' = ((e+1) * s * c) * x'- + (s^2 + (-e) * c^2) * y'-).

INIT, CONST, (FALL, CONSTX), [](cont = 1) << BOUNCE.

//#hylagi --fnd --finterval --fstep_by_step --guards_to_interval_newton y-=sin[x-] --vars_to_approximate x,y,x',y' --approximation_step 1
//#hylagi --fnd --finterval --fstep_by_step --guards_to_interval_newton y-=Sin[x-] --vars_to_approximate x,y,x',y' --approximation_step 1 -p 10

0 comments on commit ca8f7d3

Please sign in to comment.