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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
844851ccae195ad02ad8d62a7cafc23f98e0cad8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH9/EX9.6/Ex9_6.sce | f3a19a7e35d083b117ab1b62ddeab6932da0acb4 | [] | 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 | 658 | sce | Ex9_6.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 9
//example 9.6
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Ra=1;//armature resistance in ohm
KQ=3;//field constant
V=480;//Terminal voltage in volts
Tl=120;//load torque in Nm
alpha=30;//triggering angle... |
730b4e2546e496487e6f66944622ab6b9692ba3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH11/EX11.3/ex_11_3.sce | 0d9d258f1beba9029a763664bef141509623ac28 | [] | 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 | 249 | sce | ex_11_3.sce | ////Ex 11.2
clc;
clear;
close;
format('v',7);
R1=10;//kohm
k=1.38*10^-23;//J/K
T=298;//K
q=1.6*10^-19;//C
Kdash=k*T/q;//Kdash=k*T/q assumed for temporary calculation
disp("Output Voltahe, Vout(V) is "+string(-Kdash)+"*log(Vin/10*10^3)");
|
fe6a9258e3b5e7c0521fb0fee3ed5c8c7d992714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.6.4/Ex2_6_4.sce | 57268b838d286763a41127c51e17ccbd704a9598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex2_6_4.sce | //Ex 2.6.4
clc;clear;close;
format('v',6);
//Given :
rho_p=2;//ohm-cm
rho_p=rho_p*10^-2;//ohm-m
rho_n=1;//ohm-cm
rho_n=rho_n*10^-2;//ohm-m
mu_n=1500*10^-4;//m^2/V-s
mu_p=2100*10^-4;//m^2/V-s
ni=2.5*10^13;//per m^3
q=1.6*10^-19;//Coulomb
sigma_p=1/rho_p;//(ohm-m)^-1
NA=sigma_p/q/mu_p;//m^3
sigma_n=1/rho... |
d1587a25fdda5a372049d344294bdcccb5d861b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH16/EX16.3/Ex16_3.sce | 2d431b2b61cde596e1a0120803d500b6e27c7215 | [] | 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 | 155 | sce | Ex16_3.sce | clear
//Given
u=-10.0 //cm
f=-15.0
//Calculation
v=1/((1/f)-(1/u))
m=-v/u
//Result
printf("\n (i) Image position is %0.3f cm", v)
|
e290684991f7c8396bb8b336de7d88faad02135b | cb8badb7b62f46da3dd1b582c4186b5b2829d5af | /ajax-scilab/get_colormap_values.sci | ff18e8e674866e879339d15ffe9f69db82945dbf | [
"MIT"
] | permissive | FOSSEE/xcos_on_cloud | e3cf7ff202a1628a875484774c87936fbd8696cf | e981d77e0c96ab5db0e01755a2531d878864266f | refs/heads/master | 2023-05-12T12:12:08.955522 | 2023-02-16T10:25:15 | 2023-02-16T10:25:15 | 99,215,141 | 12 | 31 | MIT | 2023-05-02T00:18:57 | 2017-08-03T09:24:23 | JavaScript | UTF-8 | Scilab | false | false | 919 | sci | get_colormap_values.sci | function getvaluesfromcolormap(filename,colormapstring)
f_temp = mopen(filename, 'wt'); // Creating a text file
string_to_pass = strcat(["cmp_value_from_script = [",colormapstring,"]"]); //forming string
ok = execstr(string_to_pass,'errcatch');
if (ok~=0) then
mfprintf(f_temp, '%s', lasterror()... |
8cdf4404f9bad7247250107007904c288e00abc7 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-7/iterative_binary.sci | 85028e3c44d1c857cc0e079c219411fe847c207f | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sci | iterative_binary.sci | function[icp,in,t]=iterative_binary(A,l,h,k,icp,itime)
tic();
in=-1;
while (l<=h)
icp = icp+1;
mid=round((l+h)/2);
if ( A(mid) == k)
in=mid;
break;
end
if (A(mid) < k)
l=mid+1;
else
h=mid-1;
end
... |
6be64183a1a5bf1e653440d36b78aee0df7fca12 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTh/enth.8.tst | 6100d189b71e57de1d6cde883db64135e097e79f | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136,360 | tst | enth.8.tst | a b b o u d เ อ ิ ป บ ู ด
a b b y แ อ ็ บ บ ี ้
a b e เ อ บ
a b e n d r o t h อ บ ิ น ด ร อ ท
a b e r d a r e แ อ ็ บ เ บ อ ร ์ แ ด ร ์
a b e r d e e n แ อ เ บ อ ร ์ ด ี น
a b e r d e e n แ อ ็ บ เ บ อ ร ์ ด ี น
a b l e r เ อ เ บ อ เ ล อ ร ์
a b r a m s เ อ เ บ ร ิ ม ส ์
a b s o r b a n c e แ อ บ ซ อ ร ์ แ บ น ซ ์
a b ... |
2336c318d01c363907fe127998b8fec65dc629d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH8/EX8.6.2/ex_8_6_2.sce | c3f97e7053f5012eab0cd06c373f013be74c27bf | [] | 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 | 397 | sce | ex_8_6_2.sce | //Example 8.6.2: Cx,Rx and D
clc;
clear;
close;
//given data :
f=1000;//in Hz
R1=1.1;// in kilo-ohm
R2=2.2;// in kilo-ohm
C1=0.47;// in micro-farad
C3=0.5;// in micro-farad
Rx=(R2*C1)/C3;
disp(Rx,"unknown resistance,Rx(k-ohm) = ")
Cx=(R1*C3)/R2;
disp(Cx,"unknown capacitance,Cx(micro-farad) = ")
w=2*f*%pi;
D=w*Cx*10^-6*... |
98a02f9c03f2f7694c66b3eb5deb9402ed3b13eb | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/scripts/mpinsp/premia.sce | 9b3515eb0c33e7a998b7abc5dddadff2156a5848 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | premia.sce | [test,ilib] = c_link( "libpremiamodel_Interf");
if ~test then
exec('../../loader.sce');
premia_init();
end
load('test-premia-1.bin');
L=P.get_option_values[];
// Maturity
if exists('Maturity') then L(2)(3)=Maturity;end
if exists('Strike') then L(3)(3)=Strike;end
P.set_option_values[L];
P.compute[];
L=P.get_metho... |
b7b0c54d3834d5d4843be7c82c2d94417faedb31 | ff0f2f0553307972877bbd4f9acb9751263b2920 | /Sem2_Mathe/All/3D_5_höhenlinien_geht_nicht.sce | 5aba73694cc39ad22b5ca857e9dd9cf9006b022c | [] | no_license | 42ow0rm/UNI | 78b4bbc339cffb7124e5c8112827bec5a4799b7c | 56a5a1429a458544f5a33e3480f51c03849872f7 | refs/heads/master | 2020-03-31T22:34:19.230790 | 2019-01-03T20:00:27 | 2019-01-03T20:00:27 | 152,623,141 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | 3D_5_höhenlinien_geht_nicht.sce | //5. Schaubild Höhenlinien
//geht nicht!!!
xy = linspace(-%pi, %pi, 40);
[X, Y] = meshgrid(xy);
F = sin(X.^2 + Y.^2)./(X.^2 + Y.^2);
contour(xy, xy, F)
//Achsenbeschriftung
a = gca(); //
a.font_size = 2; //Schriftgröße für x,y,z scala
xlabel('x-Achse', 'fontsize', 5)
ylabel('y-Achse', ... |
f665ee5db5523a360badf593dee626be6a9e5df0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH3/EX2.2.6/U2_C2_6.sce | 1b84060fa7382ad23cdab82622119ce263937de4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | U2_C2_6.sce | //variable initialization
h=6.63*10^-34; //planck's constant (joule-second)
m_n=1.67*10^-27; //mass of neutron (kg)
T=300 ... |
572dbf336972f5973d312eb9219341569e5c6846 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH4/EX4.4/Ex4_4.sce | e325d4a2f17cf9cc247cc3b93930d44fc65e047f | [] | 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,049 | sce | Ex4_4.sce | //Chapter-4, Illustration 4, Page 135
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//INPUT DATA
x=3.5;//Ratio of teeth of wheels
C=1.2;//Centre distance between axes in m
DP=4.4;//Diametrical pitch in cm
//CALCULATIONS
D=2*C*100;... |
e0034cf370be51166773f4e371146fd88b1a8353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.22/11_22.sce | 0422122172cd0977572de3d574fc2b000c979f9f | [] | 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 | 954 | sce | 11_22.sce | //To find initial tension and diameter
clc
//Given:
PT=24 //kW
d=400/1000 //m
N=110 //rpm
funcprot(0)
beta=45/2 //degrees
theta=160*%pi/180 //radians
mu=0.28
n=10
//Solution:
//Initial tension:
//Calculating the power transmitted per rope
P=PT/n*1000 //W
//Calculating the velocity of the rope
v=%pi*d*N/... |
a97ec76a75926ed781db707dbe236225c22053f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH7/EX7.5/Example7_5.sce | cf90effd900e2e3238df3e4d1dc03841c045b7ed | [] | 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 | 910 | sce | Example7_5.sce | clear;
clc;
// Illustration 7.5
// Page: 228
printf('Illustration 7.5 - Page: 228\n\n');
printf('Illustration 7.5 (a)\n\n');
// solution(a)
//****Data****//
// A = benzene vapour; B = Nitrogen Gas
P = 1;// [atm]
//*****//
MA = 78.05;// [kg/kmol]
MB = 28.02;// [kg/kmol]
// Since gas is saturated, ... |
006e609eea097b4397c242b272b975739bf5346a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH1/EX1.7/Ex1_7.sce | 5923188f5d2a490c2cceb3985431c1741421ab41 | [] | 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 | 348 | sce | Ex1_7.sce | //Example number 1.7, Page number 1.37
clc;clear;close
//Variable declaration
Beta=0.00227 //distance between adjascent green lines
D=2.5 // in m
d=0.0006 //distance between narrow slits
//Calculation
lamda=(Beta*d)/D // in m
//Result
printf("Wavelength,lamda=%.4e m",(lamda))
//Answer varies... |
8d4951c8c0a2dacf8f8b32bebf1cad15cd66f3a3 | b8b6499ad21575c5c7c4491b773bdc5d001c839e | /TP1/lsolve.sci | baefc8366be849e2abbbd5a76482a95b4009672e | [] | no_license | m4ssi/Calcul_Numerique | c15a99e536ba37314dd9a22650edcdfbc63e9a2b | e5ed9bcd2338d66ade355e2b4f88276b842e7ccc | refs/heads/master | 2023-01-20T00:56:18.263021 | 2020-12-03T01:52:33 | 2020-12-03T01:52:33 | 318,042,789 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | lsolve.sci | function [x] = lsolve ( L, b)
n = size( L, "r");
x = zeros (n);
x(1) = b(1)/L(1, 1);
for i = 2:n
x(i) = (b(i) - L( i, 1:(i-1))*x( 1:(i-1)))/L(i,i);
end
endfunction
|
971f8c19b1770df6fd3ab51f038c7f3cdce7dfbc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/binary.tst | e5e8a209188200c881b94bdf50891a308c299c13 | [
"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,350 | tst | binary.tst | //---------------- first test
filen = 'test.bin';
mopen(filen,'wb');
mput(1996,'l');mput(1996,'i');mput(1996,'s');mput(98,'c');
mput(1996,'ul');mput(1996,'ui');mput(1996,'us');mput(98,'uc');
mput(1996,'d');mput(1996,'f');
// force little-endian
mput(1996,'ll');mput(1996,'il');mput(1996,'sl');mput(98,'cl')... |
06ccac03396ac9c9f8c8051eb525f787d1dfd518 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH25/EX25.1/eg25_1.sce | 216b4a2d35dcc4ad2a10bdcb25f41eef0cf5e0d4 | [] | 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 | eg25_1.sce | clear;
//clc();
max_dem=80;
pf=0.45;
tar_md=750;
tar_en=1.1;
ann_ener_cons=max_dem*pf*8760;
ce=1.1*ann_ener_cons;
cf=tar_md*max_dem;
tot=ce+cf;
cost_per_kwh=tot/ann_ener_cons;
printf("the overall cost is:%.2f Rs",cost_per_kwh);
|
e0a49600a953ba0b373bddc1e65db62fdc53880b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH2/EX2.7/Ch02Ex7.sce | 022d0f4245885d42e0643abf8a3a99d3640281fb | [] | 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 | 539 | sce | Ch02Ex7.sce | // Scilab Code Ex2.7: Page-2.25 (2004)
clc;clear;
M = 63.5; // Atomic weight of Copper, g per mol
N = 6.023e+23; // Avagadro number, per mol
r = 1.278e-8; // Atomic radius of copper, cm
m = M/N; // Mass of one Cu atom, kg
a = (4*r)/sqrt(2); // Distance between two adjacent atom in Cu, angstrom
n1 = 4*m; ... |
ef3f7c5f85c312fa169be9cd3be03692690c4bc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH10/EX10.5/Ex10_5.sce | b1458adc76edf94e2a4cd5fc54d06abadaa22664 | [] | 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 | 526 | sce | Ex10_5.sce | //Example 10.5//
//(a) = For 0.5 wt % C steel indicates that complete bainite formation will have ocuurred 5degree C above Ms,by
a=180;//s //second
b=1;//m //minute
c=60;//s//seconds
d=a*(b/c)
mprintf("d= %i min",d)
//(b)= For 0.77 wt % C steel gives a time of
a1=1.9*10^4;//s //seconds
b1=3600;//s/h //seconds ... |
f5a8053469d5d6751fd42eea4362407243882b03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH3/EX3.2/example3_2.sce | 4dd3d48fb1108c3eccb3da0520febfe53c8cd950 | [] | 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,214 | sce | example3_2.sce | // Find the diode currents
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-2 in page 144
clear; clc; close;
// Given data
R=10*10^3; // Resistance in K-ohms
// Calculation
printf("(a) R = 10K.Assume both diodes are conducting.We have:\n");... |
08b734a48f41280e7ab539b76f13eb3f9c0d7584 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/mtlb/mtlb_exist.sci | 34590aaab30a5b67b0c853fab5a5356783071ee5 | [
"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 | 248 | sci | mtlb_exist.sci | function r=mtlb_exist(nam)
// Copyright INRIA
fptr=funptr(nam)
if fptr<>0 then
fptr=int(fptr/100)
if fptr<=500 then
r=5
else
r=3
end
elseif exists(nam)==1 then
if type(nam)==11|type(nam)==13 then
r=2
else
r=1
end
end
|
65053ae20051a30c929d13ddb444049f0419fa25 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Destiny 2 PvP Pactice Senario.sce | 942a65afdd0168f912a3f3f391b3d95e141a1712 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220,732 | sce | Destiny 2 PvP Pactice Senario.sce | Name=Destiny 2 PvP Pactice Senario
PlayerCharacters=AA Custom Profile
BotCharacters=Counter-Striker Bot.bot;Dodgey.bot;McCoy Bot.bot;Pigeon.bot;Quaker Bot Medium.bot
IsChallenge=true
Timelimit=1.0
PlayerProfile=AA Custom Profile
AddedBots=Counter-Striker Bot.bot;Dodgey.bot;McCoy Bot.bot;Pigeon.bot;Quaker Bot Medi... |
87e29c5dc3c6e922c0a3d0025903fab3a06824dc | 885ee700356ad98a29fe87d97751e692062de746 | /data/pos_exp/pos_data/arabic.high.tst | 58e21a30f7018d7ef0047ccfa463af50a0998988 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59,950 | tst | arabic.high.tst | اِسْتَصْدَرَ تَسْتَصْدِرْنَ V;2;PL;FEM;IPFV;IND;ACT
كِيلُومِتْرٌ كِيلُومِتْرٌ N;SG;NDEF;NOM
الْعَمِيق عُمُقًا ADJ;PL;MASC;NDEF;ACC
اِسْتِقَامَةٌ الِاسْتِقَامَةَ N;SG;DEF;ACC
فِكْرَةٌ الْفِكْرَة N;SG;DEF;INFM
مِعًى أَمْعَاءً N;PL;NDEF;ACC
رَمَادٌ الْأَرْمِدَةِ N;PL;DEF;GEN
ضَاعَ يَضِيعُونَ V;3;PL;MASC;IPFV;IND;ACT
السُّ... |
18fe07683ea7b73addb20006597612b1ea6a0356 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/string/runanimshapelaxwend1.sci | 75144cd80567444c4500e79b9bedb64ac1448167 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,170 | sci | runanimshapelaxwend1.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
//clf;
clc;
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 2;
h0 = 5030;
damp=0.0;
force=0.1;
forcefreq=0.1;
k=2.5;
// Define the x domain
ni = 1001;
xmax = 10.0;
dx = xmax/(ni-1);
x = 0:dx:xmax;
// Define the y domain
nj = 51;... |
8749f946140a07f28df66e9674f42c0ca9126fb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH4/EX4.7/Ex4_7.sce | da941b99c77d036e087d144f933b01180fabe132 | [] | 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 | Ex4_7.sce | // Example 4_7
clc;funcprot(0);
// Given data
D_1=0;// m
D_2=0.0500;// m
Sigma_s=0.0400;// N/m (constant)
// Solution
A_1=0;// m^2
R_2=D_2/2;// m
A_2=2*(4*%pi*R_2^2);// m^2
W_12=-Sigma_s*(A_2-A_1);// J
W_12=W_12/1055;// Btu
printf('\nThe amount of surface tension work required to inflate the soap bubble,... |
295417940eacdbdbe21ffd5ee00725729f587b65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH8/EX8.9/Ex8_9.sce | d8f5f0e777eccedad1656fd52b732a96ca338281 | [] | 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 | 704 | sce | Ex8_9.sce | //Ex8_9
clc
alpha=1.414// Damping coefficient for Butterworth LP filter
disp("alpha="+string(alpha))
AM=3-alpha
disp("AM="+string(AM)) // Midband gain of filter
fOH=1*10^(3)
disp("fOH= "+string(fOH)+" Hz")//Cut off frequency
R1=10*10^(3)// Choosing value of R1 same as in book
disp("R1= "+string(R1)+ " ohm") ... |
b7ea7ed84fd346375176fa835f6fc29d1739f52c | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.12/example10_12.sce | b0110829be7455184353ddf0035fc8a9e13e6d31 | [] | 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,517 | sce | example10_12.sce | //Chapter 10
//Example 10_12
//Page 245
clear;clc;
f=50;
ll=100;
pd=20*1e6;
pfr=0.9;
v_r=110*1e3;
r=0.2;
xl=0.4;
y=2.5*1e-6;
tr=r*ll;
txl=ll*xl;
ty=ll*y;
vr=v_r/sqrt(3);
ir=pd/sqrt(3)/v_r/pfr;
z=tr+%i*txl;
ir_p=ir*(pfr-%i*sin(acos(pfr)));
v1=vr+ir_p*z/2;
ic=%i*ty*v1;
is=ir_p+ic;
vs=v1+is*z/2;
lv=abs(vs)*sqrt(3);
lo... |
eda036fb4da64bfc7babc80df4dd5796cb71a21f | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH5/EX5.4/eg_5_4.sce | c40a7602ebe90eb066d82ccf35e9861383afbfb0 | [] | 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,079 | sce | eg_5_4.sce | clc;
clear;
//Takes input and check whether it is valid logic level or not.
w=input("w = ");
while(w~=0 & w~=1)
disp("enter a valid logical level");
w=input("w = ");
end
x=input("x = ");
while(x~=0 & x~=1)
disp("enter a valid logical level");
x=input("x = ");
end
y=input("y = ");
while(y~=... |
55267fc8c88fa3e04d85e23112f560858dfeaeb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH5/EX5.12/5_12.sce | 66458ac0fc603033200536e180b4df208b9fec5a | [] | 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 | 439 | sce | 5_12.sce | //OCF form
s=%s
A=[1 2 1;0 1 3;1 1 1]
B=[1;0;1]
[row,col]=size(A)
c=s*eye(row,col)-A
x=det(c)
r=coeff(x)
M=[r(1,2) r(1,3) 1;r(1,3) 1 0;1 0 0]
S=[B A*B A^2*B]
disp(S,"controllability matrix=")
if (det(S)==0) then
printf("system cannot be transformed into ccf form")
else
printf("system can be transf... |
7691d57e5b81419d08641f63269fe3b297038454 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ee_hrz_col_d/~BivLCM-SR-bfas_ee_hrz_col_d-PLin-VLin.tst | 32be12dc605adac120d137db2b597be0723d39ce | [] | 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-bfas_ee_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.378518D+00
... |
24b56b6e3d7c8d1e917d9d88e03c4e81ded60dd2 | 8fbdb45e1fb70e63a17f6eac62a6fdddeb8b3523 | /TP/tp1-geometrie_projective_calibration_camera/francois-lepan.sci | 066bcca574fa0de8b288d55e07c364c7a0f1ef3f | [] | no_license | Wanna-Get-High/M3DA | a12038f1a194fd28e3e237669e21fd7e86c810ae | 4cefcc4259a5262616d26807a7489b9b88a22a05 | refs/heads/master | 2021-01-19T17:17:54.238934 | 2013-11-25T16:50:02 | 2013-11-25T16:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,039 | sci | francois-lepan.sci | // -----------------------------------------------------------------------
/// \brief Calcule un terme de contrainte a partir d'une homographie.
///
/// \param H: matrice 3*3 définissant l'homographie.
/// \param i: premiere colonne.
/// \param j: deuxieme colonne.
/// \return vecteur definissant le terme de contrainte... |
af021c25900b740e7e77eada63cd5429c0966bf1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/tan.man.tst | 3fd80f805ec1c986e239b58c8b3815e330bed103 | [
"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 | 54 | tst | tan.man.tst | clear;lines(0);
x=[1,%i,-1,-%i]
tan(x)
sin(x)./cos(x)
|
516a0cd670b8b4af95270b527ebf1daf0bbd2dfb | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Air Dodge II.sce | 4cf38ff757cb124935596750fc0893e7f3118c26 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128,589 | sce | Air Dodge II.sce | Name=Air Dodge II
PlayerCharacters=A
BotCharacters=Air2 Rotation.rot
IsChallenge=true
Timelimit=240.0
PlayerProfile=A
AddedBots=Air2 Rotation.rot
PlayerMaxLives=0
BotMaxLives=8
PlayerTeam=2
BotTeams=1
MapName=boxerliprounded.map
MapScale=6.0
BlockProjectilePredictors=false
BlockCheats=true
InvinciblePlayer=false
Invinc... |
d17f9d325e362a3bbcb66a8f91e0b64c5d5f4337 | fdbfc24750929832bb65f0d880937a70c6135798 | /Assignment4/1 Gram_Schmidt_Orthogonalization.sce | 4c94e9b6ede471291fc1d519e3a8a56079d1bfd7 | [] | no_license | mohitgaggar/LA_assignment-Scilab- | 05ff51030d875d326f01b75a8300c41bf6a1cb75 | adcbc360e81b9d3b64c826ba3299b90dacdcc8e5 | refs/heads/master | 2021-01-02T20:29:33.540763 | 2020-06-03T11:05:06 | 2020-06-03T11:05:06 | 239,787,284 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | 1 Gram_Schmidt_Orthogonalization.sce | clc;clear;close;
A=[]
disp("-------------------------------------------------------------------------")
printf("\n Enter 3 independent vectors to form of 3X3 matrix:\n")
for j=1:3
printf("\n Enter vector v%d:\n",j);
for i=1:3
A(i,j)=input("");
end
end
v1=A(:,1)
v2=A(:,2)
v3=A(:,3)
printf("T... |
179663592d7ed76857aae3393bb6bc486aeb83c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH2/EX2.3/Ex2_3.sce | 89ff4dd69b353f4dd7424674580b29c01c3ad4bc | [] | 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 | 186 | sce | Ex2_3.sce |
//calculate the reluctance and current
A=5e-4
N=250
l=50e-2
F=700e-6
u=380
S=l/(4*%pi*10^-7*A*u)
I=F*S/N
disp('current='+string(I)+'amps' , 'reluctance ='+string(S)+'AT/Wb')
|
23ca950fcbc3b0e968c2631f13c99b21f599a760 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.13/2_13.sci | 0856973e780a282cd11de7fe4befb38b8dfcae60 | [] | 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 | 255 | sci | 2_13.sci | //calculating the sum of resistances connected in series with uncertainity of one unit
clc;
R1=72.3;
R2=2.73;
R3=0.612;
R=(R1+R2+R3);
disp(R,'sum of resistances(ohm) =');
disp('the resultant resistance is 75.6 ohm with 6 as first doutful figure') |
62560b33a5bbb849b41f67f6f3dba3db1b4c8eb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH9/EX9.1/Example_9_1.sce | e17aa835441fa2368302cd43b6756fb7cf7d0658 | [] | 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,107 | sce | Example_9_1.sce | //Chemical Engineering Thermodynamics
//Chapter 9
//Fluid Flow in Pipes and Nozzles
//Example 9.1
clear;
clc;
//Given
R = 848;//gas constant in m Kgf/Kgmole K
M = 29;//molecular weight of air
g = 9.81;
T1 = 90+273;//initial temperature in K
y = 1.4;//gamma = Cp/Cv
W = 800/3600;//Mass rate of air in Kg/sec... |
0da8dbebce2ea133d44ee489c30046fd3c05d527 | 3d93caf17c2a89a51698411a7b61d1e1bd978542 | /bits_miosix/miosix/temp/simulation.sci | d71c5733fdb11dbc0bfc38c5f164b6f5f6089278 | [] | no_license | BitsDevelopmentTeam/bits-fonera | 85a3cdec04ed39d6963fdd27b36a78f8cb6544ad | 63cc90034f2a79bd1b4278b5fe51b0c6a501dadd | refs/heads/master | 2021-01-18T21:29:47.342035 | 2016-04-11T16:52:00 | 2016-04-11T16:52:00 | 13,521,717 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 8,020 | sci | simulation.sci | clear
global SkedData
SkedData = struct('SP_Tr',0,'alfa',0,'alfaBlock',0,...
'krr',0,'zrr',0,'kpi',0,'bmin',0,'bmax',0,...
'SP_Tp',0,...
'eTp',0,'eTr',0,'eTro',0,'bc',0,'bco',0,'b',0,'bo',0,...
'Tp',0,'Tr',0,'t',0,...
'dmod',0,'dm... |
de4bebead599ac5344b16ecb95c031b107eec4fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH10/EX10.5/10_5.sce | 7074fb0b544392a2dc0712c70b8f54bec6ee087b | [] | 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 | 582 | sce | 10_5.sce | //Eg-10.5
//pg-437
clear
clc
close()
X = [0;5;10;15];
Y = [53;127;213;378];
T = zeros(4,4);
T(:,1) = Y;
for(j = 2:4)
for(i = 1:4+1-j)
T(i,j) = T(i+1,j-1) - T(i,j-1);
end
end
//disp(T)
// Using Gauss backward formula
//p3 = f + d*A + d2*A(A+1)/2 + d3*A*(A-1)*(A+1)/6
/... |
2f8e254c19df47962fefd20180ec3105e6c21edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH6/EX6.3/L_3.sce | 9509aff212fabe4b3b4e3aea18daced686d6e7ef | [] | 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 | 451 | sce | L_3.sce | // sum 6-3
clc;
clear;
P=((4*360)+(2*360))/900;
Fv=4-2;
Fh=P;
Fr=sqrt(Fv^2+Fh^2);
P1=4*0.36/0.9;
Rf=sqrt(4^2+1.6^2);
d=sqrt(Rf*10^3/(15*1.25));
d=16;
l=1.25*d;
T=Rf*10^3*4/(2*%pi*d^2);
D=2*d;
M1=Rf*10^3*(360-(D/2));
pa=15;
h=80;
b=h/4;
Z=b*h^2/6;
sigb=M1/Z;
T=4310/(b*h);
pmax=(sigb/2)+sqrt((sigb/2)... |
0949abbb9d81e6b69e72c86f7af2b49266c71aa0 | f0f1b6e39dc4e4ab53472ba68e36550537f95470 | /test/testcases/directed/cos.tst | 94c5ee40a5b69e8d2ba851bf68fab2235914bcd7 | [
"Apache-2.0"
] | permissive | miRackModular/optimized-routines | 1cfa167ba8b830478fda27329c47794250e202e9 | 2f9e5ce5bbaaf3bf025dc17d123388a12d8ba6b9 | refs/heads/master | 2020-03-16T17:38:17.640927 | 2018-05-10T03:02:21 | 2018-05-10T03:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,296 | tst | cos.tst | ; cos.tst - Directed test cases for cosine
;
; Copyright (C) 1999-2015, ARM Limited, All Rights Reserved
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License"); you may
; not use this file except in compliance with the License.
; You may obtain a copy of the License at
... |
ccd6b8878010defbccb1af38672bbc15bdc507b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH11/EX5.11.4/Ex5_11_4.sce | 098271e0e8fd018889e451434e9c1448e2e9d0ab | [] | 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 | 421 | sce | Ex5_11_4.sce | //Section-5,Example-4,Page no.-D.124
//To calculate the energy required for dissociation of 1 bond
clc;
B_E=95*10^3 //Bond energy
h=6.626*10^-34
c=3*10^8
lm=2450*10^-10
E=(h*c)/lm
E_1=E*(1/4.184) //Energy in Calories
disp(E_1)
N_A=6.023*10^23
Ebar=B_E/N_A
disp(Ebar,'Energy... |
7aede85819a9e48fa9566e626712d5486191c589 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TSQ3.prev.tst | fd4479ebb6261216ae722864c766a703fb65a5dd | [
"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 | 516 | tst | TSQ3.prev.tst | Expanding for base=2, level=7, reasons+features=base,same,similiar invall,norm,showfail
Refined variables=a,b
[0+1a,0+1b]: unknown -> [1] [0,0] a²-3b²-8
---------------- level 0
expanding queue[0]^-1,meter=[2,2]: a²-3b²-8
[0+2a,0+2b]: similiar [0], is mappable by: {a=>a,b=>b}
[1+2a,0+2b]: failure constant=-7, vgcd=4... |
7c7dd4f1e57a79a9c6018387f9bb17b113ee5248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH4/EX4.1/exa4_1.sce | 4501bd5daaa3b5107e434f645033218c9f912b80 | [] | 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 | exa4_1.sce | // Example 4.1
// Node Analysis with One Unknown
// From figure 4.3
G_11=1/6+1/(5+7)+1/4; // Sum of all conductance connected at node 1
i_s1=18/6+(-60/4); // Net equivalent source current into node 1
// From node equation G_11*v_1=i_s1
v_1=i_s1/G_11; // Node voltage v_1
// Using Ohm's Law
i_a=(18-v_1)/6; //... |
1aa5a72662c82ea996946b0dd8fe6dedd7ce2e60 | ecacacf117304ca56cff1b2242641703e3b86baa | /ALU/IsNeg16.tst | 7f0d18820195acd394f1fc4e88e03d78c6a39e9c | [] | no_license | wccrawford/ECS-Projects | d9a78a4223c9bc79d97fb28085218e5e4da07ca5 | 66d260afa57b70716fdc477540dd13a84930b62c | refs/heads/master | 2021-01-21T13:56:45.339492 | 2011-09-11T19:53:02 | 2011-09-11T19:53:02 | 2,283,122 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | tst | IsNeg16.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/01/IsNeg16.tst
load IsNeg16.hdl,
output-file IsNeg16.out,
compare-to IsNeg16.cmp,
output-list in%B1.16.1 out%B3.1.3;
set in %B0... |
0ffd76269a0d20774b6a66a7c1f40ff73fac8898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH5/EX5.9.1/Ex5_9.sce | ca466b32d67f3a82f62c4ab07b280acc6de2d959 | [] | 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 | Ex5_9.sce | clc
clear
//At 10 bar
Hg=2778.1; //in kJ/kg
Cp=2.1; //in kJ/kg K
T=50;
CV=30000; //in kJ/kg
H=Hg+(Cp*T);
C=4.187;
Tf=30;
Hfw=C*Tf;
Ms=800/100;
Me=(Ms*(H-Hfw))/2257;
printf('Equivalent Evaporation: %3.2f kg/kg of coal',Me);
printf('\n');
Eff=(Ms*100*(H-Hfw)... |
ede2b6604d7b526d7b100180eaa13622c0abb63a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_9.tst | b77835e549f2d0c498cf49b3540e0e1b96358d6a | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,507 | tst | bow.15_9.tst | 15 1:0.06349206349206349 4:1.0 19:2.0 40:1.0 60:0.16666666666666666 75:1.0 195:1.0 243:1.0 317:2.0 372:0.5
15 4:1.0 17:0.05263157894736842 114:1.0 122:1.0 193:1.0 228:0.25 259:1.0 395:0.5 989:1.0 1094:1.0 1157:1.0
15 4:3.0 17:0.05263157894736842 19:2.0 36:0.2857142857142857 40:4.0 53:0.1111111111111111 55:1.0 72:1.0 85... |
eea6f61a9d10cd1909a713e4be34a468143b6567 | a88bc351c907b9f0e662e251314c78a075880265 | /Scilab/Equacao de Regressao Quadratica.sce | e32f9e4d9b3152796670ef85e63ef2d62985fb03 | [] | no_license | decospdl/Exercise | 2ff1161f101a892ac511c62e1dce67a07606107a | 14d61a9553aab9af259edc8af504fdaa8568ec8f | refs/heads/master | 2020-05-26T15:22:22.243902 | 2019-06-13T22:55:10 | 2019-06-13T22:55:10 | 188,279,547 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Equacao de Regressao Quadratica.sce | clc;
clear;
close;
x = [-1 -0.75 -0.6 -0.5 -0.3 0 0.2 0.4 0.5 0.7 1]
y = [2.05 1.153 0.45 0.4 0.5 0 0.2 0.6 0.512 1.2 2.05]
n = size(x,'c')
sumX = sum(x,'c')
sumX2 = sum(x^2,'c')
sumX3 = sum(x^3,'c')
sumX4 = sum(x^4,'c')
sumY = sum(y,'c')
sumYX = sum(y.*x,'c')
sumYX2 = sum(y.*x^2,'c')
A = [n sumX sumX2; sumX sumX2 ... |
d38b1ea05a8c6c603363d88f7cdca943b7937e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH4/EX4.17.1/4_17_1.sce | fe2ef8877f85472c12f60e7c94c02bbbcbaf4011 | [] | 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 | 253 | sce | 4_17_1.sce | clc;
// page no 143
// prob no 4_17_1
//An attenuator is given with insertion loss of 6 dB
//Noise fig is equivalent to insertion loss
F=6;//Noise fig.=6 dB
//Determination of noise factor
Fn=10^(6/10);
disp(Fn,'The value of noise factor is '); |
fc68c4a947275a4a0a88bf5cde829a405f20f570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.59/Ex59.sce | 0d2d0a771be7ec92f61cc6ba1ad403e08cd8f6dc | [] | 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 | 365 | sce | Ex59.sce | //Ex:59
clc;
clear;
close;
G=6.67*10^(-11);//Gravitation const in N-m^2/kg^2
r_e=6360*10^3;//radius of earth in m
h=640*10^3;// height in m
m=5.98*10^24;//mass of earth in kg
u=G*m;
v=sqrt(u/(r_e+h));// velocity in km/s
V=7.54;// km/s
t=(2*3.14*(r_e+h)/1000)/V;
printf("The orbital period=%d s",t);
printf("... |
495688fbd46c3a35fd127f14ecc45ec23c0a606b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH9/EX9.3/Ex9_3.sce | ffefb81186f3af6e1e6e40ed4d11fcd22b96c4ec | [] | 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 | 546 | sce | Ex9_3.sce | //Ex:9.3
clc;
clear;
close;
e_c=1;// number of electron collected
p=3;// number of photon incident
n=e_c/p;// quantum efficiency
e=1.602*10^-19;// charge
h=6.626*10^-34;// plank constant
c=3*10^8;// speed of light in m/s
y=0.8*10^-6// wavelength in m
Eg=(h*c)/y;// band gap energy in J
R=(n*e*y)/(h*c);// res... |
171c55b19f4b83526b722d6c3832c42cdf535a94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.6/Ex5_6.sce | 764990c2f21e7d633e25cad225564fd7bc9e8b42 | [] | 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 | 434 | sce | Ex5_6.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 5:Semiconductor Junction Diodes
clc
clear
//T1,T2=Temperature in kelvin
//Is1=Reverse saturation current at temperature T1 in ampere
//Is2=Reverse saturation current at temperature T2 in ampere
//Is2=Is1*2^((T2-T1)/10)
//((T2-T1)/10)*log(2)=log(Is2/Is1)
/... |
30f6ef41457ac906ec6823d7f6618820414eeeaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH19/EX19.3/19_3.sce | 36da75e83796a53f204b145f1772526710a7c3f6 | [] | 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 | 258 | sce | 19_3.sce | clear;
clc;
xs=.22;
xl=.15;
Sb=1000;
Vr=1;
X=xl+xs;
Pr=1;
pf=.8;
pfa=acos(pf);
Qr=Pr*tan(pfa);
Vs=complex(Vr + (X * Qr / Vr) , (X * Pr / Vr));
V=abs(Vs);
mprintf("Vr = %.2f ang (%.1f) deg pu",V, fix(atand(imag(Vs)/real(Vs))*10)/10)
|
67eb64bd03107fb1b4b16f6537cb92214eda492e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH4/EX4.28/Ex4_28.sce | 12f2a723c4eb23056546c155da84059fa382423a | [] | 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 | 259 | sce | Ex4_28.sce | //Ex:4.28
clc;
clear;
close;
A=5;// area in m^2
w=25*10^-3;// power in watt
f=15;// frequency in MHz
y=300/f;// wavelength in m
Rr=31171*(A/y^2)^2;// radiation resistance in ohm
V=sqrt(w*4*Rr);// max emf in volts
printf("The max emf = %f Volts", V); |
f3a86435528fd45d5db03807f79bc46a101f3071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.1/Ex4_1.sce | 2fb087c03cdbbdc58a13b3a46bb9cd9c493413b1 | [] | 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 | 360 | sce | Ex4_1.sce |
clc; funcprot(0);
// Initialization of Variable
theta=25+14.0/60;//latitude in degrees in North
L1=29+15/60;//longitude in degrees in West
L2=45+25/60;//longitude in degrees in West
R=6370.0;//radius in km
//calculation
AB=cos(theta*%pi/180)*(L2-L1);//arc length in km
dis=2*%pi*R*AB/360.0;//distance in km
di... |
04d24358df94bb3b8e1a4e92f0ceea04f88abc85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.9/Ch01Ex9.sci | 8a63572f9eeccab0b296f5139f9f85718c041e0b | [] | 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 | 491 | sci | Ch01Ex9.sci | // Scilab Code Ex1.9 Ratio of rest mass and mass in motion: Pg:23 (2008)
c = 1; // For convenience, speed of light is assumed to be unity, m/s
v = 0.5*c; // Velocity of moving particle, m/s
// As m0 = m*sqrt(1 - (v/c)^2), and m0/m = rel_mass, we have
rel_mass = sqrt(1 - (v/c)^2); // Ratio of rest mass and ... |
087e723e60eed22fc76f723c1c6c3f68823040d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH7/EX7.3/7_3.sce | c655297d8199e48261ec3771a584f765e91004b0 | [] | 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 | 536 | sce | 7_3.sce | // example:-7.3,page no.-347.
// program to find required length,d and Q for l=1 and l=2 resonator mode.
a=0.04755;b=0.02215;eipsilar=2.25;tandelta=0.0004;f=5*10^9;c=3*10^8;
k=(2*%pi*f*sqrt(eipsilar))/c // wave number.
for l=1:1:2
d=(l*%pi)/sqrt((k^2)-((%pi/b)^2)); // m=1 & n=0 mode.
disp(d,'d in meter = ')
end
... |
cf6c248b9c1290555fac6151ef556e805cfb05c8 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0081.tst | cd6932cf80043cfc1fc09ef522424fca131169ac | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 406 | tst | 0081.tst | splitter P {}
fIltEr Dg { }
FIlTER c {NOt B or R oR noT eI Or nOt DvG w not vF Or u }
K -> HRf -> G -> J -> Kr
GRoupER qR {MoDuLe e{ } aGgrEgaTE Min(ch) as EP }
UNgroUPER e { }
GroUPFiLTeR KOr {}
MerGer ql { MOduLE d { bRaNChES r, xgl, CGm nOt 8327 NoT in B::1D:3EC:eE:De:b/74 e ( aC:de:dE:e6:Ea:b0
) } M... |
7ac44e946aae1efc1031adbe13f1b143661ac12d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH33/EX33.9/339.sce | 6892920a97c1e8b2ffac48560bea3121719f4ec4 | [] | 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 | 426 | sce | 339.sce | clc;
//Example 33.9
//page no 531
printf("\n Example 33.9 page no 531\n\n");
//refer to example no 33.8
Y=74//age in year
d=365//days
h=24//hours
m=60//minutes
b=80//heart beats per minutes
T=Y*d*h*m*b// no. of times heart beats
v=70//volume of blood discharge with each blood,ml
V=T*v//volume of blood that... |
f12486e8053fab9386985a07a982daddda610903 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.37/ex1_37.sce | 77398bf0acb00cf68ee1f39baff60e02af6252eb | [] | 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 | 640 | sce | ex1_37.sce | //Exa:1.37
clc;
clear;
close;
P_o=45*1000;//in watts
R_a=0.2;//in ohms
V=500;//in volts
Eff=0.9;//Efficiency
I_lf=P_o/(V*Eff);//Rated Line current (in amperes)
R_sh=200;//in ohms
I_sh=V/R_sh;//Shunt feild Current (in amperes)
I_af=I_lf-I_sh;//Armature current on full load (in Amperes)
E_f=V-I_af*R_a;//emf i... |
f1ee5b110ac60993c376b97331d8bde4b406cee5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH3/EX3.7/Ex3_7.sce | 54df1588eb760681d9bc9e981df808ef80b17fc8 | [] | 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 | 774 | sce | Ex3_7.sce | clear ;
clc;
// Example 3.7
printf('Example 3.7\n\n');
printf('Page No. 68\n\n');
// given
Pc = 10000;// Capital cost for project C in Pound
Pd = 10000;// Capital cost for project d in Pound
nc = 3;// pay back period for C
nd = 3;// pay back period for D
Ca = [4500 3500 2000 2000 1000];// Annual Cash flow f... |
15c0e88fd93d098a56eacdba5b1e8cb2917afbd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH12/EX12.02/12_02.sce | c762fc19a0914433cd14a1a01b9c7caa3eb64f04 | [] | 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 | 201 | sce | 12_02.sce | //Problem 12.02:
//initializing the variables:
xEtOH = 0.3; // mol% ethanol
//calculation:
xwater = 1 - xEtOH
printf("\n\nResult\n\n")
printf("\n the liquid mole fractions is %.2f ",xwater) |
ef197da5d3658285be72342e487ba4026e9f878f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH8/EX8.5/8_5.sce | 95ae29b24690880886c2fd6ee6979760213937b1 | [] | 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 | 253 | sce | 8_5.sce | clc
//Initialization of variables
dz=260 //ft
ke=0.5
f=0.02
l=5000 //ft
D=10 //in
A2=0.545
//calculations
V2by2g=dz/(1 + ke + f*l/(D/12))
V2=V2by2g*2*32.2
V=sqrt(V2)
DV=D*V
Q=%pi/4 *(D/12)^2 *V
//results
printf("Flow rate = %.2f cfs",Q)
|
55d7d1b34ae9232dda9bc7e1cd07ac16537563aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH21/EX21.14/EX21_14.sce | 3c3b73cf6f918774d579646c104b718120b8d948 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | EX21_14.sce | //Finding of Efficiency ,Slip
//Given
Nb=780;
Na=800;
//To Find
E=Nb/Na;
E1=E*100;
S=100-E1;
disp("Efficiency ="+string(E1)+" percentage");
disp("Slip ="+string(S)+" Percentage");
|
11e82a37d4b7fa294eae883b586a60d7aeeca160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.42/Ex1_42.sce | 726360d188cca0b8ffe247ed00e2b3909d79236e | [] | 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 | 853 | sce | Ex1_42.sce | clc;
// From fig 1.45
N1=1000; // no of turns on primary
N2=400; // no. of turns on secondary
n2=300; // no. of turns across points A and B
l1=600; // a load of 600 KW connected between points A and C
l2=60+60*%i; // load connected between points A and B
E=30000; // primary supply voltage
vac=E*(N2/N1); // seco... |
93becf124690782900526068029486cfc5067ecc | 97017a470429005680749e532db421e227811489 | /SampleDesign2/AddSub.tst | 11f48d2ff7f40f3660f71da8f83ae0bfef60876d | [] | no_license | Shradha97/CSD_Lab | fe8d688c4e166a2d1208379490567a7cdcf26956 | 75946ae44f4cafdea6c97941bb788afe6039f6f9 | refs/heads/master | 2020-07-12T02:52:18.602256 | 2019-11-18T21:04:50 | 2019-11-18T21:04:50 | 204,697,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | tst | AddSub.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/02/Add16.tst
load Add16.hdl,
output-file AddSub.out,
compare-to AddSub.cmp,
output-list a%B1.16.1 b%B1.16.1 out%B1.16.1;
set a %B0000000000000000,
set b %B0000000... |
d63415daebce785f6e745cc41c6db24d07662fbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.19/ex4_19.sce | fec53238ee4b4cc86c50081490a4a1fd5270cb45 | [] | 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 | 159 | sce | ex4_19.sce | //Example 4.19
//reading and writing a line of text
line=input("Enter a line of text (upto 80 characters):","string");
printf("%s", line); |
f5140eebf70f8186e868285616696dd6173b0977 | b6cf003e2be5ca13661ebe6ba87ee4bafd46f80e | /Reconstruction.sce | c771bc3cf725f23c4dff13896a78d056a0cf603f | [] | no_license | labatvalen/CompressiveSensing | ea11ccf07078d809bf50f0bc53d9c3c47b7f8f59 | e06a160bae04bdc8ee2778238f0f1bce74a41f7e | refs/heads/main | 2023-04-05T00:37:31.774162 | 2021-04-15T09:48:48 | 2021-04-15T09:48:48 | 358,204,909 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,896 | sce | Reconstruction.sce | /*-------------------------------------------------
Auteur : Manon Cassagne & Valentin Labat
Vous trouverez ci-dessous les fonctions de reconstruction et les fonctions nécessaires à
cette reconstruction
---------------------------------------------------*/
// Permet de pouvoir appeler les fonctions qui se trouven... |
da74e5be8e1793dc88118c44b7f4e82813e5efa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH13/EX13.4/13_4.sce | bd2aee3b6706fd048afb01428f504c783275f0cd | [] | 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 | 13_4.sce | ns=2*10^12;
E1=(1.11*10^-19)*((ns)^(2/3));
E2=(1.95*10^-19)*((ns)^(2/3));
printf('\n The value of E1 is %feV',E1*10^10);
printf('\n The value of E2 is %feV',E2*10^10);
Ef=0.24418;
nE=2.79*10^13;
a=0.026; //say a=K*T/q
ns1=nE*a*log(1+exp((Ef-(E1*10^10))/a));
ns2=nE*a*log(1+exp((Ef-(E2*10^10))/a));
printf('\n ... |
6af888ec1cc8574c9fb7a6599d0c1c7f07f03a25 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.31/Ex2_31.sce | 903d894fbebba7f956859275170a6651ad37d70d | [] | 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 | 210 | sce | Ex2_31.sce | errcatch(-1,"stop");mode(2);//Ex:2.31
;
;
L1=60;//in mH
L2=60;//in mH
L_a=L1+L2;
L3=120;//in mH
L_b=L_a*L3/(L_a+L3);
L4=50;//in mH
L_eq=L4+L_b;
printf("Equivalent Inductance = %d mH",L_eq);
exit();
|
cbac400b60d2ec0eaee0a5914f4792c43aeb7c41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH2/EX2.7/Ex2_7.sce | 4a7d1067a2d793b8da04d91200cae54545373d29 | [] | 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 | Ex2_7.sce | clear; close; clc;
//in standard units
vsat=8*(10^4);
tox=22*(10^(-10));
vgs=1.2;
vt=0.4;
cl=100*(10^(-9));
eo=8.85*(10^(-12));
cox=(4*eo)/tox;
enln=6*(10^6)*cl;
eplp=24*(10^6)*cl;
ids1=(vsat*cox*((vgs-vt)^2))/(vgs-vt+enln);
ids2=(vsat*cox*((vgs-vt)^2))/(vgs-vt+eplp);
disp(ids1,'saturation current of NMOS(... |
98b16d0a748f9091a5a2efff2e3ed2c14690d234 | 463377b6374a24bbe111707a34e24949f3bd2543 | /misdata.sci | c1ced50f2ce87087bd40c115617c21606929389c | [] | 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 | 1,694 | sci | misdata.sci | function varargout = misdata(varargin)
[lhs,rhs] = argn(0)
//------------------------------------------------------------------------------
// checking the number of inputs
if rhs <> 1 then
error(msprintf(gettext("%s:Wrong number of input arguments.\n"),"misdata"))
end
//----------------------------... |
e50944b7365328a1763693f8aa67db87365508fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.20/Ex5_20.sce | 7514e022ca603aa7aa431c1a3f5471bd5669d1c1 | [] | 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,334 | sce | Ex5_20.sce | clc
a = 1.50 //saving in labour
b=55/100 // burden applied on labour
T = 4/100 // allowance for taxes
M = 5/100 // allowance for maintenance
I = 8/100 // interest rate
D = 50/100 // allowance for depreciation
H = 2 // years to amortize the investment
S = 50 // yearly cost for set up
C = 3000 // first cost
N1 ... |
4b41740434ee7db727993eb5499e2168f6ad5add | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH9/EX9.7/Ex9_7.sce | c4cf4a3247dde7d5e80cae5423ed0a8df386bca5 | [] | 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 | 153 | sce | Ex9_7.sce | //Example 9.7, page 355
clc
Z=92
n=2
E=((Z/n)**2)*13.6//in ev
printf("\n The ionization energy is %e ev",E)
//Answer difference is because of round off |
665afb0f545ba0ea31e8a3abfe75a62c8a5335da | dff0f5c18b74e5bc603f1fe5ce3aee35b79a3071 | /polya.sce | cd55aa10a8600100fea4e575a77b5edca901c64d | [] | no_license | ece2lr/tp5 | 234e0a062a84cc3fdf7f9aa35ce7ee4b401c66e1 | c61783c954f1414207875882017aa84435ad834e | refs/heads/master | 2021-08-08T13:33:13.072812 | 2017-11-10T12:17:14 | 2017-11-10T12:17:14 | 110,243,356 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | polya.sce | funcprot(0) // évite l'avertissement réécrire fonction
//function nouveau=suivant(actuel,nombreBoules)
// alea = grand(1,1,"uin",1,nombreBoules)
// if (alea<=actuel)
// nouveau=actuel+1
// else
// nouveau=actuel
// end
//endfunction
function nouveau=suivant(actuel,nombreBoules)
[Nech,_]=size(actuel)
ale... |
745568ba8aa11cca7b8ff62f04568ff9e4a3587a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH10/EX10.2/Ex10_2.sce | 6e803f7a1f2c52922cf6abe33c9a8e93887344ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,606 | sce | Ex10_2.sce | //Harriot P., 2003, Chemical Reactor Design (I-Edition), Marcel Dekker, Inc., USA, pp 436.
//Chapter-10 Ex10.2 Pg No. 414
//Title:Conversion as a function of No. of Gauzes
//===========================================================================================================
clear
clc
// COMMON INPUT
M_NH3... |
88b97081324b3b34daa4ad7999d3adc75f332104 | 7c3f5d0908e4b8296e6f510e1b52197d07f7aa50 | /funcao_pendulo.sce | be84ffa2de277a4f99255faab87be25959847522 | [] | no_license | mtxslv/Projetos-Calculo-Numerico | 883da40114255c871b47fb1882e3890a63d71d9d | 96949e60d384d973f048712a5222796dc989a088 | refs/heads/master | 2020-03-26T08:43:46.551491 | 2018-09-01T23:19:56 | 2018-09-01T23:19:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | funcao_pendulo.sce |
function pendulo = funcao_pendulo(r1,r2,r3,w0,x,n)
pendulo = (r1 + r2*cosseno_taylor(w0*x,n) + r3*seno_taylor(w0*x,n));
endfunction
|
f88e9aed4ff7744340df4a60380e004e84b5e632 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/SOS.sce | dbf2097d67b175a827146a469965aebdcdc2ddf3 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 793 | sce | SOS.sce | //**************************** SOS **********************************
if (blk_name.entries(bl) =='SOS') then
mputl("# SOS",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
SOS_str= '.subckt speech in[0]=net' + string(blk(blk_objs(bl),2))+"_" + string(ss)+" out[0]=net'+ string(blk(blk_objs(bl),2+numofip))+"_... |
807122aa8b3a1c68196ea6c16052690929ebaa46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH7/EX7.12/ex7_12.sce | 652da61400f0f5255833dad5ecf2b3923ae4dee0 | [] | 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 | 704 | sce | ex7_12.sce | clc;
warning("off");
printf("\n\n example7.12 - pg301");
// given
Q=50/(7.48*60); //[ft/sec] - volumetric flow rate of water
d1=1; //[inch] - diameter of pipe
deltaz=-5; //[ft] - distance between end of pipe and tank
g=32.1; //[ft/sec] - acceleration due to gravity
Cp=1; //[Btu/lb*F] - heat capacity of wat... |
ade7dc6e0be1445121d621d1745b9b457f05a395 | 59ea89f1162f8048d9f7f10f6e6a3a1567c56607 | /expe/pat/Prog/PrepAtt_Disc_Repo.sce | 07adef5b75be65d5df16079fa3bdd142e4a9bf69 | [] | no_license | elshafeh/own | a9b8199efb3511aa1b30b53755be9337d572b116 | ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6 | refs/heads/master | 2023-09-03T01:23:35.888318 | 2021-11-03T09:56:33 | 2021-11-03T09:56:33 | 314,668,569 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | PrepAtt_Disc_Repo.sce | # - Header - #
# - Disc Threshold One - #
scenario = "17_March_2015";
# - Screen Parameters - #
default_font_size = 26 ;
default_font = "Arial";
default_text_color = 0, 0, 0;
write_codes = true;
screen_width = 1024;
screen_height = 768;
screen_bit_depth = 32;
default_background_color = 200, 200, 200;
... |
7bb58e2ea6c4134fa5996b77f42e29c7c6b0cc94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.2/Ex9_2.sce | ebcc7603b9b4f0fae596b9b58f2e7b4dcac6ba49 | [] | 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,338 | sce | Ex9_2.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 2
clear ;clc;
//Given data
X1 = 0.5 // volume fraction of propane
X2 = 0.5 // volume fraction of oxygen
P1 = 0.1 // initial pressure of mixture in MPa
T1 = 300 ... |
8b6b8d8593322db591da3463d42b8a3faeaf2477 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH13/EX13.16/ii_16.sce | 748f0f9313b9fc40800aed77add8ac0f191e83c2 | [] | 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 | 318 | sce | ii_16.sce | //Compute Loss of energy
clc;
clear;
w=10;
f=50;// 50 cycles in a second.
ls_vol=250;
density=7.5;// Density in gm/cm^3
d= density*(10^6)/(10^3);
vol=w/d;
ls_cycle= ls_vol*vol;
ls_sec= ls_cycle*50;
ls_hr= ls_sec*3600;
disp('joules',ls_hr,'The Loss of energy per hour of an iron loop')
|
65d589e762cee65e3c2d3f661bc4a9906bb8864b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH1/EX1.2/Ex1_2.sce | 777c954b634a1b6446e6dcebeed8934d1b82cbe1 | [] | 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 | 342 | sce | Ex1_2.sce | //Exa 1.2
clc;
clear all;
//Refering to table 1.1- Set of 10 measurements that were recorded in the laboratory.
X={98;101;102;97;101;100;103;98;106;99}; //From table 1.1
//solution
X_n= mean(X); //Average value
Prec=1-abs((X(6)-X_n)/X_n);//precision of 6th reading
printf('The precision of 6th measuremen... |
812c4346566f1c7009613810176e3f51f7c38db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH7/EX7.17/7_17.sce | ad3ca86ef01d056216ff16177930ba40088bc6d0 | [] | 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 | 173 | sce | 7_17.sce | clear; clc; close;
Id_on = 4*10^(-3);
Vgs_on = 6;
Vgs_th = 3;
Vgs = Vgs_on;
Vdd = 2*Vgs;
Vds = Vgs;
Id = Id_on;
Rd = (Vdd-Vds)/Id;
disp(Rd,'Rd(Ohms) = ');
|
0c402b94c1a93a699ed06280d5635228b94c6d90 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_tril.sci | 63a7caa17ebd02c04bd7fc8be8346c289280aa71 | [
"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 | 254 | sci | sci_tril.sci | function [stk,txt,top]=sci_tril()
// Copyright INRIA
txt=[]
if rhs==2 then
s1=stk(top-1)
stk=list('tril('+s1(1)+','+stk(top)(1)+')','0',s1(3),s1(4),s1(5),'?')
top=top-1
else
s1=stk(top)
stk=list('tril('+s1(1)+')','0',s1(3),s1(4),s1(5),'?')
end
|
981eeffd2e00af68bd1fad38d3558dc54078652a | 59ca8642f974b397e1747edc1015fce8b8e6c59f | /integracion.sce | 70206cdac0ac9c3e460678c9230ab74efffa6ccf | [] | no_license | mcortex/scilab-code | c6a367b216e531d0ebe3cda5d4a84156b23d2085 | 2709299d60d9e72294b274773bdadb4126a25ba9 | refs/heads/master | 2020-05-26T05:49:42.441734 | 2019-12-06T02:06:49 | 2019-12-06T02:06:49 | 188,126,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,008 | sce | integracion.sce | function y=f(x)
//y=1./(1+x^2)
//y=x
//y=(1-x^2)^(3/2)
//y=log(3+x)
y=1./(x-1)
endfunction
//Grafico f(x)
x=-2:0.1:2;
plot2d(x, f(x));
//muestra grilla
xgrid(3,1,7);
function I=inf(a,b,N,f)
h=(b-a)/N
printf("\nTamanio del paso h = %12.9f",h);
x=a // Extremo inferior
I=0
for i=0:... |
10f34ba4aeb1dd1cf6cfe383c638e76277113687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH5/EX5.6/5_6.sce | d343a66f33c2fb38f4f91986cd79c48e9c5238b5 | [] | 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 | 271 | sce | 5_6.sce | clear;
clc;
close;
disp("Example 5.6")
M9=1 // Mach no.
p=1/8 //p=p0/pt7
gm=1.3 //gamma
V9cd=(2*(1-p^((gm-1)/gm)))^(1/2)
px=p*((gm+1)/2)^(gm/(gm-1))
V9c=(2*(gm-1)/(gm+1))^(1/2)
FR=(V9cd/V9c)/(1+(1-px)/gm)
pr=(FR-1)*100/1
disp(pr,"% increase in gross thrust:") |
f0bc897f8deb5c538f5fd2761b17966beadb702e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH3/EX3.26/ex_3_26.sce | d03f98cf9389f592918e684e92efe30be55784ae | [] | 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 | 249 | sce | ex_3_26.sce | errcatch(-1,"stop");mode(2);//Example 3.26 : density
;
;
//given data :
format('v',5)
n=4;
N=6.023*10^23; // avogadro's number
r=1.278*10^-8;// in cm
A=63.5;
a=(r*4)/sqrt(2);// in cm
b=(A*n)/(a^3*N);
disp(b,"density of copper,b(g/cc) = ")
exit();
|
f079d96fce8211837b43d5b07b2303819d1b4f31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH12/EX12.2/12_2.sce | 763c4974e2427fd0110e267f42cc03dfb14f5609 | [] | 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 | 209 | sce | 12_2.sce | clc
//initialisation of variables
Ps= 200 //mm
Pe= 390 //mm
Pt= 300 //mm
t= 500 //sec
Pe1= 400 //mm
//CALCULATIONS
r= (Pe1-Pt)/(Pe1-Ps)
//RESULTS
printf ('fraction remained undecomposed= %.1f ',r)
|
e7dd2f750ab1a29c4954225f3e57704e77f9b9f9 | 11af1eb1c00f5192b6d8dc345ce72a83ca94595c | /4_stimuli_and_presentation_scripts/exp_3/RPSL_incidental.sce | 0fe7eef6be485d3e61d86e7dcd8cb4af9ab571ee | [] | no_license | avakiai/statistical-learning | 7e94f3a756e3acf782d3b3f2e4d73f0a0c550f1a | ada72d7957b9504070ebb6efaef1d8000e9f2bae | refs/heads/master | 2023-04-08T21:52:17.888030 | 2021-04-25T11:05:51 | 2021-04-25T11:05:51 | 284,672,107 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,964 | sce | RPSL_incidental.sce |
#-----------------------------------------------------------------------------------#
# Incidental Learning Session for Statistical Learning/Rate Perception Study
# Ava Kiai
#
# Log
# 12/5/18 - v.0.0
# 2/4/19 - v.0.1
# 7/16/19 - v.2.0
#----------------------------------------------------------------... |
704d26350a8131c245fecd4b9c45dffbeb672010 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/testIK.sce | 2625b8077b825fb73b34262700ed66b280602ed4 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,482 | sce | testIK.sce | IK_target_RLeg_real = [0.069828271865844727, 0.23262149095535278, 0.35102164745330811]; //the foothold for the ith leg, in the leg attachment frame
//disp(IK_target_RLeg);
//HR Leg
l1 = 0.1;
l2 = 0.15;
l3 = 0.3;
xOff = [1 0 0]*0.15/2;
yOff = [0 1 0]*0.3/2;
offset_i = - xOff - yOff;
orient = [-0.7022104 -0.4188790 ... |
febbb51346b0bfb985e9da64150e630828edff78 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/bfp-003-loadfpi.tst | 8a519d720e23bfe6793d2fc28dcec73aca304bff | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 38,477 | tst | bfp-003-loadfpi.tst | *Testcase bfp-003-loadfpi.tst: CFEBR, CFEBRA, CFDBR, CFDBRA, CFXBR, CFXBRA
#Testcase bfp-003-loadfpi.tst: IEEE Load FP Integer
#..Includes LOAD FP INTEGER (6). Tests traps, exceptions, results
#..from all rounding modes, and NaN propagation.
sysclear
archmode esame
#
# Following suppresses logging of program ch... |
b482d3ae88dc7ca873a1dc9591b606a0a6e87caa | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_12/ej1.sce | 3f4d0194f36853c43ce6970294ad234fab4c32f5 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | ej1.sce | //Derivacion Numerica
clc
x = [0 0.1 0.2 0.4 0.5 0.55]'
y = [1.12 1.28 1.55 1.88 1.77 1.66]'
M = [x^5 x^4 x^3 x^2 x ones(length(x),1)]
v = M\y
p = poly(v($:-1:1), 'x', 'c')
disp(p)
dp = derivat(p)
disp(dp)
xi = [0 0.25 0.5]//Evaluara p'(0), p'(0.25), p'(0.5)
dpxi = horner(dp, xi)
disp(dpxi)
|
675eb0631abeacef2002c9163bcbcf727f1f946a | 51abd391b32fda845622cc93f23d0c65ea6bdb4a | /src/Ampl_JuMP/bug_hprod_ampl_linux.sce | 943c099e554a32b4314bd792413d9677143f5785 | [
"MIT"
] | permissive | vepiteski/SolverComparator.jl | 5223b1dc9724df18474845beab61aef73cef5536 | f2527afcc948fcf0749ca28a19deaee11ddb829a | refs/heads/master | 2021-01-12T15:34:46.334370 | 2017-09-07T14:50:11 | 2017-09-07T14:50:11 | 71,840,079 | 0 | 1 | null | 2017-07-03T13:01:58 | 2016-10-24T23:18:49 | Julia | UTF-8 | Scilab | false | false | 626 | sce | bug_hprod_ampl_linux.sce | //using AmplNLReader
//#nlp = AmplModel("../ampl/msqrtals") # loads the msqrtals.nl model
[asl, x0, bl, bu, v, cl, cu] = ampl_init("msqrtals.nl");
//nlp = AmplModel("../ampl/curly10") # loads the msqrtals.nl model
nvar = length(x0)
//x0 = nlp.meta.x0
nbt=100000
mprintf("evaluating %i times the Hv product\n",nbt)
go... |
e876eb3b9c2a408e5e431ad985abff8097e74f04 | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/tmp.sce | 93e19cb74e7f68ef6b176d8f4cc1396cf945fe7e | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44 | sce | tmp.sce | function d = determinant(A)
endfunction |
a8f8ae1b74f104f018beff96a8aefd8b2813da05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3417/CH12/EX12.6.1/Ex12_6_1.sce | c2b0d6a75ff79bd300dab7b02d419054f49578ac | [] | 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 | 549 | sce | Ex12_6_1.sce | //Ex12.6.1.;calculate open circuit voltage and maximum power output
B=2;//flux density;unit=Wb/m^2
u=10^3;//average gas velocity;unit=m/second
d=0.50;//distance between plates;unit=m
E0=B*u*d;//Open ccircuit voltage
printf(" Open ccircuit voltage E0=%f Volts",E0);
//Generator resistance; Rg=d/sigma*A
sigma=10;//... |
bcccc7bb1708a03b5f5726f6944fd919099213bf | 37ae73a0d143e6fc539c6ff34ace9e46e0982654 | /Tutorial/TestEnv/Tutorial/build/4211668324/MANAGER/basis.scr | d0f50e11fe4f105ec048118144eaa54c473687f3 | [] | no_license | vjtkmg/vcast-workarea | 7441ca0ac1eb05ab41c388b5c6fd502277fc4ac9 | 6ecfc99f4b1b68707e4debb8c5b213a467326c2c | refs/heads/main | 2023-08-23T13:26:38.279532 | 2021-11-04T09:12:34 | 2021-11-04T09:12:34 | 422,165,203 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,750 | scr | basis.scr | -- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
TEST.SCRIPT_FEATURE:VCAST_MAIN_NOT_RENAMED
--
-... |
a05e917efe46d6e7ce64fc662bcffcaacdd020f2 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_C2.sce | accb729e4013588f2c4fd483fe47fa6590dd4911 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | Mission_C2.sce | //Mission C2
//On récupère l'image
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_Complementaire\Formes.pbm";
img_in = readpbm(pathname);
//On crée l'élement structurant
eStruct = [0, 0, 0;255, 255, 255;0, 0, 0];
//Erosion
img_erosion = erosionBinaire(img_in, eStruct,... |
4a9c6cea38a61a2c1d973933c856a14ad635c4d6 | 126a5d28bbfc3431d8dd3555bcbae3d74deec2a8 | /Scilab_code_Results_validation.sci | e57c03e222f816adabd678cf723c449ffc9b2875 | [
"MIT"
] | permissive | fmairet/Temperature_Allocation | 40746b86d79f8399fe6b31579da71ad53372e3a4 | 85a5265efce3ff8b68c5fa17a3967c6c2663777b | refs/heads/main | 2023-01-11T01:58:44.464245 | 2020-11-09T10:21:37 | 2020-11-09T10:21:37 | 311,297,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,039 | sci | Scilab_code_Results_validation.sci | // Optimal proteome allocation and the temperature dependence of microbial growth laws
// Francis Mairet,Jean-Luc Gouzé, Hidde de Jong
// npj Systems Biology and Applications
//
// SI: Scilab code for Figure 3 (validation)
xdel(winsid())
clear
////////////////////// Parameters //////////////
R=8.314;
Tref=31... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.