programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
• Campbell Ritchie
• Ron McLeod
• Paul Clapham
• Jeanne Boyarsky
• Liutauras Vilda
Sheriffs:
• Rob Spoor
• Bear Bibeault
• Tim Cooke
Saloon Keepers:
• Tim Moores
• Stephan van Hulst
• Tim Holloway
• Carey Brown
• Piet Souris
Bartenders:
• Frits Walraven
• Himai Minh

# Help with a project

Greenhorn
Posts: 2
• Number of slices to send:
Optional 'thank-you' note:
I'm currently studying python at my university and this is my first programming language. My lecturer gave us an assignment on the first day and its kinda kicking my ass. see the attached image. I don't need a code, all I need is an idea to begin. any input would be greatly appreciated, thanks.
python.jpg

Marshal
Posts: 26601
81
• Number of slices to send:
Optional 'thank-you' note:
It looks like the first step is for you to choose a topic in one of those four categories. If you're at a loss, let me choose Number Theory for you and suggest your project should find amicable numbers.

Shemar Henry
Greenhorn
Posts: 2
• Number of slices to send:
Optional 'thank-you' note:

Paul Clapham wrote:It looks like the first step is for you to choose a topic in one of those four categories. If you're at a loss, let me choose Number Theory for you and suggest your project should find amicable numbers.

I was thinking about that but apparently "it's too simple for high marks" (my lecturers words not mine). Thank you for the suggestion though.

Paul Clapham
Marshal
Posts: 26601
81
• Number of slices to send:
Optional 'thank-you' note:
Too simple then. Okay, how about Calculus: Symbolic differentiation.

For example you give the code a string like "X - sin(X) + exp(X^2)" and you have to parse that String and output its derivative with respect to X. So the output would be "1 - cos(X) + 2 * X * exp(X^2)" (if I did that correctly in my head just now). I recall doing that as a CS project myself a number of years ago. You can adjust the number of differentiable functions you support depending on how much work is required.

Saloon Keeper
Posts: 12992
281
• Number of slices to send:
Optional 'thank-you' note:
I'm with Paul. I think parsing and transforming parsed symbols based on a ruleset (Calculus) is a really educational problem, if challenging for a first time programmer.

 You don't know me, but I've been looking all over the world for. Thanks to the help from this tiny ad: Thread Boost feature https://coderanch.com/t/674455/Thread-Boost-feature