blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
621d17edc8c2dfd7fc6971ce40509a846c0a31fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH9/EX9.10/Ex9_10.sce | 8619211e50f489ca117dcb2548f890b49a272029 | [] | 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 | 362 | sce | Ex9_10.sce | // Chapter 9
// determine Output frequency
// Page.No-336
// Example9_10
//Figure 9.40
// Given
clear;clc;
R=10000; //in Ohm
printf("\n Value of Assumed resistance is = %.0f Ohm\n",R); // Result
Tout=100*10^-6;
C=Tout/(1.1*R);
printf("\n Value of Capacitance is = %.11f F\n",C); // Result
prin... |
374520e5c7fd88ee1d2ce6ba9e491c5d5a1e82d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH4/EX4.3/4_03.sce | 7bafa411aaa8a9e66bc365663607575ddf05c298 | [] | 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 | 4_03.sce | //Chapter 4, Problem 3
clc;
emf=25; //e.m.f
V=24; //Voltage
I=10; //Current in ampere
r=(emf-V)/I; //Calculating internal resistance in ohm
printf("Internal resistance of the battery = %f ohm",r);
|
124fc70b55b191e978e13eb2ac2266aa885a7b68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH22/EX22.1/Ex22_1.sce | aac3a010d103ed8fb917599f5499ee524a5e508d | [] | 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 | 586 | sce | Ex22_1.sce | //Calculate the molar mass of Catalase
//Eaxmple 22.1
clc;
clear;
R=8.314; //Gas constant in J K^-1 mol^-1
T=20+273; //Temperature in K
D=4.1*10^-11; //Diffusion coefcient of Catalase (horse liver) in m^2 s^-1
rho=0.998; //Density of water in g ml^-1
s=11.3*10^-13; //Sedimentation coeffcient ... |
08d5ce4a6a332500c4a9cfb0c08b85f424f33aad | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.3_11.tst | 11e1a80c9879706edb542b036ce8d886f0c67684 | [] | 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 | 33,974 | tst | bow.3_11.tst | 3 15:0.07692307692307693 17:0.3333333333333333 23:0.2222222222222222 37:0.3333333333333333 82:0.16666666666666666 95:1.0 96:0.16666666666666666 97:0.4 114:0.125 115:1.0 116:2.0 128:0.25 145:1.0 171:0.5 272:1.0 350:0.08333333333333333 531:0.3333333333333333 561:0.5 622:1.0 641:1.0 809:1.0 892:1.0 938:1.0 1168:1.0 1430:1... |
50e3216ba3231995f95d72792f064fc361e27f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH9/EX9.4/Example9_4.sce | d89a584b50e1446f5a703de50a0debee2ce32ad4 | [] | 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 | 660 | sce | Example9_4.sce | //Example 9.4
clear;
clc;
VCC=5
VCCmax=VCC+((5/100)*VCC);
VCCmin=VCC-((5/100)*VCC);
IB=1*10^(-3);
Vled=1.5;
Iled=10*10^(-3);
vN=2.5;//For Bottom Comparator
vP=2.5;//For Top Comparator
R1=10*10^3;
Rsum=R1/(vN/VCCmax);
R2=((vP/VCCmin)*(Rsum))-R1;
R3=Rsum-R1-R2;
VBE=0.7;
R4=... |
fa6192602fed3d8f5c5efce6da0fe04c2887d3e3 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 1/M6/resolucao_jacobi_gauss_Q3.sce | 7ba1b37970eafdaa2c95157c40800cf371e00ea9 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | resolucao_jacobi_gauss_Q3.sce | //rode o código jacobi.sce ou gauss_seidel antes
//essa aqui é a Q3 do questionário
A = [ 6 1 ; -1 4 ]
b = [ 1 ; 2]
x1 = [2 ; 0]
[x,dx] = jacobi(A,b,x1,10^(-3),4)
|
bfc5b23caecfd9a5179d46043b5da51bde01c509 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab07_18i190002/ex6.sce | d23dcbcf8ff3aef1edc53e5029a22744a1186acc | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | ex6.sce | //NAME:shubham sharma
//ROLL NO.:18i190002
//Msc Phd OR
// part (i) inputting rho mu1 mu2 sig1 sig2
clear,clc
clf
rho = input('Enter the value of rho : ')
mu1 = input('Enter the value of mu1 : ')
mu2 = input('Enter the value of mu2 : ')
sig1=input('Enter the value of sig1 : ')
sig2=input('Enter the value of sig2 : ')
s... |
2449ba277102f412a0d776438c458b6067a40451 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.61/ExampleA61.sce | 1a084ac72ad6a29a58023eb83d8326f45fca3824 | [] | 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 | 548 | sce | ExampleA61.sce | clc
clear
//Page number 502
//Input data
x1=20;//The initial thickness of the layer in cm
x2=30;//The final thickness of the layer in cm
t1=-15;//The temperature of the surroundings in degree centigrade
L=80;//The latent heat of ice in cal/gram
d=0.9;//The given density of ice in g/cm^3
K=0.005;//The coef... |
2c08c6c43bafbca60e6699e90b82d28a59cccb6f | c2249f1089957357481c4bc88e17047fb96af0fd | /TestCases/cent.tst | 2d9ce7f033f605d4390c893f6d3502071aa56129 | [] | no_license | FikriAnuar/LaTeXParser | 9bf5d0f1ea85d26ae4cb4cb72ef0cd95a7e358d6 | 97a872d3903aafea98045050f1782b0ff7840ed7 | refs/heads/master | 2022-12-12T04:17:47.702201 | 2020-09-09T16:38:05 | 2020-09-09T16:38:05 | 294,170,332 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | tst | cent.tst | \begin{document}
\pagenumbering{arabic}
\arabic{5}
\renewcommand{\baselinestretch}{2}
A Basic file that checks to see if the centering command works
correctly. Note that the double backslash should indicate what
should be centered and how it is centered.
\begin{center}
Single is for Single spacing\\
Verbatim allow... |
59c87856ab8da5905c7fe0e4523fb7d2d8427276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH3/EX3.4/S_3_4.sce | 11d804457373e402bdcc049af42d8f7e7c9d2471 | [] | 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 | 888 | sce | S_3_4.sce | clc;
// Given data
// M_A=r_CA * F relation 3.7 from section 3.5
f=200; // N , Magnitude of Force directed along CD
r_CA=[0.3,0, 0.08];//m, vector AC reprecsented in rectangular component
//lambda=CD/norm(CD)-m, Unit vector along CD
//F=f*lambda;//m, Force
CD=[-0.3, 0.24, -0.32];//Vector CD resolved into rectan... |
47cb9ca9104b2b0a9cbda071fa3ce51a0d65fe2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.e.5/Chapter1_ex5.sce | 995c97eaf6afbe60fd046a40490981d88cf7fefe | [] | 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 | Chapter1_ex5.sce | clc
clear
m=100//Mass of block in kg
F=500//Force in N
q=30//Angle made with the horizontal in degrees
u=0.4//Coefficient of sliding friction
//Calculations
R=m*9.8//Reaction force in N
f=(u*R)//Frictional force in N
a=(F*cosd(q)-f)/m//Acceleration of the block in m/s^2
//Output
printf('The acceleration ... |
85df67a74263c1a53e6122a4e60aeca2b211b683 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH14/EX14.6/Ch14Ex6.sce | fc98b13ad84a468718a5281dc5a73d555af7c16a | [] | 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,080 | sce | Ch14Ex6.sce | // Scilab code Ex14.6: Pg 519 (2005)
clc; clear;
// Part (a)
e = 1.6e-19; // Charge on electron, C
k = 8.99e-09; // Coulomb constant, N-m^2/C^2
r = 1.0e-14; // Distance between two duetrons, m
// We have U = (k*q1*q2)/r, for duetrons q1 = q2 = e, therefore we get
U = (k*e^2)/r; // Potential energy of ... |
4c255f3b519686fa368e6c318e29e006e63b1be1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.30/Example6_30.sce | a0ccb52e58b2171b65e209e914846e2131ff6ea8 | [] | 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,261 | sce | Example6_30.sce | //Example 6.30. Refer fig. 6.27.
clc
format(5)
VCC=16
RC=3*10^3
RE=2*10^3
R1=56*10^3
R2=20*10^3
alpha=0.985
VBE=0.3
disp("For a germanium transistor, VBE=0.3V. As alpha=0.985")
beta=alpha/(1-alpha)
beta1=round(beta)
disp(beta1,"beta = alpha / ( 1 - alpha) = ")
disp("(a) To find the coordinates of the oper... |
13df4894d71220c63e9c9873f5c3e07dcddc9eec | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testinf.sce | fc0c7276f2a1e04d54648c815708b9059c8b45aa | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | testinf.sce | 1+%inf
-2*%inf
1/%inf
%inf+%inf
%inf*%inf
ieee(2) // ieee exception mode
1/0 // returns infinity
|
53f47b40eb9cf86885636f7b9ca9e7c479d33932 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH15/EX15.08/15_08.sci | 0bcce5e479bece212b2a4f9f815f20e6cde81e84 | [] | 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 | 366 | sci | 15_08.sci | //system//
s=%s;
sys=syslin('c',(30)/((s^2+2*s+2)*(s+3)))
nyquist(sys)
gm=g_margin(sys)
show_margins(sys,'nyquist')
printf("Since P=0(no of poles in RHP)=Poles of G(s)H(s) \n Here the number of zeros of 1+G(s)H(s) in the RHP is zero \n Hence the system is stable")
if (gm<=0)
printf("system is unstable")
... |
dc8daaae733183eebd43a6120c370e503c37cfdc | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.led7digit-10-1tra/result2s0.tst | 7d81cde925aea6c24cb78130e3e269c6bbeada02 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result2s0.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
900cd0a1e7f60a634ea447bb56fff782a46791e3 | 8b463997266ab9e412ad11e8c100276a0e70b896 | /Implementacao/solucaoScilab/inst_10_6_50_1.sce | b4eedf0dd6d5bda304ffedc68f03083b6b173435 | [] | no_license | igorfarias30/PCDCN | 3d2781d868590d4ca5fccb181d43ede31f5e3f54 | db0352d5af16a899db07cf9461f2f3a590e71604 | refs/heads/master | 2021-04-29T03:33:13.392857 | 2017-10-19T18:13:46 | 2017-10-19T18:13:46 | 78,010,504 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,125 | sce | inst_10_6_50_1.sce | clf();
ax=gca();
ax.data_bounds=[0,0;50, 6]; //set the data_bounds
ax.box='on'; //desenha uma caixa
a = 5 * ones(11,11); a(2:10,2:10)=34; a(6.5:7,6.5:7)=5;
b = 1 * ones(11,11); b(2:10,2:10)=1; b(6.5:7,6.5:7)=1;
L = list();
//Porto 1
S = [0 0 0 0 0 0 0 0 0 0 0 0 0 4 100 2 4 100 4 100 100 4 100 4 4 3 2 100 100 100 3 100... |
3e4cd044246c30d4f783809a0f9ae036f6599148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH3/EX3.6/Ex3_6.sce | 0ad8c2aa043299a2313062c3a1a06680fd68dfb9 | [] | 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 | 494 | sce | Ex3_6.sce | clc
// Example 3.6.py
// Consider a point in a supersonic flow where the static pressure is 0.4 atm. When
// a pitot tube is inserted in the at this point, the pressure measured by the
// pitot tube is 3 atm. Calculate the mach number at this point.
// Variable declaration
p1 = 0.4 // static pressure (in atm)
p... |
3ee6182bea8313b2d9d97db3f5b9cd49ac394729 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH1/EX1.8/Ex1_8.sce | 74bd443dc474b66d14ad269c65c25fa7bb5b0c3d | [] | 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 | 279 | sce | Ex1_8.sce | //Chapter 01: The Foundations: Logic and Proofs
clc;
clear;
x = [0 1 1 0 1 1 0 1 1 0];
y = [1 1 0 0 0 1 1 1 0 1];
bit_and=bitand(x,y)
bit_or=bitor(x,y)
bit_xor=bitxor(x,y)
disp(bit_and,"The bitwise AND is")
disp(bit_or,"The bitwise OR is")
disp(bit_xor,"The bitwise XOR is")
|
070fc652c057f8af4d1a770028453b5e6798132f | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cell2sos.sci | 39402b3ac367c962408cbb9744c945d4004c7e20 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,228 | sci | cell2sos.sci | function [s,g] = cell2sos(c)
//Converts a cell array to a second order section matrix
//Calling Sequences
//s=cell2sos(c)
//[s,g]=cell2sos(c)
//Parameters
//c
//A cell array
//g
//The scalar gain
//Description
//s=cell2sos(c) converts a a cell array c = { {B1},{A1}, {B2},{A2}, ... {BL},{AL}}
//to an L-by-6 second-orde... |
c3e683294517b579c9e9d3f4da250f03eded6faa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH27/EX27.5/EX27_5.sce | 553481236fd50d4bf548a34df3e018be588fd423 | [] | 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 | 274 | sce | EX27_5.sce | //Chapter 27
clc
//Example 5
//given
V=10^5 //potential difference in Volts
h=6.63*10^-34 // plancks constant in J.s
c=3*10^8// velocity of light in m/s
e=1.6*10^-19// elelctronic charge in coulombs
L_min=(h*c)/(e*V)
disp(L_min,"Minimum wavelength produced in meters is")
|
d8d0d74467061f18da225d575341e3560a3e3c90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH3/EX3.7/Ex3_7.sce | 825f021aafdab9a9422f527d7987746f3a95d802 | [] | 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 | Ex3_7.sce | //Variable declaration:
X = 7.0 //Coordinate X of H2SO4
Y = 24.8 //Coordinate Y of H2SO4
S = 45 //Slope
//Calculations:
//From the figure C.1 we found the intersection of curves mu = 12cP
mu = 12
//Results:
disp("Absolute viscosity of a 98% sulfuric acid s... |
e4486bcaa33737d665f8937a1b4ddde7115edbdd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/datafit.man.tst | 8b83527edbc13fc41efd84cda986800a5c229528 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | tst | datafit.man.tst | clear;lines(0);
deff('y=FF(x)','y=a*(x-b)+c*x.*x')
X=[];Y=[];
a=34;b=12;c=14;for x=0:.1:3, Y=[Y,FF(x)+100*(rand()-.5)];X=[X,x];end
Z=[Y;X];
deff('e=G(p,z)','a=p(1),b=p(2),c=p(3),y=z(1),x=z(2),e=y-FF(x)')
[p,err]=datafit(G,Z,[3;5;10])
xset('window',0)
xbasc();
plot2d(X',Y',-1)
plot2d(X',FF(X)',5,'002')
a=p(1),b=p(2),c... |
cd2c33181293665b290345ec2486ae8522833f77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.02/Ex2_2.sce | ce50cdfa6c9b662914b9e8acdeac5ada4601d5c8 | [] | 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 | 423 | sce | Ex2_2.sce | // Example 2.2
// Calculation of numerical aperature
// Page no. 479
clc;
clear;
close;
//Given data
v=2.111; // Mode parameter
a=4.01*10^-6; // Core radius in m
lambda=1.3*10^-6; // Wavelength of laser light m
//Numerical aperture computation
NA=(v*lambda)/(2*%pi*... |
1884bef717d3805076d5d919a7601eecc1df891f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Digital_Communication_S._Haykin_851.zip/Digital_Communication_S._Haykin_851/CH4/EX4.3/Example4_3.sce | 52702ad0973f4d8bb7ba6aac815bfd25e73c9e63 | [] | 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 | 642 | sce | Example4_3.sce | mode(2);errcatch(-1,"stop");driver("GIF");//clear//
//Caption:Equalizer to compensate Aperture effect
//Example4.3:Equalizer to Compensate for aperture effect
clc;
T_Ts = 0.01:0.01:0.6;
//E = 1/(sinc_new(0.5*T_Ts));
E(1) =1;
for i = 2:length(T_Ts)
E(i) = ((%pi/2)*T_Ts(i))/(sin((%pi/2)*T_Ts(i)));
end
a =gc... |
5292e928a5a21244302a52f3f213c931e8e2151a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/IN3.prev.tst | 85d936aa93a921519d2fa402ea8d0e4bf2fece9e | [
"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 | 110 | tst | IN3.prev.tst | [[-1,0,2],[2,0,-1],[-6,3,0]],fraction=3,det=9 is inverse of [[1,2,0],[2,4,1],[2,1,0]],det=3,identity = false
|
84bbfca46540cb2fafc9c5f40a8f5a2efb8f6756 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH11/EX11.10w/11_10w.sce | dc5e0a70c42007607c2961f044c6ca9c89b70fd1 | [] | 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 | 639 | sce | 11_10w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 11.10w
//calculation of the stretch produced in the spring
//given data
d=1*10^-2//stretch(in m) of the spring
R=6400*10^3//radius(in m) of the earth
h=800*10^3//height(in m) above the earth's surface
//calculatio... |
8c4d24a7f5eee1a708dd3e71a71fc295053c8f76 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/UserMenu/VSRUG.SCI | 9b5c279aab8f01a6b5c0c12565d4d8966ba03e23 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 78 | sci | VSRUG.SCI | executescript(ScriptFilePath+"\_usermenu.sci","~t"+datadir+"\UserMenu_VSRUG"); |
d466aa01a3f14b6cd15e11587bf11861f338213a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.34/Exa_2_34.sce | 3dd93cf16b50bf74c85d87c759feb31d885c18ed | [] | 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 | 680 | sce | Exa_2_34.sce | //Exa 2.34
clc;
clear;
close;
format('v',7);
//Given Data :
p=6;//bar
m=18;//Kg
v=260;//m/s
rho=4;//Kg/m^3
Q=42;//KJ/Kg
W=261;//KW
Cv=0.715;//KJ/KgK
pA=1;//bar
vA=60;//m/s
mdotA=14;//Kg/s
CvA=0.835;//m^3/Kg
TA=115+273;//K
pB=5.5;//bar
vB=15;//m/s
mdotB=4;//Kg/s
CvB=0.46;//m^3/Kg
TB=600+273;//K
... |
37ad97af6cf05fcd470cda69ddd50e8b3c76bcd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH2/EX2.3/Ex2_3.sce | a8dcb20a01b145db93a283870acd8b05963b0969 | [] | 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 | 343 | sce | Ex2_3.sce | //Chapter 2: Antenna Basics
//Example 2-4.1
clc;
//Calculation
deff('y=f(x)','y=sin(x)') //sin(theta)
omega=intg(20*%pi/180,40*%pi/180,f)
omega1=omega*(180/%pi)
deff('y=f1(x)','y=1')
omega2=intg(30,70,f1)
omega_f=omega2*omega1 //omega (square degrees)
//Result
mprintf("The solid angle, omega is %.0f squ... |
1c4bab2d7766937aae876374a07088ac6f90b4a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH2/EX2.1/ex2_1.sce | a462c73d8b7a04f94a97fdbf31ebfaa995700fa5 | [] | 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 | 202 | sce | ex2_1.sce | inputl=-16;
spuresp=70;..//spurious response
A0=-22;..//input level
N=4;..//fouth order
IP4=inputl+(spuresp/(N-1));
DelS=(IP4-A0)*(N-1);..//distortion product
disp("dB",DelS,"Distortion Product"); |
ec66f640fb47266e1de4e73ce1649b6d26bf39bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.04/12_04.sce | 1530dfc28d4f5a99ea8c675583e8a9412ffb8b93 | [] | 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,067 | sce | 12_04.sce | //pathname=get_absolute_file_path('12.04.sce')
//filename=pathname+filesep()+'12.04-data.sci'
//exec(filename)
//Steam is admitted at pressure(in bar):
p1=15
//Pressure at which steam exhausts(in bar):
p3=0.75
//Cut-off occuring at:
r1=0.25
//Power produced by the engine(in hp):
P=150
//Rpm of engine:
n=240... |
7fd9fea2f4ec34d736775a936326f17a9e10b2f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH8/EX8.2/Ex8_2.sce | 243f10c1d6908dd618536b150a32865599cb98c4 | [] | 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 | 755 | sce | Ex8_2.sce | // Exa 8.2
clc;
clear;
// Given data
// Astable multivibrator
Ra=6.8*10^3; // Ω
Rb=3.3*10^3; // Ω
C=0.1*10^-6; // μF
// Solution
disp("By using Eq. (8.11) on page no. 320 we get, tHigh as");
tHigh=0.69*(Ra+Rb)*C; // Time required to charge from 1/3 Vcc to 2/3 Vcc
printf(' tHIGH = %.1f mSec. \n',... |
f166d04fd2182b76dcd547ec5df651219dd66742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH27/EX5.5.5/U5_C5_5.sce | 063f671c4d9d99387247e32fd4809be64a5db369 | [] | 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,171 | sce | U5_C5_5.sce | //variable initialization
mu=1.62*10^-27; //Reduced mass of HCL (kg)
c=3*10^8; //Velocity of light (m/s)
h=6.62*10^-34; ... |
66fd1140d0b0b0b35a73f3e38b251a81489a4d64 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/94.ted.sci | 0bf518bfe4d3ab3c96f8741765ca2d0befecbc1f | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 19,343 | sci | 94.ted.sci | it s wonderful to be back i love this wonderful gathering and you must be wondering what on earth have they put up the wrong slide no no look at this magnificent beast and ask the question who designed it this is ted this is technology entertainment design and there s a dairy cow it s a quite wonderfully designed anima... |
714ffdad81026ae83bc31bd02bfc3bdab4c2ec61 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/test2.sce | 7f363af6bce56937cfd95b08bb9a58f084fe14a3 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | test2.sce | z='1111'
n=4
w=bin2dec(z)
y=zeros(w,n)
for i = 1 : w
j=n
d=dec2bin(i)
k=strtod(d)
while k > 1
c = modulo (k,10)
k = int (k/10)
y(i,j) = c
j=j-1
end
if( k == 1 )
y(i,j) = 1
end
end
disp (y)
|
2056a481e10a8e1cd0b6363e959967738b7e430c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH9/EX9.4/9_4.sce | 602269289ea07f2d8f116b77ee262e8b90d56787 | [] | 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 | 327 | sce | 9_4.sce | clc
clear
//Initialization of variables
p1=14.7 //psia
z1=3 //ft
gam=62.4
rho=1.94 //slug/ft^3
pa=0.4 //psia
za=1 //ft
//calculations
v3=(pa-p1)*144 + (za-z1)*gam
V=sqrt(-v3*2/(3*rho))
//results
printf("Velocity of flow = %.1f ft/s",V)
disp("The answer is a bit different due to rounding off error in textb... |
71d619b370901c55ed7048bc544456bd25d056cb | 59db7a89bd002a490f7305d109574465e92c3f34 | /OpenGlPractice/ChopPeko/scilab/plotcontour.sci | c7a05817796057ee132d2b004cdc484fbf07cf90 | [] | no_license | hamling-ling/OpenGlEsExperiment | c98d5366dada293c4f4d43b930e5bbfd34b5ebf7 | db15a370e86d8952d6f615b0d9262a83644573a3 | refs/heads/master | 2020-06-05T18:10:21.752439 | 2016-01-05T16:18:37 | 2016-01-05T16:18:37 | 9,649,098 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sci | plotcontour.sci | clear;
function w=cross_prod(u,v)
w=zeros(3,1)
D=[u(:),v(:)]
w(1)=det([[1;0;0],D])
w(2)=det([[0;1;0],D])
w(3)=det([[0;0;1],D])
endfunction
data=read('contour.dat',-1,3)
data2=read('intersections.dat',-1,3)
dat = data2;
for i=1:2:length(dat)
//plot(dat(i:i+1,2)+rand()/50,dat(i:i+1,3),"<")
... |
206d4b98f2f8db95983e61d23f86056c47006e86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH7/EX7.3/ex7_3.sce | 1bc5613d2c75f5126679ce6e62c603a2f5aa6b7c | [] | 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 | 289 | sce | ex7_3.sce | clc;clear;
//Example 7.3
//Newton's ring experiment- calculation of refractive index
//given values
D1=1.5;//diametre (in cm)of tenth dark ring in air
D2=1.27;//diametre (in cm)of tenth dark ring in liquid
//calculation
n=D1^2/D2^2;
disp(n,'refractive index of liquid is'); |
97156781f2410132cbeba45f95c857412b188577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.9/7_9.sce | 3edcf954d0b999ef2c1058ea96c6a7c4c9ecb13d | [] | 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 | 458 | sce | 7_9.sce | clear;
clc;
//Example - 7.9
//Page number - 244
printf("Example - 7.9 and Page number - 244\n\n");
//This problem involves proving a relation in which no numerical components are involved.
//For prove refer to this example 7.9 on page number 244 of the book.
printf(" This problem involves proving a relation ... |
b3cf6b0b47d64cf94529e637261529449e385969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH8/EX8.4/Ex8_4.sce | 2b5d8929d971d70d4726b7a9a550e35256ebc150 | [] | 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,024 | sce | Ex8_4.sce | // exa 8.4 Pg 230
clc;clear;close;
// Given Data
Fmin=500;// N
Fmax=1200;// N
C=6;// spring index
n=1.5;// factor of safety
Sys=760;// MPa
Ses_dash=350;// MPa
del=25;// mm
G=82;// kN/mm.sq.
Kw=(4*C-1)/(4*C-4)+0.615/C;// Wahl's correction factor
Ks=1+0.5/C;// Shear stress factor
Fm=(Fmax+Fmin)/2;// N
Fa=(Fmax-Fmin)/2;... |
43b49eb744d87c3884a087c3a04cfa3711ad7a0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH10/EX10.7/10_7.sce | d4149c0fd244a72d14d12af16ad5f15da5eaeb06 | [] | 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 | 420 | sce | 10_7.sce | clc;
clear;
S0=1/500;
n1=0.02;
z1=0.6;//ft
n2=0.015;
n3=0.03;
z2=0.8;//ft
l1=3;//ft
l2=2;//ft
l3=3;//ft
y=z1+z2;//ft
K=1.49;
A1=l1*(z1);//ft^2
A2=l2*(y);//ft^2
A3=l3*(z1);//ft^2
P1=l1+z1;//ft
P2=l2+(2*z2);//ft
P3=l3+z1;//ft
Rh1=A1/P1;//ft
Rh2=A2/P2;//ft
Rh3=A3/P3;//ft
Q=K*(S0^0.5)*((A1*(Rh1^(2/3))... |
0727f48fed6d4a43a19fb9db26309f560fd37e2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH4/EX4.2/4_2.sce | 53f0b8f82c46c85dbd6974ac590a96cbe3921035 | [] | 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 | 4_2.sce | //To calculate the mobility of electrons
d = 8.92*10^3; //density, kg/m^3
e = 1.6*10^-19;
m = 9.1*10^-31; //mass of electron, kg
N = 6.02*10^26; //avagadro's number per k-mol
AW = 63.5; //atomic weight
rho = 1.73*10^-8; //resistivity of copper, ohm-m
n = d*N/AW; //number of cu atoms/... |
ceff51fc7b19ee5d6950a30c935a392ca398fc5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH10/EX10.16/Chapter10_Example16.sce | 9b7c903c8720a99556a885dc900ad0ca61e7729d | [] | 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,009 | sce | Chapter10_Example16.sce | //Chapter-10, Example 10.16, Page 430
//=============================================================================
clc
clear
//INPUT DATA
e=0.8;//Emissivity of brick wall
D1=[6,4];//Width and Height in m
L=0.04;//Distance from the wall in m
D2=[0.2,0.2];//Dimensions of the furnace wall in m
D3=[1,1];//Dim... |
5724aab2a02d156b8ffbb68484f3a23867dd6b53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2747/CH13/EX13.20/Ex13_20.sce | 5692c297a9e6377530fc1fba1b4eb16c76b75215 | [] | 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 | 630 | sce | Ex13_20.sce | clc
clear
//Initialization of variables
m=1 //lbm
t1=100 //F
t2=75 //F
db=65 //F
disp("From psychrometric charts,")
t11=82 //F
phi1=0.4
H1=30 //Btu/lbm dry air
w1=65 //grains/lbm dry air
w2=250 //grains/lbm dry air
//calculations
cr=t1-t2
appr=t2-db
dmf3=(w2-w1)*0.0001427
hf3=68
hf4=43
H2=62.2
H1=30... |
d755218f1ece9422e8dc74f29e6d4dd27409b111 | 5bcc7d78eeb607f77d78d89c7ac8be69ea09e01b | /amaroK/algo/beatTracking1.sci | f09400f11bff2b0e277d5fa2058bdcddabf07eeb | [] | no_license | nmasse-itix/ENSICAEN-Informatique-2eme-Annee | 6b42ba5efee5cbe10a255522843756e6d8316d07 | c1e06056ae415347817563c7454f4398605cc362 | refs/heads/master | 2020-07-24T02:36:52.067989 | 2019-09-11T09:40:16 | 2019-09-11T09:40:16 | 207,776,053 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,144 | sci | beatTracking1.sci | function outSamples = beatTracking1(fileName)
// Read samples
[samples sampleFreq nBits] = wavread(fileName);
// We keep only the first channel
samples = samples(1, :);
outSamples = samples;
// Computes size
[nChannels nSamples] = size(samples);
// Instant energy
instantEnergyWindow = 1024;
instantEnergies = nSampl... |
29586df9ffda998e332a7727a8fd5c12936be429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH8/EX8.7/Ch08Ex7.sce | f96615dbf18a43acca0e71611c1369d77f47fab0 | [] | 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 | 751 | sce | Ch08Ex7.sce | // Scilab Code Ex8.7: Page-8.36 (2004)
clc;clear;
d = 8906; // Density of nickel, kg per metrecube
An = 6.025e+26; // Avogadro number, per k mol
W = 58.7; // Atomic weight, kg
N = d*An/W; // Number density of nickel atom, per cubemetre
Bs = 0.65; // Saturation magnetization, wb per squaremetre
muo = ... |
5776c4379e0d2c82d3bea754de4a6e9196a54b86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH9/EX9.2/eg9_2.sce | a61111e1d9a9459f1091bcc372dbf704f8d22e8a | [] | 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 | 734 | sce | eg9_2.sce | clear;
//clc();
s=15000/3;
v=33000/sqrt(3);
pf=0.85;
l=8;
r=.29*l;
x=0.65*l;
i=s*1000/v;
qs=acosd(pf);
op=3*s*1000*pf;
ploss=3*i*i*r;
z=r+(%i)*x;
vs=v+z*i*(cosd(-qs)+(%i)*sind(-qs));
vsp=sqrt(real(vs)^2+imag(vs)^2);
vsl=sqrt(3)*vsp;
printf("\n the line voltage at the sending end is: %.2f kv",vsl/1000)... |
9889f5deaa874f20bcbdc62a328b72a46aa9be6e | f492a134695f6d4b2ec01d572569f961a169ef38 | /reversi/tests/vert_down.tst | e116783fa2fd0b266bbba684732d74728aeaffa7 | [] | no_license | rileythomp/cpp-games | a51b06964a2466268aff733fb5d2a4ec1ce2752f | 1b98e9b33ba5ae7aadb6d7a2e9c45cb266727f0c | refs/heads/master | 2022-06-10T16:09:02.322242 | 2022-05-24T19:10:45 | 2022-05-24T19:10:45 | 157,655,018 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35 | tst | vert_down.tst | p
asdf
fdsa
2
3
7
7
1
3
0
3
quit
q
|
de260978d3e9a99928e547c7b3fd4766423549ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH6/EX6.9/Example_6_9.sce | 692050eaf4c37dcc316861fa5aff5e20cdda7ff2 | [] | 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 | 372 | sce | Example_6_9.sce | // Chapter6
// Page.No-216, Figure.No-6.14(a)
// Example_6_9
// Gain of the amplifier
// Given
clear;clc;
Vo=3.7;Vin=100*10^-3;
R1=100; // Assume
Rf=0.5*((Vo*R1)/Vin-1); // Feedback resisrance
printf("\n Feedback resisrance is = %.1f ohm \n",Rf)
A=(1+2*Rf/R1); // Gain of the differential amplifier
printf("\n... |
29309053941b4cd225d435281847f6caa102c0b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH7/EX7.4/7_4.sce | b51d693dc42adef9dd108f1d82776ec3fc9d8c07 | [] | 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 | 488 | sce | 7_4.sce | clear//
//Variables
N = 150.0 //Number of turns
mur = 3540.0 //Relative permeability (in H/m)
mu0 = 4*%pi * 10 **-7 //Absoulte permeability (in H/m)
l = 0.05 //coil length (in meter)
A = 5 * 10**-4 //Area of cross - section... |
a23bc1aa7ce309c08d1ca134ee9927341b182dd6 | d13b729c94c45001726db99bfd7e3c9c2de166af | /02_oversampling/soundtest02_oversampling.sce | 883472cd0271088f39534faa0fdc003896afa1ce | [] | no_license | uPD71054/squarewave | 94dd1e5593c0494f561bc29767ae29fc77a4f960 | b84608690c45115b6aef3254090b69b35130254f | refs/heads/master | 2021-01-18T12:58:31.044014 | 2017-10-03T15:31:08 | 2017-10-03T15:31:08 | 100,371,426 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,565 | sce | soundtest02_oversampling.sce | /* generate squarewave by over sampling */
// initial parameters *********************************************************/
fs = 44100/* Hz */; // sampling rate
f = 880/* Hz */; // frequecncy
multiple = 0:3; // 44.1kHz * multiple oversampling
fc = fs / 2; // cut off frequency
q = 1/... |
5f6e340bf7347c0d3f447d2d81b46611df0ad248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH10/EX10.16/10_16.sce | 4e98352d95c73c710455f1a0bbbeaa7045e7f416 | [] | 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 | 10_16.sce | //Chapter 10, Problem 16
clc;
g1=12; //gain of stage 1
g2=15; //gain of stage 2
g3=-8; //gain of stage 3
P=g1+g2+g3; //Power ratio
P1=10^(P/10); //calculating overall power gain
printf("Overall power gain (P2/P1) = %f ",P1);
|
3eab4615a090e933a956728d96f4ee4fcbe14161 | b83a548625faadcf7c779f11ce56f02f9058bb70 | /mcs 2.sce | 32d8db56b8102540c84c76c3bb169bd3de9ff1c0 | [] | no_license | navnesh/scilab | 856941418ac0c58a4566b6559a107ac46efbb147 | 5f97c5043bd06ac2e092e9ec6431c18b71b33e22 | refs/heads/main | 2023-07-09T22:15:24.220450 | 2021-08-10T08:16:45 | 2021-08-10T08:16:45 | 394,020,861 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,191 | sce | mcs 2.sce |
clc;
clear;
xdel(winsid());
disp("EXP 2 Name.Navnish Shettigar Roll No-35")
// Generation of 7 bit PN sequence
// Coefficient of polynomial
a1=1;
a2=1;
a3=1;
// Initial states of flip flop
R(1)=1;
R(2)=0;
R(3)=0;
m=3;
disp('output after every clock pulse');
for i=1:((2^m)-1)//shift of bit in each regis... |
6c3849610b408bb655680f643e25b868aa8b5b93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH6/EX6.3/Ex6_3.sce | 1efab0a004435aca02aa081d3098b1e2776bddf1 | [] | 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,860 | sce | Ex6_3.sce | //Fluid System By Shiv Kumar
//Chapter 6 - Kaplan and Propeller Turbines
//Example 6.3
//To Find (a)Inlet and Outlet blade Angles (b)Mechanical Efficiency (c)Volumetric Efficiency
clc
clear
//Given:
D=6; //Outer Diameter of Runner, m
d=2; //Inner Diameter of Runner, m
P=30... |
7872c0291a3694cf0d0b34f737fe05caacc779dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH2/EX2.6/Ex2_6.txt | f5895eb043b080dc7e659af4b6aeaf7ef3f32183 | [] | 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 | txt | Ex2_6.txt | //Caption:Calculate minimum square wave frequency
//Ex2.6
clc;
clear;
close;
C=1//Coupling capacitor(in micro farad)
R=1//Input resistance(in Mega ohm)
t=0.01//Tilt
PW=t*R*C
f=1/(2*PW)
disp(f,'Frequency required(in hertz)=') |
211f05eb59f50bfd8ec4060cdc2dbd902b64eb80 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/oracle_error_info.tst | 6fa008c4c29767210ba8d208a6e2deb3e9c5d3f3 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 981 | tst | oracle_error_info.tst | DECLARE
msg VARCHAR2 (1000);
isval BOOLEAN;
PROCEDURE plsb (str IN VARCHAR2, val IN BOOLEAN)
IS
BEGIN
IF val
THEN
DBMS_OUTPUT.put_line (str || ' - TRUE');
ELSIF NOT val
THEN
DBMS_OUTPUT.put_line (str || ' - FALSE');
ELSE
DBMS_OUTPUT.put_line... |
01c8f65eef8d4c7a9bb989afb0d0df8ab8e3f355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.8/18_8.sce | 3b9bb28df4ef576a2dd01bfa698d66e6c8667ec7 | [] | 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 | 558 | sce | 18_8.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.8
//calculation of focal length of a biconvex lens from known value of radii of curvature of refracting surfaces
//given data
R1=20; //radius of curvature(in cm) of first surface of biconvex lens
R2=-20; //radius o... |
dc67a47ee8ca3d78fc733c51ee6c81d493a06084 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH6/EX6.2/ex_6_2_2.sce | 171cb40af08f4fdebc8b9acd0a131ba5cb1ec294 | [] | 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 | 311 | sce | ex_6_2_2.sce | //to find the maximum stress induced
D=50//D=50mm
d=25//d=12mm
r=5
A=(%pi*d^2)/4
disp(A,"Area=")
W=12000//W=12kN
Ns=W/A
disp(Ns,"Nominal Stress=")
x=D/d//ratio of maximum diameter to minimum diameter
y=r/d//ratio of radius of fillet to minimum diameter
Kt=1.64
Ms=Kt*Ns
disp(Ms,"Maximum stress=")
|
483cdebc4de6f6044a30c6f6d85cce4a49f5c584 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.6/Exa_1_6.sce | 9b75af1d66dbd7c2b7ae60d1e23ea59e22c2a38e | [] | 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 | 664 | sce | Exa_1_6.sce | //Exa 1.6
clc;
clear;
close;
format('v',8);
//Given Data :
g=9.81;//m/s^2
rho_o=0.825*10^3;//Kg/m^3
rho_w=1*10^3;//Kg/m^3
rho_Hg=13.45*10^3;//Kg/m^3
h_o=50/100;//m
h_w=65/100;//m
h_Hg=45/100;//m
Patm=1.01325;//bar
P_Hg=rho_Hg*g*h_Hg;//N/m^2
P_w=rho_w*g*h_w;//N/m^2
P_o=rho_o*g*h_o;//N/m^2
Pbase=(Patm*... |
73337838d19e1fb739ed45b436e7fc549dc5671c | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/grayconnected.sci | 04b590f1ed42548738d1b8de56a9e7f8918dac2f | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sci | grayconnected.sci | //Function migration (image list to matrix) for: grayconnected
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = grayconnected(varargin)
select length(varargin)
case 04 then
res = raw_grayconnected(varargin(01), varargin(02), varargin(03), varargin(04))
case 03 then
res = raw_grayconnected(v... |
7f1fa1e080f04296e4756406dffae5d6de9f0f08 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /testExpMap.sce | 952117eab54ab882d3bfd8a77952ca195d95cfa7 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | testExpMap.sce | // ok, le test fonctionne.
clear
getd("src/transformation")
dx=[0.1 0 0 0.002 0.004 0];
disp('deplacement dx');
disp(dx);
M = homogeneousMatrixFromPos(dx);
disp('homogeneous M from dx');
disp(M);
dt=0.01;
dotx = dx/dt
vitesse = expMapInverseThetaU(M,dt)
M3 = expMapDirectThetaU(vitesse,dt)
deplacement = pFromHomog... |
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... |
2b01b62ab582571ba81a0f0cb7cc3eb91a29f314 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/functionNegation.tst | bce9d5c8060912b69cba84fd52f11964d7f19d63 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | tst | functionNegation.tst | int complement(int number) begin
return 0 - number;
end
main begin
print(complement(4));
return 0 - 4;
end
|
bc06b6e75a170d0a419933a31196307329ae4e62 | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/code/scilab/coco/scripts/scilab/v2/script_compute_histograms_best_class.sci | 874c9c35cf41d023e3af89e530bc6afd3c3adf4c | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,723 | sci | script_compute_histograms_best_class.sci | // load the index of test cases of interest
// inputs:
// - path: the path to the folder containing the file with indexes of interest
// - filename: the file containing indexes of test cases of interest
// - nb_elem: number of element (ndexes) to read from the file
// output:
// - set5: the set containing indexes o... |
278737450d04fb9c1aad589a67311f1fa77a3595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH5/EX5.1/5_1.sce | d115e76ab8d0500f4bfe1c5ad82a7787ad4a79b8 | [] | 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 | 188 | sce | 5_1.sce | clc;
clear;
v2=20;//m/s
dia2= 40;//mm
//m1=m2
//d1*Q1=D2*Q2; where d1=d2 is density of seawater
//hence Q1=Q2
Q=v2*(%pi*((dia2/1000)^2)/4);//m^3/sec
disp("m^3/sec",Q,"Flowrate=") |
17c2100d11351f6772037e08be1d42d725bf118f | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP4/rendre/solsup.sci | fa9b2b7565212960e60619235464d2e071bcb831 | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sci | solsup.sci | function [x] = solsup(u,b)
N = length(b);
if( size(u)~= [N, N] | size(b,2) ~= 1) then
disp("size(u)=",size(u));
disp("size(b,2)=",size(b,2));
disp("incorrct!");
end
x = zeros(N,1);
x(N)= b(N)/u(N,N);
for i = N-1:-1:1
x(i) = b(i);
for j = i+1:N
... |
5dae9eca44c15f3813d4a3de702dfb74f42fd07d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.14/4Ex14.sce | 06cb2e2c702e0d050c472bc04c3d6250b86284b6 | [] | 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 | 268 | sce | 4Ex14.sce | //chapter 4 Ex 14
clc;
clear;
close;
x=poly(0,'x');
y=(34-2*x)/3; //equation 1
y=8*x/5; //equation 2
for x=1:99
if (34-2*x)/3==8*x/5
mprintf("x=%i \n ",x);
break
end
end
y=8*x/5;
printf("The value of 5*y+7*x is: %d",(5*y+7*x));
|
7e5457d31c3abbbf8ef0fe7c8f155f9b970bbeb8 | 28b24ec288a5cf2babf644edafb55fc68a19cabf | /testeN.sce | 40c8628169c6f9346f6b5737c8afd816603ca19b | [] | no_license | ferreiraalves/metodos-numericos | 5100e3d66613c266203d87880fc5c944bcc81e0e | 31162df9dd824c6a621c34a8a1c5c81ee521c470 | refs/heads/master | 2020-03-25T21:43:35.324923 | 2018-12-04T14:32:58 | 2018-12-04T14:32:58 | 144,187,337 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | testeN.sce | function[Y] = f(x)
Y=x^4 + 2x3 13x2 14x + 24
endfunction
function[Y] = Df(X)
endfunction
function[Raiz, Iter, CondErro] = newton(x0, Toler, IterMax)
Iter=0;
[Fx] = f(x0);
[DFx] = Df(x0);
printf("Iter\tx\tDFx\tFx\n");
printf("%f\t%f\t%f\t",Iter, x0, DFx, Fx);
for i = 1:1:IterMax
... |
6022fae825462ab8c6196c407b855b22d2ea8b33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH18/EX18.8/Ex18_8.sce | 1fa76e8688ae7e166d8f27cd0adf9829d6a9907a | [] | 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 | 787 | sce | Ex18_8.sce | b=250//column width in mm
D=450//column depth in mm
Asc=2*1472//in sq mm
fck=15//in MPa
fy=250//in MPa
ex=200//in mm
ey=150//in mm
//from interaction curve
//for ex=200 mm on x-axis
Pum1=610//in kN
Muy1=120//in kN-m
//for ey=150 mm on y-axis
Pum2=720//in kN
Mux1=106//in kN-m
//(i)
Pu=300//in kN
Mux=Pu*e... |
5fe8af2c278d21f85cbe172d47122c6d3cf4d6a6 | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/Euler_Verfahren2.sci | 68c5521461a0f92d629548a3efe482ef13c6c47c | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 228 | sci | Euler_Verfahren2.sci | exec dgl2.sci
figure(1);
clf;
mtlb_axis([0 20 -1.5 3])
t = 0;
z = [3;0]
h = 0.1;
while(t < 6 * %pi)
plot(t, z(1), 'ob');
plot(t, z(2), '*r');
z = z + h*dgl2(t, z)
t = t + h
sleep(100)
end
|
bc87eefc1b204c62b94f97dfd02f3792f9ab27a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH15/EX15.10/116ex5.sce | 001e3b84964fd114d37d560c007d75c90d816265 | [] | 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 | 71 | sce | 116ex5.sce |
//1/R=1/R1-1/R2. get R
clear;
clc;
close;
disp("R=R1R2/(R2-R1)")
|
c49c64ff92fb78efaabe4149bf0bd6a997ead2c5 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Menkakusi.sci | de8d4b0da2e711bce7e8d5f047b5064f404efaa8 | [] | 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 | 4,670 | sci | Menkakusi.sci | // 08.08.21
// 09.10.24
// 09.10.26
function Menkakusi(Face,Nf,Ptype)
global THETA PHI EyePoint FocusPoint VELNO VELHI;
Eps0=10^(-6);
Eps=10^(-4);
Tmp1=Face(1)-Face(2);
Tmp2=Face(3)-Face(2);
if norm(Tmp1)<Eps | norm(Tmp2)<Eps
return;
end;
Vec=1/norm(Tmp1)/norm(Tmp2)*Crossprod(Tmp1,Tmp2);
if norm(... |
c1961cd7ec28e500d9b82ae7daa56902c7695db7 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /vtr_release/vtr_flow/script_expt2.sce | db3c9b826f5587607b2e496916bd9418b187778d | [
"MIT"
] | permissive | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 5,242 | sce | script_expt2.sce | //load "ota.sci"
//load "ota_func.sci"
//***********************************
//SCRIPT TO READ FROM MODEL FILE
//***********************************
//cd /usr/lib/scicoslab-gtk-4.4.1/macros/scicos_blocks/cadsp/
//LOAD OBJECT FILE
global file_name
load(file_name)
disp("Hello World");
deletefile('expt2.blif')
//Loadin... |
554704354aae0ceccdff0e49e366d9bac5e358be | 763b6d22f76d265dd95589decdfe12a27211edb1 | /michal/DDschwarz.sci | 2bcb92fe2e419e72d3766b91b312229801106524 | [] | no_license | pm1a/geometry | e100be432d76aef4c255adb71eb8dbb2a5c4641c | a8f28535621679ed9eb88c629d8616913d846ac1 | refs/heads/master | 2020-06-06T09:05:50.462881 | 2014-02-06T19:01:15 | 2014-02-06T19:01:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,089 | sci | DDschwarz.sci | //////////////////////////////
// konstrukce matic
// -predpoklada se ze jde o ekvidistantni diskretizaci na obdelniku
// konstruuje diskretizaci dvourozmeneho Laplace
// pomala varianta
function [A] = Laplace2D_old(nx,ny)
A = spzeros(nx*ny,nx*ny)
for i = 1: nx
for j = 1:ny
ii=(j-1)*nx + i... |
21d778fdfe807cf93d5ea4d78aa230b9caf1d506 | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp1/fpdf.sci | a1385744eda60ed9325e205da8fbd3828ac96804 | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sci | fpdf.sci | function [fp] = fpdf (myfun, x0, h) //myfun=myf
fp = (myfun(x0+h)-myfun(x0-h))/(2*h)
endfunction
|
5a6f94cc20112389a8fece99c6f459fd32943858 | 704a8e9047b24c6e005fdc6206aacf6b3ea623bb | /UE/S1/bin/bin/ANALYSE/FactLU.sci | c28e7fa634aee56f901e0ec4a46074940597a128 | [] | no_license | GuangYueCHEN/ENSIIE | e84ffd6be1718b958bc72cef791a77dc49fa057f | f2014c0cf5b1adda3f327d5dd1d39217e703871b | refs/heads/master | 2021-06-30T21:50:49.946086 | 2019-06-18T09:53:36 | 2019-06-18T09:53:36 | 114,696,410 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sci | FactLU.sci | function [L,U]=FactLU(A)
n=size(A,1)
L=eye(n,n)
U=zeros(n,n)
for i=1:n-1
for j=i:n
sum1=0
for k=1:i-1
sum1=sum1+L(i,k)*U(k,j)
end
U(i,j)=A(i,j)-sum1;
end
for j=i+1:n
... |
483ba542902b2cc4a2266d2b966b59ba9e449ab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.12/8_12.sce | 31ffb71c4332258abc88b99eca739088d00b54cc | [] | 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,761 | sce | 8_12.sce | clear;
clc;
printf("\t\t\tExample Number 8.12\n\n\n");
// network for gas radiation between parallel plates
// Example 8.12 (page no.-422-423)
// solution
T1 = 800;// [K] temperature of first plate
E1 = 0.3;// emissivity
T2 = 400;// [K] temperature of second plate
E2 = 0.7;// emissivity
Eg = 0.2;// emissi... |
0fe57c468d5dac0b9c32bd3ba351eed344204a8e | f27b2cb884d353ee9999169f89cbbd62fbaded67 | /scilab/for_clothoids/several_clothoids.sce | 93f6b69299229674557fbee60616899b6c083e4c | [] | no_license | red-itmo/lego-car-movement-control | b5f2180bef04ddf7348d2da39bb03a8a723bdb0c | ca5545dbd72744daf53710c09998491386a810c8 | refs/heads/master | 2018-12-22T08:32:20.637335 | 2018-09-30T14:38:52 | 2018-09-30T14:38:52 | 117,673,569 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | several_clothoids.sce | //////////////////////////////////////////////////////////////
//// Files plots several clothoids with identical "phase" ////
//// and different alphas ////////////////////////////////////
//////////////////////////////////////////////////////////////
// different clothoids calculating
k = 1;
gamm = 1;
for j = 1:20
... |
2ee7422d34b9916b23076045e72188712f9be786 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/Ознакомительная_версия.TST | 2e8bca16723adc6d9d50e6041be5ed20d7d115d0 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40,388 | tst | Ознакомительная_версия.TST | {\rtf1\ansi\ansicpg1251\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049{\fonttbl{\f0\froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fswiss\fcharset204\fprq2{\*\panose 020b0604020202020204}Arial{\*\falt Times New Roman};}{\f2\fmodern\... |
cbdebd112cdf9b92129bf486fb5270af0c8ae3ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH11/EX11.3/ex11_3.sce | e114785cf51413ceed62f39d8ae83d54dc332092 | [] | 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 | 260 | sce | ex11_3.sce | //Page Number: 11.13
//Example 11.3
clc;
//As H(X) is maximum when
//Px1=Px2=1/2
Px=[0.5 0.5];
//As H(X)=-Sum of[P(xi)log2P(xi)]
//Where i=0 to n;
HofX=0;
for i=1:2
HofX=HofX+(Px(i)*log2(Px(i)));
end
disp('b/symbol',-HofX,'Maximum H(X):');
|
628469185e985790335299cd6ab62762dfcb496d | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH5/EX5.21/example21_sce.sce | 229e645c331a2dcfa3014a99846770fcb7f208f6 | [] | 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 | 188 | sce | example21_sce.sce | //chapter 5
//example 5.21
//page 227
printf("\n")
printf("given")
Vcc=15;Rc=3.3*10^3;Vbe=.7;Rb=56*10^3;
Ic=Vcc/Rc
Ib=(Vcc-Vbe)/Rb
hFE=Ic/Ib;
printf(" minimum hFE is %3.2f\n",hFE) |
6db7994f6dcb3fa1b567a096de91360e4570987f | 2eac84edf941c64588fef76f10d02309aabcb2fb | /System/Scilab/Scripts/createTestTemplate.sci | b79a34b1c73298b96e6937db0a95a6f66c984ad8 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,324 | sci | createTestTemplate.sci | // Copyright (c) 2017, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// This file is licensed according to the BSD 3-clause license as follows:
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... |
0f577e5427a3a0e67a400417b402f8e096532e75 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/missing_op_01.tst | 3e7107b5c00343919b490befcdcf7cc4dbbdfb7c | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | tst | missing_op_01.tst | // @Harness: verifier
// @Purpose: "Test that no addressing mode has more operands than others in unification"
// @Result: "MissingOperandInAddrModeUnification @ 9:22"
architecture extra_op_01 {
operand-type A[5]: int [0,31];
addr-mode A1 { }
addr-mode A2 a: A { }
addr-set AS { A2, A1 }
}
|
91c65c2505b8a53cbfd6b7c6956739d3365d9096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH11/EX11.6/Ex11_6.sce | 921773e8a85558e7c8f86bf36763d60f1f1c7a01 | [] | 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 | 963 | sce | Ex11_6.sce | clc
clear
//Initialization of variables
p1=40 //psia
t1=80 //F
p2=30 //psia
ar=0.5 //sq ft
v1=200 //ft/s
R=53.35
cp=0.24
g=32.17
J=778
//calculations
rho1=144*p1/(R*(t1+460))
G=rho1*v1
h10= cp*t1 + p1^2 /(2*g*rho1^2 *J)
t2=78 //F
h2=cp*t2
g2=h10-h2
rho2=sqrt(p1^2 /(2*g*g2*J))
P2=rho2*R*(t2+460)/144 ... |
35ae7fda0f410f0f0e9f1dd8f56d011933c88042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.15/8_15.sce | 0ee439bce29a7c6a60e6fc55e8fcc9323193ac83 | [] | 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 | 683 | sce | 8_15.sce | clc;
//page no 8-54
//Example 8.15
fsmax=1650;
fsmin=525;//in kHz
SFR=fsmax/fsmin;
disp(SFR,'Signal frequency ratio is');
//Rounding off SRF to 3.14
SFR1=3.14;
C=(SFR1)^2;
disp(C,'Capacitance ratio is');
Comin=50;
Comax=450;//in pF
//For trimmer capacitor
//Comax/Comin=(Csmax+CT)/(Csmin+CT)
//450/50=(Csm... |
305efdf653f1a00668ad4e4ac5ae50b9747e8431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH2/EX2.4/ex_4.sce | 99207156674e56a33ad2a46a47d7ca895bef1cf2 | [] | 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 | 657 | sce | ex_4.sce | // EXAMPLE1 (PG 76)
// f(x) = x^20 - 1
// solving using Muller's method
xset('window',1);
x=-2:.01:4; // defining the range of x.
deff('[y]=f(x)','y=x^20-1'); //defining the cunction.
y=feval(x,f);
a=gca()... |
ac0d9321cbbd242492992f3cb133ae6a94a9cf2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH24/EX24.2/Example_24_2.sce | 14fd4eaefbbe0d39bea3af7fb73d368d6f209a14 | [] | 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 | 254 | sce | Example_24_2.sce | //clear//
clear;
clc;
//Example 24.2
//Given
X1 = 0.25;
X = 0.05;
Dvprime = 8.3*10^-6; //[cm^2/s]
D = 25.4; //[mm]
//Solution
s = D/(2*10); //[cm]
tT = 4*s^2/(%pi^2*Dvprime)*log(8*X1/(%pi^2*X))/3600; //[h]
disp('h',tT,'drying time is')
|
553b71d6dd50e691f92a0431abad4778e076dfe0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/modulate/modulate1.sce | 45f6db2ac1567d55bbabde9d7f1caf8f57d5ddcc | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | modulate1.sce | //i/p arg x is a vector
x=[1 2 3 4 5 7 89 8];
fc=100;
fs=500;
y = modulate(x,fc,fs,'am');
disp(y);
//output
// column 1 to 4
//
// 1. 0.6180340 - 2.427051 - 3.236068
//
// column 5 to 8
//
// 1.545085 7. 27.502512 - 6.472136
//
|
7c9f348dfbdf19d47b2f3e05f207ec3929335a47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.6/exp5_6.sce | f3766385d657c26fdc11cb4a2e7c21bab64f1da2 | [] | 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,347 | sce | exp5_6.sce | //Example 5.6
clc
disp("The given values are,")
disp("P = 4, f = 50 Hz, R2 = 0.2 ohm, X2 = 1 ohm")
disp("Now open circuit e.m.f between slip rings means rotor induced e.m.f on standstill. As long as rotor is open, there cannot be rotor current rotation of rotor. And between the slip rings means its a line value of ... |
f640611f9c5f55ee3a527606afa053b08fc06e84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH12/EX12.24/12_24.sce | 4f307673fa3a0dbd22319959ad135dcec2969bd2 | [] | 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 | 279 | sce | 12_24.sce | clc;
clear;
format('e',11);
a=0.05;
b=0.04;
c=0.03;
v=3*10^8;
p=1;
//for m=0,n=1.
m=0;
n=1;
fr011=v/2*sqrt((m/a)^2+(n/b)^2+(p/c)^2);
disp(fr011,"fr011(in Hz)=");
//for m=1,n=0.
m=1;
n=0;
fr101=v/2*sqrt((m/a)^2+(n/b)^2+(p/c)^2);
disp(fr101,"fr101(in Hz)=");
|
9df3472bc2ea6ebc9f537510fff50ddd6d92f7cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.19/Ex6_19.sce | 126f637d0c2161d7f6114b8f18fdc21204a5d3b8 | [] | 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,101 | sce | Ex6_19.sce | //Example 6.19
//PID compensation design for spacecraft attitude control.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function
s=poly(0,'s');
G1=(0.9/s^2);
G2=(2/(s+2));
G=G1*G2;
Gs=syslin('c',G);
// PID controller para... |
b3d1aa132051ff4f3cd324c863a976033fca4199 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH5/EX5.4/Ex5_4.sce | 194be35a360dc4c55a19b837699900900a8629b7 | [] | 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,825 | sce | Ex5_4.sce | // exa 5.4 Pg 151
clc;clear;close;
// Given Data
D=0.75;//m
ps=1.55;// N/mm.sq
eta_l=0.75;// efficiency
sigma_t=90;// MPa
sigma_c=140;// MPa
tau=56;// MPa
n=2;// no. of rivets
printf('DESIGNING LONGITUDINAL JOINT - \n')
printf('\n Plate Thickness')
t = ps*D*1000/2/sigma_t/eta_l+1;// mm
printf(', t = %.2f mm',t)
t=cei... |
f6ba10572b6b94586bfea15b59f51e178b2773e9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_lookfor.sci | 492bd117956d408f915c186a92dde8eb886cbabe | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sci | sci_lookfor.sci | function [stk,txt,top]=sci_lookfor()
// Copyright INRIA
txt=[]
stk=list('apropos('+stk(top)(1)+')','0','0','0','0')
|
af7ab8fded97a44e92f741172729ce3b2d900f1e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.20/Ex1_20.sce | 4d0ffdfb3ae791bf9f6aedd878e1cb5400792fc6 | [] | 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 | 141 | sce | Ex1_20.sce | errcatch(-1,"stop");mode(2);//Ex:1.20
;
;
v=4;//in volts
r=100;//in ohms
p=(v^2)/r;
printf("Power dissipated = %f watts",p);
exit();
|
a6d25db15fed89bdfd644568025eccd56a299b04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH7/EX7.3/ex7_3.sce | 5aa1c732a2d6706c5eeea4f6038611e79a49982a | [] | 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 | 683 | sce | ex7_3.sce | //Page Number: 371
//Example 7.3
clc;
//Given
Pout=250D+3; //W
V0=25D+3; //V
I0=25; //A
ebym=1.76D+11;
B0=0.035; //T
a=4D-2; //m
b=8D-2; //m
//(i) Efficiency
n=Pout/(V0*I0);
disp('%',n*100,'Efficiency:');
//(ii) Cyclotron frequency
f=(ebym*B0)/(2*%pi);
disp('Ghz',f/10^9,'Cyclotron frequency:');
... |
be316812548667f04921a7e9dffa94f19c5a42aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.4/Ex7_4.sce | 99647956f86aa49a729795bb076cba963824808a | [] | 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 | 304 | sce | Ex7_4.sce | // Example 7.4
clear all;
clc;
// Using the result of Example 7.1
lp = 1e-4; // Prompt neutron lifetime in seconds
// Using the result of Example 7.3
rho = 1e-3; // Reactivity
// By referring to Figure 7.2
printf(" \n Reactor period = 57 seconds \n");
|
d9709879032d3760fed7e58cc6222ed7cf232b3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH4/EX4.5/exe4_5.sce | 7ba88332f7cb0ed4c4059a9bab625454e5e7b433 | [] | 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 | 531 | sce | exe4_5.sce | // Example 4.5: drain resisitance
clc, clear
Id=0.4; // drain current in mili-ampere
Vd=1; // drain voltage in volts
Vs=-5; // dc voltage in volts
Vss=-3; // dc voltage in volts
Vdd=5; // dc voltage in volts
MuCox=20; // in micro-ampere/volts
W=400; // in micro-metre
l=10; // in micro-metre
Id=((1/2)*(MuCox)*... |
2e6fc4e5bc65b3a93a65b7d7d63172eae1d18375 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/xdess/xsetm.sci | 797b96555d8cd326f1ebd183d272c665afe7a203 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,102 | sci | xsetm.sci | function []=xsetm()
// Changing graphic context with x_choices
// Copyright INRIA
if driver()<>"Rec" & driver()<>"X11" then
write(%io(2),"xsetm works with X11 or Rec driver only")
return;
end
AlusIds=["0","src & dst","src & ~dst","src","~src & dst","dst",...
"src XOR dst","src OR dst","~src & ~dst","~src XOR dst... |
5f4f0dc7b6be9ea83a85f62740c06d1a66057752 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/interpolasi dan polinom/interpolasi_lagrangre.sce | 82e19e4bc31dce0ff146b0cb44f978ce2bfd7f04 | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | sce | interpolasi_lagrangre.sce |
function lagrangre()
endfunction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.