This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| def startoptionen(): | |
| fehler = 1 | |
| while fehler == 1: | |
| try: | |
| auswahl_modus=int(input("Welche Opetation möchten Sie ausführen? " | |
| "Sie haben Karten hinzufügen, Lernmaschine und generelle Abfrage zur Auswahl." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #-*-coding: utf-8-*- | |
| anzahl_der_dimensionen=raw_input("Wie viele Dimensionen besitzt ihr Vektor") | |
| if anzahl_der_dimensionen ==2: | |
| print"Bitte geben sie die Werte des ersten Vektors ein. Reihenfolge: X-Wert, Y-Wert:" | |
| v1a1=raw_input("X-Wert= ") | |
| v1a2=raw_input("Y-Wert= ") | |
| print"Bitte geben sie die Werte des zweiten Vektors ein. Reihenfolge: X-Wert, Y-Wert:" | |
| v2a1=raw_input("X-Wert= ") | |
| v2a2=raw_input("Y-Wert= ") | |
| rechenoperation=raw_input("Wie sollen die Vektoren verrechnet werden? eins Addition; zwei subtraktion ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #-*-coding: utf-8-*- | |
| from tkinter import * | |
| fenster=tk() | |
| fenster.title("Vektorenrechner") | |
| knopf1=button(text="Zwei Dimensionen") | |
| knopf2=button(text="Drei Dimensionen") | |
| anzahl_der_dimensionen=input("Wie viele Dimensionen besitzt ihr Vektor") | |
| if anzahl_der_dimensionen ==2: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main (void) | |
| { | |
| int indi; | |
| double a1_1, a1_2, a1_3; | |
| double a2_1, a2_2, a2_3; | |
| double a3_1, a3_2, a3_3; | |
| double b1_1, b1_2, b1_3; | |
| double b2_1, b2_2, b2_3; | |
| double b3_1, b3_2, b3_3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main(void) | |
| { | |
| int var; | |
| int a1_1,b1_1,c1_1; | |
| int a1_2,b1_2,c1_2; | |
| int a1_3,b1_3,c1_3; | |
| int a2_1,b2_1,c2_1; | |
| int a2_2,b2_2,c2_2; | |
| int a2_3,b2_3,c2_3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main(void) | |
| { | |
| int var | |
| int a1_1,b1_1,c1_1; | |
| int a1_2,b1_2,c1_2; | |
| int a1_3,b1_3,c1_3; | |
| int a2_1,b2_1,c2_1; | |
| int a2_2,b2_2,c2_2; | |
| int a2_3,b2_3,c2_3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main(void) | |
| { | |
| int var | |
| int a1_1,b1_1,c1_1; | |
| int a1_2,b1_2,c1_2; | |
| int a1_3,b1_3,c1_3; | |
| int a2_1,b2_1,c2_1; | |
| int a2_2,b2_2,c2_2; | |
| int a2_3,b2_3,c2_3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main(void) | |
| { | |
| int var | |
| int a1_1,b1_1,c1_1; | |
| int a1_2,b1_2,c1_2; | |
| int a1_3,b1_3,c1_3; | |
| int a2_1,b2_1,c2_1; | |
| int a2_2,b2_2,c2_2; | |
| int a2_3,b2_3,c2_3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main(void) | |
| { | |
| int indi; | |
| printf("Bitte waehlen sie (1) fuer die Addition der Matrix(3x3) und (2) fuer Subtraktion"); | |
| scanf("%d",indi); | |
| int a1_1,b1_1,c1_1; | |
| int a1_2,b1_2,c1_2; | |
| int a1_3,b1_3,c1_3; | |
| int a2_1,b2_1,c2_1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main(void) | |
| { | |
| int indi; | |
| printf("Bitte waehlen sie (1) fuer die Addition der Matrix(3x3) und (2) f�r Subtraktion"); | |
| scanf("%d",indi); | |
| int a1_1,int b1_1,int c1_1; | |
| int a1_2,int b1_2,int c1_2; | |
| int a1_3,int b1_3,int c1_3; | |
| int a2_1,int b2_1,int c2_1; |
NewerOlder