Menu Close

x-2-4y-2-3z-2-x-y-z-N-HCF-x-y-z-1-like-4-1-2-x-y-z-lt-100-solve-by-computer-programing-




Question Number 176101 by BaliramKumar last updated on 12/Sep/22
x^2  − 4y^2  = 3z^2           [ x, y, z ∈ N ]             HCF(x, y, z) = 1                 like (4, 1, 2)                  x, y, z < 100  solve by computer programing
x24y2=3z2[x,y,zN]HCF(x,y,z)=1like(4,1,2)x,y,z<100solvebycomputerprograming
Commented by Ar Brandon last updated on 12/Sep/22
#include <stdio.h> int main(void) { for (short x = 1; x < 100; x++) for (short y = 1; y < 100; y++) for (short z = 1; z < 100; z++) if (x*x - 4*y*y == 3*z*z) printf("(x,y,z)=(%hd,%hd,%hd)\n",x,y,z); return 0; }
Commented by Ar Brandon last updated on 12/Sep/22
(4, 1, 2), (14, 1, 8), (26, 11, 8), (28, 11, 10),  (28, 13, 6), (38, 13, 16), (52, 1, 30), (52, 23, 14),  (62, 23, 24), (74, 13, 40), (76, 11, 42), (76, 37, 10),  (86, 11, 48), (98, 47, 16).
(4,1,2),(14,1,8),(26,11,8),(28,11,10),(28,13,6),(38,13,16),(52,1,30),(52,23,14),(62,23,24),(74,13,40),(76,11,42),(76,37,10),(86,11,48),(98,47,16).
Commented by Ar Brandon last updated on 12/Sep/22
#include <iostream> using namespace std; int main(void) { for (short x = 1; x < 100; x++) for (short y = 1; y < 100; y++) for (short z = 1; z < 100; z++) if (x*x - 4*y*y == 3*z*z) cout<<"(x,y,z)=("<<x<<","<<y<<","<<z<<")"<<endl; return 0; }
Commented by BaliramKumar last updated on 13/Sep/22
thank you sir                 how taken time in programing  see ↓⇊⇊
thankyousirhowtakentimeinprogramingsee↓⇊⇊
Commented by BaliramKumar last updated on 12/Sep/22
Commented by BaliramKumar last updated on 13/Sep/22
A tringle′s  side in A.P. & area is rational  (a, b, c) = (3, 4, 5),  (13, 14, 15),  (15, 26, 37)                       (17, 28, 39), (15, 28, 41), (25, 38, 51)                      (51, 52, 53), (29, 52, 75), (39, 62, 85)                    ..............
AtringlessideinA.P.&areaisrational(a,b,c)=(3,4,5),(13,14,15),(15,26,37)(17,28,39),(15,28,41),(25,38,51)(51,52,53),(29,52,75),(39,62,85)..

Leave a Reply

Your email address will not be published. Required fields are marked *