[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.12691975 [View]
File: 221 KB, 1024x768, indian coffee.jpg [View same] [iqdb] [saucenao] [google]
12691975

>>12690154
>>Matlab,
>>common
Are you saying Matlab is not common? Are you retarded?

>Factor
Clearly in parentheses after Forth.

>Has C# but no Java
This is good thing. Take your poo back to >>>/g/

>J
Would you rather straight APL?

>> No.12622586 [View]
File: 221 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
12622586

>>12621356
>java code
absolutely disgusting

>> No.12579638 [View]
File: 221 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
12579638

>>12579584
>using java
>ever
You don't belong here

>> No.11716711 [View]
File: 221 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
11716711

>>11715100
Java is disgusting and programmed by poos

>> No.10800889 [View]
File: 221 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
10800889

>>10800820
>java
>>>/g/

>it seems to be the most commonly used language in industry
Not in the STEM industry

>Why is it so widely used?
Brainlet cs majors

>> No.10397228 [View]
File: 221 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
10397228

>>10396400
>Is CS truly a meme?
For the thousandth time, yes.
>I plan to major in it but I am struggling with Java in high school.
Java is trash and doesn't belong here. The designated pooing >>>/g/hetto is that way.

>> No.10250964 [View]
File: 221 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
10250964

>>10249464
>if you don't take Java 101, Java 102, Data Structures in Java 201, Data Structures in Java 202, Algorithms in Java 351, OOP in Java 321, GUI Design with Java 342, Operating Systems in Java 364, Networking in Java 368, Android Development in Java 441, & Software Engineering with UML and Design Patterns in Java 421; then you can never learn how to program nor get into computing
>4 years of intensive Java programming lessons can't be beat <[math]|[/math]:^)[math]))[/math]

>> No.9803012 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9803012

>>9802994
>enterprise-class applications

Pajeet my son

>> No.9796815 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9796815

>>9796802
>java

>>>/g/tfo

>> No.9720755 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9720755

>>9720752
>Java

Learn C++17 or >>>/g/tfo

>> No.9640012 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9640012

>>9639778
An exact solution was already posted. No need for pajeet code.

Also we C++17 on this board.

[eqn]
\rm
\#include~<iostream>
\\
\#include~<variant>
\\
\#include~<cmath>
\\
using~namespace~std;
\\

\\
int~main()~\{
\\
~~~~auto~Halley~=~[](double~x,~auto~f,~auto~df,~auto~ddf,~variant<size\_t,~double>~control)~constexpr~\{
\\
~~~~~~~~if~(holds\_alternative<size\_t>(control))~\{
\\
~~~~~~~~~~~~size\_t~iterations~=~get<size\_t>(control);
\\
~~~~~~~~~~~~while~(iterations--)~\{
\\
~~~~~~~~~~~~~~~~auto~fx~=~f(x);
\\
~~~~~~~~~~~~~~~~auto~dfx~=~df(x);
\\
~~~~~~~~~~~~~~~~x~-=~2~*~dfx*fx~/~(2~*~dfx*dfx~-~fx~*~ddf(x));
\\
~~~~~~~~~~~~\}
\\
~~~~~~~~\}
\\
~~~~~~~~else~\{
\\
~~~~~~~~~~~~double~threshold~=~get<double>(control);
\\
~~~~~~~~~~~~auto~fx~=~f(x);
\\
~~~~~~~~~~~~while~(fx~>~threshold~||~fx~<~-threshold)~\{
\\
~~~~~~~~~~~~~~~~auto~dfx~=~df(x);
\\
~~~~~~~~~~~~~~~~x~-=~2~*~dfx*fx~/~(2~*~dfx*dfx~-~fx~*~ddf(x));
\\
~~~~~~~~~~~~~~~~fx~=~f(x);
\\
~~~~~~~~~~~~\}
\\
~~~~~~~~\}
\\
~~~~~~~~return~x;
\\
~~~~\};
\\

\\
~~~~auto~f~=~[](double~x)~\{~return~pow(x,~pow(x,~3))~-~16;~\};
\\
~~~~auto~df~=~[](double~x)~\{~return~pow(x,~pow(x,~3)~+~2)*(3~*~log(x)~+~1);~\};
\\
~~~~auto~ddf~=~[](double~x)~\{
\\
~~~~~~~~auto~x3~=~pow(x,~3);
\\
~~~~~~~~auto~logx~=~log(x);
\\
~~~~~~~~return~pow(x,~x3~+~1)*(x3~+~x3~*~logx*(9~*~logx~+~6)~+~6~*~logx~+~5);~
\\
~~~~\};
\\

\\
~~~~cout.precision(16);
\\
~~~~cout~<<~Halley(2,~f,~df,~ddf,~1.0e-14)<<endl;
\\
~~~~cout~<<~Halley(2,~f,~df,~ddf,~size\_t\{10\})~<<~endl;
\\
~~~~return~0;
\\
\}
\\
[/eqn]

>1.721670170412966
>1.721670170412966

>> No.9636164 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9636164

>>9635630
>java

>>>/g/tfo and never return.

>> No.9623305 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9623305

>>9623289
>I prefer Java

>>>/g/tfo

>> No.9591959 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9591959

>>9591932
>java

>>>/g/tfo

>> No.9433495 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9433495

>>9433401
>pick Java

>>>/g/et the fuck out and stay out

>> No.9417505 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9417505

>>9417482
1 Java is horrible and not worth learning unless you really need to.
2 There's no need to learn C before C++. Stop listing to /g/
https://www.youtube.com/watch?v=YnWhqhNdYyk

>> No.9382508 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9382508

>>9382444
No.

>> No.9345227 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9345227

>>9344872
C++, it's what HFT is done in.

>> No.9327324 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9327324

>>9327318
>java

Why the fuck are you learning that shit?

>> No.9314526 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9314526

>>9314364
>Whoever you ask will say they prefer Java/python/newer languages over C++.

Stop asking /g/ ffs.

>Yet almost all advanced programs in game cheating and software in general are coded in c++. How come.


Because C++ is the language of smart people.

>> No.9312448 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9312448

>>9306553
>System.out.println

Absolutely disgusting.

>> No.9310904 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9310904

>>9301437
>intro to java class

>>>/g/tfo

>> No.9243505 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
9243505

>>9243451
You don't have a choice, you have to teach them what's on the AP syllabus.

https://apcentral.collegeboard.org/pdf/ap07-compsci-teachersguide.pdf?course=ap-computer-science-a

>> No.8982817 [View]
File: 210 KB, 1024x768, Jshit.jpg [View same] [iqdb] [saucenao] [google]
8982817

>>8982164
>Supporting Java

>>>/g/ is that way

Navigation
View posts[+24][+48][+96]