<?xml version="1.0"?>

<!--

    DaSH wingflex translate.

    Copyright (c) 2015 Wayne Bragg

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->

<system name="dash wingflex">
    <channel name="wingflex">

        <!-- Wingflex Z-shift -->
        <fcs_function name="aero/force/wingflexZ1">
            <function>
                <product>
                    <value>.5</value>
                    <value>1.803</value>
                    <sin>
                        <toradians>
                            <property>/fdm/jsbsim/aero/force/wingflex</property>
                        </toradians>
                    </sin>
                </product>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ2">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ3">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ4">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.726</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ5">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.726</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.61</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ6">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.726</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.61</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.685</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ7">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.726</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.61</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.685</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.954</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ8">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.726</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.61</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.685</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.954</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.872</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexZ9">
            <function>
                <sum>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.753</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.735</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.726</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.61</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.685</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.954</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>1.872</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                    <product>
                        <value>.5</value>
                        <value>2.163</value>
                        <sin>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </sin>
                    </product>
                </sum>
            </function>
        </fcs_function>

        <!-- Wingflex Y-shift -->
        <fcs_function name="aero/force/wingflexY1">
            <function>
                <difference>
                    <product>
                        <value>.5</value>
                        <value>1.803</value>
                    </product>
                    <product>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <cos>
                            <toradians>
                                <property>/fdm/jsbsim/aero/force/wingflex</property>
                            </toradians>
                        </cos>
                    </product>
                </difference>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY2">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY3">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY4">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.726</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.726</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY5">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.726</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.726</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.61</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.61</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY6">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.726</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.726</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.61</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.61</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.685</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.685</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY7">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.726</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.726</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.61</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.61</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.685</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.685</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.954</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.954</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY8">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.726</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.726</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.61</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.61</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.685</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.685</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.954</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.954</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.872</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.872</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

        <fcs_function name="aero/force/wingflexY9">
            <function>
                <sum>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.803</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.803</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.753</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.753</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.735</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.735</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.726</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.726</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.61</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.61</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.685</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.685</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.954</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.954</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>1.872</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>1.872</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                    <difference>
                        <product>
                            <value>.5</value>
                            <value>2.163</value>
                        </product>
                        <product>
                            <product>
                                <value>.5</value>
                                <value>2.163</value>
                            </product>
                            <cos>
                                <toradians>
                                    <property>/fdm/jsbsim/aero/force/wingflex</property>
                                </toradians>
                            </cos>
                        </product>
                    </difference>
                </sum>
            </function>
        </fcs_function>

    </channel>
</system>
