Answer the question
In order to leave comments, you need to log in
Choosing a programming language for solving a problem?
Good afternoon,
There is a task from geometric figures with a set of properties (side ratios, minimum / maximum area, location relative to other figures) to make a common figure and back adjust the size of the original figures and their relative position.
As far as I understand, there is a mathematical analysis for calculations and a suitable programming language is required to endow each figure with a set of properties. There can be many properties and dependencies for each shape. Tell me, on what basis to start developing algorithms and code?
Answer the question
In order to leave comments, you need to log in
If only for modeling with subsequent visualization of the results, then Octave / MATLAB. There is a large database of ready-made algorithms.
If you need a standalone program with a GUI/text interface, there are many calculation packages for Python too.
Well, classic - Fortran. Although these days it is no longer as popular as two decades ago.
I’ll also add two now popular general-purpose languages: Java, C#.
And in what language can you define an object (in my case, a geometric figure) and then add conditions to it: a connection with other objects that, as satellites, should be placed side by side (like the Moon relative to the earth, planet relative to the sun), add dimensions, mass, color, determine the object's sides for which to assign textures? Does it need to be developed all over again or is there a ready-made API to work with geometry and mathematical dependencies between them, and then also visualize it in high quality?In the simplest case, when inheritance is not required, the object can be a (data)/record structure (called differently in different languages). But usually in OOP languages, a class/object (also called differently) is used for this purpose.
Figuratively speaking, we are talking about a tool that, in an automated form, taking into account predefined dependencies (the number of objects, their preferred connections) and some random selection, will generate a system where all objects are interconnected with others and change when the initial data changes.Such a magical tool has to be created by yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question