This file contains 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
Sub CopyData() | |
Dim i As Long | |
Dim j As Long | |
i = 0 | |
j = 1 | |
Header = Range("A" & (1 + (258 * i))) |
This file contains 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
Index Axial Load FE AA IE | |
0 70 25 3 -10 | |
1 195.9902 24.97371961 3.235454367 -9.992665938 | |
2 400.7797 24.89494269 3.470092195 -9.97068168 | |
3 773.9403 24.76386181 3.703099776 -9.934100971 | |
4 1254.5773 24.58079744 3.933669057 -9.88301324 | |
5 1760.8765 24.34619711 4.161000441 -9.81754338 | |
6 2173.2502 24.06063434 4.384305557 -9.737851445 | |
7 2404.0408 23.72480725 4.602809999 -9.644132256 | |
8 2537.4333 23.33953682 4.815756011 -9.536614927 |
This file contains 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
plot(x,g1, label='major axis') | |
plot(y,g2, label='minor axis') | |
legend() |
This file contains 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
from mpl_toolkits.mplot3d import Axes3D | |
from matplotlib import * | |
from matplotlib import cm | |
from matplotlib.ticker import LinearLocator, FormatStrFormatter | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import sys | |
from pylab import * | |
rcParams['legend.loc'] = 'best' |
This file contains 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
from sympy import symbols, cos, sin | |
from sympy.plotting import plot3d_parametric_surface | |
x,y = symbols('x y') | |
plot3d_parametric_surface(x**2, y**2, x-y, (x, -5, 5), (y, -5, 5)) |
This file contains 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
# Occupy CPU python code | |
i=0 | |
while True: | |
i=i+1 | |
if i==10: | |
i=0 |
This file contains 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
# To install omxplayer on RPi | |
# Go to link http://www.gaggl.com/2013/01/installing-omxplayer-on-raspberry-pi/ | |
# or type | |
sudo apt-get install omxplayer | |
# Run a repeated video from omxplayer in terminal on RPi | |
while [ 1 ]; do omxplayer -0 hdmi testvid2.mp4; done |
This file contains 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
L = 500 | |
Xi = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.75,0.8,0.85,0.9,0.92,0.94,0.96,0.98,0.99] | |
ai = [1,1.07,1.15,1.242,1.351,1.486,1.661,1.905,2.072,2.292,2.6,3.093,3.396,3.824,4.508,5.937,7.774] | |
bi = [1,0.936,0.878,0.822,0.769,0.717,0.664,0.608,0.578,0.544,0.507,0.461,0.438,0.412,0.378,0.328,0.287] | |
li = [0.75,0.748,0.743,0.734,0.721,0.703,0.678,0.644,0.622,0.594,0.559,0.51,0.484,0.452,0.41,0.345,0.288] | |
X = np.array(Xi) | |
a = np.array(ai) | |
b = np.array(bi) |
This file contains 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
\documentclass[10pt,compsoc]{IEEEtran} | |
\usepackage{fixltx2e} | |
\begin{center} | |
\begin {table} | |
\caption{ABC} | |
\begin{tabular}{|c|c|c|c|c|} |
This file contains 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
@article{AliMao, | |
author = "M. Ali and K. Mao", | |
title = "Modelling of hip resurfacing device contact under central and edge loading conditions", | |
journal = "Lecture Notes in Engineering and Computer Science: Proceedings of The World Congress on Engineering", | |
year = "2012", | |
key = "key", | |
volume = "Volume 20, Issue 4", | |
number = "number", | |
pages = "2054-2059", | |
month = "July", |
OlderNewer