#help-27
1 messages · Page 65 of 1
its 1/2 times the whole ln thing
heavy
yeah you can just drop the 1/2 then
ohhh yeah ur right
ive found that f(-x) = f(x), f is an increasing function and that x= 1 and x=-1 are asymptotes of x
im not sure how to solve that question with a and b though
recall that $\ln (\frac{1}{x}) = - \ln (x)$
heavy
its just about solving an equation really
yeah but it has 2 terms
a and b
and its in terms of f() of something
hello?😭
im really sorry but ima have to tag <@&286206848099549185>
Case 1
f(a^2 + b^2) =0 and f(a-b+1/2) =0
ln(x)=0 if x=1
in this way solve
Case 2
f(a^2 + b^2) =-f(a-b+1/2)
ln(x)=-ln(1/x)
in both cases u get 2 equation
so u can easily solve them to get a valid answer
u get 2 equation in both cases so u should be able to solve
they maybe
you have to eliminate the answer that are not valid
these are just 2 possibility which may or may not be correct
try case 2
did you find anything?
Nope
frick
i will let u know if i figure something out
@ashen ledge 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.
Use integration by substitution
Try u=ln(X)
@restive river
It should be u=ln(X)
du/dx= 1/x
So dx= x du
Then plug it into the intregral
So x cancels out
And u get integral of (ln(ln(X)) times ln(X))
As u= ln(X)
And then do integration by parts
Np 🙂
U too
@restive river Has your question been resolved?
Closed by @onyx sentinel
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 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'm told it's wrong
4. I got an answer and would like my work checked
5. I have a question about someone else's worked solution
6. None of the above
@paper palm Has your question been resolved?
1
i dont know where to begin
i got that if the average was 13 then the total age of all of them is 130
yep
and so they add 2 more and the averge goes to 14
what does that mean
what is the new sum
if it increased by 1 year and 2 people then its 14*12
yep
168
yep
so 38 difference
yep
so the average is 19
oh i didnt need help then
lol
tysm tho
np
.close
Closed by @paper palm
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 going to require the inner chain rule 3x?
1 outer function,
3 inner functions?
work outside to inside so yes there will be 2 chain rules
1 for the argument of ln, 1 for the rational function
@mild basin Has your question been resolved?
Oh OK, we don’t call the “rational” ( does that mean the root: power rule ) a chain after ln?
when ur doing derivative of ln
d/dx ln(u)=u'/u
in this case u=x+√(1+x^2)
so u' will make u take the derivative of the root, which is the 2nd chain rule
first being derivative of the argument in the ln
@mild basin
you shouldn't have to think or plan beforehand how many chain rules something has, the idea behind the name of the chain rule is that it is just like a chain ⛓️ of derivatives. Start with the outside, ln( ) is a composite function so you will apply the chain rule to its inner part. x+sqrt(1+x^2) well, the derivative of x is one but the derivative of the sqrt(1+x^2) will require the chain rule again because it is a composite function yet again.
You should just be analyzing each function at each step individually
I see ln( composition )
I do chain rule
I now see sqrt( composition )
I do chain rule
but probably no need to like gameplan it all out
technically there are even three chain rules
the last composite function is (x^2) of which the derivative of 2x * d/dx of x which is 1 ( that is the reason this final step is ignored)
but you can see how you wouldn't like first view a question like that and be like oohh this is how many times... yk?
Closed by @mild basin
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 first image I sent was the example my teacher showed us
And Photomath is giving me the same as we’re but in different places
A number divided by 4 and then subtracted 2018 from the result is 56. The number is:......
Can u explain to me why that’s the answer
Is it where the numbers outside the brackets go last?
Wait so is the first image right or wrong
just to make it clear the $\red{4a-5a(2a-1)}$ that was written down is wrong and not the same as $(2a-1)(4a-5)$
ℝamonov
ugh, the first step there upon closer inspection is also wrong
That’s the exact example my teacher told us to write down
send it back to them and/or maybe you didn't copy it down correctly
Can you explain why the 2a - 1 would go first instead?
the order in the final product doesn't matter,
pq = qp
what you do need to ensure that your expression properly represents the correct things being multiplied
$$(2a-1)(4a-5) = (4a-5) (2a-1)$$
getting either is fine
ℝamonov
which the teacher / your notes did not achieve
Bro what can u speak English
wdym
the order in the final product doesn't matter,
pq = qp
Ok
(5m^2+t)(t-2) is equivalent to (t-2)(5m^2+t)
what does matter is that you should have a plus sign (coloured in blue) between those terms
and write your ts more cursive so they don't get misread as + signs
Ok
@compact ravine 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.
because the larger diameter is sqrt(2) times larger, you can draw this around a square
hax
@flat breach 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.
Hi sorry i asked this question before, but i keep getting stuck on j. Does anyone mind walking me through the solution? 😅😅
<@&286206848099549185>
@keen prairie Has your question been resolved?
ok hold on
@keen prairie Has your question been resolved?
<@&286206848099549185>
@keen prairie Has your question been resolved?
@keen prairie Has your question been resolved?
Closed by @keen prairie
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.
Quick question
Where did that negative came from?
notice that in order to cancel out x - 16 and 16 - x
you have to do 16 - x = -(x-16) or same trick but in the numerator
Ohh yeah
Modus
Closed by @true tangle
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.
where does A send the vectors (1,0,0), (0,1,0) and (0,0,1)
from that you can read off the columns of A
Closed by @humble cedar
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.
Assume that the function f(x) is defined on the entire real line and that $(f(x))^2 ≤ x^4 + x^6$ for all x.
afeAlway
(a) Determine whether f must be continuous at the point x = 0.
afeAlway
In what world is this true? |f(0)| ≤ 0 <=> |f(0)| = 0?
Absolute values are generally can't be negative, right?
I get it now
Alright
since it can't be less than 0, the only way the inequality will hold is if f(0)=0 right?
a quick question, can you do the opposite? $f(x) = |\sqrt{x^4 + x^6}|$ ?
afeAlway
No
@valid axle Has your question been resolved?
i mean y
@valid axle 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.
hi
What do you have to find
(tanx-sinx)/(sinx-cosx)
i just wrote the main part of the solution. after this part we find sinx and cos x and just replace it
is this correct? is there any other solution?
You can go with the rhs itself, simplify it
what do you mean? could you explain more
oh i got it
pretty smart move
how can i get better at trigonometry and trigonometric identities?
Practice and learn all the formulae
do you have any set of questions that can be helpful?
Solve books of trigonometry. I am not from your country, so I don't know what type of question there are. I, solve cengage. But it is a pretty hard book
Closed by @somber shore
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.
claim
Closed by @abstract prism
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'm working on b
I know that you have to in some way set it up as an optimization problem but its not really clear to me how to do that
I think I have to take partials somewhere?
I mean clearly
that error depends on theta. you probably dont want that
so more likely something like int (s-c1-c2cos)^2 dtheta
are you saying take another derivative
sorry i realize these are dumb questions
the error will depend on theta if we do it this way, right?
i mean theres no getting around it, there are thetas and phis in the form of S_b so you cant have it not depend on them
they arent very explicit in the question but they very likely want the best approximation of s in the L^2 norm
I can post what the teacher said
the way he wrote it is not making sense to me though
$\sum_i (s(\theta_i) - (c_1+c_2 \cos^2(\theta_i)))^2$ something like that
how would you decide on the thetas
Denascite
or do you just do like a hundred thousand
yeah that's what surprises me a bit
im not sure he understands what im asking
if we do the L^2 norm then we get "all" thetas
so id take his answer with a grain of salt
$\int (s(\theta)-(c_1+c_2\cos^2(\theta)))^2 d\theta$
Denascite
oh man we have another integral on top
i mean
how are you even going to set this to 0
the goal is finding c1 and c2 right
so at some point you have to take a partial of this fucked up nested thing
$E(c_1, c_2) = \int_{-\pi/2}^{\pi/2} (s(\theta)-(c_1+c_2\cos^2(\theta)))^2 d\theta$
wrt c1 and c2
Denascite
well its gonna be a bit messy
the prof says we should do this by hand
i mean we cant evaluate the integral
which if you do it this way youll eventually have to do
by integral i mean s_beta
well by hand you cant do line of best fit anyway
idk what you mean haha
we are gonna let matlab do the math stuff in the end either way
sure
i mean i can use matlab for all of this
i just dont understand the problem at all so im not sure how id code it
itd be better if i can do stuff thats by hand by hand
idk maybe ill ask chat gpt and guess through it lol
dont ask chatgpt
@stone stump big picture, youre saying
im not sure what to do 
big picture
we define an error function, which given a c1 and a c2, will tell us how "far" we are from the original solution
yes
we take derivatives of the error function with respect to each parameter we have control over, and find minimums
and thats it
in theory. in practice we of course would have to calculate all the values which would be messy
so the problem here is mostly with the question "which error function do we use"
its just where to introduce it
well he gave one rnight
right
then the question is what thetas
lol
whatever you used previously do plot s(theta) in the first place
error function by hand
derivatives by hand
minimums by compute

