Back when I was learning Trig, which was 2017 (8th grade), I came across many problems where you use identities to solve problems, and then use a calculator to round of your answer when it has multiple decimals. Whenever I took the calculator, entered the sum, and tried to round off, I would always make silly mistake (being the dunderhead I am), so I wanted to use my programming knowledge in JavaScript, to create a calculator, that would round off the digits for me, along with calculation the trig ratios for any number.
I had made it back then, but it still had a few bugs. I found it again when I was recently browsing through my old JavaScript codes.
I am working on it again, so I though I'll share the link to it here for everyone to see -
Trigonometry Calculator (with inbuilt round off function!)
You can suggest ideas for me to add, and give feedback about it or just discuss any topic of Trigonometry here.
I would also like to see if this can be done with Python, but as I don't know Python, I didn't try it. If someone has found or made the Python code for this, please do share with me.
I know it looks horrible, so I am learning HTML/CSS styling to make it look better, so I will be editing it shortly.
Here is a preview of how it looks(or rather how bad it looks :P) -
|
|
(Sorry for bad image quality...)
(Also, I know a round off function is kinda lazy, but hey, we're all trying to make life easier, aren't we?)
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
@Krishna Karthik - That 'oofmation animation' dude needs a brain...this is what he posted -
The douchebag doesn't know we've talked about much worse ;)
lol Did you see his new note? He posted one about puberty, and it got taken down, so he posted another one being butthurt about it lol - oof butthurt
Log in to reply
@Percy Jackson
I literally can't believe it; I really think either he's lying about his age or he's not right. In the case that he's not right, I think I should just ignore it.
By the way he told me he has Grammarly 🤣🤣🤣. Yup, I know how ridiculous that sounds. If he keeps making spam content, I would consider reporting his profile.
Log in to reply
He's probably lying bout his age to show off...I can't believe that dude has Grammarly?!?!?! What a waste...lol
I think his name is quite accurate, he's the type of guy you walk past and think "Oof" in your head 🤣
Log in to reply
@Krishna Karthik - lol yeah
@Aryan Sanghi - Can you Python this? I will share the JavaScript code if you want.
Log in to reply
I'll try to python it. Don't worry, I don't need JavaScript code. :)
Log in to reply
K, awesome!
'an embedded page in this page needs you to put a number between 3-8 in the second output box"
the message wont go away in it and i cant put any numbers to fulfill what it wants me to do
Log in to reply
Oh, ok I'll edit it, seemingly it didn't get saved when I removed that bug.
Log in to reply
thanks
Log in to reply
Log in to reply
yea its better now since there is a bigger delay between each message it now gives the user sufficient time to fix it before every tim i pressed ok so i could fix my number it kept spamming itself so thx for fixing it
Log in to reply
Thanks ;)
pretty neat are you also gonna make a full calculator but with this system integrated? also how to do strikethru text and divide sign on computer
also is there any way i can help u guys with this like being a tester or something
Log in to reply
Thanks. I might make this a full calculator, but that will take time. The Latex for strike-through as far as i remember is \cancel{}, but I a maybe wrong, so check the latex guide of Marton's. What do you mean by you guys? This is a solo project(mostly because people treat JavaScript like a dead language as far as I know). If you mean Aryan Sanghi, then as I mentioned before, I was just interested in whether this could be recreated in Python. You can help me by suggesting ideas and finding bugs if you want to.
Log in to reply
but what about minecraft java?
I also fixed the bug of tangent. Tan 90 will usually get you a large number that goes out of the screen. That is kinda undefined, so I made a condition so that whenever these kind of numbers occur, it will just replace them with text saying 'Undefined'. Though it isn't completely fixed, as the undefined number flashes in and goes out, which still has to be fixed.
Log in to reply
ok i will test it to see if there is any glitches or bugs is there anything in particular u wanted me to test
Great job!
Log in to reply
Thank you!
Log in to reply
So. Anything exciting happen while I took a small holiday from Brilliant?
Log in to reply
Hey, this looks pretty good for a grade 8er!
Log in to reply
Thanks bro :)
Hullo
Log in to reply
Hey @NSCS 747 do you know that OOFMATION guy?
Log in to reply
@Percy Jackson Actually, I've seen Nathan around Oofmation's posts recently, so I think he knows about Oofmation.
But yeah, Nathan's a pretty nice guy, so I suppose he's more tolerating than others. He is willing to look past the fact that Oofmation is a creationist and quite egotistical.
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
@NSCS 747 Hey bro, how are you doing?
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
@NSCS 747 @Krishna Karthik
lolNothing much interesting happened...just the rickroll on BM
Log in to reply
Log in to reply
Log in to reply
Log in to reply