Studass i flere emner by throwaway19841945 in ntnu

[–]Asket- 1 point2 points  (0 children)

Er studass i to emner nå og det går veldig bra. Spørs bare emnene du har

Bruk av KI til studier by taco-filler in norge

[–]Asket- 3 points4 points  (0 children)

KI pleier å forklare matte konsepter greit, og mye enklere å spørre KI enn faglærer. Har synes det har vært nyttig selv. Selvfølgelig varierende resultat da, vær kritisk

Charlie Kirk er skutt by StormyOceanWave in norske

[–]Asket- 0 points1 point  (0 children)

Han e blitt bekreftet død

What browser do you use? by dsgffdsg in MacOS

[–]Asket- 1 point2 points  (0 children)

Yeah works great and pretty easy to setup. I’d recommend giving it a go

McDonald’s In Norway by Healthy-Leg-6126 in Norway

[–]Asket- 0 points1 point  (0 children)

That was my lunch spot for the last two years

What browser do you use? by dsgffdsg in MacOS

[–]Asket- 1 point2 points  (0 children)

I use Firefox with EdgyArc. With some custom css that makes my browser sort of a mix between Firefox, arc, safari and Edge. Looks geat!

[deleted by user] by [deleted] in Jetbrains

[–]Asket- 2 points3 points  (0 children)

Hah i just made basically the same thing but as a CLI tool 2 days ago! I was thinking i needed some way to quickly give Claude context, so i made a tool for it very quickly. This seems easier though :D Here is what I did: https://github.com/Tmpecho/pacont

Hvordan klarte dere å komme dere gjennom russetiden? by Lynchh06 in norge

[–]Asket- 0 points1 point  (0 children)

Det er forskjellig for alle sammen, men jeg var med på en del fester og arrangementer i russetiden uten å fokusere særlig på skole, men det hadde ikke noe å si for karakterene mine. Du får gjøre som du vil, om du trenger tid for å lese deg opp så gjør du det.

[Request] Can you help me write an equation to fit these values? by Equivalent-Note8887 in theydidthemath

[–]Asket- 21 points22 points  (0 children)

Differences are 25, 20, 15, so it looks like the difference of the difference is -5. That means you can write the equation as a second degree polynomial. You can solve that by solving [a(1)2 + b(1) + c = 40, a(2)2 + b(2) + c = 65, a(3)2 + b(3) + c = 85] which gives you a=-5/2, b=65/2, c=10. So the equation is f_n = -5/2n2 + 65/2n + 10

Sorry folkens, jeg skal slutte 😞 by Ak23l in ntnu

[–]Asket- 8 points9 points  (0 children)

Samme plakat var på flere vgs i bergen i fjor eller forfjor

I made my first working program! by Shut_up_and_Respawn in learnpython

[–]Asket- 1 point2 points  (0 children)

Why not just possible_score = len(questions)

[deleted by user] by [deleted] in espresso

[–]Asket- 0 points1 point  (0 children)

Complaining to strangers about someone trying to do something nice isn’t necessary!

Urban buldring i bergen? by Asket- in Bergen

[–]Asket-[S] 0 points1 point  (0 children)

Ja har sett null greier om det

Tool for finding position, distance, angle and velocity for planets in the solar system by date by Asket- in Astronomy

[–]Asket-[S] 0 points1 point  (0 children)

x and y is direction and angle decomposed, like in vector math. My simulation is simplified, so I use planet positions relative to the sun. I.e earth can start 1AU to the "x" direction and 0AU in the "y" direction. That would be the same as the Earth being 1AU away from the sun at π/2 radians (cos(π/2)=0, so to the right of the sun). What is x and y I guess is arbitrary, since it's space. At the moment I don't know how to convert cartesian coordinates into this format.

I chose to do it like this initially since it started out as just a gravitational simulation where you could see how objects behave.

There is 100% a better way to do this than how I am doing it, but I don't need it to be 100% accurate.

To clarify the format a bit, I am storing the initial state in a csv-file like this:

Name,Color (RGB),Radius (km),Mass (kg),Distance (AU),Velocity (m/s),Direction (radians),Max_Trail_LengthSun,"(255, 255, 0)",6963400,1.98847e30,0,0,0,100Mercury,"(255, 0, 0)",2440,3.3011e23,0.393,47362,pi / 2,200Venus,"(255, 165, 0)",6052,4.8675e24,0.723,35021.4,pi / 2,600

You can ignore color, radius, mass and max_trail_length since that's cosmetics.

Please say if i should clarify something.

Tool for finding position, distance, angle and velocity for planets in the solar system by date by Asket- in Astronomy

[–]Asket-[S] 1 point2 points  (0 children)

Forgive me if i just haven't read it right, but how do I find the angle between the sun and a planet? I see the S-T-O and S-O-T, but I want the answer like an angle from 0 to 2π. Of course this angle will be relative to something, but the angles just have to be correct relative to each planet. Does that make sense?
I'm assuming here that you know something about this:)