Community Profile

photo

Daniel


Last seen: mehr als ein Jahr vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to find the maximum element by length without a loop?
I have 2 strings: a and b. How to get the longer one using built-in functions?

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to increase precision in this case?
I have a code which finds the first 10 consecutive numbers after decimal that forms a prime number: k = 10; while true a =...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Find the first 10 consecutive numbers after decimal point of pi and e that forms a prime number
k = 10; while true a = mod(floor((pi-3)*10^k),10^10); if isprime(a) == 1 printf('Numbers after decimal: %d\n',a) ...

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


Help pls. Find the first 10 consecutive numbers after the decimal point in e and pi which sum is the prime number
Find the first 10 consecutive numbers after the decimal point in e and pi which sum is the prime number isprime() checks if nu...

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


Random numbers generation problem
How to create randi([a,b],1,c) in which every number is not divided by 2,3,5,7,11 ? Or not neccecary in randi, it can be other f...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to simplify that?
How to simplify while or (mod(i,2) == 0, mod(i,3) == 0, mod(i,5) == 0, mod(i,7) == 0, mod(i,11) == 0) I...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort