Dan itin oka awith Thread 1k daai, "Me gana hadaganna mage Account 1ta kiyak Hari Daanna" Kiyala..@AnuradhaRa පොඩි උන්ට ගනන් ඉගැන්නුව නේද කියන්න බලන්න උත්තරේ



මට ආව උත්තරේ තමයි මචන් ඔය උඩ මම දාලා තියෙන්නේ ....කොහොමද මචං එහෙම 0 ට සමානයි කියල ගන්නෙ?

මහත්තයා ලීසින් කරන්නෙ ගනන් බැරුවද? HNB එකට දෙයියන්ගෙම පිහිටයිBUMPER
ekak ma dannam ganan hadanna ba
![]()
![]()
![]()
මහත්තයා ලීසින් කරන්නෙ ගනන් බැරුවද? HNB එකට දෙයියන්ගෙම පිහිටයි



For those who are interested....
Find the whole number solutions for the following equation.
View attachment 150893
using System;
internal class Program
{
static void Main(string[] args)
{
long rangeMax = 10000;
long rangeMin = -rangeMax;
for (long x = rangeMin; x <= rangeMax; x++)
{
for (long y = rangeMin; y <= rangeMax; y++)
{
if ( (x * x) + (4 * y * y) == ( (x * y - 14) * (x * y - 14) ) )
{
Console.WriteLine("x = {0}\ty={1}", x, y);
}
}
}
Console.ReadLine();
}
}
Good effort..I couldn't solve this problem but we can write code to find some of the answers for x and y.
C#:using System; internal class Program { static void Main(string[] args) { long rangeMax = 10000; long rangeMin = -rangeMax; for (long x = rangeMin; x <= rangeMax; x++) { for (long y = rangeMin; y <= rangeMax; y++) { if ( (x * x) + (4 * y * y) == ( (x * y - 14) * (x * y - 14) ) ) { Console.WriteLine("x = {0}\ty={1}", x, y); } } } Console.ReadLine(); } }
View attachment 192441
Note that above output doesn't prove those are the only answers for x and y. It simply shows the answers for x and y within the seleted range, (-10,000 to 10,000)
These are the only solutions......I couldn't solve this problem but we can write code to find some of the answers for x and y.
C#:using System; internal class Program { static void Main(string[] args) { long rangeMax = 10000; long rangeMin = -rangeMax; for (long x = rangeMin; x <= rangeMax; x++) { for (long y = rangeMin; y <= rangeMax; y++) { if ( (x * x) + (4 * y * y) == ( (x * y - 14) * (x * y - 14) ) ) { Console.WriteLine("x = {0}\ty={1}", x, y); } } } Console.ReadLine(); } }
View attachment 192441
Note that above output doesn't prove those are the only answers for x and y. It simply shows the answers for x and y within the seleted range, (-10,000 to 10,000)
Wonderful problem....Thanks for @EKGuest & @07sanjeewakaru for responding and finding a solution even after a year, when I had already forgotten about it.![]()