[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /sci/ - Science & Math - 1890. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: Python3-powered_hello-world.png (34KB, 502x270px) Image search: [Google]
Python3-powered_hello-world.png
34KB, 502x270px
Hey so I've been learning Java for a little while and have now started with python. I was watching tutorials on slice and lists and I was wondering how you could print out the last letter of a string. An example would be the last letter of each word in this post, I know you need to turn it to a list. I saw further tutorials but no one really answered my question so I was wondering maybe you dont use slice for this but you use is.alpha?

Many thanks for helping !
14 posts and 2 images submitted.
>>
>>7848507

maybe

print(yourstring[-1])

will do the job...
>>
just watch thenewboston tutorials. he explains it for total noobs
>>
Thanks for answering but I think that will only give me the last letter of the entire string and not the last letter of each word.

yourstring = """ I want to learn programming"""
#Lets say i want the last letter of each word.
mylist = yourstring.split()
would print(yourstring[-1]) do the job?

File: _59999523_59999522.jpg (34KB, 624x351px) Image search: [Google]
_59999523_59999522.jpg
34KB, 624x351px
So LIGO results get published tommorow. Probably. How many of you have your GR up to scratch enough to read the paper?
306 posts and 44 images submitted.
>>
bump.
interesting
>>
This will happen:
- half the theoreticians will see their pet theories buried alive
- the other half will try to find more evidence for being right
- string theoreticians will yet again dial another set of knobs and exclaim this fits well with their existing framework.
>>
I confidently ignored the waves chapter in Wald back when I had my GR lecture. I probably should read up on it when exams are over.

It's a old article, but:

http://www.dailymail.co.uk/news/article-1331769/Doctors-stunned-conjoined-twins-share-brain-thoughts.html

Thoughts?
50 posts and 4 images submitted.
>>
>>7848417
I don't understand why our species insists on keeping our defective members alive. Before you get emotional about >muh life, consider that we chemo cancer cells because they are defective even non-malignent ones. We do the same thing with animals.

So why do we insist on keeping gays and trannies alive?
>>
>>7848428
I would consider people who lack empathy to this degree to be "defective"
>>
How many consciousnesses does it have?

File: wat.jpg (148KB, 550x550px) Image search: [Google]
wat.jpg
148KB, 550x550px
[math] \frac{dcos(x)}{dsin(x)}=? [/math]
13 posts and 1 images submitted.
>>
>>7848404
>The derivative of cos(x)
>With respect to sin(x)

0.
>>
>>7848410
elaborate
>>
>>7848404
what does this mean? define your terms. it's probably infinite if you define it well, since the linear part of sin is x and the linear part of cos is 1

File: 1455129584835.jpg (365KB, 2464x1648px) Image search: [Google]
1455129584835.jpg
365KB, 2464x1648px
How can i fall asleep easily?
>inb4 4-7-8 method
45 posts and 4 images submitted.
>>
>>7848387
I don't know.
>>
chug melatonin pills
wear a blindfold
put in sound blockers
start dreaming
>>
>>7848440
No no no, that's dangerous. Your body needs to be aware of your surroundings. Next thing you know, you might be tied to your bed being raped to death by 7 niggers when you could've escaped in time through the window if you heard them breaking in your house.

Try to clear your mind from all thoughts, OP. Relax your body. Solve any problems that might be haunting your sub-conscious and preventing you to sleep well.

[math] {math shit here} [/math#]
16 posts and 3 images submitted.
>>
Stop posting these. Either type it in a text editor and compile it or find one of those online LaTeX editors.
>>
>>7848347
I think it's a good idea senpai
>>
>>7848347
The userscript listed in the /sci/ help guide is down desu.

File: onion cells 1.jpg (789KB, 1280x960px) Image search: [Google]
onion cells 1.jpg
789KB, 1280x960px
posting science stuff
33 posts and 30 images submitted.
>>
File: onion cells 2.jpg (789KB, 1280x960px)
onion cells 2.jpg
789KB, 1280x960px
>>
File: onion cells 3.jpg (919KB, 1280x960px) Image search: [Google]
onion cells 3.jpg
919KB, 1280x960px
>>
File: onion cells 4.jpg (958KB, 1280x960px) Image search: [Google]
onion cells 4.jpg
958KB, 1280x960px

File: 1375917447929.jpg (117KB, 564x428px)
1375917447929.jpg
117KB, 564x428px
Will taking opiates hurt my brain?
30 posts and 3 images submitted.
>>
Yeah.
>>
>>7848239
If you don't overdo it it's probably fine
>>
>>7848239
The main problem is that you will not notice.

File: 1455023701-nuclear.jpg (122KB, 800x362px) Image search: [Google]
1455023701-nuclear.jpg
122KB, 800x362px
Something something Chinese nuclear fusion

Something something 50 million degrees for 100 seconds.

Discuss.

http://www.popularmechanics.com/technology/infrastructure/a19350/chinese-east-fusion-reaction-sustains-102-second-plasma-blast/
50 posts and 4 images submitted.
>>
Either Germans and Chinese are going to be the first to have unlimited free energy within our lifetimes. Whoever wins we lose.
>>
>>7848100
>Whoever wins we lose.

I'm fine with a fourth reich to be honest.
germans are extremely efficient.

If I have to live in a distopian world, it better be perfectly organized, respect sciences and engineering, and have blondes and beers as values.
>>
>>7848103
>If I have to live in a distopian world, it better be perfectly organized
A perfectly organized world could only be seen as dystopian if you are a non-german.

So, consider the sum defined by :
[math]T_0 (n)=1[/math]
[math]T_m (n)=\sum_{k=1}^n T_{m-1} (k)[/math]
How can I apply this to actual useful stuff ?
How can I use this ?
'cause I got a simple formula for this
11 posts and 1 images submitted.
>>
>>7848052
when you do something but you don't know why the fuck you did it means you got too much free time and you're wasting it
>>
>>7848052
it looks a bit like ackerman shit. But it's not. let's see what it makes for small m:

T1(n)=n
T2(n)=n(n+1)/2
T3(n)=sum of above shit...

well i wonder what your formula is.

and no, it's not n^m.
>>
>>7848104
with a bit of intuition you realise that your sum of sums comes from columns from the pascal's triangle, so you get something like this with a bizarre proof :
[math]T_m (n)=\dbinom{m+n}{n}[/math]
And I was asking myself, maybe I can represent this in general with some geometrical figure with cubes and shit, you know ?
>>7848086
I like to prove stuff, I've got a bit of free time, being in Terminale in France, I guess that's the equivalent of 13th grade, but don't worry, I'm not underaged

File: plot.png (261KB, 559x559px) Image search: [Google]
plot.png
261KB, 559x559px
What would the world look like if we allowed students to use a CAS like Maple or Mathematica whenever they wanted (i.e. during tests/quizzes) instead of teaching them to memorize algebraic transformations?

As computers become more ubiquitous, doesn't the likelihood that we'd ever be forced to go without these tools tend to zero? I can see a future where some Google Glass kind of device automatically scans and parses mathematical formula we look at and allows us to simplify/plot/solve/etc. them, so at some point things are going to get to the point where students are doing this anyway.
12 posts and 2 images submitted.
>>
>>7848022
tell me, what is the purpose of exercises? Doing them yields no tangible reward so it's not like you're getting anywhere either way. The whole point is to gain understanding and intuition.
>>
The most important thing to learn in college is how to think logically and criticality. The solution is not the end game and memorization is not higher learning.
>>
>>7848027
>tell me, what is the purpose of exercises?
Well in most cases it's just about applying "standard algorithmic technique #406" to a problem for the hundredth time. Allowing the use of software that makes this trivial would force teachers to ask better questions of their students.

File: 1433739163951.jpg (14KB, 250x250px) Image search: [Google]
1433739163951.jpg
14KB, 250x250px
So I've been having an argument with a buddy of mine for years now over this topic.
Is nothing, to the literal sense, a thing?
20 posts and 1 images submitted.
>>
I would say no. It the opposite of a thing.
>>
>>7848007
>debating the unanswerable
>>
>>7848007
Nothing is the total absence of "thing".

It also doesn't exist, because even space has dark energy and what have you.

File: 1455067631305.jpg (15KB, 400x387px) Image search: [Google]
1455067631305.jpg
15KB, 400x387px
Did any of you struggle with retard level maths only to do better in college/uni?
13 posts and 3 images submitted.
>>
>>7847981
im in uni and still dont know retarded-level maths .
i've done a few courses in mathematics and passed them with ok grades but i still go to wolfram\google elementary school level arithmetic all the time .
>>
>>7847985

Whut? Why don't you just learn it? It will take a couple weeks to a month at most.
>>
Well, I "failed" out of Algebra 2 my freshman year of high school (got a C- so they made me switch to a lower class) and haven't gotten lower than an A- in a math class since then (currently a sophomore math major), so I'm pretty sure that was the kick in the ass I needed to get my shit together. I'm of the opinion that near anyone can learn things up to undergrad level math with hard work.

File: WTF.jpg (55KB, 492x232px) Image search: [Google]
WTF.jpg
55KB, 492x232px
People like this make me lose faith in humanity.
18 posts and 3 images submitted.
>>
I mean, that's no dumber than saying god gave it to you.
>>
typical libtard conspiracies.
>>
The world is no more or less "lost" than it ever was.

Not to sound like an edgy fuck, but the sad fact is that most people lack critical thinking skills and basic logic. Don't get upset about it or you'll be upset all the time. Just ignore them and keep doing as you do.

File: neat.jpg (104KB, 730x544px) Image search: [Google]
neat.jpg
104KB, 730x544px
<neat>
24 posts and 2 images submitted.
>>
>>7847904
>meme scientists
and heisenberg and turing
>>
>>7847910
what is actually a "meme scientists" ?
>>
>>7847932
a scientist whose reputation is blown way out of proportion, like tesla

Pages: [First page] [Previous page] [1880] [1881] [1882] [1883] [1884] [1885] [1886] [1887] [1888] [1889] [1890] [1891] [1892] [1893] [1894] [1895] [1896] [1897] [1898] [1899] [1900] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.