i think i understand
but wait
you said these were wrong?
last question i promise lol
you would need to sum those up over all theta_i
oh, thats what you mean by theta dependency
$E(c_1, c_2) = \sum_i (s(\theta_i)-c_1-c_2\cos^2(\theta_i)))^2$
okay 
Denascite
I'm gonna leave this open so i can reference it but i think thats good enough i can approach it
thank you @stone stump 🙇♂️
youre welcome
@timber pebble Has your question been resolved?
Closed by @timber pebble
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.
Do you know modular arithmetic?
maybe but i dont know the name
Ok well anyway, i want you to list like the last digit of the first 3^n for 1<=n<=10
You should see a pattern
Figure out the remainder of 2011 when divided by 4
1
Note thats 3^n has a last digit of 3 when n has a remainder of 1 when divided by 4, last digit of 9 when n has a remainder of 2, 7 when it has a remainder of 3, and 1 when it has no remainder
oh yeah
So whats the remainder of 2011 when divided by 4
1
U sure?
it has a remainder of 1 right
@paper palm Has your question been resolved?
Closed by @paper palm
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 i have a variable that tells me the average cost of a product over the last 7 days, and i have another data which is the latest cost in the last 24 hours, could i update the average cost? I want it to be the average of the recent 7 data points basically.
i dont think i can because i need to know the oldest price which i dont have
is there a way to make a close estimate for it?
@woven crystal Has your question been resolved?
If I think I understand what you are saying, you have this sort of set up?
So the day average is not included in the last weeks average?
its not
Okay cool
So, if you have the average value for the week i.e the last 7 days
Then one rough assumption is that the price on each day of that week was the average, if that makes sense?
well sure, but that seems really drastic
If all the data you have is the week average and the next days average, I dont think you can calculate the new average without that assumption
could we take the average of the new value and the weekly average?
Well what I was going to suggest was doing (6*(Week average) + (day average))/7
ah because then its like subtracting the oldest price
yeah exactly
are there any alternative assumptions we could do?
I'm just thinking about that
Hey BadBarbie, its best to open a new channel for this post #❓how-to-get-help message
A slightly more nuanced assumption could be to do something clever if we assume the price moves smoothly
So like if the day price is a lot higher than the week average, we can imagine the actual week values to start lower than the average and build up to approach closer to the day average
And then you could use that assumption to do something clever
Which could just be to give more weight to the day average
Like (5*(week average) + 2*(day average))/7
isnt that giving less weight to the day average?
I think thats more as the prev one was (6(week average) + (day average))/7 right?
okay so i was thinking we know sum = 7*average
and you said something like if the day price is a lot higher than the weekly average then the values build up to approach closer to that day average
so could we artificially create terms of the sum
like sum = something big + something smaller + something smaller than that + ... + smallest
@woven crystal 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.
From a point P due south of a vertical tower, the angle of elevation of the top of the tower is 20°, from a point Q due east of the tower the angle of elevation is 35°, the distance from P to Q is 40 metres use pythag to calculate the heigh of ghe tower
@alpine heron 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.
hi, I'm struggling with this problem; how would I find the zeros of f''(x)?
I tried factor theorem, didn't get anywhere with that
why not use the cubic formula
I don't think I've been introduced to that
the zeros arent nice
so either you use a calculator or you messed up taking the derivative
the only other thing I could think of was a graphing calculator
well yeah
I double-checked the derivative, I'm pretty sure it's correct
I'll use Desmos then, I just wanted to see if there was something I was doing wrong
yeah so those are the zeros in the photo i sent
sometimes you just cant factor it and have to use a calculator
np
.close
Closed by @weary ledge
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.
am i right with A?
i dont believe he is asking for the answer, only if he is right
i solved it bra
if he is right, then say he is right
if he is wrong, explain why he is wrong
kefir r u good at probability
open a question gang
i did xd
thats asking for the answer...
someone else needs to solve it and tell him if he's wrong or right
and idealy tell him the correct answer
what kind
NOT HERE THREN BRO
we dont tell him the correct answer if he is wrong, we tell him that its wrong, then ask for him to show work so we can show him where he went wrong
mb
ideally yes but a lot of helpers will actually tell them the correct answer
look at help 26 kefir
ur good 🙂
or outt will just ask them for the correct asnwer
then we remind those helpers to not give out the answers
well yeah
can you help?
maybe, let me work it out first
tysm man
I feel like this is a waste of time
if they found a solution
they probably know at least some of it
im in a tough situation rn i got to get 6 assignments completed today
they only need help if they get it wrong
if they are right the helper's time is wasted
and whos' fault is that
if you see it as a waste of time then leave it to another who will help
im saying for any helper it can be a waste
Bro just help me then please
so people shouldnt ask those type of questions
vort, ping helpers role in your own channel if it has been 15 min
heres the question again
i did lol
ping it every 15 min, create a help forum, or post your question in the appropriate channel
@wispy geyser could you tell me the reasoning behind your answer?
The product of the slopes of successive sides is -1 and the lines are said to be perpendicular to one another, so each sides are orthogonal and perpendicular to one another.
are you saying in the question, its given that the lines are perpendicular? of so that is not the case
it shouldn't be given, were seeing who is checking if the lines are perpendicular in the right way
so, who would you say is going about it the right way, carla or jonah, and why?
i mean i think its carla
why do you think it is carla?
im not saying you are wrong, im simply asking why do you think its carla
@wispy geyser 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.
Hello!
having trouble with #39
Im not sure what im doing wrong as I keep on getting the wrong answer
some insight would be appreciated
Try drawing it in Q1
@north light 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.
Mathematically, what would be your formulaic pattern for this problem?
The logic I came up with isn't correct for all cases.
Namely, my logic is to iterate through the array and decrement the larger element in a pair where the hunger level difference is the greatest in the array
but this logic fails for an example like this -> [1, 5, 4, 1]
my logic would output:
541
531
but the actual correct answer is:
541
441
why not make another var to compare the largest Hn and allocate N to it? so a priority thing
I have three variables currently:
highest, highestDiff, and diff
compare i and i+1 
you're comfortable in JS?
just in case you are, here's my current attempt:
my other attempts are not good though:
first attempt:
https://dpaste.com/562WD2AM9
this passed 4 of 10 checks
second attempt:
https://dpaste.com/8QVPGEK7V
been working on this for over 23 hours
so, I'm ready to move on already
@green walrusisnt this just programming
is it cp
there are a bunch of servers for that
I'm interested in the math logic here
i only shared my code since Rain seemed to be comfortable in JS
make it so you assign the i-th item and replace it with the next largest i, then take one away from N and add 1 to the new i term.
Then loop that until N = 0
oh lol
so I can understand the code better
i want guidance so it hopefully doesn't take me over 20 hours next time
its just a programming thing
you're looping from 1 to N
but youre not resetting i when you find the max hunger pair
wait, can you ask me like an interview style?
so, I can realize my mistake(s)
and get that "aha!" moment
this is straight up cp lol
okay so
the first run
you find index 0 and index 1
which is 1 and 5 right
so you subtract from 5
no, I'll do the walkthrough
oh
you can just ask me probing questions to ensure I understand the logic and what the code is doing
my code works, but my logic is not correct for all cases
that's why I came here to get an opinion from people really good in math
I wonder if you can solve this in a greedy fashion
like compute the median of the array
wait what
and then decrement/increment the value of the element farthest away from the median
????
arent you just keeping track of the max hunger diff
and the two indexes of that
and then decrementing the larger one at the end of the loop
yes, that is what I'm currently
okay so
just loop through that as many times as you need
from index 0 to n-1
like n times if you want
oh yeah you're just feeding hunger, not getting sandwiches from people
but again, please don't give me the solution directly, if possible
i won't learn that way
wait this is super easy, just sort the array and decrement from the back
the order matters
isn't the whole idea here to feed the most hungry people
its pretty simple though
but you still want to print out the people in the original order
can we go on a voice call
is that possible on this server
yes, sadly I realized this after working on it for the first 19 hours
see my first really long attempt
why tf doesthe order matter
the problem doesn't change depending on the order of the people
cause they want to know which index got less hungry
arent you outputting which people in what order
but hunger ratios do change depending on the order
can you send the original problem
aren't they just asking for the largest difference in hungers
no
they want you to output the impact after as well
oh i just realized you're also a CS major
willow are you a CS major too?
i'm trying
like trying to get into the major or trying to stay in the major
this literally amounts to feeding the most hungry people
trying to stay in it
but you make sure that you never overfeed, as in you never feed past the minimum of the array
so if you sort the array in ascending order
just feed the end
my first attempt yields this output for the array [2,1,0,4,1,0]:
oh the first value is the number of sanwhiches
110210
but this is incorrect
why?
initial list: 2,1,0,4,1,0
sandwich allocation: -0,0,0,3,0,0
final hunger levels: 2,1,0,1,1,0
pairwise differences: 1,1,1,0,1
total difference: 4
you cant though
why can you not
cause the pairs matter
that's why order matters
no they don't
the order doesn't matter
it's saying the maximum difference across ALL pairs
how many sandwiches do you have again?
Your goal is to minimize the hunger difference between each pair of people in the array using the sandwiches you have available.
and I'm guessing so did willow
for this problem, 4
are you making sure the first value isnt the number of sandwiches
you have to ignore that
and the pairwise isnt like that now
its every possible pair
so for example, if you have 4 sandwiches
you sort it as 0, 0, 1, 2, 4
feed 2 sandwiches to the back
now you have 0, 0, 1, 2, 2
feed two more to each of the elements in the back
0, 0, 1, 1, 1
min difference is now 1
doesnt mean that always works
and what's your total difference with this method??
willow is looking for intuition right
doesnt matter
only looking for max difference
max*
I'm just checking to ensure his/her method is accurate
max difference is 1
or wait, I mean total difference
oh wait you want the total difference
Another example: if arr is [4, 5, 2, 3, 1, 0] then you can distribute the sandwiches in the following order: [3, 0, 1, 0, 0] which makes all the hunger levels the following: [2, 2, 2, 1, 0]. The differences between each pair of people is now: 0, 0, 1, 1
I think the algorithm still works
yes
look at the differences
its 0, 0, 1, 1
4 values in 5 people
its not all possible pairs
this problem is written so badly
two CS majors getting it wrong multiple times
0, 0, 1, 1 and so your program should return the final minimized difference of 2.
it's not adjacent pairs
then, that is incorrect then
the answer is 4
not 2
looks like it to me
oh wait it is adjacent pairs
yes, please
not me, it's my teacher
so we are trying to minimize the sum of the array of adjacent differences
what kind of class are you in
can we agree on this
we want to allocate the sandwiches that yield the least minimal difference
so then this is probably just iterating through each adjacent pair and only decrementing an element if it is greater than both of its neighbours
so greedy right
not 4
what if no value is greater than both its neighbors
i gtg but I think saccharine can figure this out
ty
then decreasing it won't help much
yeah greedy I think
right cause it makes one better and one worse
so once you cant find any more n > n-1 and n+1 you stop
so, let's analyze why my logic fails and intuitive tips that I should be aware of
let's try 541
with 1 sandwich
when I saw this array fail my logic, I thought:
maybe I will have to check the entire array for a cumultative minimal difference
but then, that seems to increase the time complexity dramatically
@green walrus Has your question been resolved?
@green walrus Has your question been resolved?
@green walrus Has your question been resolved?
@green walrus just join a cp discord
They’ll be able to help you
I’m kinda rusty on cp and it looks like sacc is busy
i think this is algebra
Its not about the math
You don’t learn this in math
This is purely cs
Almost every beginner problem is like this
People who do cp can easily and coherently explain it to you
@green walrus Has your question been resolved?
Hello
I read your question but havent seen the discussion
But basically, every time you give a sandwich, you reduce the total difference by -2, -1, 0, 1, or 2. You have to greedily choose the reduction in difference
Also I assumed adjacent pairs because thats what the solution seems to consider
ain't much to say from a purely-mathematical-not-coding standpoint here.
I think the problem boils down to algebra
if it's anything the problem boils down to, it's an optimization problem
you have your parameters $N, h_1, h_2, \dots, h_n$ and decision variables $s_i$ (representing the amount of sandwiches given to person $i$) and your goal is to minimize $$\sum_{k=1}^{n-1} |(h_i - s_i) - (h_{i+1} - s_{i+1})|$$ under the constraint $$\sum_{k=1}^n s_k \leq N.$$
Ann
@green walrus Has your question been resolved?
@green walrus have you asked in a cp server yet
This is not a math question
Its an everyday cp question
Hmm.
With this formula, how would you proceed?
@green walrusare you even reading my messages
dude
its computer science
its the skills you learn in computer science
optimization in this scenario is cs
not math
why wont you just ask in a cs server
I've done like hundreds of these problems
its cs
if you tried to use pure math for every example (even if you could) it would take forever
and they would not hire you as an intern
Help me learn for my studies
this no longer works.
Not sure what exactly you're asking. It is a mathematics problem that you solve algorithmically with the help of a computer. There's no equating of formulas and cancelling out of variables if that's what you mean by "algebra".
what's your question? this channel has been open for like 1.5 days
link doesn't work
oh wait I didn't see your recent comment
maybe edit your original post
when they say "pair" of people I'm assuming they mean adjacent people?
otherwise there would be n choose 2 pairs instead of n-1 pairs
@green walrus Has your question been resolved?
Yes
They want a pure math solution
Which as multiple people have told them already is not possible
Just wanted to get more input
but i'll go ahead and close at this point
ty
.close
Closed by @green 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.
assume x/1 = (y-2)/2 = (z+3)/3 = a
so x/1 = a => x=a
(y-2)/2=a => y=2a+2
similarly find z
In simple finding the vector eqn
so you'll get a general point on the first line in terms of a
Right?
Can you write it like
On paper
😅
for the 2nd line, equate it to b and find values of x, y and z
once u get that, equate the x and the y to find a and b
substitute a and b in the value of z. If both give the same value of z, the lines intersect
and you automatically get the point of intersection
ur welcome
.close
Closed by @prisma cargo
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.
Hi I need help why is this undefined
0/0 is not undefined, necessarily
0/0 is an indeterminate form
Notice that we have $\lim_{x \to x_0} \frac{x^2 - b^2}{x - b}$
Nika
Yes.
Closed by @kindred sedge
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 1-sin^2(x) = (1-sinx)(1+sinx)
and so lim as x->0 (1-sin^2(x)) would be [lim as x->0 (1-sinx) times lim as x->0 (1+sinx)]?
or like thats another way of writing the lim
@neat kelp Has your question been resolved?
.close
Closed by @neat kelp
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 am new to integration, in a case such as this, why didnt we use the substitution method?
i know it wouldnt have worked, but the problem looks like a problem that requires substitution method or "reverse chain rule"
@patent wolf Has your question been resolved?
@dry robin
Well because there's no real need to do a substitution, as you can do it "by recognition"
Some "reverse chain rule" situations you can visually spot
i see, thanks
.close
Closed by @patent wolf
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 tried multiplying the numerator to the fraction with -3 turning positive
Is that the correct way or is there a better way
Btw the denominator is x-7
you can't outright multiply by that, you need to multiply by the equivalent of 1
which is that over itself
or $\frac{\sqrt{x+2}+3}{\sqrt{x+2}+3}$
a disappointing son
(which is equal to 1)
yes
normally you hear of rationalizing the denominator to get rid of a root in the denominator
Yeahh
yes, but u mostly rationalize the denominator for other areas of math
Is there a more basic way to do this other than rationalizing or conjugating
We haven't tackled much of it yet and I fear my tchr would question the validity of my knowledge
not one that i'm aware of
Closed by @kindred sedge
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.
Yo
I know I can remove one Sinx
But I face difficulty with the 3 inside
Can anyone help me here
there is a much more straight-forward approach than that
you can start by answering these two questions:
What is the derivative of cos^3(x)?
Can you integrate sin^3(x)?
Nah
Can’t integrate sun3x
do you know the triple angle identity?
The school text us recommending to go with the substitution method
But I can’t do that
You know anything to approach with substitution method
i need an answer for this
No
alright, then it's time you know it.
The triple angle identity for sin(3x)=3sin(x)-4sin^3(x)
You can derive this by just using sum of angle identity and then double angle identity
Ok
so by using this, we know that sin^3(x)=1/4 * (3sin(x)-sin(3x))
now you can integrate sin^3(x)
both 3sin(x) and sin(3x) are integrable by hand
It can also be written as 4cos(60-x)cosxcos(60+x)
wouldn't converting sin^3(x) into sin(x) (1 - cos^2(x)) be more straightforward
well, the idea is that everything here is now doable terms by terms
but sure
and like, i have asked the first time around, the derivative of cos^3(x) is just 3sin(x)cos^2(x)
Also, if you inspect further, sin(3x)=3cos^2(x)sin(x) - sin^3(x), but this is not a very popular form of the triple angle identity.
Ok
I got it
I have to approach with triple angle identity
And then do integrate
Thanks mate
.close
Closed by @prisma cargo
Use .reopen if this was a mistake.
triple angle is less well known than pythagorean identity
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 with this?
Could you provide the diagram
What does < mean?
angle
The third one should be vertically opposite angles
What are options for the 6th?
also the same with the 3rd one
So the answer of the 3rd one is the last option
oh okii
wait wouldnt it be Definition of Congruent Angles?
instead of vertical angles?
Vertical angles are equal so
okayy 
@dapper chasm Has your question been resolved?
@dapper chasm Has your question been resolved?
@dapper chasm Has your question been resolved?
@dapper chasm Has your question been resolved?
Closed by @dapper chasm
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 don't understand this
did you try drawing the diagram?
the circumcenter is where the perpendicular bisectors of all sides intersect
Oh
That's what I have to prove
no it's not
no
the bisector of angle A and the perpendicular bisector of BC intersects on the circumcircle
Oh ok
And tell me one thing that circumcircle is the same thing as circumference?
This could be the figure?
@manic sedge Has your question been resolved?
<@&286206848099549185> you would get blessings if you help me to solve this
Hi
oh sorry i left
No problem
holdon ill draw a quick diagram
Ok
Hi bro everything good
gimme 5 minutes
+5 minutes added to your life
your diagram should look like this
red line: bisector of angle A
blue line: perpendicular bisector of BC
Ohhhh
Now I have to prove that , the intersection point of red and blue line lies on the arc BC
yep

💀
no like
not an airplane
i mean the cartesian coordinate
let B(0,0) A(a,b) C(c,0) smth like that
I could prove that the blue line is the right angled bisector of BC
Then
i think you can somehow use similarity/congruency and show that the angle subtended by same arc is equal
