Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
[Thumbnail for python.jpg]
 
Marshal
Posts: 26613
81
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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: 26613
81
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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: 12998
281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic