Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Equations With Two Unknowns Algorithms

former_member216215
Participant
0 Likes
526

Hi Everybody,

I need to write a processing function.

Let me briefly describe the processing steps I need to do.

PARAMETERS : sum_kdv TYPE i,    "total value-added tax.

                           sum_tut TYPE i.      "total amount

We will turn to process these parameters.

Process ;
----------------------------------------
x    +    y           = sum_tut.
0,01x + 0,08y   = sum_kdv.
----------------------------------------
To find the values ​​of x and y will do mathematical operations.

    -0,01( x +  y ) = -0,01(sum_tut) .
     0,01x + 0,08y   = sum_kdv.
+------------------------------------------

We will find the value of x i y destroying.

How can we do this.

Best Regards Rasim.



2 REPLIES 2
Read only

former_member192023
Active Participant
0 Likes
496

Is it math calculation??

x= sum_tut - ( 100- sum_kdv  ) / 7

y= ( 100- sum_kdv  ) / 7

Am I right?

Regards

Read only

0 Likes
496


Yes, what I'm trying to do.


Regards.