![]() |
![]() |
#1 |
Dec 2008
you know...around...
11000011112 Posts |
![]()
I hope this roughly qualifies as homework help. I've been spending an hour to get this one line into the TeXworks program:
Code:
\Bbb P(\xi_n=1)={1\over\log n} \mbox{ and } \Bbb P(\xi_n=0)=1-{1\over\log n} Thanks in advance! |
![]() |
![]() |
![]() |
#2 |
"Oliver"
Sep 2017
Porta Westfalica, DE
26·17 Posts |
![]()
\(\Bbb P(\xi_n=1)={1\over\log n} \mbox{ and } \Bbb P(\xi_n=0)=1-{1\over\log n}\)
Hm... It is interpreted the way you want here. Have you tried: {\Bbb P}(\xi_n=1)={1\over\log n} \mbox{ and } {\Bbb P}(\xi_n=0)=1-{1\over\log n} \({\Bbb P}(\xi_n=1)={1\over\log n} \mbox{ and } {\Bbb P}(\xi_n=0)=1-{1\over\log n}\) |
![]() |
![]() |
![]() |
#3 |
Dec 2008
you know...around...
11000011112 Posts |
![]()
I know, it works outside of the program.
But the trick with bracketing the "\Bbb P" part had the desired effect, now the outcome looks like it should. Thanks a lot! |
![]() |
![]() |
![]() |
#4 |
"Oliver"
Sep 2017
Porta Westfalica, DE
26·17 Posts |
![]()
Some clarification for this:
There are some TeX-commands that work like a function with one parameter (which will be the same if written as \x{y} or \x y), multiple parameters (as in \x{y}{z}...) and there are functions that work like a switch (meaning that using them will be applied to the whole current block). I'm leaving out optional parameters here and I might be simplifying things a lot. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Expression evaluation | Nick | Programming | 8 | 2019-08-04 07:24 |
Rationality of an expression | jnml | Miscellaneous Math | 7 | 2018-09-06 15:57 |
A Fib expression with multiplication | MattcAnderson | Homework Help | 5 | 2016-11-01 08:16 |
regular expression help | ixfd64 | Programming | 2 | 2009-03-01 06:19 |
Does Anyone Know how to Simplify the Following Expression? | jinydu | Puzzles | 9 | 2004-04-02 01:03 |