๐งต Untitled Thread
Anonymous at Tue, 21 May 2024 13:04:25 UTC No. 16186165
Brainrot victim here.
How do I make a function for a curve like this?
Anonymous at Tue, 21 May 2024 13:52:48 UTC No. 16186200
>>16186165
piecewise function
[math] f(x) =\left\{\begin{array}{l} {\rm some\ shit~if~}x<5 \\ {\rm other~shit~if~}x\geq 5\end{array}\right.[/math]
Anonymous at Tue, 21 May 2024 13:56:06 UTC No. 16186203
>>16186165
y = slope *( x - constant_line_part) + constant_line_part
Anonymous at Tue, 21 May 2024 13:58:49 UTC No. 16186204
>>16186200
This, or else some shenanigans with the absolute value function.
Anonymous at Tue, 21 May 2024 16:22:34 UTC No. 16186350
try 25/2*(x-|x|) -1500
Anonymous at Tue, 21 May 2024 16:25:00 UTC No. 16186353
Heaviside step function
Anonymous at Tue, 21 May 2024 17:01:33 UTC No. 16186387
dir = (p1-p2)
slope = dir.x / dir.y
y = slope * x
Anonymous at Tue, 21 May 2024 17:52:28 UTC No. 16186460
>>16186165
learn about spline and piecewise linear functions dude. they're among the most simple, most ubiquitous, and easiest to use everywhere.
Anonymous at Tue, 21 May 2024 18:06:57 UTC No. 16186477
>>16186204
>>16186200
this, or use min/max
Anonymous at Tue, 21 May 2024 18:08:25 UTC No. 16186478
>>16186204
[math]
\frac{125\left(x-\operatorname{abs}
Anonymous at Tue, 21 May 2024 18:09:30 UTC No. 16186479
>>16186478
well that sucked
[math]\frac{125\left(x-\operatornam
Anonymous at Tue, 21 May 2024 20:28:07 UTC No. 16186665
How do I make a polynomial that does this
Anonymous at Wed, 22 May 2024 07:25:06 UTC No. 16187450
>>16186665
isn't this literally what tropical geometry is about?
https://en.wikipedia.org/wiki/Tropi