Hello, I'm new in qb64 and we are using this in our master's degree classes. Since I'm an architect and programming is very hard for me to understand.
I have a question that I cannot figure it out.
For example, I have a function lets say f(x)=sin(x)+5
I want to divide that function into random 4 pieces and I want to find the coordinates of the points which cut the function.
I started like this but I don't know how to solve it.
Can someone plz help? Thank you.
OPTION _EXPLICIT
DIM m AS INTEGER
INPUT "how many pieces should we divide", m
DIM n AS INTEGER
FUNCTION fx (x AS DOUBLE)
fx = SIN(x) + 5
FOR
NEXT
END FUNCTION
well I have no idea that what I am doing.