Help a newbie; How to implement an equation?


we're newbies to Scilab and we're doing this for an school assignment so we don't have time to dive in the proper way. Anyway, we tried to implement the FLR equation (Force with Air Resistance) which looks like this

FLR = 0,5·cw·A·ρ·v²

We did it like this because we don't have v²: FLR = 0,5·cw·A·ρ·Fg· t²

Our Implementation looks like this:

FLR = 0.5*cw*A*p*(((m*a)*t)^2)

But the results are entirely wrong and we don't know how to fix it. Our implementation of the barometric formula worked like this:

p = 1.26*(E^(-h/8000))

So we're a bit stumped now, does anybody know how to properly implement it?


Scilab 05-03-19, 4:22 p.m. Throwaway



It should be as follows,

FLR = 0.5*cw*A*p*(m*a)*(t^2)

11-03-19, 4:48 p.m. Rashmi

Log-in to answer to this question.