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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
84e8a298f09c6b093ee58172bba31b6101f45ff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.17/EX6_17.sce | 01991ea68e7e445883de499f855b497853909fa5 | [] | 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 | 760 | sce | EX6_17.sce | //Example6.17 // determine the closed loop gain
clc;
clear;
close;
// the output of the voltage follower is given as
//Vo = Aop(V1-Vo);
// the closed loop gain of the voltage follower
//A = 1/(1+(1/Aop));
// for Aop = 10^4 closed loop gain
Aop = 10^4 ;
A = 1/(1+(1/Aop));
disp('for Aop = 10^4 closed ... |
7a0e409850200ad8a94751b9c76a109c03e9fe8f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/metanet/circuit.sci | cd57fdab252e4aeff830a2cb84b2c7aab7d9d10d | [
"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 | 432 | sci | circuit.sci | function [p,r]=circuit(g)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs<>1 then error(39), end
// check g
check_graph(g)
// compute lp, la and ls
n=g('node_number')
ma=prod(size(g('tail')))
if g('directed')==1 then
[lp,la,ls]=m6ta2lpd(g('tail'),g('head'),n+1,n)
else
error('The graph must be directed')
end
// compute ... |
208e846ae47d0d680b783ea3ec11985e2b9438a2 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q04a.tst | f211c19255567dcef105096d22851be222893a97 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | tst | q04a.tst | 0
0.20
abba 1
aaabbb 1
abaabb 1
bababaa 1
ababab 0
ab 0
a 0
babab 0
|
4576ad8011cbddb0ca87bdd76a60b3e63a2d9170 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/StatisticalFunctions/FLWtCovarNZ-UM-01.tst | 42108ab75d43a4812b7d9ec71378e9ddef7433fa | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,964 | tst | FLWtCovarNZ-UM-01.tst | -- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade
-- secret or copyright law. Dissemination of this information or reproduction of this material is
-- strictly forbidden unl... |
def2cf62b35f9b06ec92a905cdf3bd2a23b7d996 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%spbcb.sci | 030904f1ffe76b86e0ad64705753b3512da0aa35 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 121 | sci | %spbcb.sci | function r=%spbcb(a,b)
// perform [a b] where a is a boolean sparse matrix
// and b a boolean matrix
r=[a sparse(b)]
|
f81976911836a373138ecd4961100650bc526900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.29/2_29.sce | 723a5725c7078f89f7abe00d884624d8c1b13135 | [] | 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 | 242 | sce | 2_29.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
//as seen from ab
Vth1=30*60/(30+60)
Rth1=parallel(30,60)
//as seen from cd
Vth2=80*40/(40+60)
Rth2=parallel(40,60)
Vnet=60+Vth1-Vth2
Rnet=Rth1+Rth2
disp(Rnet,Vnet) |
71fd81bc9328ead2311858410869c533a71d6990 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/DEPENDENCIES/gaussseidel.sce | e3ae2f3e6d4f7e1f8beff1a42147154cdfa53a35 | [] | 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 | gaussseidel.sce | function [x]=gaussseidel(A,b,x0)
[nA,mA]=size(A)
n=nA
[L,U] = lu(A)
d = diag(A)
a11 = d(1,1)
a22 = d(2,1)
a33 = d(3,1)
D = [a11 0 0;0 a22 0;0 0 a33]
H = -inv(L+D)*U
C = inv(L+D)*b
for m=0:3
x = -inv(D)*(L+U)*x + inv(D)*b
m=m+1
disp(x)
end
endfunction |
d8c767a5c5808f651b9bb1b65ab0eab6df3e2bf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH1/EX1.11/1_11.sce | 3ccd11cd5bd353f6cd4b85370bc4686d5b3572d1 | [] | 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 | 424 | sce | 1_11.sce | clc,clear
printf('Example 1.11\n\n')
V_t=225 //voltage across winding
R_a=0.04 //armature resistance
R_sh=90 //shunt resistance
R_se=0.02//resistance of series field winding
I_L=75 //load current
//E -I_a*R_a=V_t+I_L*R_se
I_sh=(V_t+I_L*R_se)/R_sh //current through shunt field winding
I_a=I_L + I_sh //... |
252490d6afe3eca3ddac497ed8a4e0bf5873366b | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.13.a/Example3_13_a.sce | bf10c55f4cf0af59dfdb3b9ecc587977fb9e83c2 | [] | 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 | 507 | sce | Example3_13_a.sce | //Example 3.13(a)
clear;
clc;
C=10*10^(-9);//Assumed
C1=C;
C2=C;
f0=1*10^3;
BW=100;
R=(2^(1/2))/(2*%pi*f0*C);
R1=R;
R2=R;
R3=R;
Q=f0/BW;
K=4-((2^(1/2))/Q);
RA=10*10^3;
RB=(K-1)*RA;
RG=K/(4-K);
printf("Designed KRC Second Order Band Pass filter");
printf("\nR1=R2=R3=... |
504fbb721936613bfb964900c6e45736ff1b057b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.5/Ex11_5.sce | 043a5cc0bc0686006d474cb67d3dd9378d1abf43 | [] | 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 | 400 | sce | Ex11_5.sce | //example 11.5
clc; funcprot(0);
D=[6, 12, 20];
fc=[34.34, 54.94, 70.63];
alpha=[0.84, 0.71, 0.63];
dL=[6, 6, 8];
p=4*0.305;
Qs=0;
printf(" depth(m)\t fc(kN/m^2)\t alpha \t deltaL(m)\t Q(kN)\n");
for i=1:3
Q(i)=alpha(i)*fc(i)*p*dL(i);
Qs=Q(i)+Qs;
printf("%.2f\t\t %.2f\t %.2f\t %.2f\t\t %.... |
adf34245d828c2deb9acf9205cde5a0d32cf434e | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/GettingStarted/testlanguage.sce | 4559ebcd6dd271295d8377704f5ce2326e314f61 | [] | 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 | 194 | sce | testlanguage.sce | // retrieve the Scilab interface language
getlanguage() // in French at first
// modify Scilab interface language
setlanguage('en_US') // change to English
setlanguage('fr_FR');//to delete
|
d246d5a935d9ec82afd483612626e5515cf463f0 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/PCA_Demo.sce | ab73d55320ddf329ded5dacc0f56e7b113d6e378 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | PCA_Demo.sce | // Demo script for PCA
getd('../macros')
// Data preparation
M = csvRead('Datasets/titanic.csv')
x = M(:, [2,3,6,7,8,10]);
x(or(isnan(x),'c'),:) = []
x = real(x);
pca = PCA(x);
disp(pca) |
a6090f2d728b13de75ec1e7fd1f53e8cb4389224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.23.iii/exa12_23_iii.sce | de1fd6f1cf076116ae2ce18c5b27a75e7f336d69 | [] | 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 | 814 | sce | exa12_23_iii.sce | //caption:stability_using_Nyquist_criterion
//example 12_23_iii
//page 535
disp("for K=10")
g=(10*(s+10)*(s+40))/(s*(s+1)*(s+4));
g1=(10*(s1+10)*(s1+40))/(s1*(s1+1)*(s1+4));
GH=syslin('c',g);
GH1=syslin('c',g1);
nyquist(GH);
nyquist(GH1);
//mtlb_axis([-1.5 0.2 -0.3 0.3]);
xtitle('Nyquist plot of (0.1*(s+10)*(s+40))/(s*... |
a4add2886b47d58b088e5d93aa0d5205a8b6bcce | 734830c483d7180158343b9b5599994878b8b197 | /make-tests/unfinished/test2.tst | 2f328dd9572a85b8b014a690db214bbebee724a1 | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | test2.tst | T1: T2 T4 T7
T2: T3#ignore me plz T5
T3:
T4: T5 T6
T5:
T6: T5
T7: T6
|
ea46884866fea0901f08fd84f0ad2c855dffd68e | 66637dac260ebe5085a872c9f57355e817410679 | /RootFind-NRAlgo.sce | e57087181e52a7d61c7a85c7a630133e92689c11 | [] | no_license | SnehaSahu05/Root-Finding-Problem | 289710cca05712a80ced18a7ccec6b6af14145cf | 410524bc1ad88f8313d509cf9f7d1a9f950eda52 | refs/heads/master | 2021-01-11T15:44:07.177987 | 2017-01-24T13:52:51 | 2017-01-24T13:52:51 | 79,915,602 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | RootFind-NRAlgo.sce | //root finding by Newton-Raphson Algorithm : Linear Equation
function eqn=f(x)
eqn=(x.^2)-(6*x)+5; // roots=1,5
endfunction
x=-7;//root=1
//x=7;//root=5
xR=-10:10;
plot(xR,f(xR));
xtitle("plot: f(x)=(x^2)-6x+5","x","f(x)");
xgrid(color("grey"));
while(f(x)<>0),
plot(x,f(x),'r-o');
dfdx = n... |
e34c04282a62074bb2ba8ffb6d4cee32617040ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH9/EX9.7/Ch9Exa7.sci | 0c7e8cbe900042a7ef4f235b567583272d77e622 | [] | 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 | 497 | sci | Ch9Exa7.sci |
Rearth= 1.5*10^(11); //radius of earth, m
r= 1.4; //rate of arrival of sunlight, kW/m^2
P= (r*10^3)*4*(%pi)*(Rearth^2); //total power reaching Earth
Rsun= 7*10^(8); //radius of Sun, m
r2= P/(4*(%pi)*(Rsun^2)); //radiation rate of Sun, W/m^2
emissivity=1; //for blackbody
Sig= 5.670*10^(-8); //Stefan's constant,... |
086346a496006227141bf6212ef051fae5003e87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH12/EX12.8/Example12_8.sce | aecfbef5a1a9c65204c6a06f25f87541128eb02a | [] | 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 | 4,822 | sce | Example12_8.sce | clear;
clc;
// Illustration 12.8
// Page: 705
printf('Illustration 12.8 - Page: 705\n\n');
// Solution
//***Data***//
x1 = 8;// [percent moisture]
x2 = 0.5;// [percent moisture]
Rate_prod = 0.63;// [kg/s]
// Drying Gas:
xCO2 = 0.025;// [mole fraction]
xO2 = 0.147;// [mole fraction]
xN2 = 0.760;// ... |
72918b8d0ee4095bc11b9e02659e5f39fe199456 | 7bcb66526e8b2b1693cf06bdd8aa9a7a437703e4 | /aCompleter.sci | beb76ab3a1ade6660b01f6d0376f0f2960b9e998 | [] | no_license | ece2lr/tp6 | abf0cff1ebb3d89a02fc385ae7686524cc9fd187 | 686863a11712d1bc1bbb45c2201fee40c79fd12d | refs/heads/master | 2021-08-15T05:48:52.136019 | 2017-11-17T12:37:10 | 2017-11-17T12:37:10 | 111,101,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sci | aCompleter.sci | N = input('Donner un entier naturel non nul')
S = zeros(1,N) // permettra de calculer les fréquences empiriques
for k = 1:10000
i = 1 // i modélise le rang du tirage
M = N // M modélise le nombre de boules restant dans l'urne
while (________________)
i = i+1
M = _______________
... |
95410dbb61f94003dd7aae7eb3cbfe5723ca5abb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH8/EX8.9/ex8_9.sce | c37d30f9e1e2befe3d061da844604308bad2a4f6 | [] | 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 | ex8_9.sce | //Page Number: 434
//Example 8.9
clc;
//Given
e=0.0001;
s=330;
//Charge transfer effciency
n=1-e;
//Final charge pulse
//x=P/P0
x=(1-(e*s));
disp(x,'Final charge pulse:');
|
3fdfb4e0aaa5c56f34b90edfdaa232521156b420 | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex6.tst | f276db5bb8804f7d4259ce04284cc379113621fc | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 667 | tst | Ex6.tst |
echo "### Test Ex6-1"
../bin/carat/Bravais_catalog << EOF
1;1;1;1
y
stdout
a
EOF
echo "### Ex6-1 return code $?"
echo "### Test Ex6-2"
../bin/carat/Bravais_catalog << EOF
4-1
y
stdout
a
EOF
echo "### Ex6-2 return code $?"
echo "### Test Ex6-3"
../bin/carat/Bravais_inclusions Ex6_B
echo "### Ex6-3 return code $?"
ec... |
e69192f6bd804ac11f23d6a5bbf484a6f18cfc58 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP6/newtonBDF.sci | 322592de41fbaaefc40e6ddcc233ed46a5a744d0 | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sci | newtonBDF.sci | function[x, k] = newtonBDF(f, dfdx, tol, Kmax, x0, h, theta, U, V)
if Kmax - floor(Kmax) ~= 0 | Kmax < 0
error('Kmax must be an int');
end
if tol < 0 | abs(tol) < %eps
error('wrong tol');
end
endfunction
|
236be5d544078a79f7698db02adb848f3bb50773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.19.1/Ex4_19.sce | ae4ad1e86465283af6bffad1853f63830c4b1028 | [] | 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 | 748 | sce | Ex4_19.sce | clc
clear
//Conditions at 7 bat
P=7; //in bar
Tsat=165+273; //in K
Hf=697.2; //in kJ/kg
Hfg=2066.3; //in kJ/kg
Hg=2763.5; //in kJ/kg
Vg=0.273; //in m^3/kg
D=0.02; //in m
vel=17; //in m/s
Cps=4.187; //in kJ/kg K
Tw1=... |
5b1a6c3fd5a8e3a39e511516b7f6d2c47cde07c9 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/brhc.instr.tst | 952fff92d5c50ff467642e02a2c24d23d7e2610b | [] | 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 | 5,670 | tst | brhc.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000100 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000134 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xfd 0xf5 brhc .+126 ; 0x80
0x2: 0xf5 0x... |
350815cbf62aeef524ceb550d3f1a0caecdf1410 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH13/EX13.3/13_3.sce | aed844268a485166d7d11a154670d00a5c0b4b69 | [] | 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 | 340 | sce | 13_3.sce | clc
//initialisation of variables
w=500//ft
p=20//psig
h=40//psig
h1=1000//in
q=1250//ft
g=2.308/0.75//ft
g1=2.308/1.00//ft
s=5200//gpm
a=250//gpm
//CALCULATIONS
H=[h1-(1/2)*(w)]//ft
H1=(h-p)*g//percent
Q=[q-(1/2)*(w)]//ft
Q1=(h-p)*g1//percent
S=s/a//gpm
//RESULTS
printf('the number of standard fire s... |
a3b06d87c6e755528e3e6a4a6c7e8c12d589ef5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH16/EX16.4/ex16_4.sce | e7ac6dd917d177cf794cea7ab4f5f85db0ad77c3 | [] | 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 | 349 | sce | ex16_4.sce | clc;clear;
//Example 16.4
//given data
mo=9.1*10^-31;//mass of electron in kg
m=1.67*10^-27;//mass of proton in kg
c=3*10^8;//speed of light in m/s
E=1;//given energy in MeV
//calculations
Eo=mo*c^2/(1.6*10^-13);
mbymo=1+(E/Eo);
disp(mbymo,'Ratio for electron');
Eo=m*c^2/(1.6*10^-13);
mbymo=1+(E/Eo);
d... |
e35e7f3133b0a668288eb252f3c621dd577792e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.11/M_Ex_3_11.sce | 6ce1df5d8c3c1f9d744c4ef1b6c12762c71b30b1 | [] | 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 | 781 | sce | M_Ex_3_11.sce | clf();
clc
//Chapter3: Modulation
//Example3.11, page no 144
//Given
deff("[y]=f(x)","y=Ec*(1+ma*(sin(wm*x)))*sin(wc*x)")
Ec=10,ma=0.5,wm=10000*%pi,wc=2*%pi*1e7
x=[0:0.01:20]*%pi/10;
subplot(2,1,1)
fplot2d(x,f)
xlabel("t", "fontsize", 3);
ylabel("Modulated Wave", "fontsize", 3, "color", "red");
Fc=wc/(2*%pi... |
54782584136e7c4bd394808bfefd9ab2f9f29cb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH16/EX16.10/16_10.sce | cc9562ba1a00a6d8936f3de032377b94db8c5151 | [] | 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 | 765 | sce | 16_10.sce | //Problem 16.10: A coil of inductance 100 mH and resistance 800 ohm is connected in parallel with a variable capacitor across a 12 V, 5 kHz supply. Determine for the condition when the supply current is a minimum: (a) the capacitance of the capacitor, (b) the dynamic resistance, (c) the supply current, and (d) the Q-fa... |
bd51b779c2f98927473679577bc0e735c7fbefe3 | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/total_invisible.tst | b5918760d577e7e2872c617f7d03d6372f36e469 | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 9,106 | tst | total_invisible.tst |
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 . . . . . . . . 7
| |
6 . . . . . . . . 6
| |
5 . . . ... |
92ca0a5bb2330e910dff69b13dc3588d37d331a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.7/EX_5_7.sce | f8186b7714419a3bdb39ca236f3b19b18dae157b | [] | 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 | 509 | sce | EX_5_7.sce | // Example 5.7:corner frequency and maximum magnitude asymptote
clc;
clear;
close;
Cp=2;//PARALLEL RESISTANCE IN PICO FARAD
rs=2;//series resistance in killo ohms
rp=10;//PARALLEL resistance in killo ohms
tp= ((rs*rp)/(rs+rp)*10^3*Cp*10^-12);//time constant
f= (1/(2*%pi*tp))*10^-6;//corner frequency in mega her... |
abdfc9889a990583bcdabd0183906e9d45a22214 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH16/EX16.1/16_1.sce | bfe0c16e20ed5a00af9f426b3ad1c5aa7b694df5 | [] | 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 | 618 | sce | 16_1.sce | clc
//initialisation of variables
p=14.2//psia
t=140//F
r=6//ratio
p1=1300//Btu
h1=53.3//ft
t1=460//F
p2=14.0//ft
w=0.1715//ft
w1=172.0//ft
v=2.64//cu ft per lb
v1=15.86//cu ft per lb
h2=600//ft
x1=517500//ft-lb per lb
//CALCULATIONS
V=1*h1*(t+t1)/(144*p2)//cu ft per lb
P=p2*(r)^1.4//psia
P1=(t+t1)*r^... |
0974d2b9de6544c8e501651fc61b7ccc45be6341 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH41/EX41.14/41_14.sce | 02c55ae78fa218c1262983cbad0ff53dd1dd3e66 | [] | 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 | 830 | sce | 41_14.sce | //Problem 41.14: An asymmetrical pi-section attenuator is shown in Figure 41.28. Determine for the section (a) the image impedances, and (b) the iterative impedances.
//initializing the variables:
R1 = 1000; // in ohm
R2 = 2000; // in ohm
R3 = 3000; // in ohm
I1 = 1; // in amperes (lets say)
//calculation:
/... |
66f49c24ecf83089cf844d4f696eb7187b0d2eaa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MX05.prev.tst | daed7ad857cc54a683d5f568c6211f52a6fca60b | [
"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 | 1,215 | tst | MX05.prev.tst | [[-5,0,4],[0,3,0],[-4,0,5]],det=-27 [0,1,1], chain 2 => [4,3,5] => [0,9,9] ?? [36,27,45]
[[-5,0,3],[0,4,0],[-3,0,5]],det=-64 [0,1,1], chain 2 => [3,4,5] => [0,16,16] ?? [48,64,80]
[[-2,1,2],[-1,2,2],[-2,2,3]],det=-1 [0,1,1], chain 8 => [3,4,5] => [8,15,17] => [33,56,65]
[[-2,2,2],[1,2,1],[-1,2,3]],det=-8 [0,1,1], ch... |
37d19d77f69ce3d6bfd94e17f3d0c3e0abf82314 | 38012281b6334f56780d83d57af821a009c37ebe | /out/20_02_2019/Final_LrFijo/Gijon_TEST.tst | 083c9c7a4d7a7303501c39e2e96fb8a2679c35b4 | [] | no_license | uo232368/TripAdvisor | 2140422daa42fbae57b2eeb17d8829ff2378a822 | 74fa0131da52162d2f0bbcf6ceff91caa47ae220 | refs/heads/master | 2020-03-29T09:23:12.984191 | 2019-04-24T09:26:40 | 2019-04-24T09:26:40 | 149,755,513 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,360 | tst | Gijon_TEST.tst | Using TensorFlow backend.
[94mObteniendo datos...[0m
[93m[AVISO] Usuarios: 5139[0m
[93m[AVISO] Restaurantes: 598[0m
[93m[AVISO] Cargando datos generados previamente...[0m
[94mCreando modelo...[0m
##################################################
MODELV4
##################################################... |
dc78af1843cd79d633002c54f53a128bc1b33cd8 | c61d570c37971fa455028a89d2163f455f91c291 | /eliminacao_gauss.sce | 61bc84ab858c97f47838c56432558e5e986ebb83 | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,694 | sce | eliminacao_gauss.sce | //algoritimo de gauss n =3
//a11 x1 +a12 x2 +a13 x3 = b1
//a21 x1 +a22 x2 +a23 x3 = b2
//a31 x1 +a32 x2 +a33 x3 = b3
//eliminação regressiva
//iteração 1 e 2; i=1; j=2 && j=3 (j=i+1 até n)
//multiplica: a21/a11 a31/a11 => aij/aii
//nb = n+1
//matriz aumentada
//|a11 a12 a12 b1(a14)| (1)
//|a21 a22 a23 b2(a24)| (2)
/... |
289b370fbeab2c894b25c3aaf44b0b11e5fcc8b0 | 68f6f3335d41b95146619ddf406414da5c1bc975 | /metodos-numericos/parcial-practico-2/ej3.sci | e8460ceef39cef14afc23caad92a402fa465dd9a | [] | no_license | nachocattoni/Ita | be52ab7f80cb0dd7d0a0ef470c72a7f997f2e75b | f7e102a2917ebe59358dbd9d5f7af81703c16fde | refs/heads/master | 2021-05-02T08:09:23.784800 | 2018-02-08T02:50:30 | 2018-02-08T02:50:30 | 120,845,736 | 0 | 0 | null | 2018-02-09T02:29:22 | 2018-02-09T02:29:21 | null | UTF-8 | Scilab | false | false | 1,826 | sci | ej3.sci | clear
clc
function [x, P, A, b] = Gauss(A, b)
n = size(A, 1)
P = eye(n, n)
if( det(A) == 0 )
error("Argiroffo informs: ¡El determinante es cero, nene!")
end
for i = 1:n
mx = A(i, i)
idmx = i
for j = i+1:n
if(abs(A(j, i)) > mx)
mx = A(j, i)... |
32458e502d6e9c8fd3b6cf7fe804522af2b97260 | 1effec70f42dbf473f60b45855c2902a9c162d63 | /scripts/exercice3.sce | 613f348f7a93890c6f603583feeea1771674d172 | [] | no_license | OlKakine/TP-Scilab-Analyse | fd7abdc2698e2f1344ddb8e4b0c5904653e76da1 | d99e1947127a05a6ff2c98e99f9e56cfa1afb29e | refs/heads/master | 2020-04-09T00:35:39.797674 | 2016-11-23T12:16:37 | 2016-11-23T12:16:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | exercice3.sce | clc; clf; clear;
//question 1
I = exp(1)-1;
for n = 1:20;
I = exp(1) - n*I
end;
//question 2
S = 0
for i = 0:20;
S = S + 1 / ((i+21)*factorial(i));
end;
disp(S)
|
4a6f6175b6b837a9a7b2e7c9b4b4e00a2706eee0 | 717ddeb7e700373742c617a95e25a2376565112c | /191/CH6/EX6.5/Example6_5.sce | 70049cb6bc80c0ef5f645768098f85251fc81a9e | [] | 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 | 727 | sce | Example6_5.sce | //Trapezoidal Rule
clc;
clear;
close();
format('v',10);
funcprot(0);
disp('Integral 0 to 2 e^x dx');
disp('based on trapezoidal rule ');
deff('[y]=f(x)','y=exp(x)');
n = [1 2 4 8];
a = 0;
b = 2;
h = (ones(:,4)*(b-a))./n;
t(1) = h(1)*(f(a)+f(b))/2;
disp(t(1),'n=1');
t(2) = h(2)*(f(a)+f(b)+2*f(h(... |
f51b27460dbeb547da9bb2859cfb84d839c7a35d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300.zip/Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300/CH17/EX17.17.2/Ex17_2.sce | bd9a3dfe24456b4aef48fd4606ddfbb7b9ea1bbb | [] | 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 | 220 | sce | Ex17_2.sce | errcatch(-1,"stop");mode(2);//scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
s='1111'
x=bin2dec(s)
disp(,x,"Decimal equivalent of 1111 is ")
exit();
|
30f4a755da1db00072468b89f3eb81ccd19313a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH3/EX3.17/3_17.sce | d08816d38f2cd97443d1a89184b4fe45d62e3f2e | [] | 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 | 417 | sce | 3_17.sce | //chemical kinetics and catalysis//
//example 3.17//
T1=27;//initial temparature in C//
T1=T1+273;//in kelvin//
Tr=10;//rise in temparature//
T2=T1+Tr;//final temparature in kelvin//
r=2;//ratio of final to initial rates of chemical reactions(k1/k2)//
R=8.314;//value of constant R in J/K.mol//
E=log(r)*R*T1*T2/... |
98e7dc61ab53ba479604d1707d212da6b29f7c69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.30/4_30.sce | 41d8707d435c053e69b7fa17a87b6a23201e23b7 | [] | 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 | 145 | sce | 4_30.sce | R=2000
C=5E-6
w=1000
Xc=1/(w*C*%i)
Y=1/R+1/Xc
Z=1/Y
Req=real(Z)
Ceq=-1/(imag(Z)*w)
disp(Ceq*1E6,Req) //////Answer wrong in the book |
4990beb264d6d073b61fc0c23abac69f223ef5bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH6/EX6.30/Example_6_30.sce | 15ce0c793a84e8e931e045d47dbfdaa9c14e08ba | [] | 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 | 224 | sce | Example_6_30.sce | // Example 6.30 Deseasonalise the following sales data
clc;
clear;
Sales=[23.7 25.2 21.4 65.4];
SI=[0.78 1.24 0.50 1.48];
DD=Sales./SI;
disp(DD,"Deseasonalise Data =",SI,"Seasonal Index",Sales,"Sales in thousand =");
|
3d5bc5a65e0e12fdad436cc10633d10af8ed7588 | a617a2a0835b5800a12c9ff4126b81b96e78c59b | /curvaParametrica.sce | 128ec98b35155a7ca475b15c980f5276ca8a247c | [] | no_license | chagas-junior/scilab | d515e5399536081b12742a58879be3057c52f476 | e0ca4ed7b4f264a46d410a1b6d4b6830bb28ed4b | refs/heads/master | 2023-02-26T06:57:01.468742 | 2021-02-03T01:57:03 | 2021-02-03T01:57:03 | 335,104,373 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | curvaParametrica.sce | close;
x = 0:0.01:9.42;
y = x.*(cos(x));
z = x.*(sin(x));
disp(y);
disp(z);
plot(y,z); xgrid;
title('Curva paramétrica');
|
190b5b70cd07726923bb6a5f65012979c30ef336 | 463377b6374a24bbe111707a34e24949f3bd2543 | /iddataplot.sci | 4b1818d56b530366a73a564a7100cca60c327cdc | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,144 | sci | iddataplot.sci | function iddataplot(varargin)
[lhs rhs] = argn(0)
if rhs <> 1 then
error(msprintf(gettext("%s: Wrong number of input arguments."),"iddataplot"))
end
iddataData = varargin(1)
if typeof(iddataData) <> 'iddata' then
error(msprintf(gettext("%s:Wrong type for input argument %d: ""iddata... |
beebe5d6c12e7545fd54cb90b507c8f4d5dd2fd1 | d4cea11f373b595960b7a7f445f8453dd705be78 | /University Projects/Project 4/fill/Fill.tst | 22b8e54e0bbb299b4c6a2b57e9e2fe248fab9ab6 | [] | no_license | Xcompanygames/Assembler | 758c4b9a23856591e23a8ccf2239927e400567c2 | cbbe55e30345ce9e02afcd39a54ab7fd03d9a887 | refs/heads/main | 2022-12-31T10:10:26.143445 | 2020-10-09T12:37:36 | 2020-10-09T12:37:36 | 302,636,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | tst | Fill.tst |
load Fill.hack;
echo "First, make sure that 'No Animation' is selected. Then, select the Keyboard icon, click on any key and inspect the screen.";
repeat {
ticktock;
}
|
4f70d2f4b3082fa582d64c030a27c8dc03ec0464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH10/EX10.22/10_22.sce | 6ddfbb9fcabab92db13d5d01fb49b705bc16a03a | [] | 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 | 4,069 | sce | 10_22.sce | clear;
clc;
//Example - 10.22
//Page number - 363
printf("Example - 10.22 and Page number - 363\n\n");
//Given
T = 50+273.15;//[K] - Temperature
P = 25*10^(3);//[Pa] - Pressure
y1 = 0.5;//[mol] - mole fraction of equimolar mixture
y2 = 0.5;
R = 8.314;//[J/mol*K] - Universal gas constant
//For component... |
123d0459d1f3d67b81ed1c60549e0dd22e221a62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.5/ex25_5.sce | 8038539ad0f2823d32907b5feff68abc60289954 | [] | 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 | 293 | sce | ex25_5.sce | clc;
c=12.01; //mass of carbon
h=1.008; //mass of hydrogen
mass=((2*c)+(4*h))*9.4; //calculating mass
disp(mass,"Required mass = "); //displaying result
n=6.023*10^23; //avogadro's no
ac=(2*9.4)*n; //calculating atoms of c
disp(ac,"Atoms of C = "); //displaying result |
59155e034129f630a5038d45819ddbb812d977a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.10/ex_4_10.sce | 62609a250e79590e5457de13cff2e95bcd20ab77 | [] | 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 | ex_4_10.sce | ////Ex 4.10
clc;
clear;
close;
format('v',5);
AOL=2*10^5;//unitless
Rio=2;//Mohm
Ro=75;//ohm
Ri=1;//kohm
Rf=10;//kohm
ACL=-AOL*Rf/(Rf+Ri+AOL*Ri);//unitless(Exact)
disp(ACL,"Exact close loop voltage gain");
ACL=-Rf/Ri;//unitless(Approximate)
disp(ACL,"Approximate close loop voltage gain");
Beta=Ri/(Ri+Rf);... |
5f49201c28f3dfab80d639100896572e4e5aba67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH15/EX15.11/15_11.sce | b77b4568482733b507c20f569d2efffec6c8a846 | [] | 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 | 15_11.sce | clear;
clc;
f=500;Ro=400;f1=50;D1=17;
M1=10^(D1/10);
D2=4;f2=2500;
M2=10^(D2/10);
B=sqrt(((f1*f1*(M1-1))-(f2*f2*(M2-1)))/(M2-M1));
A=sqrt((B*B*M2)+(f2*f2*(M2-1)));
L11=Ro/(%pi*(A+B));
L12=Ro/(%pi*(A-B));
R11=L11*%pi*(A-B);
R12=L12*%pi*(A+B);
R21=Ro*Ro/R11;
R22=Ro*Ro/R12;
C21=L11/(Ro*Ro);
C22=L12/(Ro*Ro);... |
dd081b3e296285655594406b500314c1f1af3ff1 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Structure/PIL_k_mesh.sci | 70643e06dfbd0e33fb90475c17915722dad4858e | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,587 | sci | PIL_k_mesh.sci | // **** Purpose ****
// Give four points in the k-space. The first one is origin point and
// the other three points span a space in the k-space. This code will
// perform k-mesh on this hexahedral.
// **** Variables ****
// [rec_vec]: 3x3, real, if [], then eye(3,3)
// <= reciprocal row vectros. If [], then eye(3,3)... |
adde9d349c7f35e68c0830ed90e1cfdce4f042d2 | 9835e6a99ef801fdd06a9193c1846cae987d740a | /MissionsA/MissionA-4.sce | 4e02bc09a643f4f40fee2c93a2d65886da4ceb7c | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | MissionA-4.sce | //---------Mission A-4-----------
//-------------------------------------
// Améliorer la qualité de l'image
// Utilisation d'un filtre médian pour supprimer le bruit
//
//
funcprot(0)
getd("../Fonctions")
missPath="./"
nomMission="MissionA-4"
// PBM--->matrice
img = readpbm(missPath+"Jupiter1.pbm")
//Traiteme... |
b54bf128ddad700f65e50a3bc287fd08a1571773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.5/8_5.sce | 4bd95c5b9ed9e18bc21bf8a08b5e88e06071acd1 | [] | 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 | 196 | sce | 8_5.sce | //Reaction at A in overhanging beam
//refer fig. 8.9
//Applying virtual work principle
//(-2*RA+180-20)*delta(y)=0
//Thus
RA=(180-20)/2 //kN
printf("\n Reaction is RA=%.2f kN",RA)
|
cc1f0b568210e0bfc6ee19a1119aac944a7f17e5 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/simple.tst | b8590bcf41bcd648c02f558b53711142623b287c | [
"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 | 451 | tst | simple.tst | ## Test of index, tip, tags, history, paths, expunge and checkout
set echo
read <simple.fi
~=B index
:76 tip
tags
paths
1..$ expunge theory.txt
paths
116 checkout foobar
!ls foobar
!rm -fr foobar
101,103 diff
101,103 manifest
116 manifest
116 manifest /^reposurgeon/
paths sub foo
paths sup
:2 setfield comment "The qu... |
a65971e77fdaf1c5bbe14fd9ccf03654f39054cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH11/EX11.12/Ex11_12.sce | ea4fb18c8494f81ed9cb29fefc7b0890fdbac7b8 | [] | 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 | 282 | sce | Ex11_12.sce | // Example 11_12
clc;funcprot(0);
// Given data
w_1=0.0046;// kg H2O/kg dry air
w_2=0.010;// kg H2O/kg dry air
// Calculation
// (b)
dw=w_2-w_1;// The amount of water added in kg H2O/kg dry air
printf("\n(b)The amount of water added,w_2-w_1=%0.4f kg H2O/kg dry air",dw);
|
e9ed3f15d6e3905f4621ee13c9c5b6c98fa37a11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.35/1_35.sce | 35f09ecdd717619adb0a61b07d2cef81f1e95f6a | [] | 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 | 554 | sce | 1_35.sce | //To determine the coil parameters with resistance of 5 ohms
clc;
clear;
//Parameters of the coil
R=5; // Resistance
I=10; // Current flowing
V=200;// Voltage across
f=50;// Frequency of operation
P=750;//Total Power Dissipated
Pc=(I^2)*R; // Copper Loss
Pil=P-Pc;// Iron Loss
Z=V/I;// Impedance
X=sq... |
8f004a37fac042bbf8e9f76ecdb1a9cb7dc31b16 | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /1-RDMP/RDMP-3a.sce | 813afca13c5e49f1ff406b7f2de8b351524fa5c1 | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,301 | sce | RDMP-3a.sce | clear; clc;
// RDMP-3a.sce
// A => B
// No adiabático: camisa a temperatura constante
// SISTEMA DE ECUACIONES DIFERENCIALES
function dxdt = f(t,x)
// Variables diferenciales
CA = x(1)
T = x(2)
// Ecuación de Arrhenius
k = k0*exp(-E/(R*T))
// Velocidad de reacción
r = k*CA
// Calor tr... |
9d66aa107eadcd63eabeb4b72c2c44f8ba4a8eed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.27/Exa_1_27.sce | f646f04bde38e01598e10e848cff7bc35071bdcd | [] | 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 | 257 | sce | Exa_1_27.sce | //Exa 1.27
clc;
clear;
close;
format('v',6);
//Given Data :
m=500;//Kg
t1=45;//degree C
t0=5;//degree C
CP=4.18;//KJ/Kg-degree C
Qdot=41.87;//MJ/hr
Q=m*CP*(t1-t0);//KJ
Q=Q/1000;//MJ
Time=Q/Qdot;//hrs
disp(Time,"Time required in hours : ");
|
0c5ff9a127b1e4f706e1696a1cb71d0f6e4b8ac5 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_a6_hrz_col_d/~BivLCM-SR-bfi_a6_hrz_col_d-PLin-VLin.tst | dbd8a799d3c3648fb55ebca222640b710c2e781b | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_a6_hrz_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.356401D+00
... |
1300470bd67f348b3566b346d23565261b6c31fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH17/EX17.2/Ex17_2.sce | a08652290bbf74027ed9800bafe84bf84d06c135 | [] | 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 | 178 | sce | Ex17_2.sce | //Fluid Systems - By Shiv Kumar
//Chapter 17- Dimensional and Model Analysis
//Example 17.2
//Theoritical Problem to Obtain Expression for Velocity of Propagation of Wave
|
0e7d79baf8617762aa6052cecb87bab6dfa38506 | 76cd50cd5e5d8e4afa2af9b79740e2cff65ab2c8 | /falseposition_method_exp2.sce | f041969a7eaafc18e5fd11afc35a65fba61409ca | [] | no_license | ankitparekh21698/Numerical-Techniques-Lab | 60de11c65db0be65acc14a055cb5b57ca3158e26 | c3ba81f085f22dab8a3f93e6f86ea956a886e410 | refs/heads/master | 2022-12-17T21:32:04.681008 | 2020-09-10T16:07:17 | 2020-09-10T16:07:17 | 280,810,961 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | falseposition_method_exp2.sce | deff('d=f(x)','d=(x^3)-x-2');
a=input("Please Enter lower Limit");
b=input("Please Enter Upper Limit");
n=input("Please Enter No. of Iterations");
disp("Checking upto 3 significant digits")
c=(b*f(a)-a*f(b))/(f(a)-f(b));
x=a:0.01:b;
y=f(x);
plot(x,y);
disp("Iteration : a : b : c : f(c) ")
for i=1:n
... |
daddc7ddbadae34122454dae0a5d4ce474886fa7 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLSparseCovarP-Netezza-01.tst | 1ff78a0b44cd5407d20ce080509894890ff2b605 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,692 | tst | FLSparseCovarP-Netezza-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
203b7c6881223fcefd1a2889bc000a58240be712 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH5/EX5.6/Ch05Ex6.sce | 94631b72498c8395353cf3aff8427d129606123f | [] | 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 | 475 | sce | Ch05Ex6.sce | // Scilab Code Ex5.6 :: Page-5.27 (2009)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
A = 235; // Atomic weight of uranium, gm/mol
N_A = 6.023e+026; // No. of atoms present in 235 kg of uranium
N = N_A/(A*1000); // No. of nuceli of uranium per gram
E = N*200; // Energy produced by 1 g of U-... |
c62ffcf9255a4ea3529aac10328127d59bdef7fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH2/EX2.2/exm2_2.sce | 5a6289afcde352a279e4ad0e25c4306f93d23f3b | [] | 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 | exm2_2.sce | // Example 2.2
// Program shows typical declarations,assignments and values stored in various types of variables.
//Declarations and Assignments
m=int16(54321);
n=int32(1234567890);
k=uint16(54321);
//Assignments
x=1.234567890000; //Bydefault type is double in scilab
y=9.87654321; //-----... |
13881c0eec8f1182b71515b1ece75836b1cb546b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH18/EX18.5/ex18_5.sce | 54d131ad8079636ba2d26042d36179537601a26a | [] | 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 | 393 | sce | ex18_5.sce | clc;
e=1.6*10^-19; //charge
c=3*10^8; //velocity in m/sec
ke=106*10^6; //kinetic energy in eV
KE=ke*e; //calculating kinetic energy
disp(KE,"Kinetic Energy in Joule = "); //displaying result
m=KE/(c*c); //Einstein's equation
disp(m,"Mass in kg = "); //displaying re... |
786842758bcc996edb8309bcb8197a4973acb466 | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /leap-year.sce | 9b402e21539592eb85a4103bfcf676b114637951 | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | leap-year.sce | // Return if a given year is a leap year
year = input("Give a year: ");
if (modulo(year,4)==0 & (modulo(year,400)==0 | modulo(year,100~=0)))
printf("Leap year!")
else printf("Not a leap year!")
end
|
64b68fe68c6e176b9766c0f04ed03785119f4536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH16/EX16.10/Ex16_10.sce | a60a1c7474c2f5344b8bfc4c07b4728852ac4ad7 | [] | 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 | 288 | sce | Ex16_10.sce | //Example 16.8, page 615
clc
n=(1/10)/(54*1.66*10^-27)
d_ohm=10^-5/(10^-1)**2
d_zigma=(1.3*10^-3)*10^-31//m2/nucleus
P=d_zigma*n
//disp(P)
I=(10^-7)/(1.6*10^-19)
//disp(I)
dN=I*P
printf("\n The number of events detected per sec is s %d",dN)
//The answer differnce is because of round off
|
19474ffbdcf7ed9e04c6469f33e5b8239f39ee33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.31/17_31.sce | 048fe9624d90397cbc5e467bdd298af5c585a6f0 | [] | 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 | 727 | sce | 17_31.sce | pathname=get_absolute_file_path('17_31.sce')
filename=pathname+filesep()+'17_31_data.sci'
exec(filename)
//Heat supplied(in kJ/h)
H=Vg*CV*60
//Heat equivalent of bp(in kJ/hr)
Hbp=bp*60*60
//Heat lost in jacket cooling water(in kJ/hr)
Hc=(Vc*dwc*Cvw)*60
//Mass of gas used(in kg/min)
mg=Vg*Pg
//Mass of exhaust... |
c918acf13a35278cafd49fb6cf3ae3bbf5fab219 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo3a.sce | 7e86e8f989efc4a226fb4d7a83a0fa84b4c247ff | [] | 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 | 196 | sce | testexo3a.sce | n=9;m=9; // size of matrices
L=([1:n]')*ones(1,m); // row number
K=ones(n,1)*[1:m]; // column number
R=1+int((K-1)/3)+int((L-1)/3)*3 // region number
|
8565fefdfd646249e2d9d35f59a234f5899d9bbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.13.1/Ex4_13.sce | c5647d7d1906219039ee62eda09620d1f9e238fd | [] | 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 | Ex4_13.sce | clc
clear
//At 7 bar and 300 Celcius
P=7; //in bars
Cps=2.1;
Tsup=300+273; //in K
Tsat=165+273; //in K
Hg=2763.5; //in kJ/kg
H1=Hg+(Cps*(Tsup-Tsat));
x2=0.9; //Dryness Fraction
Hf=697.2; //in kJ/kg
Hfg=2066.3; //in kJ/kg
H2=Hf+(x2*Hfg);
m=(H1-Hg)/(Hg-H2);
printf(... |
cefa971794230d599eec1563638b3d7cdbbc775e | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-print-GB18030.tst | d1122bd0334fd45aabab146ef4266b69a331197c | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | tst | test-print-GB18030.tst | FLAGS='--print GB18030'
STDIN=''
STDOUT='\x84\x31\x95\x33'
STDERR=''
EXITVAL='0'
|
62d55eb5d289c1f9845114e9255ced2413af8c39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH1/EX1.3/Ex1_3.sce | f0af4190c99db75043fb03a49ca7c9f8f3682b4e | [] | 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 | 282 | sce | Ex1_3.sce | clc
// Given that
m = 1e-30 // Mass of any object in Kg
v = 1e5 // velocity of object in m/s
h = 6.625e-34 // Plank constant
printf("Example 1.3")
lambda = h/(m*v) // calculation of de Broglie wavelength
printf("\n de Broglie wavelength of body is %e m.\n\n\n",lambda)
|
1a6c4e2b205380c8d4e3c95d6ae9018f8ac47213 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/apply_strings_runme.sci | 58c63faca1d0088ceda54041e359183d1ca97017 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | apply_strings_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:18f8c99d70849e55ad7f96600cd813ce345790bc624b871fec65dfe3948f356d
size 1594
|
7e4d542e06dc73defd12c53021f700b68059ec37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH5/EX5.16/Ex5_16.sce | ab0be36c1c640ed72d0514f1d1b8416ef0664326 | [] | 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 | 732 | sce | Ex5_16.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100;
if sd==60.0 then
sd=0;
m=m+1;
end
dms=[d m sd]
endfunction
alpha=44+12.0/60+30.0/3600;//angle in... |
e5a2bc36deca10319f6a958a8bd4782f97c43afd | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.7/example10_7.sce | 7693b74db968290729daa197fd4263993ac11dae | [] | 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 | example10_7.sce | //Chapter 10
//Example 10_7
//Page 237
clear;clc;
vr=11*1000/sqrt(3);
r=1.5;
xl=4;
pfr=0.8;
pd=5000;
i=pd*1000/3/vr;
vs=vr+i*r*pfr+i*xl*sin(acos(pfr));
reg=(vs-vr)/vr*100;
loss=3*i^2*r;
op=pd*pfr;
ip=op+loss/1000;
n=op/ip*100;
printf("Recieving end voltage = %.0f V \n\n", vr);
printf("Load current = %.2f A \n\n", i... |
f892380d03932038edf50fe4d735eca5091bbc8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH5/EX5.16/Ex5_16.sce | f25db29725cd7824bde3f71468b0a17b254658f2 | [] | 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 | 724 | sce | Ex5_16.sce | // SAMPLE PROBLEM 5/16
clc;funcprot(0);
// Given data
omega=4;// rad/sec
omegadot=10;// rad/sec^2
r=6;// in
rdot=5;// in/sec
rdotdot=81;// in/sec^2
// Calculation
// Velocity
v_rel=rdot;// (k) in/sec
v_A=[v_rel,(omega*r)];// in/sec
printf("\nv_A=%1.0fi+%2.0fj in/sec",v_A(1),v_A(2));
v_A=norm(v_A);// in/s... |
2bf724edf19be06a244b0186b68d8e3a06652c9c | c2cf5e53df19d291ce5ba2fac57fa51f037f44ae | /saveTest.tst | a25a49fc9cb342b56e18dc8d6bbcabb4d079ac36 | [] | no_license | m-matthieu/TP4 | c1066e1f1b5031677741402bad66fb4ec98e34a4 | 17bd39e6f068a28cda140452b64e2f05880b16e7 | refs/heads/master | 2021-01-14T10:39:24.539934 | 2015-10-23T13:42:57 | 2015-10-23T13:42:57 | 44,386,212 | 0 | 0 | null | 2015-10-16T13:17:04 | 2015-10-16T13:17:04 | null | UTF-8 | Scilab | false | false | 1,657,390 | tst | saveTest.tst | 0 80 1 0 0 -45 -45 66049 :/heightmap-1.png -0.5 -0.5 0.09 -0.5 -0.496109 0.089 -0.5 -0.492218 0.085 -0.5 -0.488327 0.079 -0.5 -0.484436 0.076 -0.5 -0.480545 0.076 -0.5 -0.476654 0.071 -0.5 -0.472763 0.058 -0.5 -0.468872 0.055 -0.5 -0.464981 0.053 -0.5 -0.461089 0.047 -0.5 -0.457198 0.054 -0.5 -0.453307 0.059 -0.5 -0.44... |
1e3ee3f71eb1182252849e0cd621dade7f7a656e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.a.7/A_Ex5_7.sce | 7492185b53bc290f4b099d7cf6aa8ba3ad36eee9 | [] | 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 | 478 | sce | A_Ex5_7.sce | // Chapter 5 additional Example 7
//==============================================================================
clc;
clear;
// input data
// given crystal has BCC structure
r = 1.2*10^-10; // atomic radius in m
// Calculations
a = (4*r)/sqrt(3); // lattice constant
V = a^3; /... |
07265666d525fb2ce7355c9742bdb2f61bb80502 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.14/8_14.sce | a34f24830ec11335b7484719bbf9358a5142eb80 | [] | 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 | 317 | sce | 8_14.sce | //Determine WB
//refer fig.8.18
theta=atand(3/4)
mu=0.3
WA=200
F=mu*WA*cosd(theta) //N
//Let us give virtual displacement of delta(s) up the plane to block A
//Applying virtual work principle
//(-200*sind(theta)-F+WB/2)*delta(s)=0
WB=2*(200*sind(theta)+F) //N
printf("Required value of WB=%.2f N",WB)
|
0c9837c29397ca3f78fbfd36c8d5462e92a5007b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH5/EX5.15/Ex5_15.sce | 6adcca0910ac17136ca4c712cfdc68fbe073b172 | [] | 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,304 | sce | Ex5_15.sce | // Problem 5.15,Page no.137
clc;clear;
close;
B=20 //cm //width of timber
D=30 //cm //depth of timber
d=25 //cm //depth of steel plate
b=1.2 //cm //width of steel plate
sigma_s=90 //N/mm**2 //Bending stress in steel
sigma_t=6 //N/mm**2 //Bending stress in timber
m=20 //Ratio of modulus of elasticity of of steel to ti... |
447678f9020c82edf81ce0559deb7e6124b535e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH6/EX6.12/6_12.sce | b89a2f7899643e1ef20756b6ee7ec0e1fdaa4169 | [] | 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 | 570 | sce | 6_12.sce | //Speed of a belt driven shunt generator
clc;
clear;
Pg=100*(10^3);// Power output of the generator
Pm=10*(10^3); // Power input of the motor
V=220;
Ng=300; // Running speed of the generator
Ra=0.025; // Armature resistance
Rf=60; // Field Resistance
Vb=2;// Voltage drop due to brushes
Im=Pm/V; // Curr... |
f04ea54870285a0922351b6ca181b40164381f69 | b5801afaa3964cbd7f9c1c8cf732cdcdb020e7fc | /Scilab6-Keras-Toolbox/examples/example2/img_rec_tests.sce | 5b1b2b316c1479bc34e150a81d0be0060de0f307 | [
"BSD-3-Clause"
] | permissive | TanayKarve/scilab-keras-toolbox | e179b283102a580f2192d44c63dbc44a6fbaf03d | 48045cd955c821a00377f9719f21fe0f91148541 | refs/heads/master | 2022-12-03T09:22:16.551928 | 2020-08-23T13:26:21 | 2020-08-23T13:26:21 | 289,681,759 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | img_rec_tests.sce | y=image_model(3);
printf('Training accuracy of image model: %f%%',(y*100));
y=image_model_test();
printf('Guessed class for this image:')
disp(y)
|
a1ff7d288673048e7a162f7ab534e78dc6f8bf4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH19/EX19.1/Ch019Ex1.sce | 9db4b56ecb58e0ebdd8c362447b10daec23c73a7 | [] | 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 | 474 | sce | Ch019Ex1.sce | // Scilab Code Ex19.1: Page-959 (2011)
clc; clear;
T_c = 6.2; // Critical temperature of lead in superconducting state, K
T = 4; // Temperature at which critical field of lead is to be found out, K
H_c0 = 0.064; // Critical field for lead at 0 K, MA/m
H_cT = H_c0*(1-(T/T_c)^2); // Critical field fo... |
d4ccc3bc850cd43b9a2c83bc5cdc3cb904df9c72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.4/Ex4_4.sce | 319c7254a5dc26e74e3c6ed839444d7e5a8192d9 | [] | 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,174 | sce | Ex4_4.sce | clc
// Given that
alpha = 10 // Rake angle of tool in Degree
v = 200 // Cutting speed in m/min
t1 = 0.2 // Uncut thickness in mm
w = 2 // Width of cut in mm
mu = 0.5 // Avg value of the cofficient of tbe friction
T_S = 400 // Shear stress of the work material in N/mm^2
Cm = 70 // Machining constant in Degree
// Sample... |
978b7ea78ebb3588926dd9319cbacf6ef0967206 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH3/EX3.11/Chapter3_Example11.sce | 4e5d99df578914cf0eca7553ed3015b4981495ae | [] | 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 | 516 | sce | Chapter3_Example11.sce | clc
clear
//Input data
V=25;//Volume of gasoline consumed by an engine in litres/hour
cv=6*10^6;//The calorific value of gasoline in calories/litre
P=35;//The output of the engine in kilowatts
//Calculations
h=V*cv;//Total heat produced by gasoline in one hour in calories
H=h/3600;//Heat produced per se... |
10a35e9780fe519ce69b8ebb2ea8013071b5c4fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH15/EX15.4/15_4.sce | e75758b80cd48a238edb09a10a977cd44dfe455f | [] | 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 | 357 | sce | 15_4.sce | //Find Resistivity
//Ex:15.4
clc;
clear;
close;
p_cu=0.015*10^-6;//resistivity of copper in ohm-m
p_ni=0.012*10^-6;//resistivity of nickel in ohm-m
p_ag=0.016*10^-6;//resistivity of silver in ohm-m
c1=0.25;//atomic % of nickel
c2=0.4;//atomic % of silver
p=p_cu+(c1*p_ni)+(c2*p_ag);
disp(p,"Resistivity of Cu-... |
5f248cedb83e2e1ac2227788150f82b004cea392 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH4/EX4.2/Exa4_2.sce | d9ecd29ace3b9a98d158e4b9b4f791de555664dc | [] | 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 | 227 | sce | Exa4_2.sce | //Exa 4.2
clc;
clear;
close;
//Given Data :
format('v',7);
d=2.8*100;//in cm(spacing)
r=0.5*1.5;//in cm
ds=0.77888*r;//in cm
L=0.2*log(d/ds);//in H/m/phase
disp(L*20,"Inductance per phase for a 20 km line (in mH) :"); |
8d6a71cbc92918d41311593d11e1b7a6eef6349b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/demos/icse/icsuq.sci | da77a2dc7ef31a9e25cc5f317195812d4f7b9710 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 1,843 | sci | icsuq.sci | //[co,u,g,itv,dtv,cof]=icsuq(u,simu,nap,imp,obs,ytob)
// Calcul du controle optimal avec ponderation du controle initial
// et ponderation geometrique des poids des observations.
// Une mise a l'echelle ramene toutes les composantes du controle
// initial a 1.Les composantes initialement nulles le resteront.
// Ne... |
f49d1badb03f578ef1804da482feac79dc512ae5 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/ss.sci | 2013cc70b8cce9b863aed1373d78ed2b95c2644f | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sci | ss.sci | // ############################################################################
// Permite obtener la representacion en espacio de estados de un sistema continuo
// o discreto.
// Sintaxis:
// [sys1=]ss(sys) : con sys una FT o cociente de polinomios.
// [sys1=]ss(A,B,C,D) : sys1 sera un sistema continuo obteni... |
e84c8df1616d75131edc910eb55a5d73f977a23c | 717ddeb7e700373742c617a95e25a2376565112c | /773/CH18/EX18.08.01/18_08_01.sci | 3a33aec942a423b1f34d2890a0660e0ca5915834 | [] | 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 | 102 | sci | 18_08_01.sci | //symsum//
exec ztransfer.sce;
sequence=[0 2 0 0 -3 0 0 8]
y=ztransfer(sequence);
disp(y,"ans=")
|
1bfc0e1d2dea3c8b7873a2aab36eec42ab5edcb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.14.1/Exa14_1.sce | 0fac34da097888abee4c10e80470c9edbf2b6b3b | [] | 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,726 | sce | Exa14_1.sce | //Exa 14(i)
clc;
clear;
close;
//given data :
inINV=50000;//initial investment in Rs. and equal for all projects
life=5;//in years
salvage=0;//in Rs.
TaxRate=55;//in %
//depreciation type :Straight line
D=inINV/life;//in Rs
//cash flows before tax of 1st,2nd,3rd,4th and 5th years
CBFT1=10000;//in Rs.
CBFT... |
dc3ae48014fb89daec03a85dfb71691823983861 | 2425d32bb7c5a0b689c691b8cf61737d2bf0e866 | /05/CPU-decoding.tst | 5592cf05c14d29adf058692b465debfc6120c0de | [] | no_license | Furbreeze/Nand2Tetris | ab3f0703016e45f1c73faa2b7b7f39a3de153b31 | 02418138f0a282973b532b61ec96d85a6fe3890e | refs/heads/master | 2022-12-13T21:02:19.123479 | 2020-09-17T16:08:33 | 2020-09-17T16:08:33 | 296,376,173 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | tst | CPU-decoding.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/05/CPU.tst
load CPU.hdl,
output-file CPU.out,
compare-to CPU-decoding.cmp,
output-list time%S0.4.0 inM%D0.6.0 instruction%B0.16.0 reset%B2.1.2 outM%D1.6.0 writeM%B... |
a880f687487009d41327cc12e075a1a6155d7613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH4/EX4.9/9.sce | 394c3e2f749a4dffa069429e14ee0479cef66a4c | [] | 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 | 285 | sce | 9.sce | //Variable declaration
me=1.676*10**-27; //mass(kg)
mn=9.1*10**-31; //mass(kg)
h=6.63*10**-34; //planck's constant
//Calculation
lamda_n=h/sqrt(4*mn*me); //de broglie wavelength(m)
//Result
printf('de broglie wavelength is %0.3f nm \n',int(lamda_n*10**9)) |
82b84386421b68868fa6f5257320144ade0c4461 | db6c77c95fe7a97b791d5689c2ac3b39e791ea17 | /tests/cases/europepmc-json_013.tst | 2218940f6ec3bcf1d006b6e81553d74c87ca04bc | [] | no_license | sauliusg/bibliophile | 9623cd5e8b163d36a253eaa36b558ed87666450a | 1e6f63b1e08209af5c6c87ee05098d8fa53a4345 | refs/heads/master | 2021-01-19T05:49:43.075428 | 2018-11-20T19:30:36 | 2018-11-20T19:30:36 | 100,584,633 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | tst | europepmc-json_013.tst | Tests the response of the script to a file whose content is not URL-encoded,
and the option '--url-encode' is not given. It should return :
$0: WARNING, the search term '${SEARCH_TERMS}' contains spaces and will not work
$0: WARNING, please URL-encode your search term or use '--url-encode' option
$0: WARNING, will skip... |
9dd9744c40c37c59e6faf8c893777a4b48786995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.08/4_08.sce | f43fd18820225fedba92292af2e63a2e62b3ea03 | [] | 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 | 326 | sce | 4_08.sce | //pathname=get_absolute_file_path('4.08.sce')
//filename=pathname+filesep()+'4.08-data.sci'
//exec(filename)
//Maximum temperature(in K):
T1=27+273
//Minimum temperature(in K):
T2=-8+273
//Leakage(in kJ/s):
Q=7.5/60
//Power required(in kW):
W=(T1-T2)*Q/T2
printf("\nRESULTS\n")
printf("\nPower required = %f ... |
8e110fac37b652660b75164414f222eb957ef2a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.8.a/example10_8a.sce | 0a67141980a761ac395e3d0bbe1c98b14d5ee38a | [] | 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 | 256 | sce | example10_8a.sce | v1=10;
v2=20;
r1=10^3;
r2=2*10^3;
r3=3*10^3;
r4=4*10^3;
r5=5*10^3;
i2=(v*(r1+r2)-v1*r2)/((r2+r3+r5)*(r1+r2)-r2^2);
vth=v2-i2*r5;
rth=(r1*r2/(r1+r2)+r3)*r5/(r1*r2/(r1+r2)+r3+r5);
i=vth/(rth+r4);
disp("the current (in mA) in R4 is"); disp(i*10^3); |
57062afb4abb7d129b5e3a793f0da8f27d5ccf88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.8/2_8.sce | cb043c7492e8701957eb05690b71f8b05095b30a | [] | 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 | 404 | sce | 2_8.sce | //To calculate the free volume per unit cell
r = 0.1249; //atomic radius, nm
a = 4*r/sqrt(3); //lattice constant, nm
a_m = a*10^-9; //lattice constant, m
V = a_m^3; //volume of unit cell, m^3
PF = 0.68; //packing factor for BCC
FV = 1 - PF; //free volume
FV1 = FV*V; //free vol... |
9fc74cb74695c514793fa113b48006d2a26a801d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH11/EX11.4/PA_Ex_11_4.sce | 9f7e4bf988cecd7506fb01c26163c1e297b4760f | [] | 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 | 523 | sce | PA_Ex_11_4.sce | clc
//Chapter 11:Power amplifiers
//example 11.4 page no 475
//given
Pt=4//max power dissipation in watt
Idmax=1.5//max drain current in amp
Vcc=48//supply voltage
P_t=(4*%pi*Pt)/(Vcc*Idmax)//the normalised max transistor dissipation
disp('from figure 11.21 it is found that maximum possible conduction angle is ... |
42a3fbca057685eebb047d900f8528f93e3a17b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH16/EX16.1/16_1.sce | 9fed2c9ac4ed020db5a5195fd7e76628000165fe | [] | 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 | 239 | sce | 16_1.sce | clc
//initialisation of variables
clear
v= 1
m= 0.5
//CALCULATIONS
m1 = 2*m
m2 = 1*m
v1 = 2*v
v2 = 1*v
M = (m1^2*m2)^(1/(v1+v2))
//RESULTS
printf ('mean ionic molality = %.1f ',m2)
printf ('\n mean ionic molality = %.3f ',M)
|
518f134d5adcbf9d984e648dd0f9c0fb60dafbb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH5/EX5.17/Ex5_17.sce | c9442d4923d72cff51429aed151f3140136531e1 | [] | 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 | Ex5_17.sce |
//
//
bs1=3.150,bs2=3.860,bs3=0.470,
is1=2.245,is2=2.125,is3=0.760,is4=1.935,is5=3.225,
fs1=1.125,fs2=2.235,fs3=3.890,
sbs=bs1+bs2+bs3
sis=is1+is2+is3+is4+is5
sfs=fs1+fs2+fs3
r1=bs1-is1
r2=is1-fs1
r3=bs2-is2
r4=is2-is3
sr=r1+r2+r3+r4
printf("\n r1,r2,r3,r4,sr")
f1=fs2-is3
f2=is4-bs3
f3=is5-is4
f4=fs3-is5
sf=f... |
69d593a69bef3ae0af0738d8f1750d2f93e6aba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.26/Ex6_26.sce | b7b754a12b354cd2f409394d1146e002600178d5 | [] | 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 | 560 | sce | Ex6_26.sce | clear all; clc;
disp("Scilab Code Ex 6.26 : ")
//Given:
M = 5; //kNm
sigma_y = 500; //MPa
r = 16; //mm
h = 80; //mm
w = 120; //mm
r_h = r/h;
w_h = w/h;
k = 1.45;
c = h/(2000);
t = 20/1000; //m
//Calculations:
I = (1/12)*(t)*(h/1000)^3
sigma_max = (k*M*c)/(I*1000);
//Display:
printf("\n\... |
ca5e89dab804ce17407b354407d093e2a11d7f94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH11/EX11.3/example3.sce | 60ef2b19524f8540efaa6aa52e62fd5015c4ca58 | [] | 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,302 | sce | example3.sce | printf(" Given C(s)/R(s)=10/(s^2+2*s+10)")
printf("characterstic equation of the given system is s^2+2*s+10=0");
printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=0");
w=sqrt(10);
d=1/(2*w);
mo1=exp((-%pi*d)/sqrt(1-d^2))*100;
ts1=4/(d*w);
ess1=2*d/w;
disp(d,"damping ratio"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.