#help-42
1 messages · Page 164 of 1
Closed by @karmic willow
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
i need help understanding inverse trig functions
how do i know how to find the second angle from a calculator
context
?
i think sine rule maybe
60'=1°,
60''=1'
sin(theta) = sin(180-theta)
cos(theta) = cos(360-theta)
tan(theta) = tan(180+theta)
Calculator can only give one. In order to find the other angle you need to consider properties of trig functions (which quadrants are they positive/negative in) and which values in [0,360) are they equal
yeah i understand this i just am confused what to do
is this how i find the second angle?
@karmic willow before you memorize the tips I gave you, you should draw the angles on the unit circle to see why the rules work. Basically what purururu said.
Yes
i understand how to draw them on the unit circle i think
why for some of them the calculators output isnt the first one
That's good. To understand the 3 rules I sent, keep in mind that a straight line is 180 degrees and a full revolution is 360 degrees.
Did you figure this out?
no
Can you explain what you mean
in the video of my teacher going over the paper i sent he is just like and of course we add 180 for the first angle or smth
When you use the arcsin, arccos, and arctan functions on a calculator, the output angle will always be in a range.
arcsin: [-pi/2, pi/2]
arccos: [0, pi]
arctan: (-pi/2, pi/2)
Does that help clarify your doubts? @karmic willow
im just so confused on this
Is there anything I can do to help
Yes
Closed by @karmic willow
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Hello
$\frac{2 \frac{\tan x}{x}}{1 - \tan x} \to \frac{2 \cdot 1}{1 - 0} = 2$
south
@keen dragon Has your question been resolved?
(1 + tan x) / (1 - tan x) after simplifying
Actually there are 1-2 trig identities you can try to apply here
This is another identity you can try
But the fact that you have 1/X in the exponent of e, the limit might always give infinity
This is the final result
I want to reach here
which identity is being used
@wraith geode
It’s the same, 1 and -1 cancels you get
(1 + tan x)/(1 - tan x)
Which can be reversed to what you had
2tanx/1-tanx
right, but which identity allows me to express the quantity within as a power of the exponential
along with the original exponent
I'm working from this step
are you trying it out?
no it's literally been done here
Taylor series
I don't understand
that technique your book used is based on Taylor series
can you give me the property used?
$\frac{2 \tan x}{1 - \tan x} \cdot \frac{1}{x} = \frac{\frac{2 \tan x}{x}}{1 - \tan x}$
south
okay that's the first step of what I did
e^ln(x) = x
Valid both ways
that's actually not related
how what?
I don't know which part you're talking about
This step was arrived at in the first place
oh okay so it was that
I got the next steps now
well to go from $\frac{1}{x} \ln(1 + f(x))$ in the exponent
south
because you explained the next steps, how it comes to e^2
you can use the fact that $\ln(1 + f(x)) \approx f(x)$
south
this fact specifically comes from Taylor series
also you must have $f(x) \to 0$ which is satisfied by 2 (tan x) / (1 - tan x) as x goes to 0
south
no, that gives you e to the power of $\frac{1}{x} \cdot f(x)$ then
south
.
I want to get the rhs of this equation
I know
@keen dragon Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
is this correct
$\forall x ( \exists y ((Pxy \land (\forall z \neg(x=z) \rightarrow \neg Pzy) \land \neg(x=y))\oplus(Pyx \land (\forall z \neg(x=z) \rightarrow \neg Pyz) \land \neg(x=y)))$
reg
i want to pair each element in the domain with another element such that neither of the elements repeat in the predicate set in either position
Pxy or Pyx and x,y don't repeat
@whole hinge 
@rain rover Has your question been resolved?
$x\neq y$ and if $<x,y>\in P^A$ then $\forall a \in |A|-{y}<x,a>,<a,x> \notin P^A$ and $\forall a \in |A|-{x} <a,y>,<y,a >\notin P^A$ and $<y,x> \notin P^A$
reg
@rain rover Has your question been resolved?
@rain rover Has your question been resolved?
this idea seems correct to me
you can simplify this a bit: for all x there exists y such that x ≠ y and Pxy and Pyx but for all z ≠ y, not Pxz and not Pzx
I only skimmed it but it looks good
ahaaa nice
Pxy and Pyx
no need for the xor and all then
yea that way it's symmetric and simple
@rain rover Has your question been resolved?
Closed by @rain rover
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
what do i do if the X is on the bottom again
tan(67)=9/x is the same as 1/tan(67)=x/9
so u can flip it
yep
i cant tell if that is 1/tan(67)-9 or 1/tan67*9
if thats a minus its not correct
oh sorry let me make it more visible
that better?
👍
Closed by @graceful thistle
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
I'd like to promote my website, it's a math website, any text channel preferred?
Please don't self-promote in this server
@green path Has your question been resolved?
.close
Closed by @leaden thunder
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Could somebody check this
Also this page
@iron ore Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
If a^2 + b^2 = c^2 where a, b and c are positive integers, does this imply that b^2 >= 2a + 1 and a^2 >= 2b + 1?
Are they correct?
riemann ||hypothesis||?
Well c - 1 >= a
c >= (a+1)
c^2 >= (a+1)^2
c^2 >= a^2 + 2a + 1
c^2 - a^2 >= 2a + 1
b^2 >= 2a + 1
Yes, they're correct.
Thanks.
.close
Closed by @plucky walrus
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Channel closed due to the original message being deleted.
If you did not intend to do this, please open a new help channel,
as this action is irreversible, and this channel may abruptly lock.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
<@&268886789983436800>
Channel closed due to the original message being deleted.
If you did not intend to do this, please open a new help channel,
as this action is irreversible, and this channel may abruptly lock.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
I seem to be running into an issue with the remainders on this problem, the 7 corrects my factoring for the constant but the x coefficient was correct to begin with and is made incorrect by the remainder I got, but I can't figure out what I did incorrect there.
,tex \polylongdiv{x^4+3x^3-x^2-2x+3}{x^2+x+1}
riemann
you didn't multiply 2x to the +1 term
Closed by @hardy root
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
hello, anyone available to help me with a several variable calc problem? really im looking to ask questions about the problem to understand things more generally
here is the problem:
and it reads "The body K is bound by the paraloid area z=x^2 + y^2 and z = 2 - x^2 - y^2, calculate the integral"
@fickle flume Has your question been resolved?
@fickle flume Has your question been resolved?
.close
Closed by @fickle flume
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
sequence ( 1 + \frac{1}{3} + \frac{1}{5} + \dots + \frac{1}{2n-1} )
Andy
i wonder that should they mentioned it as a series?
i don't get it, how is this a sequence?
or series?
its just a finite sum of terms
Yeah
Is ot like function of sequence?
wdym? you have to define it, all i see rn is a finite sum
is there a meaningful question here or are we battling shit book with shit wording
like the "parallel and perpendicular forces" shit from <30 min ago
$\sum_{n=1}^{k}\frac{1}{2n-1}$ i believe
667
(doubt) Why is it not a series? Isn't series defined as sum of all terms of a sequence? And this is sum of terms of a sequence where nth term is defined as 1/(2n-1).
Closed by @brittle sail
Use .reopen if this was a mistake.
a series is a infinite sum. what is given is a finite sum
without further clarification of what the OP meant we can't really tell
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
$\sum_{j=i}^{n} \binom{n}{j} \binom{j}{i} = \binom{n}{i} 2^{n-i}$
wai
Trying to prove this
,, \binom nj\binom ji =\binom ni\binom{n-i}{j-i}
this would be pretty nifty i reckon
I started by attempting to expand this
hmm, how did you get this
its another identity
oh u r forced to start from scratch
ok
i see
but i mean, that one is pretty easy to prove algebraically
just expand it out
wai
Which looks like a multinomial?
the use of i as a free variable but j as a bound one is throwing me off a little with how to phrase the thing
but you can view this combinatorially:
both sides count the number of ways to hand out i red stickers and an unrestricted number of yellow stickers to a group of n people, under the constraint that everyone gets at most one sticker
so we chose i people out of n and then chose if n-i people get red or yellow
RHS
ok then no, thats not the right wording
you choose i people to receive red stickers and then for each of the remaining n-i you either give them a yellow or you don't
sure
this is easily provable 2 lines
This is what I'm trying to prove though
I'm wondering if induction on j is the way to go
$\binom nj\binom ji =\frac{n!}{j! (n-j)!} \cdot \frac{j!}{i! (j-i)!} = \frac{n!}{i! (n-j)! (j-i)!} = \frac{n!}{i! (n-i)!} \cdot \frac{(n-i)!}{(j-i)!(n-i - (j-i))!}$
Goëtia
probably is easier
ooh
LHS can also be justified combinatorially: first you pick how many stickers get handed out at all (j ranging from i to n), then choose who gets the stickers (in one of nCj ways) and finally who among them gets the red ones (in jCi ways)
Ah yes, okay
Thanks!
So this show's it's $\binom{n}{i} \binom{n-i}{j-i}$
wai
I then have to sum this up
substitute what u have here
then pull binom(n, i) out of the sum ur left wit binom(n-i, j-i), let k = j-i
so the sum start from k=0 to n-i
and remember what (1+1) is using binomial theorem
wai
flip j wit i
okay
i gtg now, u alrdy have all the tools gl
$\sum_{i=j}^{n} \binom{n}{j} \binom{n-j}{i-j}$
wai
like so?
Thanks!
okay, got it
thanks
.close
Closed by @blazing coyote
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
I got the (1^2+2^2...)/n and I want to reach the answer C (2n^2+3n+1)/6, how can I?
Do you know the formula for the summation of squares
jewels!
Nope I didn't knew it, that solves everything ig
Thx
I find it odd that this was given to you without them telling you this formula lol
Were you meant to derive it yourself
How can you get it by deriving
I don't remember the process
Well it's a guide for an exam I am gonna take that is like SAT, and these topics are what I am supposed to learn in my next classes lol
Well it's fine, thank you anyways
Bye and have a great day
.close
Closed by @pearl snow
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Axiomatically show $P(E \cup F) = P(E)+ P(F)- P(EF)$.
\
wai
Please don't occupy multiple help channels.
I;ll list the axioms
- 0≤P(E)≤1\
- Let the sample space be 1, the P(S)=1\
- For any sequence of mutually exclusive events $E_1,E_2, \dots, P( \bigcup_{i=1}^{\infty}E_i)= \sum_{i=1}^{\infty} P(E_i)$
Shouldn't it be n(n+1)(2n+1)/6
yea
wai
so here we first have to find a way to write the union as the intersection of two disjoint events
Are these events assumed to be independent?
I assume not, because otherwise the intersection would be empty
why two disjoint events
so that we can use the third axiom
Oh true
the third axiom allows infinitely many disjoint events
in fact it requires you to use infinitely many disjoint events
I see, okay
EUF=(EintersectionFc)U(EintersectionF)U(FintersectionEc)
!nosols
As a helper, please do not give out answers that could be copied as a homework solution. Have the student work through the problem themselves and guide them along the way.
Then use axiom 3
hmm
But there are only 4 possible events here, no?
both events not hapenning
Sum of first n Natural Numbers: https://youtu.be/aaFrAFZATKU
Here we have a simple algebraic derivation of formula to find the sum of first n square numbers.
even simpler
either both events don't happen, one happens ,and the other doesn't ( two such possibilities), or none happen
are you sure you typed what you wanted?
now yes
well in your list you definitely forgot both happening
but anyway
the event I am talking about is none of those
I am talking about the empty event
$P(E_1 \cap E_2)=0$
wai
is that the def you were given?
for two events
let me confirm
2 minutes
I can't really find a defn, but on further thought, it sounds like mutaully exclusive
what are disjoint sets
sets whose intersection is the null set
and I would always have defined disjoint events the same way
but tbf, its been quite long since I've done probability theory
for finite things this is equivalent to having probability 0
for continuous distributions its not
anyway
not that relevant here
given the empty event, how can you have infinitely many disjoint events
You can have the intersection of all events with the empty event?
which are?
$E_1 \cap E_2; E_1, E_2, E_1 \cap \varnothing, E_2 \cap \varnothing, E_1\cap E_2 \cap \vanothing,\varnothing$
wai
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
what do the last of those equal
\varnothing
the key point being: we can use the empty event over and over again
and in this way fill up our events until we have infinitely many
and this enables us to effectively use axiom 3 even for a finite amount of events
I hope you have shown P(empty event)=0 btw
otherwise you also need to show that
yes
I forgot an event too
So all I have to do now is write $ E_1 \cup E_2$ as the intersection of two disjoint events
why two
well, not necessarily two
just the union of disjoint events
Well, the best I can do is $P(E_1 \cup (E_1^{C} \cap E_2)) = P(E_1) + P(E_1 ^C\cap E_2)$
wai
The current time for math_rocks is 11:47 PM (IST) on Fri, 23/05/2025.
Closed by @blazing coyote
Use .reopen if this was a mistake.
And thanks
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
how does the solution space have a dimension of 3 when the vectors themselves are in the sixth dimension?
they live in R^6 but they span only a subspace of R^6.
"dimension 3" does not mean the vectors themselves have to look like they live in R^3; only that it takes 3 vectors to span the space that you're talking about.
so because we have three vectors they span R^3?
and because they are linearly independent
or im i misunderstanding something
and how can sixth dimensional vectors span R^3?
do you know how you define dimensions of a vector space?
based on the basis vectors right?
so if you have three linearly independent vectors
they make a basis for R^3
thus the dimension is 3
not for R^3
correct me if im worng
how
the dimension of a vector space is n, if there is a basis which has cardinality n
is the definition of dimension of a vector space
you just need to show that the vectors are linearly independent
it doesnt matter what the vector space is
it could be a bit sequence under xor and and
R-linear combinations of 3 linearly independent vectors will span a subspace isomorphic to R^3
so we say the solution space has dimension 3
and isomorphic to R^3 doesn't mean it's literally R^3
why is it important to find the solution space anyway? what does it say about the system you solved?
thats true 😄
is the... space... of all of its solutions...
its the goal of solving a system
tahst not a good reason
it is, for me 😄 and for many others
but why does it matter that we know the dimension of the solution space
well i admit the qn is not that interesting, but if you want to solve it you have to solve it
is there any relations to differential equations?
not this particular qn, but yes
we know how many "degrees of freedom" the solutions have, in some sense.
Closed by @wind bane
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
its a field
indeed
not to mention, you have not provided a proper proof in the case that v =/= 0
oh
i need some hints to like figure that part out
i know ill need to do some distributive shenanigans
bnut like
can i have a subtle hint
is it not sufficient to show that if v≠0 then av = 0 by taking inverse a on both sides, hence a must be 0??
you mean a≠0?
wait i got a bit confused
what op showed is sufficient yes
yes thats what i meant to say
suppose that v != 0 AND av = 0. then we want to show a = 0. well, if a were not 0, then you can take a^{-1} both sides to get v = 0 (contradiction)
@cloud nexus you are done
oh that just
works
yeah that's what op showed
u don't need to assume v≠0
Closed by @cloud nexus
Use .reopen if this was a mistake.
indeed, and now you can see why we didnt need to assume the v != 0 😄
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
I have this um brick 🧱 puzzle problem, so basically I have different sized bricks and I want to make the tallest tower. But I can't place a brick on a brick which has lesser width or lesser length than it. How can I make tallest tower 🗼?
Please ping me if you have insight/hint
What step are you on?
1. I don't know where to begin.
2. I have begun but got stuck midway.
3. I got an answer but I was told that it's wrong.
4. I got an answer and would like my work checked.
5. I have a question about someone else's work/solution.
6. I have completed the problem and don't need help anymore. Thank you.
7. None of the above
@vernal drum can you share all the brick shapes that are available to you
and maybe the precise rules as detailed in your worksheet
You have to have an efficient method which works for any set of bricks 🧱
Although you can be loosey goosey with the efficiency at first and slowly work the way up
not really helpful, that.
you can and should send images here btw
can we please just have a screenshot or photo of your worksheet
Its not from a worksheet
then where is it from
well what kind of shape do we consider as a "brick", for one
"any"?
Positive real dimensions
ok then you can make an infinitely tall tower??
so what exactly is the rule we have to satisfy
The height should be maximum and if you are placing a brick on another, it's length and width should both be lesser than the brick we are placing it on
under what conditions do we consider a brick to be "on" another?
what happens if the bottom face of brick A partially overlaps with the top of brick B? do we still consider A to be "on" B?
If we have a bricks of dimensions (l,w,h) as (5,6,10) and (6,7,12) we can place the first brcik on the next
But we can't place second on first
If it's (4, 5, 2) and (5, 4, 2) then neither can be placed on the other
im asking what is considered as placing one "on" another
do we allow overhangs
or does each brick have to rest either on the table or entirely on the surface of a single other brick
There's no table
if there's no table what do the bottom-most bricks rest on...
It has to rest entirely on the other brick yes
Oh, I see, yea you can assume it to be a table or ground or earth
like... table, ground, base plane, what else do you wanna call it
Yes
Bottom most is only a brivk
You cant have multiple bricks on the same plane
And you cannot spatially rotate the bricks
It it's (l,w,h) you can only keep them as such
so not even rotations in the horizontal plane are allowed?
Nope
so e.g. you cannot fit a (3,10,1) over a (12,5,2)?
Nope
That should make the problem simpler right
i guess
now it feels kinda reminiscent of some kind of knapsack problem
but i dont really know if there are any straightforward reductions in either direction
Hmm
😶
a rather inefficient approach: take all possible stacks which you can make under the length width constraints, find the tallest
Oh I got it
Thanks Ann.
.close
Closed by @vernal drum
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
first of all i'd say im not sure if this is even the server for that
if its not ill happily go on my merry way!
some background: i am making a cpu in minecraft (gotta have a hobby somehow amiright) and i needed a pseudo random number generator for it
i ended up on lfsrs as the main generator
i dont know if people on here know what lfsrs are so ill try to give a brief explanation
its a shift register where using some sort of logic gate (mostly xors and xnors) in series lead to the next bit, basically its a loop
now there is some math behind it but certain layouts of xors lead to a maximum cycle lfsr which means that it cycles through each binary number within its bit range atleast once, so for example for an 8 bit lfsr an optimal arrangement is placing xors at bits 8 6 5 4 which leads to a 255 cycle lfsr (not 256 as a 0 would cause the entire lfsr to output only 0s)
now this 0 problem is an issue as i need an rng from 0-255 not 1-255 so what my plan was
having eight 8 bit lfsrs in parallel each initialized to a random start within their cycle (a random preset number chosen beforehand)
and another 11 bit lfsr which would xor its last 8 bits with each of the eight 8 bit lfsrs giving them variation, because the cycle length of the
11 bit lfsr is 2047 and the 8 bit is 255 and becasue they are relatively prime the entire cycle for the system is 255 * 2047 numbers long
sorry for the long background now for the main issue
when checking the system beforehand with code (ill attach the file) when running it for its full cycle it showed me that the numbers 127 and 255 occur 50% less than all other numbers (attached is a picture showing the counts of each number in total over the entire cycle)
so to clarify some things:
11 bit lfsr: 0 0 0 [0 0 0 0 0 0 0 0]
8x8 bit lfsr [0...0, 0...0, 0...0, 0...0, 0...0, 0...0, 0...0, 0...0]
i take the last 8 bits of the 11 bit lfsr and the last bits of each 8 bit lfsr and xor them together
now when i try to use any other 8 bits in a row from the 11 bit lsfr for example: 0 [0, 0, 0, 0, 0, 0, 0, 0] 0, 0 it gives me incredibly different results
as in, half the numbers never. occur. and it gives a very obvious pattern
what im asking is basically:
why does this arrangement give less 127s and 255s
because in my mind the 11 bit lfsr and 8 bit lfsrs are not connected at all their cycles do not coincide
i'd love to know why this happens like this and how to fix it so that the chances for all numbers to occur are roughly the same
code:
def lfsr_multiple(start_b, start_a=None, length=521985):
if start_a is None:
start_a = [0, 0, 0, 0, 0, 0, 0, 0]
state_a, state_b = start_a, start_b
sequence = [0]
for _ in range(length):
for index, state in enumerate(state_a):
feedback_a = (state >> 7) & 1
feedback_a = ((~feedback_a) & 1) ^ ((state >> 5) & 1)
feedback_a = ((~feedback_a) & 1) ^ ((state >> 4) & 1)
feedback_a = ((~feedback_a) & 1) ^ ((state >> 3) & 1)
state_a[index] = ((state << 1) | feedback_a) & 0xFF
feedback_b = (state_b >> 10) & 1
feedback_b = ((~feedback_b) & 1) ^ ((state_b >> 8) & 1)
state_b = ((state_b << 1) | feedback_b) & 0x7FF # Ensure 11-bit register
sequence.append(int(''.join(str((state & 1) ^ (((state_b & 1024) >> (10 - index)) & 1)) for index, state in enumerate(state_a[::-1])), 2))
print(state_b)
return sequence
# Generate random data for comparison
N = 2047 * 255 # Length of the random data
# data = lfsr_combined_8_11(254, 255, N)
data = lfsr_multiple(1000, [17, 46, 248, 49, 150, 106, 104, 239], N)
random_data = [random.randint(0, 255) for _ in range(N)]
# Prepare counters and values
def prepare_plot_data(input_data):
c = Counter(input_data)
keys = sorted(c.keys())
values = [c[k] for k in keys]
return keys, values
keys1, values1 = prepare_plot_data(data)
keys2, values2 = prepare_plot_data(random_data)
# Create subplots
fig, axs = plt.subplots(1, 2, figsize=(16, 6))
# Plot original data
axs[0].bar(keys1, values1, color='steelblue')
axs[0].set_title("Frequency of Each Number (Original Data)")
axs[0].set_xlabel("Value")
axs[0].set_ylabel("Count")
axs[0].grid(axis='y', linestyle='--', alpha=0.6)
# Plot random data
axs[1].bar(keys2, values2, color='orange')
axs[1].set_title(f"Frequency of Each Number (Random Data, N={N})")
axs[1].set_xlabel("Value")
axs[1].set_ylabel("Count")
axs[1].grid(axis='y', linestyle='--', alpha=0.6)
plt.tight_layout()
plt.show()
now i realize this isnt really a school/homework question
but im genuinly interested why this arrangement which in my head should produce relatively balanced pseudorandom numbers is weighing 127 and 255 down
wut
i have a hunch but give me a moment to read everything
ill wait as long as needed i'd love all the help i can get
and another 11 bit lfsr which would xor its last 8 bits with each of the eight 8 bit lfsrs giving them variation, because the cycle length of the
huh? what are you doing with the remaining 3 bits?
not using them, they exist because they are needed for the lfsr to exist but im only using the last 8 for the xoring
honestly, i have no idea, but i am wouldn't be surprised if
state_b = ((state_b << 1) | feedback_b) & 0x7FF # Ensure 11-bit register
affects the range of values you can get with the "11"-bit lfsr - you might not be able to reach every state considering that you & 0x7FF
but that's just a guess honestly
0x7FF is used to limit it to 11 bits
yes
the range is supposed to be 11 bits
but then you feed the cropped version back into the lfsr
i think you should just be running it separately and do & 0x7FF on a copy of these 11bits that you will xor
but you crop it to 8 bits and feed that state back in
sequence.append(int(''.join(str((state & 1) ^ (((state_b & 1024) >> (10 - index)) & 1)) for index, state in enumerate(state_a[::-1])), 2))
this line sequences only 8 bits out of that 11
specifically
10 - index
as index is the enumerated output of state_a which has 8 elements
the code works i checked
im like 99% sure the code works but its always good to be checked on it ig
ummm am i supposed to wait, can i @ someone or how does this work
ig ill do that? <@&286206848099549185> sorry for the ping but if i may have some help 🙏
maybe try?
sequence.append(int(
''.join(
str(
((state_a[::-1] + [0]*(11-len(state_a)))[i] ^ ((state_b >> (10-i)) & 1))
)
for i in range(11)
), 2
))
unless you mean "xor each of the N bits in state_a with the corresponding high bits of state_b"
then it'd be:
n = len(state_a)
sequence.append(int(''.join(
str((bit & 1) ^ ((state_b >> (n-1 - idx)) & 1))
for idx, bit in enumerate(state_a[::-1])
), 2))
@peak wadi Has your question been resolved?
this is 1 for 1 what i am doing (just noticed im doing a useless & 1024 but it doesnt effect the outcome)
and is what i mean
not sure what this is supposed to do
first, it reverses state_a and pads it with zeros so it has 11 elements, then for each index i from 0 to 10, it xors that padded bit with the (10-i)th bit of state_b
and finally it joins all those xor results into an 11-character string of '0's and '1's in order to convert that binary string back to an integer and pushing it onto the sequence
mhm well the final output needs to be 8 bit not 11
ohh, my bad
nah i didnt mention that ig
you can easily fix it tho
fix what? the code is fine
my problem is with the mathematical aspect of what im doing
my issue is that certain numbers have redcued chances of generating
and i dont know why or how to fix it
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
!help
To ask for mathematics help on this server, please open your own help channel or help thread. See #❓how-to-get-help for instructions.
Could you translate?
Yeah so which polynomial corresponds to the volume of the box
it gives a bunch of surfaces for each side , and the question is which one correspond to the volume of the box
what is a facade ?
Alright, a good start would be to try factoring the given polynomials
If the value of x is 4 what is the numerique value of the volume
so its a rectangle ?
What would that do just asking
Yeah basically
You'll perhaps be able to figure out the side lengths.
Okay ill try that
The volume is the product of the side lengths.
If two faces have a common factor, it is safe to assume the side shared by the faces has length equal to that factor
If all the polynomials turn out to have common factors in pairs, you know the side lengths
Each one
Ik
Ok
Im trying to factorise 3x^2 + 14x + 8
With somme product
S = 14 P = 24
||the quadratic formula ||
You tryin to do the a)?
Yeah
Seems good
You can factor all of the three polynomial and make the product of all of it
The thing is that, it depends what they are waiting as "polynome"
Alright when im done ill try to do that
Is it the developped form or the factor one
Im not sure
To me its the developped form
Well do that then
Also
3x^2 + 8x + 4
P = 8 S 12
Only numbers i found are 6 and 2
But they dont work
-2 is a root
So +-?
guys I will go crazy
Divide them by 3 and you get relevant constants
So S = 8/3 and P = 4/3
2, 3/2, hence 3(x + 2)(x + 2/3)
Yeah
Alr
And just to lyk
I didnt do -c/a on the other polynomial
But i still got a good answer
Or -b/a
c/a but yeah, good thing ig
Idk how you did the other one, but what you wrote for S and P on the other one are wrong cuz -4 + -2/3 != 14 and same for the product which is 8/3 and not 24
Okay okay
But then what on earth is this supposed to be
Cause i basically
Used this to solve
Ah
Not what i thought you was doing
I thought you was doing the product and sum of the roots
And solving for it
Ok
No idea, -2 is a root of it so you can force factor it
-2 root aswell
Wait
Wdym
-2 is a root so you can factor the polynomial as (x+2)(x + ?) since there is nothing infront of x²
what is the ?
How did yk it was a root
Hm
i plug the value in
no
you want something such as 2*this something = 8
since the polynomial has 8 in constant terms
Ohh
so its (x+2)(x+?)
3
2*3 = 8 ?
develop
Cause the other one was
you don't have 3 infront of x²
So this is also wrong?
see
Look at this ones answer
what about it
Theres a different way to solve for 3x^2 and x^2
It also has 3x
can you sum up your answers
First
2nd
yeah they both correct
now for x² +6x +8
you know -2 is a root
so x²+6x+8 = (x+2)(x+?)
and you want to know the '?'
well the others were done so ofc
Yeah
for the volume
Yea
lets get the longueur first
Kk
we know 3x²+8x+4 = ?
and 3x² +14x +8 = ?
So replace x with 4
no
Ah
Whats the factored form
you found it earlier
(3x+2)(x+2)
ok and for 3x²+14x+8 ?
(3x+2)(x+4)
ok so we see that we have a common factor between these two
which means that since they share the SAME longueur
the longueur is represented by this common factor
which is ?
(3x+2)(x+2) (3x+2)(x+4)
what do they have in common
Yea
what about the hauteur (height)
Its (x+2)
yes cuz its the one they share with the other one "(X+2)(x+4)"
Ye
and what about the largeur (width)
(X+4)
great
so now if you product all these three "longueur, largeur and hauteur"
you will have your polynomial that express the volume
and now
Now replace x
you can answer question 2 by plugging in x = 4 into that said polynomial
where this polynomial is the answer to question 1
Volume = 672
well assuming calculations are correct, this is wrong
Huh
Cm^3
ok
Mb
Alr lol
If you are done with this channel, please mark your problem as solved by typing .close
yea
Thanks bro
yw
.close
Closed by @hardy spindle
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
can I get any help? I did the first part, but I dont see any conection with second part
@lyric ore Has your question been resolved?
.close
Closed by @lyric ore
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Is my velocity time graph correct?
for qn3a
No
Why is your graph a straight line in any interval?
Velocity is constant for 0-2, 2-3 and 3-6 yes?
its supposed to be a straight line tho
Huh
^^
isnt it going at 2.5ms^-1 for 2.0min
So it's constant for 0 to 2 minute right
yeah
so what, only when there's acceleration, it'll be slanted line?
No
Acceleration is 0 everywhere except for the instantaneous moments when velocity changes abruptly
errr so how do I change my graph
I've already provided multiple hints
You figure it out yourself now
Think of what the slant line and horizontal line means
dont tell me the graph is gonna be horizontal lines that are not connected to each other
Yeah
wouldn't that look so weird
Why does it matter that it looks weird
Lmao
It's gonna be discontinuous yes
That's the weird thing you're getting
I mean I've never seen graphs that are disconnected
Like this?
@viscid path Has your question been resolved?
<@&286206848099549185>
yeeee
@viscid path Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
can someone help me out of question 4? :d
the matrixx is already in RREF form so x3 would be 0
x2 would be free variable
x1 = 3x2
x2 = x2
x3 =0
what about x4
RREF form
what do you think the F in RREF stands for
RRE form then
oh , both would be free variables?
yes
also how would u write nul space
Nul A = span { u ,v } or just the set?
cuzz i think it should be span {u , v} because we have free variables , so many vectors would satisfy ax=0
you have x=(x1,x2,x3,x4) = (3x2,x2,0,x4)
rewrite that as a linear combination of two vectors
yeah done that
(3 1 0 0 )x2 + (0 0 0 1) x4
but do i write it as
Nul A = span {(3 1 0 0 ), (0 0 0 1)} or just Nul A = {(3 1 0 0 ), (0 0 0 1)}
yeah thats what i thought as well but at the end of the book , we have this
you were asked to list the vectors that span the space
so thats fine
but the equality nul A = {u,v} is wrong
ok ok , and same goes for colA i assume?
im gonna go with yes there as well , cuz its the linear combination of columns of A
ty for the help
.close
Closed by @surreal patio
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
the "->" means indexes 1,...,n. and "<-" means indexes n,...,1? that's it?
no other meaning ever behind it?
What
and also, do people use upper/down arrow as notation as well for column vector
the arrow just means its a vector
I think arrow just indicates a vector
I have never seen <-
No
i see
Every vector is just ->
Closed by @lament sorrel
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
can someone help me work out the curve equation
ive worked out the gradient of the line
So you got the eq of line
yes
yes
Since C cuts the x-axis at 0 and 6, the quadratic function can be written as: y = ax(x - 6)
We know that C passes through the point (10, 80). Substitute these values to find a
i get it now thank u two
but just a question
anytime
i work out the equation of the curve
and i am given a coordinate
i use y = ax(x-z)
right
nice
yes
ty guys!
Is it the point where slope is 0?
yes
How?
Therefore, the equation of C is: y = 2x(x - 6) = 2x² - 12x
Yes
Find the equation of the line l
Isnt this a rectangle?
The line l passes through (0, 60) and (10, 80)
The region
nah
The slope of the line is (80 - 60) / (10 - 0) = 20 / 10 = 2
Since the line intersects the y-axis at 60, the y-intercept is 60
Mm
Therefore, the equation of l is: y = 2x + 60
Mm
Yeah
Then
Define the region R using inequalities
For the region R, the y-values are always greater than or equal to those of the curve C. So, we have: y ≥ 2x² - 12x
For the region R, the y-values are always less than or equal to those of the line l we have: y ≤ 2x + 60
The region R is bounded by the x-values of 0 and 10 (the x-coordinates of the intersection points)
So: 0 ≤ x ≤ 10
Understand?
Ok
How are u?
Fine
I just logged into this server today
I see
So i want to get acquainted with somebody
But isn't this like an infinite rectangle 🤔
I think, that we cannot set a graph of an infinite rectangle
Yea nvm...
India
oh, its not too far from me
Ok
i want to learn English very well
Mm.. I am not very good at english
Only in typing
because some your frases i needed too translate from the internet))
I see
