##### Weekly Challenge #9

Good Morning/Afternoon/Evening/Night to all beautiful replers! 2 months ago, we restarted weekly challenges. And they have been so far pretty fun (for me at least). (yes, copy-pasted weekly challenge 5)

For the new users who did not know about these, there are 4 challenges posted each week of the month and at the end of every month, the total score of the 4 challenges held within that month is your score. The one with the highest score at the end of every month will be awarded free replit hacker plan!

To post your submission, just publish your repl onto apps and make sure to include the tag `#weekly{n}`

and replace `{n}`

with the number of the weekly challenge in the title. For example, for the submission to this weekly challenge, publish the repl that contains your submission on apps and include the tag `weekly9`

.

Last month's winner was @Bookie0 and this month's theme for the challenges is - MATH and here is the first challenge!

This month, each week, you will be given a math concept, you will have to research the concept and make whatever you want to about it. Each week, the difficulty of the concept will increase. There will be some suggestions about what you can make included in the post itself. Any further questions can be asked in the comments section.

### Linear Equations!

For the first week, you have to research and show the results of your research on LINEAR EQUATIONS! You can, for example, make linear equation solvers, graph to linear equation generators, or anything you may learn that even I may not know!

For those who might be wondering: You can do anything as long as it has something to do with linear equations, be it a single linear equation or a system of linear equations.

Happy Learning replers!

If you have any further questions, you can ask them via the comments section, and if you don't, I would still recommend going through the comments section as they may contain some extra information.

The criteria for scoring is subjective but there are points for creativity, uniqueness, clean code, etc.

Good luck to all the replers, have fun and hack away!

first

single variable linear equations? as in, of the form ax + b = c?

or linear systems of equations

@Nayoar stop flexing plz

i am pretty sure it is `y = mx + c`

because your talking about the x and y axes but different ppl have diff approaches ig??? ~~But i am pretty sure you don't use a and b axis duh~~ @Nayoar

urs is the slope intercept form based on Byjus (i don't know how truthful it is lol) @OldWizard209

Also, wait linear expressions are way more complex than what I thought...we only need to do the standard form right? If so then what variables will be given to us? Everything except x and we have to solve for x right? Or can any variables be given and we have to solve based on which variables we got?

Also, how is '92x = 46' 'ax + b = c'

Please help your fellow competitor @Nayoar

@OldWizard209 That's for a graph. A standard linear equation in one variable is of the form `ax + b = c`

@Whippingdot `92x = 46 => 92x - 46 = 0 => a=92, b=(-46), c=0`

OH OK THANK YOU SO MUCH @GhostKing007

wait how do i know you again? I remember you from somewhere

Oh and the same question as last time - solving a linear equation means finding out the value of x right?

And @TheDrone7 you will give my program a proper problem right? For now I am checking if the equation is valid but please only give one variable and not more than that or it gets very complicated

@Whippingdot I think we've talked once before. I was one of the many people that called your secret language weird. Also this is pinging nayoar so let's not continue this conversation here.

Edit : Yes, solving the equation is finding the value of the variable @Whippingdot

wait I edited my message can you check it out and answer my other question? Also I stopped using my language cause I stopped being addicted to replit but cause you reminded me I might start again cause it is so OP lol @GhostKing007

@OldWizard209 you could put it that way but thats 2 dimensional lol ax+b=c is 1 dimensional

i have a amazing idea les GOO IMA BLOW THE COMPETITION AWAYYYY @FlaminHotValdez

Thanks @OldWizard209

Also sorry @Nayoar

when do you normally start scoring all the repls?

@TheDrone7 When I try to publish something on apps it always says I have an education account. Is there any way that I can get that changed?

three nerdier thoughts: 1. gauss-jordan elimination and its speedup (i think its cubic time complexity) 2. bezier curves and linear interpolations 3. (perhaps i'd work on some visualization of this since i never really understood this) the simplex algorithm.

Ok but I have a question does mansoor codes has a replit account? Lol

What programming languages are we allowed to use for this challenge?

@palkoszabo there are no restrictions, you can use any programming languages with any packages that you may want to use.

@TheDrone7 Thank you for clarifying!

linear equations are EZ (i think i learned them this year) so ima ace this challenge

@Whippingdot

How convenient for you, I learned them last year and already completely forgot how to do them.

2y = 3x + 1 is 3 over 1 or something.

I did them last year and the teacher got mad because I started teaching things to the class before she got there. so, ez. lol

samart kid @cuber1515

I'll give a little help to anyone who wants help!

The equation: y = mx + b such that m is the slope of the function and b is the y-intercept of the function.

b is also the constant yes so do we have 2 constants in that equation? m and b? and so what is x

@CodingElf66

@ridubangire Anything. When you put in *x*, you get *y*, also known as *f(x)*

yes

yes

Y E S S S S S S SSSSSSSSSSSSSS

u participating? @FlaminHotValdez

@VulcanWM totally lost track of time looks like no :(

Are we allowed to use external modules for handling matrices, such as NumPy

@TheDrone7 thanks!

@IMayBeMe You can use `matplotlib`

if you want to graph lines, btw :)

I was hoping for logic problems but this is close enough :)

This is how you solve a single variable linear equation (ax + b = c)

`((b * -1) + c)/a`

@Nayoar May the odds be ever in your favor

@GhostKing007 hehe thanc

can i count on my fingers

@cnnrde well, I'd be disappointed if you couldn't

@TheDrone7 I need help

for some reason this happened and it was still there

@TheDrone7 nvm I got it fixed