Search
1000 results for “linuxgal”
-
Plotting a trig function and its derivative with #Python
#!/usr/bin/env python3
import numpy as n,matplotlib.pyplot as p
x=n.linspace(-4,4,400)
f=n.arctan(x**2);df=2*x/(x**4+1)
p.plot(x,f,'b',label='f(x)=arctan(x²)')
p.plot(x,df,'r',label="f'(x)=2x/(x⁴+1)")
p.axhline(0,c='k',lw=.5);p.axvline(0,c='k',lw=.5)
p.ylim(-2,2);p.xlabel('x');p.ylabel('y')
p.title("f(x) and f'(x)")
p.grid(ls=':',alpha=.7);p.legend();p.show() -
-
89: Nahimana is Lakota for Secret, and this is the sacred name of the angel Raziel, daughter of Vretiel and Jashen Shy Bear. Her nickname, “Tea Spiller,” arose after she revealed the name intended to be known only by herself and the shaman. Raziel insists on Dory for everyday use. Dory is a telepath and clairvoyant. She serves as the central clearing house for all mind-to-mind communication between the angels, a talent that extends across time and space. She frequently abuses this Mercy with what she calls ancillary information, though others describe it as gossip. When this ability first emerged in late adolescence, she found it intrusive. She soon laid down the law: it was for emergencies only, and if the voices disobeyed her, she would punish them by keeping them awake at night with voices of her own. The Mercy also gives her access to imagery. Dory played acoustic bass at the Migdalel College Conservatoire and with the Havilah Harmonics, later picking up a Fender P-bass when Miss Goodmile formed in 1962.
-
The gamma function with #Python
#!/usr/bin/env python3
from scipy.special import gamma
a,b=.1,2
n=25
p=(5**.5-1)/2
c=b-p*(b-a)
d=a+p*(b-a)
fc,fd=gamma(c),gamma(d)
print(f'{"Iter":>4} {"x":>12} {"gamma(x)":>12}')
for i in range(1,n+1):
if fc<fd:
b,d,fd=d,c,fc
c=b-p*(b-a)
fc=gamma(c)
x,f=c,fc
else:
a,c,fc=c,d,fd
d=a+p*(b-a)
fd=gamma(d)
x,f=d,fd
print(f"{i:4d} {x:12.8f} {f:12.8f}")
print(f"\nLocal minimum approx: x = {x:.10f}, gamma(x) = {f:.10f}") -
-
88: As with her sister Raphael, the body of Ariel Haivri-Lange, daughter of Mikaela and Naamah, produces an overabundance of designer molecules. In the case of Ariel these are airborne pheromones that strongly affect animals. In her presence beasts eagerly comply with her vocalizations and gestures, and Ariel returns their affection in equal measure. Some among the Stiffnecks say that Ariel's husband, Apostle Joshua Lange, likewise fell under this influence. In the fourteenth century Ariel became known among the Lakota as Ptaysanwee, or Buffalo Calf Woman, after she restored the bison herds following a severe die-off. In celebration Ariel introduced the seven ceremonies of the sacred pipe, which persist unto this day among the Kuwapi. Her wings bear brown feathers, and when folded they are concealed beneath a fringed and bleached buckskin jacket. Ariel was deeply involved in the Haivri "Prank" which brought the Stiffnecks and Kuwapi together at the Dole impact crater, future site of Havilah, in 1865.
-
#Python for all your #linearalgebra homework:
#!/usr/bin/env python3
import sys,ast,numpy as np
a=np.array(ast.literal_eval(sys.argv[1]))
print("Matrix:")
print(np.matrix(a))
print("\nTranspose:")
print(np.matrix(a.T))
print("\nTrace:",a.trace())
print("\nRank:",np.linalg.matrix_rank(a))
if a.shape[0]==a.shape[1]:
print("\nDeterminant:",round(np.linalg.det(a),6))
d,e=np.linalg.eig(a)
print("\nEigenvalues:",np.round(d,6))
print("\nEigenvectors:")
print(np.round(e,6))
print("\nPseudo-inverse:")
print(np.matrix(np.linalg.pinv(a))) -
-
87: Dr. Miriam Wahkan (Lakota: Plenty Practice) is the angel named Raphael. As Mary Magdalene in the first century CE she unobtrusively performed the healings attributed in the gospels to Ravi Yeshua ben Yosef. Today she is the sole doctor in the town of Havilah, which is large enough to require at least two or three physicians. As part of her V chromosome inheritance, her body produces molecular machines that facilitate rapid self-repair, but Dr. Wahkan produces them in superabundance, permitting her to share them with the afflicted by a mere touch. Her use of the term "veterinary primer" is typical of her dry sense of humor, though indeed she occasionally works alongside her sister Ariel tending animals as well as humans. Raphael may heal, but she cannot confer immortality, though she herself is deathless. Miriam is frequently seen at the Migdalel College clinic wearing a white lab coat over her cloak of blood-red feathers. When complimented on this appearance, she often replies, "Thanks! It has pockets!"
-
#PuppyLinux about five years ago when I was still hot and heavy on that. Browsers are what killed it for me. It's the Red Queen's race these days with browsers. You have to keep running just to stand still.
-
7Z: And while she yet spake, Ser Uriel perceived that Lailah might become a willing ally in the ancient contention against Azul and Imran. And it seemed unto him that there could be great usefulness in Students who might themselves render a measure of service to Ayat. Nevertheless, never should such become thralls. And Uriel said unto Lailah, "Your Highness, the time may come when I shall lead thee altogether forth from Kemen. And whosoever hath been born beneath the vault thereof would find the Earth exceedingly strange, beyond all expectation. Tell me therefore plainly, doth this prospect cause thy zeal to diminish?" But Lailah answered him quickly, saying, "Nay, my willingness is now greater than before." And Uriel turned unto her father and said, "So shall it be. Your Majesty, I receive Sar Lailah as the first among my Students." Then Uriel bowed himself deeply before Kar Melchizedek, insomuch that a god-man rendered true honor unto a mortal king. And after these things, the audience was concluded.
-
-
7Y: Then Uriel turned unto Lailah and said unto her, “Wouldst thou consent, Princess Lailah, to depart far from thy father for many years? For it may come to pass that thou shalt never again behold him among the living.” And Lailah answered without hesitation, saying, “This thing am I willing to do, Lord Uriel, and even more also. Yea, I would place the Fallen Angels themselves at thy command.” But Uriel said unto her, “Your Highness, do not many among the people esteem the Fallen Angels as little better than thieves?” And Lailah bowed her head somewhat, acknowledging the truth of his words, and answered, “Ser Uriel, such a judgment is not altogether without fairness. My fellowship with them began in my younger days from a foolish desire to provoke my father unto displeasure. Nevertheless, in these latter times have I labored to amend this matter. And thou wouldest be greatly surprised if thou knewest how they have changed, and what deeds they are truly capable of accomplishing.”
-
7X: But when Uriel delayed to answer him, Lailah spake softly unto her father, saying, “Thou hast already beheld the things which Ser Uriel is able to accomplish. Moreover, he hath spoken words which no mortal man could know, save he were in some manner joined unto Ayat herself.” And the king and Uriel looked one upon another for a long season in silence. And at length Kar Melchizedek said, “Lailah hath made known unto me her desire to become thy foremost student, if thou art willing to receive her.” And Uriel answered and said, “Sire, when I speak concerning Students, I speak of all world-dwellers alike, both in Kemen and upon the Earth beyond. Never did I purpose in mine heart to gather disciples unto myself, neither to establish a formal school among the children of men.” But the king replied, saying, “And yet, Ser Uriel, if thou shouldest instruct Lailah according unto the desire of her heart, I deem thou wouldest return unto me a daughter whom none could deny to be a worthy princess of this city.”