Project

General

Profile

Download (595 Bytes) Statistics
| Branch: | Tag: | Revision:
1
-- This file has been generated by CoCoSim2.
2

    
3
-- Compiler: Lustre compiler 2 (ToLustre.m)
4
-- Time: 03-Dec-2018 22:35:49
5
#open <lustrec_math>
6

    
7
(*
8
Original block name: Fcn2_PP
9
*)
10
node  Fcn2_PP(u_1 : real;
11
	u_2 : real;
12
	u_3 : real;
13
	u_4 : real;)
14
returns(Out1_1 : real;);
15
var theta_1 : real;
16
	__time_step : real;
17
	__nb_step : int;
18
let
19
	theta_1 = 2.000000000000000 * asin(sqrt(pow(u_2, 2.000000000000000) + pow(u_3, 2.000000000000000) + pow(u_4, 2.000000000000000)));
20
	Out1_1 = theta_1;
21
	__time_step = (0.0 -> ((pre __time_step) + 0.200000000000000));
22
	__nb_step = (0 -> ((pre __nb_step) + 1));
23
tel
24

    
(613-613/1153)