0

Help a newbie; How to implement an equation?

Hey,

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

F_{LR} = 0,5·c_{w}·A·ρ·v²

We did it like this because we don't have v²: F_{LR} = 0,5·c_{w}·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?

MFG

Scilab

__Answers:__

0

It should be as follows,

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

Login to add comment