Updates from the Repl.it team about the product

← Back to all posts
Weekly Challenge #9
h
TheDrone7 (2002)

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!

Comments
hotnewtop
cnnrde (17)

can i count on my fingers

TheDrone7 (2002)

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

TravisRaney1 (0)

@TheDrone7 I need help

for some reason this happened and it was still there

Nayoar (585)

first

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

TheDrone7 (2002)

@Nayoar both, either, whatever.

firefish (969)

prob single variable but idk @Nayoar

Nayoar (585)

@firefish hehehehe time to use matrices to solve an arbitrarily large system of linear equations

OldWizard209 (1702)

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

Whippingdot (721)

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

GhostKing007 (155)

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

GhostKing007 (155)

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

Whippingdot (721)

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

GhostKing007 (155)

@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

Whippingdot (721)

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

FlaminHotValdez (750)

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

Whippingdot (721)

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

Thanks @OldWizard209

Also sorry @Nayoar

VulcanWM (3100)

when do you normally start scoring all the repls?

IntellectualGuy (887)

@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?

pandahop (0)

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.

CoderRudra (5)

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

palkoszabo (6)

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

TheDrone7 (2002)

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

palkoszabo (6)

@TheDrone7 Thank you for clarifying!

Whippingdot (721)

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

EdwardBentler (40)

@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.

cuber1515 (94)

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

CodingElf66 (324)

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.

ridubangire (0)

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

CodingElf66 (324)

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

FlaminHotValdez (750)

yes

yes

Y E S S S S S S SSSSSSSSSSSSSS

IMayBeMe (615)

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

CodingElf66 (324)

@IMayBeMe You can use matplotlib if you want to graph lines, btw :)

IMayBeMe (615)

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

ch1ck3n (2882)

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

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

Bookie0 (6571)

Noooooo not math...frontend and design was fine lol!

PixiGem (219)

@Bookie0 xD
BTW Im still mastering algebra coz of the Indians dudes on YT

QuickV (197)

I actually agree with @Bookie0 on this one.

GhostKing007 (155)

@Nayoar May the odds be ever in your favor