Skip to content

holzerseb/algorithmen.datenstrukturen_blatt6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[TASK1] Euler-Tour [INFO] Testing Euler-Tour Expected Result: ((((3+1)3)/((9-5)+2))-((3(7-4))+6)) Created Result: ((((3+1)3)/((9-5)+2))-((3(7-4))+6))

[TASK2] Expressions [INFO] Test-Case 1: [EVALUATE] ((((3+1)3)/((9-5)+2))-((3(7-4))+6)) [EVALUATE] Assuming x = 7 [RESULT] The result is: -13

[INFO] Test-Case 2: [EVALUATE] ((((3+1)3)/((9-5)+2))-((3(7-4))+6)) [EVALUATE] Assuming x = 10 [RESULT] The result is: -13

[INFO] Jokes on you, there was no x for the above Expressions [INFO] Creating Expression with some variable now...

[INFO] Test-Case 3: [INFO] Using the Expression of the task-sheet: [INFO] ((((2x)x)+(4x))-1) [EVALUATE] ((((2x)x)+(4x))-1) [EVALUATE] Assuming x = 2 [RESULT] The result is: 15

[INFO] Test-Case 4: [EVALUATE] ((((2*x)x)+(4x))-1) [EVALUATE] Assuming x = 16 [RESULT] The result is: 575

[INFO] Test-Case 5: [INFO] Using my own Expression: [INFO] (x-(((xx)-(10x))(5+x))) [EVALUATE] (x-(((xx)-(10x))+(5x))) [EVALUATE] Assuming x = 6 [RESULT] The result is: 0

[INFO] Test-Case 6: [EVALUATE] (x-(((xx)-(10x))+(5*x))) [EVALUATE] Assuming x = 3 [RESULT] The result is: 9

Process finished with exit code 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages