Answer the question
In order to leave comments, you need to log in
Delphi. How to find the value of a function from a graph?
There is such a schedule. It is necessary to write a program in Delphi that calculates the value of a function given X.
Answer the question
In order to leave comments, you need to log in
This is elementary mathematics. Here is a solution for you there you will find all the answers
Divide the graph into 5 parts, describe each part with some function y = f(x) in a mathematical expression. Then, for each mathematical function, write a function in pascal with its implementation. In total, you will get 5 functions. Finally, write a main function that, depending on the input value X, calls one of those 5 functions and prints the result.
Here is a simple algorithm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question