Back to General discussions forum
Hi Friends!
For quite a long time I wanted to create similar website with problems in Physics. I understand that most probably it will enjoy much less interest in community nowadays, when everyone wants to be programmer - but nevertheless.
You may have noticed even here at CodeAbbey I sometimes include physics problems though often they were a bit out-of-place here.
Now the work on "opensourcing" CodeAbbey's sources allowed me to try creating such dedicated site comparatively easily and currently I started filling it with some basic problems. You are welcome to test it if you feel any inclination to this field.
It may be migrated to dedicated domain name and better hosting in future, if it gets any traction, but for now it looks like less or more working even on free sourceforge infrastructure. If migration happens we'll move the database and any user's progress, of course.
Hey, I want to say that I like the idea! But honestly, I never used physics in practice. My experience with physics was in school, and a lot of years passed since then...
Tested the site and it actually works. Great job!
I even solved the first task, but for others I need to restore my physics skills :).
I solved the second task on the physics site (pretty advanced for my level, by the way), and started solving the third one.
It seems that I found the correct formula (at least it gives the same answer as in example), but on submission I get:
Expected answer was:
okko
I do not understand what okko
means.
I tried to post a question on the new site's forum, but got:
Page not found
Excuse us, but there is no such page.
So I'm posting my question here.
And fourth task did not worked for me as well.
I tested my formula with the following program:
from math import atan, cos
V = 40
W = 30
T = 20
print(V * T / (V * cos(atan(W / V))))
Output is 25.0
But checker disagrees:
Expected answer was:
Wrong result for V=40, W=30, T=20 - should be about 25.000 but got 33.525913620569
Seems that I was hasty with the conclusion that site actually works. Yes, it works, but there is still a lot of problems to address...
Dear Qwerty, sorry for delay and thanks a lot for your thorough check!
I tried to post a question on the new site's forum
That's true, some large but auxiliary parts of functionality haven't yet been transferred to our "opensource version" and thus are absent from this demo-site too. I hopefully will proceed with this soon, thanks for reminder.
The queer okko
verdict is fixed :) it's just the word I use instead ok
while editing the task checker, so that
I won't pass the check inadvertently. In other words your solution is seemingly correct, just resubmit it now.
As about 4-th
task - you've spotted very insteresting (and very silly) bug. The Evaluator
library included in the
project requires manual mapping of necessary functions - and there was copy-paste mistake on my side - here is fixing
change (I updated the site and it should work):
My experience with physics was in school, and a lot of years passed since then
Oh yes, same story :) I'm sure I solved these task much easier some 25
years ago. Now I'm surprised how slow
I find my way through some of them (and can't find through others). But I hope to include not only "formula-based"
problems later, but also some involving some coding, so we'll rehabilitate :)
Hi Rodion
!
The site of Physics problems is very cool!! The "formula-input" style feels very fitting for the subject, and it's a perfect example of tweaks that could be made to the basic framework to give the new product a unique personality. You've set it up nicely so that someone following along is invited to think "what other unique things could I do with these tools"? I'm amazed with the speed with which you've designed and launched it!
I recall many long nights in school working through formula-based problems like these - no actual numbers, just equation manipulation. I look forward to re-living those good old days :)
I mentioned in an email a while back I was thinking about making some problems geared more towards learning some real-world concepts in Math and Engineering, and this is a huge inspiration to get moving on those. There's so many interesting concepts that are used in real-life day-to-day applications that aren't often discussed, despite having entire Wikipedia pages dedicated to them.
To Rodion
: I must say that I'm impressed with the speed you fixed the problems mentioned above. I thought it will take a long time to debug and handle these issues. Very cool!
To moxieman
: I'm very impressed by simplicity of your solution for "When stones fall". My solution is five times longer, and obviously I am overcomplicating things as always. Where can I read about your approach?
Hi qwerty
! I'd recommend taking a look at Newton's laws of motion. Essentially you can take F = m*a
and apply calculus to derive all the equations that you need. But almost everybody who starts learning this does so before they learn calculus, so they are usually provided the already-derived equations.
While they are still presented in "calculus-form" on that Wikipedia page, the equations in the "Prerequisites" section are essentially those already-derived equations. With some clever rearranging and substitution, you should be able to end up with my solution.
And there's certainly nothing wrong with your solution - just a different approach that ends up at the same goal!
Thanks, moxieman
! I will try to think about it.
Hi Rodion,
I've just complete Alferov's Peace - Problem 12 (Center of mass) and the checker says "okko" as expected answer. Could you please check it? Thanks in advance!
Oh, sorry and thanks for report - fixed now!
And thanks for testing this thing that far :) I expect to invite some pupils from my school, probably closer to september - but I haven't expected many people from here would pick up these physical exercises!
Thanks for the fix! Although I have much less knowledge in physics than in math I really enjoy these type of problems too :) Thank you!