23y/o Software Developer and Data Scientist with interests in fields like Cybersecurity, Quantum Computing, and Mathematics.
// Fermat's last problem x^n+y^n=z^n
#!/usr/bin/perl
use strict;
use warnings;
sub fermat {
my ($n) = @_;
for (my $x = 0; $x < 100; $x++) {
for (my $y = 0; $y < $x+1; $y++) {
for (my $z = 0; $z < ($x**$n)+($y**$n) +1; $z++) {
if (($x**$n)+($y**$n) == ($z**$n)) {
print "$x^$n + $y^$n == $z^$n\n";
}
}
}
}
my $e = fermat(5);
- 🔭 Bachelor's degree in Computer Science
- 🌱 I’m currently learning Computational Methods
- ⚙️ Mastering:
.py,.cpp,.c,.perl,.java,.html,.css.s,.sh,.go,.rs,.sql,.sh
A very famous equation, Euler’s identity relates the seemingly random values of pi, e, and the square root of -1. It is considered by many to be the most beautiful equation in mathematics. A more general formula is e^(ix) = cos(x)+isin(x) When x = π , the value of cos x is -1, while isin x is 0, resulting in Euler’s identity, as -1 + 1 = 0.
Euler’s IdentityIf you can't explain it simply, you don't understand it well enough.
Albert Einstein






