Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyfisch committed Jan 14, 2024
1 parent e99db2f commit faa2930
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Scripts/Kapitel_4/fehlerabschaetzung_rechte_seite_lgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def tatsächlicher_absoluter_fehler(A, b, b_tilde, norm, debug=False):
print(f"x = {x}")
print(f"x̄ = {x_tilde}")
print(f"||x̄ - x||{norm_symbol} \n=\n{x_minus_x_tilde}")
print(f"|| x - x~||{norm_symbol}")
print(
f"Tatsächlicher absoluter Fehler bezüglich der {norm_symbol}-Norm: {absoluter_fehler}"
)
Expand All @@ -62,7 +61,7 @@ def tatsächlicher_relativer_fehler(A, b, b_tilde, norm, debug=False):
print(f"x̄ = {x_tilde}")
print(f"||x̄ - x||{norm_symbol} \n=\n{x_minus_x_tilde}")
print(f"||x||{norm_symbol} = {x_norm}")
print(f"|| x - x~||{norm_symbol} / || x ||{norm_symbol}")
print(f"||- x||{norm_symbol} / || x ||{norm_symbol}")
print(
f"Tatsächlicher relativer Fehler bezüglich der {norm_symbol}-Norm: {relativer_fehler}"
)
Expand Down

0 comments on commit faa2930

Please sign in to comment.