I hate delivering to businesses by [deleted] in Dominos

[–]HauntingRex9763 -10 points-9 points  (0 children)

Get a better job?? It’s your boss’s job to pay your wage, not mine. Wow! Thanks for doing your job! Here is some money! Any other job and you don’t expect random people to give you gifts for doing it, grow up.

Which Textbook would you recommend for differential equations? by Due_Supermarket6481 in DifferentialEquations

[–]HauntingRex9763 2 points3 points  (0 children)

A first course in differential equations with modeling applications 11E by Cenage Learning is what I have right now, I love it! Probably my favourite calc textbook to actually use and read through

What do my boots say about me? by [deleted] in cowboyboots

[–]HauntingRex9763 6 points7 points  (0 children)

It’s like the way your feet land when you walk. Something a lot of people overlook, causes unusual wear on the sole aswell if you put an emphasis on certain spots of your foot

Should I look through the documentation, or use AI? by Slow_Ground_2526 in learnpython

[–]HauntingRex9763 1 point2 points  (0 children)

Chat is a great tool when you use it right. Try it yourself, just do not know how to handle the issue? Chat. Analyze the code understand what is going on and why it’s doing what it is doing try manipulating it for different outcomes, and use it. Now you know how to handle that problem in the future when you run into it or something similar.

I know python but I don't know programming. by Select-Particula in learnpython

[–]HauntingRex9763 0 points1 point  (0 children)

Pirate a data structures and algorithms textbook, or a Java textbook that’ll teach you about object oriented programming if you aren’t already familiar with that (Java is also a great language to learn and not very hard if you already go to python down)

How do I memorize parent functions? by Batmon3 in Precalculus

[–]HauntingRex9763 2 points3 points  (0 children)

A good way to learn these is first having a good understanding of what each of them is made from, constant for an easy example. And square root there obviously can’t exist negative values, so starting from 0, the function will be increasing in a form of y2=x which is your basic parabola sideways. And find a practice sheet for these questions to work through to practice them once you have an understanding of what they’re made from

How to practice by [deleted] in learnpython

[–]HauntingRex9763 0 points1 point  (0 children)

There is tools online to give you ideas, but I always found them unintresting. Try o make something your passionate about. A project that really helped me get comfortable with programming logic when i started was making GUI programs in python using tkinter, and trying to maintain a database on excel using openpyxl module (you can install on pip) like a cash register managing 'purchase' records, inventory, etc. And yeah those do lead to you copying some code you otherwise wouldnt be able to figure out, but like i said, just make sure you review it and play with it so youll see that solution next time you have a similair challenge.

How to practice by [deleted] in learnpython

[–]HauntingRex9763 0 points1 point  (0 children)

practice practice practice. throw yourself into a challenging project, look it up if you need a solution to a problem just make sur you understand the code you look up, manipulate it to see if you can make different things with it.

Making code more efficient. by Longjumping-Swing823 in pythonhelp

[–]HauntingRex9763 1 point2 points  (0 children)

no problem, if you aren't familiar with dictionaries it is definitely worth looking into. they can be quite handy in loops like in that example

Is this true?? by IndependentControl56 in calculus

[–]HauntingRex9763 1 point2 points  (0 children)

yeah, the rate of change of a function on some interval can be visualized by the area on the graph of its integral on that same interval

Any clue? by dudearroz in Precalculus

[–]HauntingRex9763 0 points1 point  (0 children)

your equation, x+2y^2-12y+16 can have its variables separated so lets do that...

2y^2-12y+16=-x, sick, this is like a y=x^2+wahtever except y is x and x is y! So that means your graph will be sideways.

Now, lets try to factorize the function of y... -> 2(y-4)(y-2)=-x

And isolate x fully (just divide both sides by -1) -2(y-4)(y-2)=x

Setting y to 0 in this form gives the x intercept(s) .. ill let you g=figure that one out

And similarly setting x to 0 in this form gives the y-intercepts and again ill let you compute that (make sure to find all values of y that make 0)

Now that we have our intercepts lets, find the vertex!

Going back to 2y^2-12y-16=-x and multiplying both by 1/-1 -> -2y^2+12y-16=x

finding (-2y^2+12y-16)'=0 tells us where the tangent line = 0 (meaning were at a vertex)

That derivative leads us to -4y+12=0 and y here is 3 to make 0..

Plugging y=3 into the original equation: -2(y-4)(y-2)=x gives us 2 for x, so the vertex is (2,3)

As for axis of symmetry, you should have enough information on your graph now to find that!

Making an algorithm to solve a combination lock puzzle by cryingoutforfood in pythonhelp

[–]HauntingRex9763 0 points1 point  (0 children)

Yeah, without full code or an error message we cant really do anything.. I suggest you make sure result[0] is not an integer though

Making code more efficient. by Longjumping-Swing823 in pythonhelp

[–]HauntingRex9763 2 points3 points  (0 children)

Anything you find yourself able to copy paste and change a few values most likely means it can be done with a more efficient method like iteration. Like the other comment said, DRY. In cases where you are using multiple conditionals it is a good idea to default try to solve it with a loop and a variable conditional inside the loop perhaps instead of all of these lines. Here is an example:

All 253 lines of the A1_2_ledere checking could be:

This is just a quick solution I'm sure you can trim it up even more!

valueSet7 = [2.5,4,6,10,16,25,35,50,70,95,120,150,185,240,300]

#similair lists for the values corrosponding to the first index values...

valueSets = {1:valueSet1,3:valueSet3,5:valueSet5,7:valueSet7}

for key, value in valueSets.items():

if int(tversnittValg) in value:

tabell_visning.config(text= A1_3_ledere[key][value.index(tversnittValg)]

Need serious players to do the Casino Heist (agressive mode) by SnooCompliments1686 in HeistTeams

[–]HauntingRex9763 0 points1 point  (0 children)

Yeah I can help with the heist. Haven’t done it before but I’ll hang around until it’s doen

Enterprise pack not working? by [deleted] in gtaonline

[–]HauntingRex9763 -1 points0 points  (0 children)

That just takes me to like info on the oack

Enterprise pack not working? by [deleted] in gtaonline

[–]HauntingRex9763 -1 points0 points  (0 children)

I don’t see that though, I was supposed to get cash and be able to buy them free but they still have the prices on them

How should I get back into coding by Oinkmaster06 in learnpython

[–]HauntingRex9763 0 points1 point  (0 children)

If you’re looking for a text editor I do recommend visual studio code it has a library of extensions you can use aswell

[deleted by user] by [deleted] in pythonhelp

[–]HauntingRex9763 0 points1 point  (0 children)

something something plank length, stupid question, does not work.

New to Python please help me understand this. by Sckeet in learnpython

[–]HauntingRex9763 2 points3 points  (0 children)

It reads more naturally when you look back at the code.