vault backup: 2023-07-20 10:23:19

This commit is contained in:
2023-07-20 10:23:19 +02:00
parent 89bd0343cf
commit c9f37b0707
26 changed files with 102 additions and 5 deletions
+5 -5
View File
@@ -113,7 +113,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Informationssicherheit/UEB8/UEB08.md", "file": "Informationssicherheit/Ueb7/Ueb07.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@@ -130,7 +130,7 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Informationssicherheit/UEB8/UEB08.md", "file": "Informationssicherheit/Ueb7/Ueb07.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@@ -153,7 +153,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Informationssicherheit/UEB8/UEB08.md" "file": "Informationssicherheit/Ueb7/Ueb07.md"
} }
} }
}, },
@@ -214,10 +214,10 @@
"obsidian-wordnet-plugin:WordNet Dictionary": false "obsidian-wordnet-plugin:WordNet Dictionary": false
} }
}, },
"active": "5956a2443864c7b2", "active": "e0450f213321020c",
"lastOpenFiles": [ "lastOpenFiles": [
"Informationssicherheit/Ueb7/Ueb07.md",
"Informationssicherheit/UEB8/UEB08.md", "Informationssicherheit/UEB8/UEB08.md",
"Informationssicherheit/Ueb7/Ueb07.md",
"Informationssicherheit/Ueb7/07-ueb_uebungsblatt.pdf", "Informationssicherheit/Ueb7/07-ueb_uebungsblatt.pdf",
"Informationssicherheit/UEB8", "Informationssicherheit/UEB8",
"Informationssicherheit/Ueb6/Ueb 6.md", "Informationssicherheit/Ueb6/Ueb 6.md",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+35
View File
@@ -0,0 +1,35 @@
// Cosinus.java
// Programm zum Spielen, Ausprobieren und Verbessern
// Ziel: "Gute" Berechnung der Cosinus-Funktion
import java.io.*;
public class Cosinus
{
public static double myfak(int k)
{
double x;
if (k==0) {return 1.0;}
else {return ((double) k)*myfak(k-1);}
}
public static double mycos(double x)
{
double sum=0.0;
double term=0.0;
for (int k=0;k<=10;k++)
{
term=Math.pow((-1),k)*Math.pow(x,2*k)/myfak(2*k);
sum+=term;
}
return sum;
}
public static void main(String[] args) throws IOException
{
double x;
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Wie lautet die Stelle x? x = ");
x = Double.parseDouble(in.readLine());
System.out.println("Meine Rechnung liefert cos(x) = " + mycos(x));
System.out.println("Java-Mathe-Bib liefert cos(x) = " + Math.cos(x));
}
}
+21
View File
@@ -0,0 +1,21 @@
// Folge.java
import java.io.*;
public class Folge
{
public static void main(String[] args) throws IOException
{
double x=2.0,a=2.0;
for (int k=0; k<=9; k++)
{
System.out.println("k = "+ k +" a_k = "+ a);
a=0.5*(a+x/a); // Heron-Iteration
// a=Math.sqrt(k*k+3.0*k)-k;
// System.out.println(Double.MAX_VALUE);
}
}
}
+19
View File
@@ -0,0 +1,19 @@
// Reihe.java
import java.io.*;
public class Reihe
{
public static void main(String[] args) throws IOException
{
double s=0.0,a_k=0.0;
for (int k=0; k<=30; k++)
{
s=s+Math.pow(2.0/3.0,k); // geometrische Reihe q=2/3
System.out.println("n = "+ k +" S_n = "+ s);
}
}
}
@@ -0,0 +1,22 @@
/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 18.02.0 ] */
/* [wxMaxima: input start ] */
/* Komplexe Nullstellenbeispiel */
z:a+b*%i;
/*plot3d(abs(z^3-3*z^2+4*z-2),[a,0.25,1.75],[b,-1.25,1.25], */
/*plot3d(abs(z^3-7*z^2+17*z-15),[a,1.5,3.2],[b,-1.2,1.2],*/
plot3d(abs(z^2+1),[a,-1.0,1.0],[b,-1.5,1.5],
/*contour_plot(abs(z^3-3*z^2+4*z-2),[a,0.25,1.75],[b,-1.25,1.25], [gnuplot_preamble, "set cntrparam levels 39"],*/
/*contour_plot(abs(z^3-7*z^2+17*z-15),[a,1.5,3.2],[b,-1.2,1.2], [gnuplot_preamble, "set cntrparam levels 39"],*/
/*contour_plot(abs(z^2+1),[a,-1.0,1.0],[b,-1.5,1.5], [gnuplot_preamble, "set cntrparam levels 39"],*/
/*[zlabel,""],[mesh_lines_color,false], [elevation,0], [azimuth,0], */
[grid,100,100], [ztics,false], [color_bar_tics,0.01],
[zlabel,"|p(z)|"],[mesh_lines_color,true],[ztics,1],
[box,true],[xtics,0.25],[ytics,0.5],
[legend,false],[palette,[gradient, "#0000f4", "#0000ff"]],[color,blue]);
/* [wxMaxima: input end ] */
/* Old versions of Maxima abort on loading files that end in a comment. */
"Created with wxMaxima 18.02.0"$
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.