blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c349eb9a01f551b83d6bd17b5d8c4436804b3de6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH10/EX10.2/10_2.sce | 4e995d948f8ce0765c0a88a2917b8b5b48d4e986 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | 10_2.sce | clc
//Initialization of variables
P1=30 //lb/in^2
P2=200 //lb/in^2
capacity=3 //tons
//calculations
disp("From the pressure enthalpy chart")
Tt1= -1 //F
st1=1.34
ht1=612
ht2=733
ht3=141
ht4=141
WbyJ=ht2-ht1
Q=ht1-ht3
beta=Q/WbyJ
Qdot=capacity*3.33
wdot=Qdot/Q
Power=wdot*778*WbyJ
Power=Power/550
//results
printf("Coeffi... |
98e0713ca5dd4b9430cbcdf34fac9bfd35ee4c2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.13/3_13.sce | 0aa12e3b803ffb9ea5c506771c9b0ba03aec9b75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | 3_13.sce | clear;
clc;
Z=complex(14.1, 51.48);
Y=complex(0, 1.194e-3);
Zc=sqrt(Z/Y);
g=sqrt(Z*Y);
A=cosh(g);
B=Zc* sinh(g);
C=sinh(g)/Zc;
D=A;
mprintf("\nZc= %s", string(round(abs(Zc)*1000)/1000) +'/_'+ string(round(atand(imag(Zc)/real(Zc))*100)/100) )
mprintf("\npropgation const= %s", string(round(abs(g)*1000)/100... |
14dd3dd4b1c1fbc6c65d40d2a74cf16b67112af4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.8/example8.sce | 44016c0f70be15f5c47c6cf10a1718dcbb4f3c01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | example8.sce | clc
clear
//input data
n0=0.7//Overall efficiency
Q=0.025//Discharge of water by the pump in m^3/s
H=20//Height of supplied by the pump in m
D=0.1//Diameter of the pump in m
L=100//Length of the pipe in m
f=0.012//Friction coefficient
g=9.81//Acceleration due to gravity in m/s^2
d=1000//Density of water in k... |
ef83540ca65b33556ba071d8f04e1f6365657ee3 | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/demos/encoder_cc.sci | 44d51a84bff18a1aabd28b86783cd645aaa7ee9e | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sci | encoder_cc.sci | // Tight 4-2-4 encoder using a mixed standard/conjugate gradients algorithm
rand('seed',0);
x = [1,0,0,0;
0,1,0,0;
0,0,1,0;
0,0,0,1]';
t = x;
N = [4,2,4];
W = ann_FF_init(N, [-1,1], [-1,1]);
// --- standard BP algorithm ---
// learning parameter for standard BP part
lp = [2.5,0];
printf("Standard B... |
b0642e62cee83500fbb9f07eb58ddbbbdde40948 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_QV30CLT_Session2/ATWM1_Working_Memory_MEG_RestingState_EyesOpen.sce | e821e304f080e808493d4f0d090e27f03449d83b | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,659 | sce | ATWM1_Working_Memory_MEG_RestingState_EyesOpen.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_RestingState_EyesOpen";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
active_butt... |
76d2e06914caaae6d24ecba1ac514b7b1829e47e | c6515791fea5828996a3924a74b5358852bc69f0 | /ap6_metodo_gradiente&wolfe/Metodo_do_Gradiente_Wolfe.sci | 23e4ee696ef1081adda56ff868c202d98acef26a | [] | no_license | fernandascovino/fgv_math_modeling_3 | 366f05faa9fc657473acad8c1061b7c6feed8d4a | 11853e0bf2c05ad2df4fb369dfa922fc50c68ceb | refs/heads/master | 2023-02-24T23:03:18.431724 | 2021-01-31T18:08:16 | 2021-01-31T18:08:16 | 334,722,683 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sci | Metodo_do_Gradiente_Wolfe.sci | function [x, f, g, k]= Metodo_do_Gradiente_Wolfe(t,x0,m,Sim,e)
[f g] = Sim(x0)
x = x0, k = 0, m1 = 0.1, m2 = 0.9
while (norm(g,%inf) > e) & (k < m)
d = -g
x = x + t*d
[f g] = Sim(x)
k = k+1
t = Busca_de_Wolfe(x,d,t,Sim,10,m1,m2,e)
end
endfunction
|
ee64efd58dd6a48410eff08cd9eec789ad750d6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH3/EX3.1/Ex3_1.sce | 93308ee51db8d48b8f39399da1ea5474f9c32510 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | Ex3_1.sce | clc
I=5*10^-3
disp("I = "+string(I)+" amphere") //initializing value of current flowing through the sample.
B=1*10^-6
disp("B= "+string(B)+" Tesla") //initializing value of magnetic field.
w=0.01*10^-2
disp("w = "+string(w)+" m") //initializing value of width of germanium sample.
l=0.1*10^-2
disp("l = "+string... |
a1ae6afffaf78336f633fb384eac5d58c34551ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH1/EX1.1/Ex1_1.sce | ff52d8714da1141f8759ed2861bc0558371039c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex1_1.sce | clc
d_r = 13640 // Density of mercury in kg/m^3
g = 9.79 // Acceleration due to gravity in m/s^2
z = 562e-03 // Difference in height in m
z0 = 761e-03 // Reading of barometer in m
P = (d_r*g*(z+z0))*(0.987/1e05) // Gas Pressure in atm
printf("\n Example 1.1\n")
printf("\n Gas Pressure is %f atm",P)
//The answ... |
45313f1fe3937ab71c68ed29d899d2850969345c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH17/EX17.9/Ex17_9.sce | 28e3da2c2cce732c67508dcee94bb139d7f97da5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sce | Ex17_9.sce | clc;clear;
//Example 17.9
//given data
m=2.86;
Ma1=2;
P01=1;
P1=0.1278;
T1=444.5;
p1=1.002;
//from Table A-2a
R=0.287;//in kJ/kg-K
cp=1.005;//in kJ/kg-K
k=1.4;
//calculations
//part - a
//from Table A-33 at Ma1=2.0
Ma2=0.5774;
P0201=0.7209;//P02/P01
P21=4.5;//P2/P1;
T21=1.6875;//T2/T1
p21=2.... |
af19a143a980a420b05c7a6a1007b9b8c32f1740 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH10/EX10.16/10_16.sce | 68c0c71a6b1e83b4749f585aff425b78714364b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 10_16.sce | clc
//Initialization of variables
disp("From psychrometric charts,")
va1=13 //ft^3/lbm dry air
va2=13.88 //ft^3/lbm dry air
flow=2000 //cfm
//calculations
ma1= flow/va1
ma2=flow/va2
t=71// F
phi=t //percent
//results
printf("humidity = %d percent",phi)
|
b28d6e5346bc9c4d74600168dcb33d54c040eca8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH4/EX4.1/Ex4_1.sce | c014b097f4eb27f5d59c964ce0a5acb57baf347b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex4_1.sce | clc
//initialisation of variables
a1=44.16//cm^2
a2=4.91//cm^2
b1=75//mm
b2=25//mm
//CALCULATIONS
V=b2*[2*a1-a2]//cm^3
//RESULTS
printf('The displacement per cycle is=% f cm^3',V)
|
cfdec184d6c1779f72fd3dd38fc88456a87ddf88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.2/Ex12_2.sce | 337d2f999b1161b011caa4d3d7ae2618c1b8a192 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Ex12_2.sce | //Initilization of variables
t1=4 //s
t2=5 //s
//Calculation
v1=9*t1^2+1 //ft/s
v2=9*t2^2+1 //ft/s
a=(v2-v1)/(t2-t1) //m/s^2
//Result
clc
printf('The acceleration during fifth second is %f ft/s^2',a)
|
b307860424560b78f304a5ac1498e789f74fd6cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH9/EX9.1/Ex9_1.sce | d10b35e1060d2ddff879758fc4d34d6b3228dcb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex9_1.sce | //EX9_1 PG-9.13
clc
R=4.7e3;//each resistance of the RC phase shift oscillator
C=0.47e-6;//each capacitance of the RC phase shift oscillator
f=1/(2*%pi*sqrt(6)*R*C);
printf("\n Therefore frequency of oscillation is %.3f Hz \n",f)
|
c925367fde86437a1e11967ceae2481b6d6aec0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH7/EX7.2/Ex7_2.sce | cfcb684351210f71227e61a31adad12577427100 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | Ex7_2.sce | //Example 7_2
clc();
clear;
//To estimate the numerical aperture
n1=1.46
delta=0.05
NA=n1*sqrt(2*delta)
printf("The numerical aperture is %.2f",NA)
|
baa3c5c23579e9e40d63a1611b9b5df07d5526f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.13.c/Example2_13_c.sce | 6256d04bfbecc84ef4064c7841a9c40c276f2421 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Example2_13_c.sce | //Example 2.13 (c)
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Z- transform of u(n-2)
clear;
clc ;
close ;
syms n z;
x =1;
X= (1/(z^2))*symsum (x*(z^(-n)),n ,0, %inf );
//Display the result in command window
disp (X,"Z-transform of u(n-2) is:"); |
e6afc51d197b084dbd6a4646f2619c47642de7dc | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/PutcoLstr.sci | b993ffa988e2ebdd4bd2924b73fb87cd52fd621f | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sci | PutcoLstr.sci | // 10.01.02 for v5
function PutcoLstr(varargin)
Tb=varargin(1);
Nr=varargin(2);
Pos=varargin(3);
Str=varargin(4);
Sep='';
if length(varargin)>4
Sep=varargin(5);
end;
if Sep==''
for I=1:length(Str)
Tmp=part(Str,I);
Putcell(Tb,Nr,I,Pos,Tmp);
end;
else
Ltr='';
K=1;
fo... |
52c3325972d329c658ab2c0f1363315a3510afb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH4/EX4.26/SolEx4_26.sce | fd3054307a25ceb299c8c5849ee97fa51192dbb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | SolEx4_26.sce | //Calculate the plate efficiency of the amplifier
//Example 4.26 page no 130
clear
clc
Ip=(1/20) //mA
Rl=10 //kΩ
Vpp=2.4 //v
n=(((Ip)*Rl)/Vpp)
printf("\n the perveance n=%0.3f percent" ,n)
|
0989bc2d40276860853950f97d7dd8d6eab2b6cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH10/EX10.9/example_10_9.sce | f99a2573116e618e79d6f2d02389f19e0e604b5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | example_10_9.sce | s=%s
//G=k/(s*(s+a)) and T=G/(1+G)
Mr=1.04
omegaR=11.55
disp("for zeta>0.7 , Mr does not exist, so neglect higher value")
zeta=0.6021
disp(zeta)
omegaN=omegaR/(sqrt(1-2*(zeta)^2))
disp(omegaN,"omegaN = ")
k=omegaN^2
disp(k,"k=")
disp(2*zeta*omegaN," a = ")
disp(omegaN*sqrt(1-2*zeta^2 + sqrt(2-4*zeta... |
c9b13ec260a9c298a8c8d5f9ecf18755b5b044c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH5/EX5.3/5_3.sce | 8498d9f016bd5b0590587057641880c9022ad6f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 5_3.sce | clear
clc
//initialisation of variables
g= 32.2 //ft/swc^2
Q= 40 //cuses
w= 5.5 //ft
h= 9 //in
d= 0.75 //ft
V= 3 //ft/sec
//CALCULATIONS
D= ((Q*2)^2/(g*(w*2)^2))^(1/3)
v= Q*d/w
D1= sqrt((2*v^2*d/g)+h/64)-(d/2)
dD= D1-d
El= -dD+((v^2*(1-(V/v)^2))/(2*g))
Els= Q*El*62.4/550
//RESULTS
printf('Critical dept... |
9d05eb684008a54b7ba50a58894b846da454e96a | a24c640895f1cfb1e3242099f641df51ee10297e | /example_programs/arithmetic.tst | fbffb306900d9077cc03b5c46b90e0d0f47aa1be | [
"CC-BY-3.0"
] | permissive | supermaximo93/Toast-Prototype-Interpreter | 1c3d981a550f6498bb5fcc8952fdd6a5ae4c71b3 | 13547e96813add755791b33a19a4831f5e338094 | refs/heads/master | 2021-01-19T10:58:00.401688 | 2012-03-14T09:18:27 | 2012-03-14T09:18:27 | 3,140,649 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | tst | arithmetic.tst | ///////////////////////////////////////////////////////////////////////
/////////////// ARITHMETIC ///////////////
///////////////////////////////////////////////////////////////////////
let x = (5 + 2) * 43 - 3
print(x) // prints 298
// powers
let x = 5^2
print(x) // prints 25
// modulu... |
b53b3a6ab648eb43dfb423191766dae6ccd10da8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH8/EX8.6/Solved_Ex8_6.sce | 925b51b0cb504a05f45d6ab4daf930d055613dc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | Solved_Ex8_6.sce | //find fourier transform of x(n),x(n)=(1/3).*(n>=0&n<=2)
clc;
clear;
n=0:1:20;
x=(1/3).*(n>=0&n<=2);
X=dft(x,-1);
disp(X,'fourier Transform of x(n)=>');
subplot(1,2,1)
Xmag=abs(X);
plot2d3(n,Xmag,2);
xtitle('Magnitude Spectrum','k values','|ck| magnitudes');
subplot(1,2,2)
plot2d3(n,atan(imag(X),real(X)),2)... |
284e324eacee28b7efffb5ae0798c7fd09037d32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH14/EX14.3.b/Example14_3b.sce | aa5b191827c036077f6e530eb642418b28a2edd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Example14_3b.sce | exec ("Gravitation.sci",-1)
//variavles with their values
Mh = 1.99 * 10^31 //in kg
R = 6.77 * 10^6 //in meter
DR = 1.7 //in meter
//Sample Problem 3b
printf("**Sample Problem 3b**\n")
//the difference in gravitational acceleration is given by
DG = -2 * G * Mh * DR /(R^3)
printf("The difference in accele... |
134848d2bdf6e57eadfbfef567361cff04698f77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH15/EX15.4/example4.sce | 9edb648e4ba8533c5355790ee17294ef1ffae048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | example4.sce | // find input and supply voltage for the SCR
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 15-4, page 531
clear; clc; close;
// Given data
Vgt=0.75 ;// gate trigger voltage in volts
Igt=7*10^-3;// gate trigger current in amperes
Rg=1... |
25687a06e542cfbc421a6e03efa37f58e99c55af | c6f8bc8a96cc612d33dfd5a50cc7ab6ddb4442c5 | /resultados/get_results.sce | 989ff6b513c3a685beb356ee8c8eb7c3da7eaa22 | [] | no_license | gabiapple/TCC | 5a0b28e7d0460e18ec152cac98e2edff7709ab83 | ab518fb4711402dadfb2f6d76753d964b560ae89 | refs/heads/master | 2020-03-29T15:11:21.985800 | 2019-11-21T11:07:20 | 2019-11-21T11:09:15 | 150,049,256 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | get_results.sce | exec get_mono_signal.sci;
exec get_fourier_transform.sci;
exec get_max_values_range.sci;
function results = get_results(filename)
[som, fs] = wavread(filename);
som = get_mono_signal(som);
respfreq = get_fourier_transform(som, fs);
[max1, max2, max2val] = get_max_values_range(respfreq, 100, 65, 1000);... |
338b66f6cc3813226e153b66076815e4949f04df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH5/EX5.1/Ex5_1.sce | afebeb260dfc0e3076da3db398e8068bdb1f4e99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex5_1.sce | clc;
//page no 147
//prob no. 5.1
// refer fig 5.7
//The capacitance in pF
C1=200;
C2=2400;
C3=8;
t=1/C1+1/C2+1/C3; //temperary variable
Ceq=1/t;//pF
Ceq=Ceq*10^-12;//In Farad
L=2*10^-6;//In H
f0=1/(2*%pi*sqrt(L*Ceq))*10^-6; // IN MHz
disp('MHz',f0,'(a) The oscillation frequency is');
f0=1/(2*%pi*sqrt(L*... |
627f1d7aa99f75966f92a3f02f0d2562244cce13 | 975bff4cfbf67b318995dc4c925cb18317ae38a3 | /OraclePG.sci | 1dc3c8d712d029a9d8cead876790dac7973f4dba | [] | no_license | VictorSanh/Optimisation | 98da003def697207e0fb967abe07b99ac7afc7e1 | 5dc3a2dec09982d066ee1e0504cecd0a6f2b71a6 | refs/heads/master | 2021-01-18T21:16:30.468266 | 2016-05-21T16:46:13 | 2016-05-21T16:46:13 | 55,126,828 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sci | OraclePG.sci | function[F, G, ind] = OraclePG(qc, ind)
// Si ind = 2, on calcule seulement F
if ind == 2 then
F = 1/3*(q0+B*qc)'*(r .* (q0+B*qc) .* abs(q0+B*qc)) + pr'*Ar*(q0+B*qc) ;
// Si ind = 3, on calcule seulement G
elseif ind == 3 then
G = B'*Ar'*pr + B'*(r.*(q0+B*qc).*abs(q0+B*qc));
... |
60bcbb23c748c904bfe41e95b35d100d57fc2805 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.38/Ch05Ex38.sce | e32406bf3ae62fcd515ed05771d80537f62e6dc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | Ch05Ex38.sce | // Scilab Code Ex5.38: Page:315 (2011)
clc;clear;
theta = 13;....// Optical rotation of the solution, degrees
l = 20;....// Length of the tube, cm
l_prime = 30;....// New length of the tube, cm
c = 1; // For simplicity assume concentration of sugar solution to be unity, g/cc
c_prime = c/3; // New concentra... |
510ddb2d1483e02681faed0c6237011d3fb4a080 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_J._B._Gupta_1850.zip/Linear_Integrated_Circuits_J._B._Gupta_1850/CH2/EX2.12/exa_2_12.sce | 35cc8a108b55ba51a391157ae1423620356abb7f | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | exa_2_12.sce | errcatch(-1,"stop");mode(2);// Exa 2.12
;
;
// Given data
format('v',9)
IB1= 10;// in mA
IB2= 7.5;// in mA
I_in_bias= (IB1+IB2)/2;// in mA
disp(I_in_bias,"Input bias current in mA")
I_in_offset= IB1-IB2 ;// in mA
disp(I_in_offset,"Input offset current in mA")
// Note: Units in Answer in the book is wrong... |
5c6beb8b1d433b1fea6819efab58b289405308c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH8/EX8.5/Chapter85.sce | 3946ef3fb43c4f600c0ef22540963c1aa01c56de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,762 | sce | Chapter85.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 8, Example 5")
//A square plate of length(L)=0.5m by breadth,B=0.5m in a room at temprature,Tinf=30°C
//One side of plate is kept a uniform temprature(Tw)=74°C
T... |
93b06a210e0bc85b5f332bd7cd153a47b0afa9cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.4/Ex19_4.sce | 277da7f060007e99782dc581ac594ff78bb3ea20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex19_4.sce | clear all
clc
close
dia=0.03*1e-3;//Diameter of drop in m
rho=2000;//Desnity of ink in kg/m
vz=25;//velocity in z direction in m/sec
L1=15*1e-3;//Length of deflection plate in m
L2=12*1e-3;//distance from the exit end of the deflection plate to the print surface in m
q=100*1e-15;//Charge of drop in C
d=2*1e-... |
ea253565108e082de7a982784ce2b458385e4eb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH7/EX7.6/7_6.sci | 1b792fa03929311b17c78a32a7c8cc8860b6ef3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sci | 7_6.sci | //7.6
clc;
R1=2;
R2=1;
R4=500;
L4=0.1
R3=R1*R4/R2;
printf("Resistance=%.0f ohm",R3)
L3=R1*L4/R2;
printf("\nInductance=%.2f H",L3) |
b8694bd1bf25a1a7e0af89347d2a592e06249265 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.2/ex3_2.sce | e330674ab8cffc06f40d63e322472a1e27aa0db2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | ex3_2.sce | //Caption:In a loss less transformer calculate (a)Number of turns on high voltage side (b)The primary current (c)The secondary current
//Exam:3.2
clc;
clear;
close;
V_1=110;//primary voltage(in Volts)
V_2=220;//secondary voltage(in Volts)
N_1=130;//low voltage side turns
N_2=N_1*V_2/V_1;//high voltage side turn... |
f4e2172cb1a6f75bd548549ad149bd86f9eed7c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.7/Ex7_7.sce | 4f3a38f1a875fec4809ed0fbee2059157b3ca838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | Ex7_7.sce | clear;
clc;
//Example 7.7
Vbe=0.7;
b=100;
Re=.5;
Rc=5;
Rl=10;
R1=40;
Cc=10;
R2=5.7;
Rs=.1;
Vt=0.026;
Icq=0.99;
gm=Icq/Vt;
printf('\ntransconductance=%.3f mA/V\n',gm)
r=b*Vt/Icq;
printf('\ndiffusion resistance=%.2f KOhm\n',r)
Ri=r+(1+b)*Re;
printf('\ninput resistance=%.2f KOhm\n',Ri)
x=Rc*Rl/(Rc+Rl);... |
7ef0fa4fe06dc48dab5b6d60c8b9414b2f989fa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH2/EX2.2/Ex2_2.sce | c050c3bd30a88e8c54c7bcfd1e8e940ebf282cd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Ex2_2.sce | //Ex2_2 Pg-87
clc
disp("sigma = u*e*n")
u=1200 //mobility
e=1.6*10^(-19) //electron charge
n=10^13 //phosphorous concentration
sigma=u*e*n //conductivity
printf("\n Conductivity of pure silicon crystal = %.5f ohm^(-1)/cm \n",sigma)
rho=1/sigma //resistivity
printf("\n Resistivity of pure phosphorous = %.0f oh... |
1e9a9503611e6e597cba85843eca211e23ea94e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH6/EX6.15/6_15.sce | be458485ef22353f742df2d312d56115fb534101 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | 6_15.sce | clear;
clc;
Zo=400;ZR=200-(%i*100);lo=3; //lo=wavelength
//value os Zo as taken in solution
K=(ZR-Zo)/(ZR+Zo);
ampK=abs(K);
phi=%pi + atan(imag(K)/real(K));
Ls=(lo/(4*%pi))*(phi+%pi-acos(ampK));
printf("Shortest distance from the lead to the stub location = %f metres\n",round(Ls*100)/100);
Lt=(lo/(2*%pi))*(ata... |
489b609d9f647c4659cddd40bc5446c06cdbb312 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/qscatter/tdl.sce | a2f3ddc1acc3f9cbb33825fe08f04f6faf31a156 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | tdl.sce | function [tdl]=tdl(u1,u2,r1,r2,l,k)
//calculate phase shift of partial waves tand deltl
kk=(r1*u1)/(r2*u2);
tdl=(kk*besselj(l,k*r1)-besselj(l,k*r2))/(kk*bessely(l,k*r1)-bessely(l,k*r2));
endfunction
|
5e8e39153aa7890a701b6602ca48537e1df68c73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH8/EX8.1/8_1.sce | 5eacaece2aa078b60b32604a9014fba7a7b4070c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | 8_1.sce | //Example 8.1
//Simpsons 1/3rd Rule
//Page no 264
clc;clear;close;
a=0;b=5;n=10;h=(-a+b)/n
for i=1:n
if i==1 then
x(1,i)=a
else
x(1,i)=x(i-1)+h
end
y(1,i)=1/(4*x(i)+5)
end
disp(y,"f(x) = ",x,"x = ")
S=0;
for i=1:n
if(i==1 | i==n)
S=S+y(1,i)
elseif(((i)... |
703dd7aff3f8dc591278e6d76cd366bcea02c361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.8/Example_a_7_8.sce | 4aed6b51455eec99fddae8ba95ce164dfb4839e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | Example_a_7_8.sce | //Example_a_7_8 page no:276
clc;
I1mag=50/6.7;
I1ang=0-26.56;
I2mag=80/6.7;
I2ang=90-26.56;
I1real=I1mag*cosd(I1ang);
I1imag=I1mag*sind(I1ang);
I1=I1real+(%i*I1imag);
I2real=I2mag*cosd(I2ang);
I2imag=I2mag*sind(I2ang);
I2=I2real+(%i*I2imag);
I=I1+I2;
//calculating the required current values
Imag=sqrt(rea... |
7af1230a0475e4fe1c5f3aa3d1ce9efc3b87a554 | 203811c2233e8539e9c88a0c988b651914c07c97 | /130040019_assignment3/code/q2.sce | 69711a8ed1ba1b72926777bd826329308ccd6a4c | [] | no_license | kalpeshpatil/SpeechProcessingAssignments | eeef26f925e137f045cfef996b1bcf59a1be3902 | f80137d2c55a249244a79b5aed13b9ddeb20a80b | refs/heads/master | 2021-01-10T23:31:37.828701 | 2017-03-09T08:58:18 | 2017-03-09T08:58:18 | 70,431,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,506 | sce | q2.sce |
clear all
//Function to calculate filter response using difference equation
function [y]= time_response (x,num,den)
n_samples = length(x);
y = zeros(n_samples,1)
//numerator is constant (all pole filter)
y(1) = num(1)*x(1)
k = num(1)
//response by taking coefficients for denominator
... |
6508edd3bdac73e96b3397bced4dcf59a576e457 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH8/EX8.1/8_1_Theoretical_Problem.sce | 0b95efe7ae1eacc7d48ef669157909d92ac57277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 8_1_Theoretical_Problem.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 8.1 Page 494 \n')// Example 8.1
//Theoretical Problem
printf('\n The given example is theoretical and does not involve any numerical computation')
//End
|
e776567830de7381e28442f60fca56f5f87f4090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH12/EX12.6/12_6.sce | 22cf8006b2ee37e4c0e22e9b23be1f64f2a040fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | 12_6.sce | clear//
//Variables
T = 398.0 //Temperature (in kelvin)
I0 = 30 * 10**-6 //Reverse saturation current (in Ampere)
V = 0.2 //Voltage (in volts)
//Calculation
VT = T/11600 //Volt equivalent of temperature (in volts)
I = I0 * (exp(V/VT)-1) ... |
50cd03143e4c36f369a74aea9468f9096ef7b2cb | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/legacy.tst | 8a4834d60bebcff1e21990131152db65a9c4f4c6 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 2,319 | tst | legacy.tst | ## Legacy-ID pattern-matching
set testmode
read <<EOF
blob
mark :1
data 78
This is a test repository intended to exercise different forms of legacy IDs.
commit refs/heads/master
mark :2
author Eric S. Raymond <esr@thyrsus.com> 1354426675 -0500
committer Eric S. Raymond <esr@thyrsus.com> 1354426675 -0500
data 45
An exa... |
96ddc037ac5430542622a02a9b8032e83be098c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH8/EX8.4/Ex8_4.txt | e1a3590db2ba0bc256ac2b3eadd95218cfefa131 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | txt | Ex8_4.txt | //Caption:Calculate (i)-electron velocity,(ii)-dc transit time, (iii)-input voltage for maximum output voltage,(iv)-voltage gain in dB
//Exa:8.4
clc;
clear;
close;
V_o=900;//in volts
I_o=30*10^-3;//in A
f=8*10^9;//in Hz
d=0.001;//in m
l=0.04;//in m
R_sh=40*10^3;//in ohm
v_o=0.593*10^6*sqrt(V_o);
T_o=l/v_o;
... |
603fa2543f729d2ab1a9b3bc9a43ae35ace77939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.32/3_32.sce | c1b871e4280aa1aacd01a946cf5b24f5fcfce961 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | 3_32.sce | L=0.2
R=50+30
iL_0m=100/50
iL_0p=iL_0m
iL_inf=0
T=L/R
t=10/1000
iL_10=iL_0p*exp(-t/T)
disp(iL_10)
t1=-T*log(0.5*iL_0p/(iL_0p))
disp(t1) |
47e4e5ee3295b1cecd7d009f5f8b98b29c0d7f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH5/EX5.13/exa_5_13.sce | 7edfa62be14d63e43b8b9fea741e76d8dbfd7a94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | exa_5_13.sce | //Exa 5.13
clc;
clear;
close;
//given data
Cp=0.138;// in KJ/kg-K
m=8.33;// in kg/sec
Pr=0.0238;
k=8.7;// in W/mk
d=1.5*10^-2;// in m
miu=1.5*10^-3;// in kg/ms
Re=4*m/(%pi*miu*d);
Pe=Re*Pr;
// Nu = h*d/k = 7+0.025*Pe^0.8
h= (7+0.025*Pe^0.8)*k/d;// in W/m^2 degree C
disp(h,"Heat transfer coefficient in ... |
9a3666d552472e5804fe06e3a1cbd5b33cff823f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.1.b/2_1_soln.sce | 0137924c2e5c6420787ee4f2fce368f340136a81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 2_1_soln.sce | clc;
pathname=get_absolute_file_path('2_1_soln.sce')
filename=pathname+filesep()+'2_1_data.sci'
exec(filename)
// Solutions:
// we know acceleration due to gravity,
g=32.2; //ft/s^2
W=(m*g);
// Results:
printf("\n Results: ")
printf("\n The weight of Body is %.0f lb.",W)
|
1b2e403360a8b809fd73dbf76ca998b3a2dec577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH13/EX13.4/Example_13_4.sci | d37deaff6cf3240b1cc239cbef51c7856ebe6b58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sci | Example_13_4.sci | clear all;
clc;
printf("\n Example 13.4");
diameter = [2 3 4 5 6];
number = [30 120 200 80 20];
function[x] = Sum_d1cube()
sum = 0;
i = 1;
while (i <= 5)
sum = sum + number(i)*(diameter(i))^3;
i = i+1;
end
x = sum;
funcprot(0);
endfunction
function[y]=sum_d1squ... |
e59abebb97fbc734564f13ea4ce286cd877c061a | e39063f3e6256f4470a2df355d6b9fd1200d5597 | /src/OracleDH.sci | d1475c8be025c980ddcbd90d10082b2aac080ef7 | [] | no_license | Tong-ZHAO/tp_optimisation | be2f63729c6cbbfc47d073264498852caf84fd71 | 453d2165724279bd5a9056af1641fb4dae631d2e | refs/heads/master | 2020-05-20T23:02:31.929003 | 2017-05-06T12:34:34 | 2017-05-06T12:34:34 | 84,541,592 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sci | OracleDH.sci | function [F, G, H, ind]=OracleDH(lambda, ind)
Cl = - (Ad' * lambda + Ar' * pr) ./ r;
ql = sign(Cl) .* sqrt(abs(Cl));
dc = - (1 ./ sqrt(abs(Cl))) .* (1 ./ r);
F = 0;
G = 0;
H = 1;
if ind == 2 | ind == 3 | ind == 4 then
[F G] = OracleDG(lambda, ind);
return;
elseif ind == 5 then
H = - Ad ... |
dd596c857c78622a3d8c806f0588e7e72bd75907 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.5/5.sce | eae6120e8762651b5b50ec964fca07f61efb4806 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 5.sce | clc
clear
//input
n=10 //number of rounds
B=2*10^-2 //flux density
a=5*10^-4 //areaof cross section
t=10//time
//calculation
c=n*B*a //change in flux
emf=c/t //induced emf
//output
printf("the flux changed is %3.3e Wb ",c)
printf("\n the induced emf is %3.3e V",emf)
|
87dca8deb6e4fe5788e842982457346a98688982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.22/Ex12_22.sce | 85d44e75f5d1f0e64522f2bf39e35ca1a435c145 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex12_22.sce | clear
//Given
e=1500 //V
dl=3 //A
dt=0.001 //s
//Calculation
M=(e*dt)/dl
//Result
printf("\n Mumtual induction between the two coils is %0.3f H", M)
|
74b8caa7f0c544af2815b1c3abf4bbf18c9404c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH1/EX1.10/Ex1_10.sce | 7fab056c6b9794879d01709c3ef974c1ef3a0b64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,649 | sce | Ex1_10.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 1 : REVIEW OF ELECRTIC CIRCUITS
// Example : 1.10
clc;clear; // clears the console and command history
// Given data
V_AN = 200 // voltage in V
Z = 3+%i*4 // impedance in Ω
// caclulations... |
85d769b23a9ca48f22f4e918cdfa222483575b67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.10/6_10.sce | a03008e298295be8c87f95a5e5bcce8bdbcb551f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 6_10.sce | //clc();
clear;
//To calculate the angle at which third order reflection can occur
n=3; //diffraction order
lambda=0.79*10^-10; //wavelength in m
d=3.04*10^-10; //spacing in m
theta=asind((n*lambda)/(2*d));
printf("braggs angle in degrees is");
disp(theta);
|
7e248c4a1c7cebdcd51b174cc8df27603fa79517 | 7d080f5a520b49242d8d5d362be8378358f324b5 | /inverse.sce | 3480ca8d7ab81c081ba2978d7f86a1afa7dfbb0f | [] | no_license | pradyumnaym/LA_Algos | 1d4cc539b531ffaea88ceb475ca3c4b59318270a | 561df9e8b2d706927c735f2b2e30db9ff1a45ade | refs/heads/master | 2020-12-29T16:50:23.235497 | 2020-02-06T11:41:10 | 2020-02-06T11:41:10 | 238,675,439 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,130 | sce | inverse.sce | n = int(input("Enter n Of the matrix for GE: "));
A = zeros(n,n);
A=zeros(n,n);
B=eye(n,n);
inver=zeros(n,n);
disp("Name: Pradyumna YM")
disp("SRN: PES1201700986")
A=input("Enter The Matrix")
for i=1:n
if(A(i,i)==0)
for j=i+1:n
if(A(j,j)~=0)
A([i j],:) = A([j i],:)
... |
c7b18b89f3a017226b25f9c5713f1a0e3094f592 | 31cc146b7597c1571ad100fc4dd888898b1b4eb0 | /topology/dijkstra2.sce | 12e3d6aa8d1c6dcaec6ee21a034b01bb76223f5e | [] | no_license | rigid1980/gpp_scilab | a525ae046722e7ba52ebea6003ce712b51631ff6 | fadb75dea26cf341e6dc60874efd88c016df4f3b | refs/heads/master | 2016-09-11T08:37:44.538715 | 2014-03-26T08:37:35 | 2014-03-26T08:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | dijkstra2.sce | function [distance,previous] = dijkstra2(graph,source)
nv = size(graph,1);
distance = inf*ones(nv,1);
distance(source) = 0;
previous = zeros(nv,1);
heap = BinaryHeap(nv);
for i = 1:nv
heap = heap.add(i,distance(i));
end
while heap.sz
[heap,u,p] = heap.remove();
[~,J,V] = find(graph(u,:));
for i =... |
90a5ffcfc1578773ce7d5522c7a99d18b357ee7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH4/EX4.2.1/4_2_1.sce | 8c63f39ab09fc80ece0229379a3ef15a8e93159d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | 4_2_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 4
//Example 4.2-1
//Principles of Steady State Heat Transfer
//given data
//si units
//nomenclature of unmentioned specifications similar to previous example
k=0.151;
T1=274.9;
T2=297.1;
r1=5/1000;
r2=20/1000;
L=1;
A1=2*3.14*L*r1;//area of i... |
a76e83160dfe99128c04b8ec4a8f00ae48ca8cb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH13/EX13.4.2/13_4_2.sce | 196805817bd3adca9c1f5f81b32ba047f47073f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 13_4_2.sce | clc
//initialisation of variables
w= 2 //ft
F= 3
d= 2 //ft
g= 32.2 //ft/sec^2
w1= 62.3 //lbf/ft^3
//CALCULATIONS
r= 0.5*(sqrt(1+8*F^2)-1)
y1= w/r
dy= w-y1
h1= dy^3/(4*w*y1)
u1= F*sqrt(g*y1)
W= w1*y1*u1*d*h1/550
//RESULTS
printf (' Horse-power dissipated = %.2f h.p',W)
|
3983e1270a4fcff2d6428b8204e3ff171b34164a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.3_7.tst | 8313876231527ec8851f40956a5ef8e60a95726b | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 696,960 | tst | 5.3_7.tst | 3 607:1 773:1 1356:1 1364:1 1375:1 1420:1 1454:1 2058:1 2339:1 2983:1 3008:1 3028:1 3112:1 3222:1 3334:1 3389:1 3390:2 3763:1 4091:1 4176:1 4190:1 4293:1 4582:1 4875:1 4925:1 5061:1 5303:1 5321:1 5523:1 6018:1 6257:1 7244:1 7418:2 7693:1 7715:1 8134:1 8692:2 9305:1 9306:1 9326:1 9467:1 9605:1 9607:1 9752:1 10086:1 1009... |
62933939d3922cb52e779bed466613929a04daf0 | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.5/Ex8_5.sce | 52b22ec32d2d0ec63800f273389ee7e4320775d9 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,597 | sce | Ex8_5.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 5
disp("CHAPTER 8");
disp("EXAMPLE 5");
//200 V shunt generator
//VARIABLE INITIALIZATION
v_t=200; //in Volts
I_l=50; //in Amperes
r_a=0.1; //armature resistance in Ohms
r_f=100; //field resistance in O... |
cc4371b0cd0b3e6be578f28d278471d8c87a1eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH7/EX7.6/Ex7_6.sce | 5af78cbf3596d8e0f506f5e0081c3f5af623f58b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,180 | sce | Ex7_6.sce | //CHAPTER 7 ILLUSRTATION 6 PAGE NO 202
//TITLE:GOVERNORS
//FIGURE 7.9
clc
clear
//===========================================================================================
//INPUT DATA
g=9.81// ACCELERATION DUE TO GRAVITY
OA=.30// LENGHT OF UPPER ARM IN m
AC=.30// ... |
299fa9051a084de23d6d9d6aa8be9555900f52d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH8/EX8.15/Ch08Ex15.sce | 2ee0308d58dbc482137e05507204a35fe135423d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | Ch08Ex15.sce | // Scilab code Ex8.15 : Pg:337(2008)
clc;clear;
function [bini]= decimal_binary(ni) // Function to convert decimal to binary
bini = 0;
i = 1;
while (ni <> 0)
rem = ni-fix(ni./2).*2;
ni = int(ni/2);
bini = bini + rem*i;
i = i * 10;
end
endfunction
function [deci]... |
3dbb67f5b18ca3cff65aaef0ee7660c42650e817 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH9/EX9.1/PLLA_Ex_9_1.sce | f799e52ecec2e5553ecaa9481fe932ba0a58e083 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | PLLA_Ex_9_1.sce | clc
//chapter 9: Stability Analysis
//Example 9.1 page no 357
//given
Kv=50//DC gain
wL=100//corner frequency
disp('The system crossover frequecny is approximately 50 rad/s')
PhaseMargin=90-(atan(50/wL)*180/%pi)//phase margin of system
disp('At this frequency the phase shift of the open loop transfer function i... |
2363f0951cdfd5580aad8173834cce52e6176f68 | c89c3eb73e1c7b9f26076ad36749b4fd9ee2a69d | /My Implementations/INV.tst | dbaaeb707527aeed0599d9bc84ecb46432765201 | [] | no_license | gvela024/Elements-Of-Computing-Systems | cef0f824a4ca775ff7d2353a49c6510134db83da | 65a2b40979439b0d77e6fab1b3faa4b1a78ddd03 | refs/heads/master | 2021-01-22T03:13:48.244660 | 2015-12-26T00:53:51 | 2015-12-26T00:53:51 | 41,272,979 | 0 | 0 | null | 2015-11-11T22:27:40 | 2015-08-24T00:17:59 | Assembly | UTF-8 | Scilab | false | false | 202 | tst | INV.tst | load INV.hdl,
output-file INV.out,
output-list in0 out0;
set in0 0, set in1 0, eval, output;
set in0 0, set in1 1, eval, output;
set in0 1, set in1 0, eval, output;
set in0 1, set in1 1, eval, output;
|
7bdd26f305c433668e19d2c399bcbc99e18f50c2 | 3ed5a52e0f80c733ece42755e2e0466d187450b2 | /23.sci | 25b2ad446b203303b2147ae8826e439b3a500cdb | [] | no_license | manasa-0107/scilab | 6dffe21b42194039feaefab95df5cf6a5b1a643d | 83fcf498583d4ec7e23b2347f64e9871dfa31bc4 | refs/heads/master | 2020-12-02T18:16:19.942360 | 2017-07-07T06:12:19 | 2017-07-07T06:12:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sci | 23.sci | function y=exp1c1(z)
t=-%pi:0.0001:%pi;
ts=-0.446.*(t-3);
y=3.*cos(ts).*exp(-ts/10).*(ts>0);
plot(t,y)
endfunction
|
ee1539dbd34e90f297b9a537b5905568e5c59f4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.4.1/1_4_1.sci | 6df19a5772d0150cf887324381ba3e2100eeff55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sci | 1_4_1.sci | clear ;
close ;
clc ;
A=[2 3;4 0];
disp(A,'A=');
B=[1 2 0;5 -1 0];
disp(B,'B');
disp(A*B,'AB=')
//end |
4edfb00e9c42c702aadf07091a9d0e703fdc3381 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-7.tst | e02394579c32b4ad0b1ed3093bccf68c40a83e4a | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | tst | test1-7.tst | main
var a, b, c, d, e, f;
{
let a <- 22;
let b <- 33;
let c <- 44;
let d <- 55;
let e <- 66;
let f <- 77;
let a <- a + call inputnum();
let b <- b + a;
let c <- d * b;
let d <- c / a;
let e <- a + b + c + d * 22 - 18;
let f <- 86 / 22 + a;
if a != b then
if b != c then
if c != d t... |
455a1d22d350a41a86a59708880f0547b847ac87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.11/4_11.sce | 61973a02f07323df2ad1925c8c04fd3707612ff5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | 4_11.sce | T=320;//47C in kelvin//
R=8.31*10^7;//Universal gas constant in erg per degree per mole//
M=32;//molecular weight of O2 in gram per mole//
C2=(3*R*T)/M;//mean square velocity of Oxygen in (cm/sec)^2//
Crms=sqrt(C2);//Root mean square velocity of Oxygen in cm/sec//
printf('Root mean square velocity of Oxygen=Crms=%... |
ffe60aff004e1b0fe1dd723fad820526a5b83cfe | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_17.tst | 1154e265eb58c3b581beb521d67b6066b9d8c210 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 499,492 | tst | 5.7_17.tst | 7 363:1 431:1 594:1 1379:1 1684:1 1900:1 2097:1 2238:1 2444:1 2479:1 2511:1 2612:1 2617:1 2775:1 3154:1 3252:1 3271:1 3440:2 3825:1 3905:1 4391:1 4952:1 5301:1 5309:1 5432:1 5570:1 5729:1 5750:1 5751:1 6913:1 7365:1 7399:1 7720:2 8296:1 8935:1 9028:1 9051:2 9539:1 9569:1 9595:2 10125:1 10364:1 10419:2 11311:1 11630:1 1... |
cd0490fb4265a1c33c29f76e5c4b6621b8ae0bf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH8/EX8.01/8_01.sce | cddb2de1f3cf8bb37eeb04a0c1bbc696c293b991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | 8_01.sce | //Leakage flow rate//
pathname=get_absolute_file_path('8.01.sce')
filename=pathname+filesep()+'8.01-data.sci'
exec(filename)
//Leakage flow rate (in mm^3/sec):
Q=%pi/12*D*a^3*(p1-p2)*10^3/u/L
//Velocity of flow(in m/sec):
V=Q/%pi/D/a/1000
//Specific gravity of SAE 10W oil:
SG=0.92;
//Reynolds Number:
Re=SG*d... |
5a48651d9cce829e2a978c685b0ad2ca570768b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.11/Chapter5_Exampl11.sce | 6990a0f42ac9a6a59a81483683685a4f2770f853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Chapter5_Exampl11.sce | clc
clear
//INPUT DATA
nv=0.8;//volumetric efficiency in percentage
vc=3;//clearence volume in litre
p2=8;//air compressor pressure in bar
p1=0.98;//air compressor pressure in bar
//CALCULATIONS
vs=12.085/(1-nv);//stroke volume in m^3
d=((vs/1000)*4/3.14)^(1/3);//cylinder length in m
//OUTPUT
printf('(i)... |
3a5131f8f5c7bc4b8fc7f432ed32f1174098166d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3622/CH8/EX8.3/Ex8_3.sce | a6d126409afecae55be8f618a20a4074fac03183 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex8_3.sce | //Initialisation of variables
clc
n=4//number of atoms in a cell for copper
//APF=n*4*%pi*r^3/(a^3)
APFCu=4*4*%pi*2*sqrt(2)/(4*16*4)
printf('APF for copper is %f \n',APFCu)//correction
r=0.98//armstrom
R=1.81//armstrom
APFNaCl=((4*4*%pi*r^3/3)+(4*4*%pi*R^3/3))/((4/3)*(2*r+2*R)^3)
printf('APF for NaCl is %f \... |
dc5cae0073b992aafeefc7c1934f7bf3b63abc6f | 6bd47868c9c7b3e9469b27f60a4757816a62060b | /Penyelesaian Persamaan Linear/gauss.sci | e5cf7ff2ef581db5384bc924a01980ddf549ee31 | [] | no_license | fahrioghanial/Program-Metode-Numerik | 555401132e47516ff38ab7d38e1056c16e45ab1a | 83cfe9144c72a3adbabbe71923f32ab6209b02e8 | refs/heads/master | 2023-02-28T16:14:24.353765 | 2021-02-04T08:04:46 | 2021-02-04T08:04:46 | 335,882,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sci | gauss.sci | /*
Mohamad Fahrio Ghanial Fatihah
140810190005
*/
function gauss()
clear;
clc;
printf('\nProgram Penyelesaian SPL dengan Metode Eliminasi Gauss\n')
printf('Ubah SPL menjadi matriks [A][X]=[H]\n')
printf('Masukkan SPL dalam bentuk matriks\n');
A = input('Masukkan elemen matriks A : ');
H = input('Masukkan eleme... |
1ec732112bd3cd95a83335bb24e85776fbadf8ba | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sistema_linear.sce | a7444ee1c0c000364bb0df06c8d29e85b70f944a | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | IBM852 | Scilab | false | false | 752 | sce | sistema_linear.sce | mode(7);
// Sistemas lineares
// definindo-se um sistema linear por matrizes de espašo de estados
A=[0 -1;1 -3]; B=[0;1]; c=[-1 0];
Sys = syslin('c',A,B,C)
Sys.A
Sys.B
// transformacao para funcao de transferencia
hs = ss2tf(Sys)
hs.num
hs.den
// define a variavel dos polinomios
s=poly(0,'s')
// define os ... |
82df8f830656fd1c6b1b140bdc024106f0934187 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH17/EX17.1/17_1.sce | 0f1ade26685fb366c84524ab93f1750991c3f7d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | 17_1.sce | clc
//initialisation of variables
clear
s= 1.771*10^-4 //mole litre^-1
s1= 0.3252*10^-2 //mole litre^-1
//CALCULATIONS
S= s*10^(0.509*(sqrt(s+s1)-sqrt(s)))
//RESULTS
printf ('Solubility = %.2e mole litre^-1',S)
|
2539ceb185375965e01d54bd5f3a2a7d3060b2a6 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG06.prev.tst | 2cad38f6a60c69e3c0d614b991eee1a969becdbf | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,386 | tst | PG06.prev.tst | /* Generated at yyyy-mm-dd hh:mm by
java -cp dist/ramath.jar org.teherba.ramath.ProgramGenerator -w 3 -l 3 m2euclid
Do N O T edit this file, but ProgramGenerator.java instead!
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int reslines = 0;
printf("#---> start of resu... |
4dc07a98fbcc712678cbd1443d658a9e75ab4bee | 2168897ebc4ea13e8fa2db918d3c60456c48cf2f | /PokerFace/Scripts/generated/Commands.tst | 665e8b0c05957a004a6d6e30152b61acac05a148 | [
"MIT"
] | permissive | nativecode-dev/pokerface | de19a71393a0758ce547d2eaf1e744f9ad03b725 | df0b8712603614488002ffed72640df186526bf8 | refs/heads/master | 2021-07-07T12:25:18.137758 | 2017-09-28T17:49:51 | 2017-09-28T17:49:51 | 104,814,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,587 | tst | Commands.tst | ${
using Typewriter.Extensions.Types;
Template(Settings settings)
{
settings.OutputFilenameFactory = file => {
return $"commands/{file.Name.Replace(".cs", ".d.ts")}";
};
}
string ClassName(Property property)
{
return property.Type.ClassName();
}
st... |
e446bc46a7c6b6272e1317e69bd7ccae1bf454eb | 05b2bd67239938195f6ea021fd482c06f69c9145 | /Codebook 1erParcial.sci | 1f17a61db7ea13dac5b152d4d143e10a8d988ec8 | [] | no_license | ZimmSebas/Metodos | 213aa8af793726409cf0346c3315663aa59ae835 | 5fb6f28413064194ae8f625da48914b471bb50f7 | refs/heads/master | 2020-03-31T15:18:35.349807 | 2019-12-21T23:19:21 | 2019-12-21T23:19:21 | 152,331,779 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,334 | sci | Codebook 1erParcial.sci | //Codebook de Scilab!
//Indice
//1ra parte: Derivadas y Polinomio de Taylor.
//dkf(x) siendo k el numero de derivada de f(x), deriva k veces a f en x
//misraices(p) Función que calcula raices de polinomio p de grado 2
//Horner(arr,x) algoritmo de horner para expresar el resultado de un polinomio en x. Toma un arr de ... |
3e7cd683f079472c38ec3eeec842392b1997709f | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/XN24TFZ/ATWM1_Working_Memory_MEG_XN24TFZ_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 5fcab40351e1e1924c76e9b8dafffc0f77765aca | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
e33431bd20abc9d81405b6dd9b1c14c9d13b4622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.13.u1/Ex5_13_u1.sce | c94889846c16c58b218e4cfb17251f6a42074f5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,164 | sce | Ex5_13_u1.sce | //Example 5_13_u1
clc();
clear;
//To determine the crystal structure and indices of plane and lattice parameter of the material
theta21=20.7 //units in degrees
theta22=28.72 //units in degrees
theta23=35.36 //units in degrees
theta24=41.07 //units in degrees
theta25=46.19 //un... |
b809c01e810aa0f32ae396c7d62f5c0720eb0c68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH3/EX3.13/Exa3_13.sce | ec9a5976f372cc70d358eeae9e058766839b2d7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Exa3_13.sce | //Exa:3.13
clc;
clear;
close;
V_dc=220;//in volts
V_a=250;//average load voltage (in volts)
R=10;//in ohms
alpha=1-(V_dc/V_a);
I=V_a/R;
disp(I,'Average Load Current (in amperes)=')
disp(alpha,'Firing Angle (in degrees)=') |
e519c832499ce17d924db1bf54d4a95581d2408a | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /ALU8/ALU8.tst | 88aea1d39f77fd498bb238287ec054566f2db11f | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,833 | tst | ALU8.tst | /*
* @Sathvik Team11
*
* Test file for ALU8
*
* Testcases for
*
* NOP
* AND
* OR
* XOR
* Unsigned Addition without overflow
* Unsigned Addition with overflow
* Signed Addition without OverFlow
* Signed Addition with OverFlow
* Unsigned Subtraction without overflow
* Signed Subtraction without overflow... |
fc011afb901eb70f70afa4ba022785c123fdb529 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH3/EX3.4/Ex3_4.sci | c973cba999bd7681f42d57825f569b3eb391203e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sci | Ex3_4.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 3.4
clc;
clear;
s=poly(0,'s')
// the input is unit step signal
h=syslin('c',100/(s^2+10*s+100))//the value of k is 100
k=100
zeta=0.5//given damping ratio
disp(k,'th... |
41e1376a3fc3b03419c1c5b34ae7f4e8e408c7a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH13/EX13.1/example_13_1.sce | 748138053abb8a34e0c94cfccb1f949d97e0c1b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | example_13_1.sce | //Chapter 13
//Example 13.1
//Page 341
//Zones
clear;clc;
disp('Solution to this problem can be got by theory from Section 13.2 in the textbook')
|
1201848bdeee9cb476422094d1087d3fe0861e04 | 8423ca9ce33d0d3ba30dc05b86e8241e4894d0af | /Crout.sci | aa08fe66ac1c766409da6537d4ee4008b2da7c85 | [
"MIT"
] | permissive | fbarrueta22/TAP-1 | b99581dab6414d93988b708d61ac7e5e6610a6e5 | 61324322191684285df528149c7829b8cfe3dc5f | refs/heads/master | 2022-04-25T18:44:31.343068 | 2020-04-18T17:22:50 | 2020-04-18T17:22:50 | 256,637,464 | 1 | 1 | MIT | 2020-04-18T17:22:51 | 2020-04-18T00:22:58 | Scilab | UTF-8 | Scilab | false | false | 663 | sci | Crout.sci | function ans = Crout(A)
// Obtener dimensiones de la matriz
[m, n] = size(A);
// Comprobar que sea cuadrada
if( m ~= n ) then
error("La matriz debe ser cuadrada")
end
// L se inicializa como una copia de A
L = A
// U se inicializa como una matriz ... |
64ff9148bbaeece99d88e37abb003df85db22934 | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/14-highlighted_issue.tst | f01b547450bb27ae4d4585a1bed1e83cbab5b9cc | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | tst | 14-highlighted_issue.tst | {
"EGXT 181339Z 1815/1818 30006KT 9999 SCT035": {
"Known cloud failure": {
"metar": "EGXT 181450Z 27006KT CAVOK",
"test time": "20200618T1500Z",
"expected": ""
}
},
"description": "Tests for cases highlighted as failing."
}
|
5d2aec5a7de564f2f4d33e0a9775651c2325025c | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_06_example.sci | b2acfd1881124dd8d784e4c63f65982b6f7f5450 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sci | 6_06_example.sci | //Example 6-6 Decelaration of a Spacecrafe
m_spacecraft = 12000 //mass of spacecraft [kg]
V_spacecraft = 800 //velocity of spacecraft [m/s]
m_gas = 80 //mass flow rate of gases [kg/s]
V_gas = 3000 //relative velocity of gases with spacecraft [m/s]
deltat = 5 //period of motion of gases [s]
beta1 = 1 //momentum flux cor... |
e96d53461df0229391fd8e78fa7ade43efb70fcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH17/EX17.13.b/17_13_b.sce | a9cdda7839f7fba1e207901b41b6b285ee015e40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 17_13_b.sce | clc;
//page no 660
//prob no. 17.13.b
c = 3*10^8;
tp=10^-6;//pulse duration of pulse radar
f=10^3;//operating freq in Hz
//The maximum unambiguous range is
Rmax=c/(2*f);
disp('m',Rmax,'The maximum range is ');
//The minimum unambiguous range is
Rmin=c*tp/2;
disp('m',Rmin,'The minimum range is '); |
5f5a4f985b4d1767d4ae54cb260ff016461eea75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.3/example_9_3.sce | e0e17913134b3da2f405733ab7b033f5b5daf800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sce | example_9_3.sce | //magnitude condition for GH=K/s*(s=2)*(s+4)
s=-0.75
k=-s*(4+s)*(2+s)
disp(k) |
1afffc4e7bcfe0fbd4e1ea0454896386c1fb075d | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/strtol.tst | 34d5d2fe8cd17517d656c17b1c2aee21a901b973 | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 31,901 | tst | strtol.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r str... |
62e6fb2da33c29c8d206dcbe368977b48a0ed38b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH11/EX11.4/11_4.sce | 2d3cb2257f2013e492d4be2b44f3836afd099d08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | 11_4.sce | clear;
clc;
Za=%i*300;Zc=-%i*700;
Zoc1=Za+Zc;
Zsc1=Za;
Zoc2=Zc;
Zsc2=(Za*Zc)/(Za+Zc);
Zi1=sqrt(Zoc1*Zsc1);
printf("-Image impedance Zi1 = %f ohms\n",round(Zi1));
Zi2=sqrt(Zoc2*Zsc2);
printf("-Image impedance Zi2(in ohms)= %f ohms\n",round(Zi2));
Zt1=(Za/2)+(sqrt((Za*Za/4)+(Za*Zc)));
A=real(Zt1)
B=imag(Zt1)... |
9076aa50d16a54f905bd417faa050d35fa046934 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH34/EX34.1/Ex34_1.sce | ddfe033f3b90805709292eb5fc2fcab2b3324aa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | Ex34_1.sce | clc;
//e.g 34.1
VL=100*10**-6;
VS=5;
LR=VL/VS;
disp('microV/V',LR*10**6,"LR=");
|
f4d3cd7b3df50cf406bae1ebe2669cc60b2fd15f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH31/EX31.2/312.sce | 52a8bd756225d6f2ba2890ec6c93bae3a8e917af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | 312.sce | clc;
//Example 31.2
//page no 492
printf("Example 31.2 page no 492\n\n");
//the vapor pressure p' for a new synthetic chemical at a given temperature
t1=1100//assume intial actual temperature,k
T1=t1*1e-3//temperature,k
printf("\n T1=%f k",T1);
f1=T1^3 -2*T1^2 + 2*T1 -1//function of T,f(T)
f_d1=3*T1^2 -4*T1 + ... |
96a4a84d1edd67062aa9c2be135d839bab0f26b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/6_06.sci | 6a0015e66a339eef91bec1c48e6e7f47a299beab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sci | 6_06.sci | //Speed of plane(in km/hr):
V=150;
//Speed at point B relative to the wing(in m/sec):
Vb=60;
//Density of air(in kg/m^3):
da=1.23;
//Atmospheris pressure(in N/m^2):
pa=1.01*10^5;
//At 1000m,
//p/pSL:
P1=0.8870;
//d/dSL:
D1=0.9075;
|
ee00aeb6573a30b7829496bcbb115bd7ea128e4c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_14.tst | 830da223ca39240d0dd26de81b2b23cec4583d98 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,490 | tst | bow.15_14.tst | 15 1:0.06896551724137931 15:0.3333333333333333 19:1.0 20:1.0 21:1.0 33:0.4 212:1.0 222:1.0 256:1.0 293:0.5 388:1.0
15 5:1.0 8:0.05555555555555555 15:0.3333333333333333 47:1.0 63:1.0 133:1.0 165:0.5 199:1.0 673:0.25 1065:1.0 1175:1.0
15 5:1.0 8:0.05555555555555555 15:1.0 17:0.14285714285714285 20:4.0 47:1.0 55:1.5 91:0.... |
74afa0ba3370a594f84c510166b1ad547cfd161e | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH12/EX12.1/example_12_1.sce | e5a00712a6c78e643731a3d8cdf1ffe6f7432902 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,966 | sce | example_12_1.sce | //Chapter 12
//Page 308
//Example 12.1
//1phasetogroundfault
clear;clc;
//Given
P = 20e6;
V = 13.8e3;
P_b = 20e6;
V_b = 13.8e3;
Z1 = %i * 0.25;
Z2 = %i * 0.35;
Z0 = %i * 0.10;
a = 1 * (cos(120 * %pi / 180) + %i * sin(120 * %pi / 180));
//Calculations
Ea = V / V_b;
Ia1 = Ea / (Z0 + Z1 + Z2);
Ia2 = Ia1;Ia0 = Ia1;
Ia = 3 ... |
a353aff3d07c45f9d5e2a6bdccb1ddfeb439d272 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.19/Example_a_7_19.sce | 798fb7b1a407191a583fd973cdb43f9f9537a1e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Example_a_7_19.sce | //Example_a_7_19 page no:285
clc;
i=((100/(4+%i*10))-((5*4*%i)/(4+%i*10)));
Voc=100-(4*(3.55-1.48*%i));
Isc=25+50*%i;
Zth=Voc/Isc;
Z=conj(Zth);
disp(Z,"the value of load that will receive maximum power is (in ohm)");
I=Voc/(Zth+Z);
Imag=sqrt(real(I)^2+imag(I)^2);
P=Imag^2*real(Z);
disp(P,"the maximum power d... |
d6c5c74a5544f81a5b7641527ce9734714415f37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH17/EX17.7/SCB_7.sce | b58f1f462791159d60a170565623727f38906f31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | SCB_7.sce | //sum 17-7
clc;
clear;
//let number of pads be n
n=4;
W=100*10^3;
Ro=125;
Ri=50;
t=200;
ho=0.15;
pi=2*W*log(Ro/Ri)/(%pi*(Ro^2-Ri^2));
zk=(0.22*t)-(180/t);
// specific gravity is rho
rho=0.86;
z=rho*zk;
u=z/(10^9);
Q=%pi*pi*ho^3/(6*u*log(Ro/Ri));
Q=Q*60/10^6;
// printing data in scilab o/p window
... |
a688906233af740a76fca4346d80c2e6dd5fcb8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.1/ex_4_1.sce | 5920efe67ede697e5dfa0a26d57a448fa06201ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | ex_4_1.sce | // Example 4.1
clc;
clear;
close;
// Given data
I_C= 0.9;// in mA
I_E=1;// in mA
alpha = I_C/I_E;
disp(alpha,"Current gain is : ")
// Formula I_E= I_B+I_C
I_B= I_E-I_C;// in mA
disp(I_B,"The base current in mA is : ")
|
fced8fb90f804edb696175448fdcf56e3309c8ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH27/EX27.8/Ex27_8.sce | a3e9cc97a977e93fedf39e239703902f59ea73de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex27_8.sce | //Example 27_8
clc();
clear;
//To calculate the decay constant and half life of substance
n_no=0.9 //Units in constant
t=12 //Units in h
lamda=log(1/n_no)/t //Units in h^-1
t1=round(0.693/lamda) //Units in h
printf("The decay constant is lamda=%.7f h^-1\n The Half life is t0.5=%d h",lamda,... |
6a71bcecf6d427e6b284e57ccec7610db66ea9ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3588/CH6/EX6.1/EX6_1.sce | d133990b2af487225c8cb637a0f7dca65fba06ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | EX6_1.sce | //Clearing console
clc
clear
s = poly(0,"s")
//Calculating Constants in interpolation functions
c1 = 1/((-1/3)*(-2/3)*(-1))
c2 = 1/((1/3)*(-1/3)*(-2/3))
c3 = 1/((2/3)*(1/3)*(-1/3))
c4 = 1/((1)*(2/3)*(1/3))
//interpolation functions
N1 = c1*(s-1/3)*(s-2/3)*(s-1)
N2 = c2*(s)*(s-2/3)*(s-1)
N3 = c3*(s)*(s-1/3)*(s-1)
N4... |
c95c9c86f5163e6d3dc05d1578a4bd4cedf1ef3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.34/2_34.sce | 73ae0e7cef90457053e681120b56886adbc09d51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | 2_34.sce | //newton raphson method
//example 2.33
//page 66
clc;clear;close;
deff('y=f(x,y)','y=sin(x)-y+0.9793');
deff('x=g(x,y)','x=cos(y)-x+0.6703');
hh=0.0001;
x0=0.5,y0=1.5;//initial values
f0=f(x0,y0);
g0=g(x0,y0);
df_dx=(f(x0+hh,y0)-f(x0,y0))/hh;
df_dy=(f(x0,y0+hh)-f(x0,y0))/hh;
dg_dx=(g(x0+hh,y0)-g(x0,y0))/hh;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.