OneCompiler

Standard Form To Slope Intercept Form Calculator

1857

print("To use, input the amount of Xs into the variable, x. After, input the amount of Ys into the variable, y. Then input the result into the variable, result. After all that, to calculate, just run the script and the output is the Slope Intercept form of the equation.")

local x = -7
local y = 63
local result = 82
local Xvalue = x / -y
local Yintercept = result / y
local SlopeIntercept = Xvalue .. "x + " .. Yintercept

print(SlopeIntercept)