Mushfiqur
Mushfiqur
Explore posts from servers
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
nope just the brute force.
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
its just working fine now. except it can seek values which are only integer and numbers from 1 to 500
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
I solved the problem 👍
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
does this include the fault you are taking about?
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website

results = {}; // Reset results
let epsilon = 1e-6; // Define a tolerance value for floating-point comparison
if (expressionArray.includes('x') && expressionArray.includes('y')) {
// Loop through array to find pairs of (x, y)
for (let i = 0; i < array.length; i++) {
results[`temp${i}`] = []; // Create a new array to store results for each 'i'

for (let j = 0; j < array.length; j++) {
let x = array[i];
let y = array[j];

let expression = expressionArray.join('')
.replace(/x/g, x)
.replace(/y/g, y);

let result = eval(expression);

results = {}; // Reset results
let epsilon = 1e-6; // Define a tolerance value for floating-point comparison
if (expressionArray.includes('x') && expressionArray.includes('y')) {
// Loop through array to find pairs of (x, y)
for (let i = 0; i < array.length; i++) {
results[`temp${i}`] = []; // Create a new array to store results for each 'i'

for (let j = 0; j < array.length; j++) {
let x = array[i];
let y = array[j];

let expression = expressionArray.join('')
.replace(/x/g, x)
.replace(/y/g, y);

let result = eval(expression);
this is the core logic of this program
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
Can you tell me about it?
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
Yep I am getting some kind of error even though I don't know what is it
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
Yep I faced the problem I reduced the default limit. Thanks for the suggestion though
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
it will only work with integer solutions at the first stage. after that I will try to work with non-integer numbers also
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
usually the computer will test the numbers from 1 to 10000 to check whether the number satiesfies the equation. Then when the solution is found the program wil return the values which will pass the test and show it in the html page
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
No I am just using brute force method
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
Nope
30 replies
PDProgram Dream
Created by Mushfiqur on 9/24/2024 in #📦┃project-showcase
Mathematic Equation solving app/website
I was able to code the core part but there's many things left
30 replies