#latex error

106 messages · Page 1 of 1 (latest)

fringe plaza
#

$$ \lim\limits_{n\to\infty}\biggl(\sum_{i=1}^{n} y_i^{P}\int_{a}^{b} \prod_{\substack{j=0}\{j\neq i}}^{n}\frac{x-x_j}{x_i-x_j}\biggl dx - \sum_{i=1}^{n} y_i^{Q}\int_{a}^{b}\prod_{\substack{j=0}\
{j\neq i}}^{n}\frac{x-x_j}{x_i-x_j} dx\biggl) $$

wooden fossilBOT
#

don mastro
Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

stark hollyBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
fringe plaza
#

says there's an error but where?

autumn wharf
#
$\lim\lim_{n\to\infty}\biggl(\sum_{i=1}^{n} y_i^{P}\int_{a}^{b} \prod_{\substack{j=0 \\ j\neq i}}^{n}\frac{x-x_j}{x_i-x_j}\biggl( dx - \sum_{i=1}^{n} y_i^{Q}\int_{a}^{b}\prod_{\substack{j=0 \\ 
 j\neq i}}^{n}\frac{x-x_j}{x_i-x_j} dx\biggl)$
wooden fossilBOT
#

Coffey, Slavic Taiga

warm crane
#

this one is missing lim var and 1 bracket

#

:/

autumn wharf
#

i won't even try to fix it

warm crane
#

anyway

#

Compile Error! Click the :errors: reaction for more information.

#

do this

#

maybe it helps u

autumn wharf
#

fuck

#

\substack{line 1 \ line 2}

fringe plaza
#

i purposely never used it stacked like that

autumn wharf
#

this is the right usage

warm crane
#

maybe the type like i=0i!=j

#

missing a comma

#

or should be on a different line

autumn wharf
#

you are literally writing \lim\limits

#

wut

warm crane
#

this i mean

#

i think the j != i should be under j=0

#

no?

fringe plaza
wooden fossilBOT
#

don mastro

fringe plaza
#

oh yeah im used to quora

#

where you need lim limits

autumn wharf
#
$\lim_{n\to\infty}\qty(\sum_{i=1}^ny_i^P\int_a^b\prod_{j=0;j≠i}^n\frac{x-x_j}{x_i-x_j}\mathrm{d}x-\sum_{i=1}^ny_i^Q\int_a^b\prod_{j=0;j≠i}^n\frac{x-x_j}{x_i-x_j}\mathrm{d}x)$
wooden fossilBOT
#

Coffey, Slavic Taiga

warm crane
#

yeah, was a comma or something missing

fringe plaza
#

yep does look better

warm crane
#

i would write

#

j=0
j != i

#

instead of a semicolon tho, but as u wish

autumn wharf
#
$\lim_{n\to\infty}\qty(\sum_{i=1}^ny_i^P\int_a^b\prod_{\substack{j=0\\j≠i}}^n\frac{x-x_j}{x_i-x_j}\mathrm{d}x-\sum_{i=1}^ny_i^Q\int_a^b\prod_{\substack{j=0\\j≠i}}^n\frac{x-x_j}{x_i-x_j}\mathrm{d}x)$
wooden fossilBOT
#

Coffey, Slavic Taiga

autumn wharf
#

you can just straight up write : LagrangeInterpolate(x_0,...,x_n)

#

why bother

fringe plaza
#

stuff

#

thanks btw

autumn wharf
#

latex is jargon use papyrus plebeian

fringe plaza
#

how do i center this

autumn wharf
#

you can't make this up can you.

fringe plaza
autumn wharf
#

or should i say, it can't go to the left anymore

#

just imagine an imaginary margine on the left

#

were ax^7+bx^6...

#

then write a=.., b=.. below

warm crane
#

u will need to change the left margin for the whole document

#

also, is lagrange interpolation good? i remember something like

#

lagrage doing the red polynomial

#

yes, it passes through all the points, but in between it is really a mess

#

tho this is offtopic

#

while the blue one seems a better apporximation

fringe plaza
autumn wharf
#

Lagrange is dookie for anything past like what 10 points

warm crane
#

yes

#

i remember using splines

autumn wharf
#

tip : don't approximate

warm crane
#

i did once for a custom proyect XD u draw a curve with mouse and i had to get a plynomial that represents them

#

was funny to do XD

fringe plaza
#

as a non-native english speaker

autumn wharf
fringe plaza
# autumn wharf oak

how do you call typographic notes? (this is a literal translation from italian)

#

cause i need to add a few in latex and was searching for a tutorial

fringe plaza
#

like to explain further a concept

#

is it just a "note"?

autumn wharf
#

heh

fringe plaza
#

usually indicated by a number

autumn wharf
#

give me an example

fringe plaza
autumn wharf
#

@fringe plaza further reading

#

but these are just what they are like

#

tags?

#

redirections?

fringe plaza
#

wanted to know the name because i dont know how to make them in latex

autumn wharf
#

oh

#

We know than $a^p+b^p\equiv (a+b)^p \pmod{p}$ this is called the freshman's dream$^{[1]}$.

wooden fossilBOT
#

Coffey, Slavic Taiga

autumn wharf
#

these?

fringe plaza
#

yep

#

and a further explanation at the end of the page

#

like bottom

autumn wharf
fringe plaza
#

yes

#

how do you make those in latex

autumn wharf
#

just make a bottom margin

#

and write the text in a smaller don't

#

font

fringe plaza
# autumn wharf ??

thanks for your help but if every message of yours takes 5 minutes to be sent i'll search on google

#

👍

unborn radishBOT
#

@fringe plaza has given 1 rep to @autumn wharf