代码搜索结果

找到约 36,166 项符合 Raspberry Pi 的代码

e_121_02.f90

! ------求圆錐体积和表面积------ PROGRAM Example_1_2 REAL :: pi, r, h, v, s pi = 3.141593 PRINT *,'Input radius r and height h ?' READ *, r, h v = pi*h*r**2/3.0 s = pi*r*(r + sqrt(r**2 + h**2))

exercise2_13.java

package ForTest; public class Exercise2_13 { /** * @param args */ public static void main(String[] args) { final double PI=3.14159; double pi=0; int n=1; // int sign=1; //

m6_6_1.m

G=tf([5,5],[1,4,2,3,0]); t=[0:0.1:150]'; u=sin(t+pi/6); lsim(G,u,t) ; title('正弦信号输出响应曲线'); xlabel('t'); ylabel('sin(t+pi/6)'); grid

m6_6_2.m

G=tf([5,5],[1,4,2,3,0]); t=[0:0.1:150]'; u=cos(t+pi/6); lsim(G,u,t) ; title('余弦信号输出响应曲线'); xlabel('t'); ylabel('cos(t+pi/6)'); grid

m6_6.m

G=tf([5,5],[1,4,2,3,0]); t=[0:0.1:150]'; u=sin(t+pi/6); lsim(G,u,t) ; title('正弦信号输出响应曲线'); xlabel('t'); ylabel('sin(t+pi/6)'); grid

max.h

#ifndef max_h #define max_h 1 int Max(int, int, int); double pi=3.14; #endif

intqbxf2.m

function q = IntQBXF2(func,n) format long; pi = 3.1415926535; q = 0; A = zeros(n,1); x = zeros(n,1); for i=1:n A(i) = sin((i*pi)/(n+1))*sin((i*pi)/(n+1))*pi/(n+1); x(i) = cos(pi*i/(n+1

intqbxf1.m

function q = IntQBXF1(func,n) format long; pi = 3.1415926535; q = 0; A = zeros(n,1); x = zeros(n,1); for i=1:n A(i) = pi/n; x(i) = cos(pi*(2*i-1)/2/n); y(i) = subs(sym(func), find

fzz.m

function [A0,A,B]=FZZ(func,T, n) syms t; func = subs(sym(func), findsym(sym(func)),sym('t')); A0=int(sym(func),t,-T/2,T/2)/T; for(k=1:n) A(k)=int(func*cos(2*pi*k*t/T), t,-T/2,T/2)*2/T; A

dff.m

function c = DFF(f,N) c(1:N)=0; for(m=1:N) for(n=1:N) c(m)=c(m)+f(n)*exp(-i*m*n*2*pi/N); end c(m)=c(m)/N; end