There is a ball and 3 surfaces (concrete, wood, fabric), we set the force with which it will fly down. Formulas are needed to calculate the compression and expansion of the ball. One of the main ones is the calculation of the radius of the arc from which the ball will be compressed at various impact forces.

Closed due to the fact that off-topic participants aleksandr barakin , Denis Bubnov , Sasha Omelchenko , Crantisz , m9_psy 5 May '17 at 16:14 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The message contains only the text of the task, in which there is no description of the problem, or the question is purely formal (" how do I do this task ") . To reopen the question, add a description of the specific problem, explain what does not work, what you see the problem. " - aleksandr barakin, Denis Bubnov, Sasha Omelchenko, Crantisz
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • "we set the force with which he will hit" - I hesitate to ask, in what units of measurement? - Igor
  • I incorrectly formulated, we set the force with which he will fly down - adg ghd
  • 2
    so, can it, open a textbook on physics? - Alexey Shimansky
  • I searched, but unfortunately I did not find anything suitable, because of this I turned for help - adg ghd
  • read about the bending deformation. belstu.by/book_library/15655/… page 24 - Aliaksandr Pitkevich

1 answer 1

Your question does not have a full answer. delivered in a very broad sense. In short: you need a textbook on physics, I will try to explain why.

for example

//ОписаниС ΠΌΠΈΡ€Π° let World = { gravity: 1, //ΠšΠΎΠΎΡ„. Π³Ρ€Π°Π²ΠΈΡ‚Π°Ρ†ΠΈΠΈ Π² ΠΌΠΈΡ€Π΅, которая влияСт Π½Π° ΡΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ //Π’Π°ΠΊΠΆΠ΅ Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€ ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ Π΄Ρ€ΡƒΠ³ΠΈΠ΅ Ρ„Π°ΠΊΡ‚ΠΎΡ€Ρ‹ Π² ΠΌΠΈΡ€Π΅ //НапримСр Π²Π΅Ρ‚Π΅Ρ€, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ ΠΌΠΎΠΆΠ΅Ρ‚ Π²Π»ΠΈΡΡ‚ΡŒ Π½Π° Π²Π΅ΠΊΡ‚ΠΎΡ€Π½ΡƒΡŽ ΡΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ ΡˆΠ°Ρ€Π° wind: { x: 1, y: 1 } }; //ОписаниС ΡˆΠ°Ρ€Π° let Ball = { //ВСс ΡˆΠ°Ρ€Π° weight: 1, ragius: 10, //Радиус ΡˆΠ°Ρ€Π° //ВСкторная ΡΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ ΡˆΠ°Ρ€Π° speed: { x: 1, y: 1 }, //Π£ΠΏΡ€ΡƒΠ³ΠΎΡΡ‚ΡŒ мячика elasticity: 1.5, //ΠΎΠ±Ρ‹Ρ‡Π½ΠΎ это ΠΊΠ°ΠΊΠΎΠΉ-Ρ‚ΠΎ ΠΊΠΎΡ„Ρ„. Π½Π° ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ домноТаСтся ΡΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ ΠΏΡ€ΠΈ ΠΊΠΎΠ»Π»ΠΈΠ·ΠΈΠΈ ΠΎΠ±ΡŠΠ΅ΠΊΡ‚Π° с Π΄Ρ€ΡƒΠ³ΠΈΠΌΠΈ friction: 1.5 //ΠΊΠΎΠΎΡ„. трСния ΡˆΠ°Ρ€ΠΈΠΊΠ° - ΠΌΠΎΠΆΠ΅Ρ‚ понадобится ΠΏΡ€ΠΈ расчСтС двиТСния ΡˆΠ°Ρ€Π° ΠΏΠΎ повСрхности }; //ΠžΠΏΠΈΡˆΡƒ Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€ Π΄Π΅Ρ€Π΅Π²ΠΎ let Tree = { elasticity: 1.5 //для ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡŒΠ½Ρ‹Ρ… простых расчСтов Π±ΡƒΠ΄Π΅Ρ‚ достаточно значСния упругости Π΄Π΅Ρ€Π΅Π²Π°. } 

In total, you have a ball that moves in a certain world, according to the formulas of motion you need (you can simulate water, vacuum, space, etc.) Here you can start only calculate the indicators you need. Until you collect such background information about the task, you will not be able to count anything, so no one here will give you a ready-made formula for your question. And if you also need to carry out these calculations as close to reality as possible, you will also need a combination of materials and data on material properties and coefficients. Perhaps you should take a look at the finished physical engines like box2d.