general
Jump to date
Monday, March 1, 2021
yeah
they kill Hitler
I love Wacky Races
it's one of my favorite kids movies
read the comments on that bouncy song
everyone love it
and loved the movie
why was I pinged 3 hours ago
I was writing a midterm
just the movie role
what movie was it
oh oof
sorry it was not good
Tuesday, March 2, 2021
I read that as abortion curve
using only the basic operations +, -, *, /, and ^, is it possible to make a function that outputs '1' if input x = a, and '0' if input x != a?
I assume you do not want the obvious answer of a piecewise defined function
it would have to be a piecewise defined function now that I think about it, because what you are asking for is a function f(x) = 0 except at a, where f(a) = 1
there is no continuous way to do that
i c
Yes hello
would it be possible for only integers though
it is actually not possible
let me draw you a graph
what you are asking for is this pirate
addition, subtraction, division (except with zero), multiplication, and exponents are all continuous operations
so any combination of them would yield a continuous function
this is not continuous
ergo, you cannot have a function made of those continuous operations that gives you what you want
tragic
If you allow piecewise functions its trivial
this only uses those operations (specifically none of them)
and is a function
I can make a function that arbitrarily approaches what you want though
my dreams and ambitions are already shattered so it's fine
although if you could make one that is 0/1 for whole numbers but continous between them
that would be a little cool at least
as d -> infinity, this will look more and more like what you want
that looks like this with d=100000
but when you zoom in its clearly not exactly what you want
this demonstrates the dynamics of the problem though
so full marks
what do you mean by 0/1
do you mean 0 or 1,
something like
for every whole number besides 1 it's 0
feels like that would be possible
but it can be continous inbetween
so f(2) = f(3) = ... = 0
but f(1) =/= 0
well f(a) =/= 0, meant 1 as in one of the numbers
oh you are saying, for all integers except one integer a, f = 0
okay
