Hi all, i am new in the design patterns. Actually i am visiting a course! We were given some school problem to sovle using programing language that we want(I prefer java for now, but that is other topic)! So i decided to ask in this forum how would you solve this problem(please if it is possible give reasons why) Here is the problem: Create simple system for constructing and calculating mathematical formulas. 1. It have to be possible to read formulas that can be a single variable(it is formula too), combination between varables and math operations (like +-*/) and random combinations between them. The priority is specified by (). Example: Formula is : - variable: a, b, c … - expression : 5 * a, 5 * 5, т.е. <variable> <operation> <variable> - complex expression: <formula> <operation> <formula> 2. The formulas are read form the console 3. The user can set values to the variables so it can be evaluated. 4. The formulas can be saved in file. 5. The formulas can be combined each other. So i think that i can use composite pattern of course with some factory. What do you sugest? I will be very thankfull pls help me:)