blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
04e6f8d5cb2f548cca0ea66bec3e063c93f6b5e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH3/EX3.1/exa_3_1.sce | d19b172392706c29968dd19afd532b298d6083ae | [] | 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 | 212 | sce | exa_3_1.sce | // Exa 3.1
clc;
clear;
close;
// Given data
N= 100;
A=4*3;// in cm^2
A=A*10^-4;// in m^2
i=20;// in mA
i=i*10^-3;// in A
B=0.05;// in T
T=N*i*B*A;//in Nm
disp(T,"Torque developed by the coil in Nm")
|
35e4fd5f720439e956d4f90d7f3f44e0aefc5f4e | 7d91f8b3cb8d228617c08467d41edcff14343b7f | /fdm_beam.sci | 5c63e0a14421153ad11d722dcf0bdf1e2cd5baa4 | [] | no_license | szymczykmichal/KWP | aae875431be6fa9c1a370016396f2476cb06f793 | 77cbdf39521e41e2bbb9aa9c00fbba0766ec052e | refs/heads/master | 2020-04-26T08:50:05.726038 | 2019-04-24T19:47:19 | 2019-04-24T19:47:19 | 173,435,873 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sci | fdm_beam.sci | clc; clear;close;
exec('./ode1.sci');
//EI = 250e9; // szywnosc na zginanie, Nmm^2
E = 210000 //N/mm^2
I = 1940e4 //mm^4
EI = E*I
_q = 10000; // sila skupiona, N
q=_q/1000
L = 4000; // dlugosc belki, mm
n=10;
A = zeros(n,n);
for i =1:n
if i == 1 || i == n then
A(i,i) = 1;
else
A(i,i-1... |
581ca06380ffe69ddc3856dd57e01c67a3006601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.22/Ex1_22.sce | 92afd2d2525c91b840b6ea9bc03ac8074327ddce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,142 | sce | Ex1_22.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 22")
m=5;//mass of mixture of gas in kg
P=1.013*10^5;//pressure of mixture in pa
T=300;//temperature of mixture in k
M1=28;//molecular weight of nitro... |
fef942b55a3e8d2d1347613a249f5596cf761ad1 | 964a1ce44b6391e555c0e2aeff6c55dda847d718 | /Mini Compiler for LaTeX/test result/verb_res.tst | 31a9858ebfd45b1d1ee6c7f52ba281ebe26a176e | [] | no_license | kennethwty/mini-compiler-latex | 6c165567298c216d39a806fa7cc05ed67f1babfc | d1b99a4fbbac906bf61242a977886578e1eb3594 | refs/heads/master | 2021-09-28T10:08:02.927880 | 2018-11-16T17:45:46 | 2018-11-16T17:45:46 | 104,703,352 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | tst | verb_res.tst |
Checking that a simple verbatim works
Single is for Single spacing
Verbatim allows text that matches the
Itemize uses ticks to indicate items
Center allows a block to be centered
Does this start off correctly with 1 |
3d8e0555873c06390f2f8c1c7ecda47f92355e6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH1/EX1.20/Ex1_20.sce | 7af8aef1accd51aca10f45c4bebf0d684f84bf84 | [] | 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 | 334 | sce | Ex1_20.sce | //Example 1.20: Addition of two unsigned numbers 14-10.
clc;
x=bitcmp(10,4) //finds complement of 5
y=1;
u=x+y //1 is added to the complement
w=14
z=w+u;
r = dec2bin(z); // binary equivalent of decimal number
disp('The binary number is = ');
disp(r)
disp('The msb is discarded, and binary number becomes')
di... |
2bb28ae54a8e91911929cd6ca4ee9148eb55e09a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/%p_det.sci | 058bb470f47de3c9eae5bb7cc4d3a917e6556760 | [
"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 | 52 | sci | %p_det.sci | function x=%p_det(a)
// Copyright INRIA
x=determ(a)
|
844a6178625b4a784bee75fd2a17f6334c43787e | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.22/1_22.sce | 19e1a8dd69a417c3cf71687dd9374230ac8b0199 | [] | 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,592 | sce | 1_22.sce | //pathname=get_absolute_file_path('1.22.sce')
//filename=pathname+filesep()+'1.22-data.sci'
//exec(filename)
//Total mass of system of gas(in kg):
M=5
//Compostion of Nitrogen:
n=0.80
//Compostion of Oxygen:
o=0.18
//Composition of Carbon dioxide:
c=0.02
//Compression ratio for Oxygen:
ro=1.4
//Compression... |
3b8301c7521348a67434864bc87faca29f3beb90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH7/EX7.12/Ex7_12.sce | 85a567383d42a6a7d1b9619c3389b290d54461ec | [] | 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,296 | sce | Ex7_12.sce | clc
//variable initialisation
V=440 //Supply voltage in volts
p=6 //number of poles
f=50 //Supply frequency in Hz
N1=970 //speed in rpm
N2=750 //speed in rpm
N3=850 //speed in rpm
n=3.5//Turns Ratio
R1=0.2
R2=0.15
X1=0.4
X2=0.4
aa1=170//Firing Angle
aa2=140//Firing Angle
s=0.3
//solution
Ns=(120*f)/... |
73bc4717a1144d83ba7fd8b48848f35975b26250 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH8/EX8.4/Example_8_4.sce | dfffa98dce79e45b29f6a112025cfb2d88f64faf | [] | 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 | 492 | sce | Example_8_4.sce | //clear//
clear;
clc;
//Example 8.4
//Given
q = 75/3600 ; // [m^3/s]
rho = 62.37*16.018; //[kg/m^3] From Appendix 4
Cv = 0.98;
g = 9.80665; //[m/s^2]
Sw = 1;
Sm = 13.6;
h = 1.25; //[m]
//(a)
//Using Eq.(2.10)
delta_p = g*h*(Sm-Sw)*rho ; //[N/m^2]
//Using Eq.(8.36), neglecting the effect of beta
Sb = q... |
cd36e09dbe5c4c6dbe6c01d65058ea944b327554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.20.1/Ex4_20.sce | 77fbd7ddcfd9756cd80f06ad15e97bbfbcdd524f | [] | 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 | 654 | sce | Ex4_20.sce | clc
clear
//Conditions at 9 bar
P=9; //in bar
Tsat=175.4+273; //in K
Vg=0.215; //in m^3/kg
Hf=742.8; //in kJ/kg
Hfg=2031.1; //in kJ/kg
Hg=2773.9; //in kJ/kg
T2=250+273; //in K
x=0.91; //Dryness Fraction
V1=x*Vg;
V2=0.2696; ... |
909252b0499b07310817f045a19f815fc9e672ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.25/Ex12_25.sce | 24bdffcf15b958ee2bbf0c13238c876af35683b5 | [] | 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 | 309 | sce | Ex12_25.sce | clear
//Given
I=2.0
a1=20*10**-2
x=0.15
A2=0.3*10**-2
//Calculation
//
u=4*%pi*10**-7
B1=(u*I*a1**2)/(2.0*(a1**2+x**2)**1.5)
a=B1*%pi*A2**2
M=a/I
//Result
printf("\n (i) Flux linking the bigger loop is %0.1f ",a*10**11)
printf("\n (ii) Mutual induction between the two loops is %0.2f !0**-11 H",M*10**11)
|
96825896789e1157b94ae202315a62d9ed82f21b | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.04/4_04.sce | 000058e399ed5ab499d2e05b49811e1356e0711d | [] | 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 | 810 | sce | 4_04.sce | //pathname=get_absolute_file_path('4.04.sce')
//filename=pathname+filesep()+'4.04-data.sci'
//exec(filename)
//Source temperature(in K):
T1=827+273
//Sink temperature(in K):
T2=27+273
//Temperature in the refrigerator(in K):
T3=-13+273
//Heat input(in kJ):
Q1=2000
//Net work available(in kJ):
W=300
//Rate ... |
699382091673e66807ced01a8c791d7e4640529e | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r37/packages/residue/residue.tst | f16f9b1bb0b5bcd6e8aadde5b68753737790caed | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 1,207 | tst | residue.tst | % test file for residue package
residue(x/(x^2-2),x,sqrt(2));
poleorder(x/(x^2-2),x,sqrt(2));
residue(sin(x)/(x^2-2),x,sqrt(2));
poleorder(sin(x)/(x^2-2),x,sqrt(2));
residue(1/(x-1)^m/(x-2)^2,x,2);
poleorder(1/(x-1)/(x-2)^2,x,2);
residue(sin(x)/x^2,x,0);
poleorder(sin(x)/x^2,x,0);
residue((1+x^2)/(1-x^2),x,1... |
e7fde1479a112e7fa9ef943c4d3d4603031a4144 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH1/EX1.2/ch1_2.sce | 83cb01171f1b2871a61daa92b0d35b55e6031f27 | [] | 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 | ch1_2.sce | clear;
clc;
printf("\t\t\tchapter1_example2\n\n\n");
// determination of thermal conductivity of aluminium
k_ss=14.4; // thermal conductivity of stainless steel in [W/m.K]
printf("\nThe thermal conductivity of stainless steel is %.1f W/m.K",k_ss);
dt_ss=40; // [K]
dt_al=8.65; // [K]
dz_ss=1; // [cm]
dz_al=3; /... |
eae4d0162c0996cc8a985a38e0903af4ba6467ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH12/EX12.1/Chapter12_example1.sce | 315857a354254fafc52e02d7f5cd2608086514b6 | [] | 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 | 336 | sce | Chapter12_example1.sce | clc
clear
//Input data
E=10//Energy of the photon in eV
h=6.625*10^-34//Plancks constant in J.s
c=3*10^8//Velocity of light in m/s
e=1.6*10^-19//Charge of electron in Columbs
//Calculations
l=((h*c)/(E*e))/10^-10//Wavelength of the photon in angstroms
//Output
printf('The wavelength of the photon is %3.0f... |
15d01421d2a0e12faba01b1a3f938b2e3c0dc01b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH18/EX18.2/Ex18_2.sce | 102499e187d0d8ee497d5347abe65f09b311298a | [] | 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,907 | sce | Ex18_2.sce | //Calculations on Gas engine
clc,clear
//Given:
d=24,l=48 //Bore and stroke in cm
D_b=1.25 //Effective diameter of the brake wheel in m
P=1236 //Net load on brake in N
N=77 //Average engine explosions in min
N1=226.7 //Average speed at output shaft in rpm
imep=7.5 //Indicated mean effective pressure in bar
Vg1... |
967cdd162293ec10e30108b5e0c2fd0ba36926e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.9/Exa3_9.sce | 8e7c8f67cac63fa04597081a6c3935c4c492301b | [] | 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 | 600 | sce | Exa3_9.sce | //Exa3.9
clc;
clear;
close;
// given data
n_i=2.5*10^13;// in /m^3
miu_e=3800;// in cm^2/V-s
miu_h=1800;// in cm^2/V-s
e=1.6*10^-19;// in C (charge of electrons)
sigma_i=n_i*e*(miu_e+miu_h);
disp("Intrinsic conductivity is : "+string(sigma_i)+" /ohm-cm");
// Let Number of germanium atoms/cm^3 = no_g
no_g=4... |
94d11a67c7673eda3452015e8b2986b5c99efc34 | 226851ab7bb8a3e1137e72fd154d4aa6939229f1 | /60002190048_SS SCILAB_5A(TASK-1).sce | 7879e316c1fe9d90df4bb7224b7e789d8b636a3a | [] | no_license | Ishitaa48/SS-Practicals-EXTC-1-E13-60002190048 | 637a855701ef0a07675e519cf002fa4742a571e7 | 183baae9ad66d093ba13d41a01f1d61751ef8036 | refs/heads/main | 2023-01-18T22:39:05.696201 | 2020-11-25T11:52:15 | 2020-11-25T11:52:15 | 315,921,545 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 60002190048_SS SCILAB_5A(TASK-1).sce | clear;
clc;
close;
t=-1:0.001:1
w=2*%pi;
figure;
n_har=5
n=1:n_har
b=2 ./(n*%pi);
x=0.5+b*sin(w*n'*t)
plot(t,x)
figure;
n_har=10
n=1:n_har
b=2 ./(n*%pi);
x=0.5+b*sin(w*n'*t)
plot(t,x)
figure;
n_har=50
n=1:n_har
b=2 ./(n*%pi);
x=0.5+b*sin(w*n'*t)
plot(t,x)
|
035240aa7d0f42e3cbbb9ae2b5fb295e17d12afc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.14/16_14.sce | 79cd764fcf6b536ed70d89c37d8757f8afb4e8b7 | [] | 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 | 16_14.sce | clear;
clc;
d=12;Ro=500;
D=(d-3)/3;
N=round(10^(D/20)*1000)/1000;
R1=Ro*(N+1)/(N-1);
R2=Ro*(round((N*N))-1)/(2*N);
printf("The desired attenuator will be:\n");
printf("R1 = %f ohms\n",round(R1));
printf("R2 = %f ohms\n",round(R2));
//the difference in result of R1 is due to erroneous value in textbook.
disp(... |
1a3d7bcd221b29f6f2b0a807d19bb07020d7088d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH9/EX9.3/Ex9_3.sce | 3c714e0b3c9a9d37a6d709fe51d4ce37f30f799f | [] | 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 | 584 | sce | Ex9_3.sce |
//ch-9 page 305 pb-3
//
//
l1=100.5,l3=75,l4=50.5,
t1=30.5,t2=45,t3=40.5,t4=60,t5=40.25,
L1=l1*cos(t1*(%pi/180))
L3=-l3*cos(t3*(%pi/180))
L4=-l4*cos(t4*(%pi/180))
printf("\n latitude of AB,CD,DE are %0.3f %0.3f %0.3f",L1,L3,L4)
D1=l1*sin(t1*(%pi/180))
D3=-l3*sin(t3*(%pi/180))
D4=-l4*sin(t4*(%pi/180))
printf("... |
65523de6bc619e3fc8e0681e90f8b2edd8fe8190 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSeSampling2pol.sci | 060b344cbb1f9d0d6404eeaa4ba850b0ea78f502 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sci | SSSeSampling2pol.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [y,Index,MaxCo] = SSSeSampling2pol(x1,y1,xref,Ind)
Ampl=[];
for j=-45:45
x=x1*cos(j*%pi/180)-y1*sin(j*%pi/180);
y=x1*sin(j*%pi/180)+y1*cos(j*%pi/180);
Ampl=[Ampl mean(abs(x)+abs(y))];
... |
68ec3abc8cb9177f584d5ac6c81ed4ba89f9089a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH2/EX2.19/ex2_19.sce | 71ce9cb1f41f555cfc766d9a9b1236f8dda7f90b | [] | 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 | 215 | sce | ex2_19.sce | errcatch(-1,"stop");mode(2);// Example 2.19, page no-40
awt=63.5*10^-3//g
avg=6.023*10^26
r=1.273*10^-10
n=4
a=4*r/sqrt(2)
d=n*awt/(avg*a^3)
printf("The density of copper is %.4f gm/m^3",d)
exit();
|
5fc1d2283d4700bacab019a70f2e4ffc2c81823f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH2/EX2.6/Ex2_6.sce | 313739fbfb12c5c939328382f5572da788162780 | [] | 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 | 555 | sce | Ex2_6.sce | clear;
clc;
//page no.45
l = 8;//feet
b = 10;// feet
F_h = 0.5*l*b*62.4*(b+2.5);// lb
x = 83.2/(40*(b+2.5));// feet
F_v = (b+5)*62.4*40-(l*62.4*(25 - 0.25*%pi*25));// lb
F = sqrt(F_h^2 + F_v^2);// lb
e = (2680*3.91 + 37440*(0.25*b))/F_v ;// feet
theta = 180*atan(F_v/F_h) /%pi;// degrees
x_p = 0.25*b-x;//... |
7ad003a0a83f9a077361395780ac44cd0b59ca6b | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH9/EX9.8/Ex9_8.sci | 84958c04cde25c1f6387d80c445fa2546819e703 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sci | Ex9_8.sci | // This is signal consisting of the sum of periodic signals whose individual
// fundamental periods are 3 and 5
// the fundamental period of total signal is 15
N0=15
n=[0:1:N0-1]';
xt=[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0]';
y=cosd(2*180.*n/3)+xt
Y=fft(y)/N0
disp(Y,'The DTFS harmonic function =')
|
b78ea62b69e1a8bb614f44c84d6932877b387430 | f492a134695f6d4b2ec01d572569f961a169ef38 | /reversi/tests/horiz_left.tst | 197d5730e391aa77404dbbf481e736d3528fb49e | [] | no_license | rileythomp/cpp-games | a51b06964a2466268aff733fb5d2a4ec1ce2752f | 1b98e9b33ba5ae7aadb6d7a2e9c45cb266727f0c | refs/heads/master | 2022-06-10T16:09:02.322242 | 2022-05-24T19:10:45 | 2022-05-24T19:10:45 | 157,655,018 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | tst | horiz_left.tst | p
asdf
fdsa
0
0
3
5
0
1
3
6
3
7
quit
q
|
f13d56e145b64fbfef8e142bd8ca0ddeb0a3ec32 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/rebu.sci | 6e4559da54c89d598510993b22379bd61f02d652 | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sci | rebu.sci | //ex13
theta=45*%pi/180;
x0=0; vx0=30*cos(30);
z0=0; vz0=-30*(sin(30));
x1=ode([x0;vx0],0,theta,xf);
z1=ode([z0;vz0],0,theta,zf);
|
b6434018e88978cefe3bed0467d7c0934b223936 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.18/example3_18.sce | 1b261fce45181776ec933d407b779d9005ee99f3 | [] | 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 | 483 | sce | example3_18.sce | //Chapter 3
//Example 3_18
//Page 61
clear;clc;
l=[20 40 50 35 70 40];
t=[8 3 5 3 3 2];
scf(0);
y=[20 20 20 20 20 20 20 20 40 40 40 50 50 50 50 50 35 35 35 70 70 70 40 40];
bar(y, 1, 'red');
xlabel('Time in hours');
ylabel('Load in MW');
xgrid(0);
ugpa=0;
for i=1:6;
ugpa=ugpa+l(i)*t(i);
end;
printf("Units genera... |
0370c50532c8f67937be3b8e9d75e4003235273b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH3/EX3.41/Ex3_41.sce | 98b2ed0b7535f6ee1f1983c061232a6f7c3c6efa | [] | 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 | 793 | sce | Ex3_41.sce | clc;
p=200; // rated KVA of transformer
n=0.98; // efficiency
t1=20; // temperature after one hour of operation
t2=34; // temperature after two hour of operation
r=1/3; // ratio of full load core losses to ohmic loss
disp('case a');
t=[(t2/t1)-1];
th=-1/log(t); // heating time constant in hours
theta=t1/(1-ex... |
5ae85479fffa9935ec0a68ae109c9b2d5440d9a0 | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /impulseplot.sci | 23256b949a62e30e7d2dd4ffdba393d5fd43f29d | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 15,144 | sci | impulseplot.sci | function [o]=impulseplot(varargin)
//Calling Sequence
//impulse(sys)
//impulse(poly1,poly2)
//impulse(sys,Tfinal)
//impulse(sys,Tvector)
//impulse(sys1,sys2,...,T)
//impulse(sys1,'r',sys2,'y--',sys3,'gx',..)
//
//Parameters
//sys:- sys can be SISO array,MIMO system or SISO either discrete or continuous
//p... |
c757a1822f58cc8e280229ef80d6101ea91d6cf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH1/EX1.1/1.sce | d3705bbfa7f1c7ebeeacaf94494a4b080b3ad4c1 | [] | 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 | 1.sce | // Caption: Finding reluctances and flux
clear;
close;
clc;
U_r=70000;
U_o=4*%pi*10^-7;
function [R_c]=reluctance_core(l,A)
R_c=l/(U_r*U_o*A);
endfunction
disp(reluctance_core(.3,9*10^-4),'Reluctance of the core=')
function [R_g]=reluctance_gap(g,A)
R_g=g/(U_o*A);
endfunction
disp(reluctance_gap(... |
c2d8422440b145d41f9ff8adc34ef7927e13771b | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH8/EX8.3/Example_8_3.sce | 4277ba9cfeb0de29248ccf1e08a52e461d0db0da | [] | 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 | 868 | sce | Example_8_3.sce | // Chapter8
// Page.No-320, Figure.No-8.12
// Example_8_3
// Output frequencies
// Given
clear;clc;
Vin=2; // Input voltage
Fo1=2*10^3; // Output freq Fo when Vin=2V
Fo2=1*10^3; // Output freq Fo/2 when Vin=2V
printf("\n Output freq Fo is = %.f Hz \n",Fo1) // Result
printf("\n Output freq Fo/2 is = %.f Hz \n"... |
d0f7fb03d3964b64868646ed5309cb0a0061363e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.14/example2_14.sce | 540897172d07b8b652dab662ae6c3122a554ba79 | [] | 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 | 415 | sce | example2_14.sce | clc
// Given that
d = 1.2 // distance of screen from slit in meter
x = 3.7e-3 // distance between first maxima to central maxima in meter
b = 2e-4 // slit-width in meter
// Sample Problem 14 on page no. 2.43
printf("\n # PROBLEM 14 # \n")
lambda = (x * b) / d // calculation for wavelength of light
printf("\n Standard ... |
2cfa1685c4be5b432dd84530324a56d300edc8ac | 63e41587daefcf8180d9ee0a356e14531008e696 | /zpkdata.sci | 40152b3f4aecda6f46d6240fc85a079300a48670 | [] | no_license | rutup1595/gui-codes | 10f7415b3a0cb456043e19e9273d78c4860fcaae | 880b91beac114d16b1c854b27a770903c9ced6fe | refs/heads/master | 2020-12-05T08:39:00.817311 | 2019-08-16T05:00:40 | 2019-08-16T05:00:40 | 67,854,154 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,278 | sci | zpkdata.sci | //author :Rutuja moharil
// zero pole gain plot
//returns the zeros z, poles p, and gain(s) k and sample time Ts of the zero-pole-gain SISO and MIMO model sys.
function[x,t,o,dt]= zpkdata(sys,varargin)
n=length(varargin); //length of the input vairiable matrix
select typeof(sys) //check the system t... |
fb65adf779ac252b4c8018b7221de98420f729f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.1/Ex2_1.sce | 422ca1ea82c4e328d16461eaab690bd2998b2fd6 | [] | 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 | 383 | sce | Ex2_1.sce | clear
//
//
//
//Variable declaration
lamda=5*10**-5 //wavelength(cm)
k=2 //order
theta=30*%pi/180 //angle(radian)
//Calculation
e=k*lamda/sin(theta) //number of lines(cm)
n=1/e //number of lines per centimeter
//Result
printf("\n number of lines per centimete... |
1ed57a18851834767fd5d6b63f78a67f5d5080f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.34/Example_9_34.sce | 10e8842ba71a0bca53a0cbb6e35d10f197ffa13e | [] | 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 | 730 | sce | Example_9_34.sce | clc;
clear;
printf('Example 9.34\n');
T1=420;//temperature of steam
k=0.1;//Thermal conductivity
T2=285; //Ambient temperature
h=10;//the coefficient of heat transfer from the outside of the lagging to
//the surroundings
//determining Q/l from equation 9.21 and equating it to heat loss from the
//out... |
37956b28e5cfea23c7ea986f64d2bd36aea1cde0 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ee_vrt_col_d/~BivLCM-SR-bfas_ee_vrt_col_d-PLin-VLin.tst | aab0dec0ea41bd6c2cdbce89a355b15379434e64 | [] | 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_vrt_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.387573D+00
... |
c5ec904807b482f0b9499879cc0b8f1f96bca981 | 91da29a7783c3162b1b743ad75d48814bd1f556e | /2_año/MN/Cholesky V1.sci | 6a0bbc56410d41f2717a8282dbea9aaa91a488ac | [] | no_license | jfarizano/LCC | a149631059129b07a7c603bf16df0c1b25479edb | 70cb03b0ff0a788b1bbbf1a6bcd51beff48460fe | refs/heads/master | 2022-11-15T14:46:36.171561 | 2022-11-10T21:15:13 | 2022-11-10T21:15:13 | 246,933,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sci | Cholesky V1.sci | function [U, ind] = Cholesky(A)
eps = 1.0e-8
n = size(A,1)
U = zeros(n,n)
for k = 1:n
if k==1 then
t = A(k,k)
else
t = A(k,k) - U(1:k-1,k)'*U(1:k-1,k)
end
if t <= eps
printf("Matriz no definida positiva.\n")
ind = 0
return
end
U(k... |
9bfb9dc5052b3bdad111ccecd3650d99517873d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/7_4_1.sci | 80b80b8a84a6c0927b3667a8d19475f444b1f704 | [] | 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 | 64 | sci | 7_4_1.sci | U=3800 //J/mol
P=1 //atm
Vcap=24.63 //L/mol
ndot=250 //Kmol/h |
76d8d43f677e2b7d93b8269c128a4d7ec5840050 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH8/EX8.4.a/ex_8_4_a.sce | 3bb5b91507ad09078e4f42e70436c2086d4f59ac | [] | 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 | 587 | sce | ex_8_4_a.sce | //example 8.4(a)//
clc
//clears the screen//
clear
//clears the variables//
disp('Refer to figure. Q is initially 0, this makes J and K inputs to be initially 1 and 0 respectively. With the first trailing edge of clock input, Q goes 1 state. Thus J and K acquire logic status of 0 and 1 respectively. With the next ... |
14ea7f218f0baae3c372bc114e1611e3787dcfa7 | 475a9e3173cbf116c786e8a60b1323f29f10a134 | /integration.sci | 43eb803030beb534325667b7fb367f5c6607a2a7 | [] | no_license | jatinmandav/Sci-Lab-Implementations | bee5e375735ca0ebee9fd7afa69ddddbdadb5e3c | d1f65da040022b785763fe74d4b49468dc6078f3 | refs/heads/master | 2020-03-10T06:35:07.107772 | 2018-04-12T19:13:37 | 2018-04-12T19:13:37 | 129,242,875 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,086 | sci | integration.sci | /*
* By: Jatin Kumar Mandav
*
* Trapezoidal Method: In Numerical Analysis, the trapezoidal rule is
* a technique for approximating the definite integral.
* The Trapezoidal Rule works by approximating the region under the
* graph of the function f(x) as a trapezoid and calculating its area.... |
77dd15cf882a3ef028aead101a1c3a75198b4e1a | f5bb8d58446077a551e4d9a6461a55255db523fe | /zero_de_funcoes/metodos/metodo_bissecao.sce | feb964fc670ba49b688659db8b7b6f37c6e1a39f | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | metodo_bissecao.sce | // CALCULA UMA APROXIMACAO x(k), PARA UMA RAIZ DE f NO INTERVALO [a,b]
// f: função criada em outro arquivo
// [a,b]: intervalo no qual f(a)*f(b) < 0
// eps1: precisão utilizada no critério de parada
function bissecao(f,a,b,eps1)
if ((f(a).*f(b))>0.0) then
printf("\n \n")
printf("f( %g )*f( %g )>0 \n \n"... |
d3d9a5d32401d6288bf34b64917538ed042df7bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.11/ex_1_11.sce | 509bbf9541ed37d6c33fbe906367d30881ee309d | [] | 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 | ex_1_11.sce | clear;
clc;
close;
n=0:100;
w0=1;
N=2*%pi/w0;
x=exp(%i*w0*n);
y=exp(%i*w0*(n+N));
if ceil(x)==ceil(y) then
disp('e^iwn is periodic with N=2*pi/W0')
else
disp('nonperiodic')
end |
413913704a55b77e501e8c1c6468b83e7e412bb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.20/11_20.sci | 266c6756fc61789311084b8ebe3d286b0383d2f4 | [] | 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 | 66 | sci | 11_20.sci | //value//
s=%s;
H=syslin('c',1/((s+3)*s*(s+5)));
evans(H,100)
|
49800d4d25dc92f73d37f4bae2c62c1add169bd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/10_5data.sci | e04893eb766b10f71f185dace85cdf84de854fc6 | [] | 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 | 79 | sci | 10_5data.sci | EI=70000*2000;//given in N.mm^2
L=2000;//in mm
rho=1;//in Kg/mm^3
A=1;//in mm^2 |
8774a969f03e87999915109aad7f4f4161c43e9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.6/ex1_6.sce | 49e76c1b1424db35e226972202977fecacc555b6 | [] | 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 | 869 | sce | ex1_6.sce | // Exa 1.6
clc;
clear;
close;
format('e',9)
// Given data
sigma = 100;// in (ohm-m)^-1
n_i = 2.5*10^13;// in /cm^3
miu_n = 3800;// in cm^2/V-s
miu_p = 1800;// in cm^2/V-s
q = 1.6*10^-19;// in C
// Conductivity of a p-type germanium, sigma = q*p*miu_p or
p = sigma/(q*miu_p);// in /cm^3
disp(p,"Concentration... |
feec01a737810547388a4698ef227fa84f0ada8e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535.zip/Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535/CH7/EX7.5/Ex7_5.sce | af9a3f18f03546e130369662eb8d3fdfc6399173 | [] | 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 | 320 | sce | Ex7_5.sce | errcatch(-1,"stop");mode(2);//Chapter 7, Example 7.5, Page 199
// Activity of the sample
lambda = 7.466*10**-5
m = 2
Na = 0.6022*10**24
A = 55
sigma = 13.3*10**-24
delta = 10**13
t = 120
Activity= lambda*(m*Na/A)*sigma*delta*t
printf("Activity = %e Bq\n",Activity)
//Answers may vary due to round off error
exit();
|
c868e3ec489ff354ec8c071e5718fd90b4d4ed90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.18/34_18.sce | 48f3c41b4043f5b79447349cebb850ec7f390b4a | [] | 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 | 34_18.sce | //ques-34.18
//Calculating moles of CO formed
clc
w=302;//wavelength (in nm)
QY=0.54;
E1=15000;//energy absorbed (in erg/mol)
E=(1.196*10^15)/w;//energy of 1 einstein (in erg/mol)
n=E1/E;//number of einsteins absorbed
N=QY*n;
printf("Moles of CO formed are %.2f*10^-9.",N*10^9)
|
2cbb88013cafa54880f212f0d31443e7796fd902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH14/EX14.10/Ex14_10.sce | 0b761eab83f0159ba78a8680537ed6eb9cb1df65 | [] | 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 | 520 | sce | Ex14_10.sce |
clc
//initialisation of variables
P=100 //lbf/in^2
T=600 //F
A=20000//lbm/hr
P1=0.545 //lbf/in^2
P2=54.5 //lbf/in^2
S=1.7581 //Btu/lbm-R
h0=1329.1 //Btu/lbm
T1=460//F
h=1264.0 //Btu/lbm
V=w1*sqrt(h0-h)//ft/sec
v1=9.961 //lbf/in^2
PE=20 //lbf/in^2
sE=1.7581 //Btu/lbm-R
hE=1174.9 //Btu/lbm
vE=21.28 //lb... |
722a702ee9955ac2511bead2fc201d3b6de344bd | 01f87a03e72ec0233b049221ef36b1c4cbec028d | /test/fixtures/tracks/fake/hello-world/two_test.tst | b63aea149ad8023d086144180abb77dded366e51 | [
"MIT"
] | permissive | emmairwin/x-api | e92a2e3df83d4ae14035cfce8bc0334ff4e193cd | 7de67ec3385897710802a3283ce08931cbe88075 | refs/heads/master | 2020-12-27T20:41:13.988472 | 2016-04-02T17:37:46 | 2016-04-02T17:37:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15 | tst | two_test.tst | assert "World"
|
03ae08748a2f577d7c391dacc9cc4d91e204daca | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/11.sci | d459ca656f2e594318db7d4576879f05edc64d02 | [] | 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 | 72 | sci | 11.sci | u=0.005//kg/m.s(viscosityb of liquid)
p=850//kg/cm^3(density of liquid) |
68abaf099352f961d8b77f8aefa8864894b97d50 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /catdemo_ex.sci | 5b9e469827857a061864b48f54c14ecf82079f1c | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | catdemo_ex.sci | function catdemo_ex()
a1 = uint8([1 2 3 ;4 5 3;]);
a2 = uint8([10 11 14; 21 19 29 ]);
y = cat(2,a1,a2);
disp(y);
endfunction
|
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 ... |
d75484322a2311fffe15a70f90ba9cff841939da | 4bf1cd19243cfaf8df502862f204dc31d59e5516 | /Scilab/HelloWorld.sce | 279eca04b5b78e0873703ed5891e50895dec3114 | [
"MIT"
] | permissive | frogo123/HelloWorld | 56b212f65dcfd8bd14c87e96ea634efb3a7a053b | 71540f3ea4f53037ff6cf8a55aee519621fc9082 | refs/heads/master | 2023-08-19T11:56:46.545113 | 2021-10-15T09:39:12 | 2021-10-15T09:39:12 | 417,229,253 | 1 | 0 | MIT | 2021-10-14T17:47:56 | 2021-10-14T17:47:55 | null | UTF-8 | Scilab | false | false | 24 | sce | HelloWorld.sce | clc
disp('Hello World')
|
6ec29cf97b3e70e0cf96b228e0d30caf4f5d5bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.12.b/solution12_12.sce | 8a76cdef1fd026598e3c816a54f78cb65daf67c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | solution12_12.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution12_12.sce')
//Obtain path of data file
datapath = path + filesep() + 'data12_12.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the torque capacity of each pad mt (N-m)
mt = Mt/n
//Calculate the friction radius Rf (mm)
Rf = ... |
19f322a11a736b0eb5efe5212f2daab44b6d9653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH1/EX1.8.1/1_8_1.sce | f29122763aca86db89e1d7686d42bb4758a93bac | [] | 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 | 207 | sce | 1_8_1.sce | clc
//initialisation of variables
W= 4500 //tonf
b= 6 //ft
d= 2.5 //ft
s= 0.83
//CALCULATIONS
I= b*d^3/12
r= 3*s*I*1000/(W)
//RESULTS
printf ('Reduction caused by three compartments= %.3f mmE',r)
|
d6c627e7ca244faf0bec6e94833f2074f911e470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH5/EX5.2/5_2.sce | 09167676164ff847407e06cc4a17701ced567153 | [] | 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 | 212 | sce | 5_2.sce | clc;
clear;
function y=f(x)
y=sin(10*x)+cos(3*x);
endfunction
count=1;
for i=1:0.05:5
val(count)=i;
func(count)=f(i);
count=count+1;
end
plot2d(val,func)
xtitle("x vs f(x)",'x','f(x)') |
e4f8dd9bcdc0e892f1eaea5dfbd1cf4bfb6603f6 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rootmusic/rootmusic10.sce | 45a1e0095ae854ad0f41e603f74d02ec8b01b0dc | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | rootmusic10.sce | //i/p arg R contains only zeros
R=[0 0 0 0 0 0 0];
W = rootmusic(R,2);
disp(W);
//output
//Warning :
//matrix is close to singular or badly scaled. rcond = 0.0000D+00
//computing least squares solution. (see lsq).
//
// !--error 4
//Undefined variable: iterM
//at line 46 of function nnls called by :
//at lin... |
351a145fc5e956abb1844417d2922fef0f74e746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH10/EX10.3/Ex10_3.sce | 1e54186abd0386cf095c5b03c21156c5588d6246 | [] | 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,015 | sce | Ex10_3.sce | //Example 10.3
clc
clear
m = 5;
n = 5;
u = zeros(m,n);
u(m,:) = [50 100 100 100 50];
u0 = u;
I = ceil(m/2);
J = ceil(n/2);
u(J,I) = (u0(J-2,I-2) + u0(J-2,I+2) + u0(J+2,I-2) + u0(J+2,I+2)) / 4;
for j = [J-1 J+1]
for i = [I-1 I+1]
u(j,i) = (u(j-1,i-1) + u(j-1,i+1) + u(j+1,i-1) + u(j+1,i+1... |
51e39e800ff16c8bed1b4007cd3981a583428c42 | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST TIPE SPE/scripts/2parfait.sce | 1210fb84f5656da7b8ce7d17b63936eb64f43045 | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,317 | sce | 2parfait.sce |
function su=comptage(A)
su=0;
i=1;
for i=3:length(A)-3 do
if A(i+1)<A(i)&A(i+2)<A(i)&A(i-1)<A(i)&A(i-2)<A(i) then su=su+1;
end
end
endfunction
function [vect]=test(ligne,colonne)
minim=min(colonne);
maxim=max(colonne);
n=max(size(ligne));
if maxim-minim<50 then vect=0
else
k=0... |
d80244a80b0e3ec96dd6beb3edd6738bc2e50df7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.28/example_9_28.sce | 5403989b29920a55635becdb89c2f849accddb52 | [] | 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 | 127 | sce | example_9_28.sce | s=%s
sys=syslin('c',k/((s+16)*(s^2+2*s+2)))
evans(sys)
//stability
[Ki,s]=kpure(sys)
disp("k marginal is")
disp(Ki)
|
3600910880c3ff56d6b97cc4d2214ad90a7ff5bc | f575b6ff7e0f0e2a1e8b41f9ab83ac853231ba68 | /pkg/nq/nq.tst | 6a1fcde6627169d73861ee3fc36905c01380c338 | [] | no_license | jmichel7/gap3-jm | 756c6e6c5d3c7956fe4dc20b2f76f320f49a11b5 | 3eeb3c4d174d567c51e712f997febb1e8e2ad65f | refs/heads/master | 2023-08-23T19:04:53.627679 | 2023-08-21T14:21:33 | 2023-08-21T14:21:33 | 124,115,667 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 4,667 | tst | nq.tst | #############################################################################
##
#A nq.tst May 1994 Werner Nickel
#A & Frank Celler
##
## set the size of the screen to a known value ##############################
s... |
b5fd9dd114cecfd42c87dddaf9495d834a563776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH1/EX1.5/Ex1_5.sce | b85de4fec08802f8f863fde44daec575c1422b96 | [] | 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 | 308 | sce | Ex1_5.sce | clear
//
//
//
//Variable declaration
e=1.6*10**-19 //charge(coulomb)
r0=0.281*10**-9 //equilibrium distance(m)
a=1.748*10**-28 //madelung constant(J m**2)
n=9 //repulsive exponent value
m=1
//Calculations
Ur0=-a*(1-m/n)/(e*r0**m) //cohesive energy of NaCl(eV)
//Result
|
6381e34521f1ae67bffaaad2a7d4581c75c18f0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH1/EX1.1/1_1.sce | 38c51366dcafd1cc649354aec38c0f8bc41b2dbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 1_1.sce | clc;
disp("Example 1.1")
R=0.12
// manometer reading in m
densitym= 13600 // of mercury in kg/m^3
densityw= 1000 // of water in kg/m^3
g=9.81 // acceleration due to gravity in m/s^2
p=R*g*(densitym-densityw)
disp(" Pressure difference is ")
disp(p)
disp(" N/m^2 ")
|
8e5e2cbaae6c2f64dbfc5b49c8a8268117573c7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH6/EX6.8/chapter6_ex8.sce | 10d17f9d230cbae76433acb98fb40b126c475fc7 | [] | 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 | 552 | sce | chapter6_ex8.sce | clc
clear
//input
y1=0.01-(%i*0.03);//first admittance in mho
y2=0.05+(%i*0);//second admittance in mho
y3=%i*0.05;//third admittance in mho
//three admittances are connected in parallel
v=250;//supply voltage in volts
//calculations
y=y1+y2+y3;//total admittance in mho
Y=(((real(y)^2)+(imag(y)^2)))^0.5;/... |
859821177422a981256d93463418b85a11ffa3d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH2/EX2.4/Ex2_4.sce | 360219efeec299c882b21b196b17a71df446850b | [] | 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 | 485 | sce | Ex2_4.sce | // Ex2_4 Page:33 (2014)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
lambda = 0.2e-09; // Wavelength of photon, m
p = h/lambda; // Momentum of the photon, kgm/s
m = p/c; // Effective mass of photon, kg
printf("\nThe momentum of the photon = %3.1e kg-m/s", p);
pr... |
4a82b39f2cff198113484345d8cdbda4421e8980 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH7/EX7.6/Ch07Ex6.sce | e6c794cee4b05e8063d63a72b7ce8ca6f64cadf8 | [] | 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 | 382 | sce | Ch07Ex6.sce | // Scilab code Ex7.6: Pg:293 (2008)
clc;clear;
dE = 15/1e+006; // Increase in energy per revolution, MeV
n = 1e+006; // Number of revolutions
E = dE*n; // Final energy of an electron after 10e+06 revolutions, MeV
printf("\nThe energy of an electron undergoing revolutions = %2.0f MeV ", E);
// Result
... |
49a3ecef9c65bb1966362795a6c62c0cdee0dcf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH11/EX11.4/11_4.sce | 96c7ce83d826404a9f184f201a5d7d80a2f69aea | [] | 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 | 535 | sce | 11_4.sce | clc;
clear;
z=1000;//m
Ma=1.5;
T=20;//degree C
//alpha=atan(z/x), x=V*t,and Ma=(1/sin(alpha)); where alpha is the angle of the Mach cone
//V=Ma*c
c=343.3;//m/s found from the value of temperature
V=Ma*c;//m/sec
t=z/(Ma*c*tan(asin(1/Ma)));//sec
disp("sec",t,"The number of seconds to wait after the plane passes... |
c842d11461c3f6ab3d45ed32862b0df8e27b84c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.31/ex_2_31.sce | 476dcc25daf6045aed46943d3ebfb14ee0e38b83 | [] | 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 | 330 | sce | ex_2_31.sce | //Example 2.31: Resistance and electromotive
clc;
clear;
close;
//given data :
i1=20;// in mA
i2=400;// in mA
i3=i1/i2;
K1=i1/i3;
v1=19.5;// in mV
v2=23.4;// in mV
x1=v1/K1;//
y=100;//mV
k2=y/i3;//
x2=v2/k2;//
A=[1 -x1;1 -x2];
B=[v1;v2];//
X=A\B;//
disp(X(1,1),"electromotive force is,(mV)=")
disp(X(2,1),"resistance is ... |
6bc2e146e4e51c18cb0b8e9ae5afe535b9725dfb | 3f321619d7f900b79810e0b5e3722b405b099c72 | /PFM-I/cms1329-assin1-30-10-13/que13.sci | eb950e88d320a3c38086578b571760289226d465 | [] | no_license | mina20/cppLinux | a1c1b3dfd78a3edc69e08d50c532b9325a9b4110 | d0b4e950d962315b36f3202920ddda37ac744911 | refs/heads/master | 2020-12-02T22:47:50.704032 | 2017-07-04T06:42:28 | 2017-07-04T06:42:28 | 96,184,034 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sci | que13.sci | //Find roots
function[]=polyroot()
x=poly([-13,-5,0,-3,1],'x','c')
disp('Equation is')
disp(x)
disp('Roots are')
b=roots(x)
disp(b)
x=poly([-1,0,0,0,0,0,0,0,0,0,0,1],'x','c')
disp('Equation is')
disp(x)
disp('Roots are')
c=roots(x)
disp(c)
endfunct... |
8a00bb03f1fd9217f73a8f5e65da11f8a3d64af4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH4/EX4.9/Ex4_9.sce | 41a147816b1754499cf32f21a240eca3fd8bfdc7 | [] | 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 | 321 | sce | Ex4_9.sce | //Example 4.9, page 124
clc
disp('Part a')
mu=207//207*me
M=1836//183*me
u=(mu*M)/(mu+M)
D=(1/u)*5.3*10^-11
printf("\nMuon nucleus seperation is %e m ",D)
disp('Part b')
E=-u*13.6
printf("\n Binding energy is %f ev ",E)
disp('Part c')
R=109737//in cm
lambda=(1/u)*(1/0.75)*(1/R)
printf("\n Wavelength is %e cm ",lambda)... |
f04a5cd7e6180abb97a83657b4f96a80ae43e61c | d9e20e3e491ed05049f4f1a44021e96499a581ba | /src/soma.sci | fbc534cff4af08d687969a545f3b58713fce3220 | [] | no_license | josenalde/applied-math | 1e13000bec5e92fa828bee3193607cf8a200a604 | 76a9aab93d69e4be6b564cae72c441bc648444d4 | refs/heads/master | 2021-01-10T09:21:01.369665 | 2020-09-21T22:56:42 | 2020-09-21T22:56:42 | 46,852,259 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 52 | sci | soma.sci | function [x]= soma(a,b)
x = a+b;
endfunction
|
aafab150436d2e5a1b226cdb5e35e7a9b2c46bda | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.6/Ex_6_6.sce | 73dd97420dbf09155d12f4b75d57242907734c04 | [] | 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 | 663 | sce | Ex_6_6.sce | //Example 6.6
clc;clear;close;
x=[1 1 0 1 1];xmin=-2;nx=xmin:length(x)+xmin-1;
h=[1 -2 -3 4];hmin=-3;nh=length(h)+hmin-1;
//Calculation of linear convolution
y=convol(x,h);
ymin=xmin+hmin;ny=ymin:length(y)+ymin-1;
disp(x,'First Sequence is x(n): ');
disp(h,'Second Sequence is h(n): ');
disp(y,'Output seq... |
5c7d8df022930d8c4c1c2b31db8dcbeb45a2f01b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH14/EX14.10/10.sce | cd9106b66435684d557f4c7cbfb40ae9544816e6 | [] | 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 | 817 | sce | 10.sce | clc
p1=1000; //kPa
p2=100; //kPa
p4=p1;
p3=p2;
E=2000; // Refrigerating effect produced in kJ/min
T3=268; //K
T1=303; //K
y=1.4;
disp("(i) Mass of air circulated per minute")
T2=T1*(p2/p1)^((y-1)/y);
e=cp*(T3-T2); //Refrigerating effect per kg; kJ/kg
m=E/e;
disp("m=")
disp(m)
disp("kg/min")
dis... |
d64c9a7c060c0a5b76b72324ca3223bbe14aad2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH5/EX5.5/exp_5_5.sce | a57e5c163eabfa73258500bbda9c125b08093a11 | [] | 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 | 332 | sce | exp_5_5.sce | clear;
clc;
//case1
V2=2300;
S=150;
V1=11500+V2;
a=(V1-V2)/V2; //two winding transformer ratio
aa=a+1; //autotransformer ratio
output=((1+a)/a)*S;
mprintf("output for 1 case %f KVA\n",output);
//case 2
V11=13.8;
V22=11.5;
a1=(V11-V22)/V22;
output1=((1+a1)/a1)*S;
mprintf("output for 2 case %f KVA\n",o... |
9fc720120bc2d6d7a25a9ce4a1b23beacca25224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.17/Ex4_17.sce | 0b654cf1739476378a8434c54fcd3fd4d6184eb3 | [] | 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 | 316 | sce | Ex4_17.sce | //example 17
clear
beta1=25;
colres=2.5*10^3;//ohm
vcc=10;//volt
vce=-5;//volt
ic=-(vcc+vce)/colres;
ib=ic/beta1;
rb=vce/ib;
stability=(1+beta1)/((1+beta1)*((colres)/(colres+rb)));
disp("base resistance = "+string((rb))+"ohm");//correction in book
disp("stability = "+string((stability)));
|
a2b1250e524b62a46e725e7b8ce87311a4804267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.4/Ex16_4.sce | c85ea92c14e4ec71c7555fcd0cf3673c864673aa | [] | 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 | 689 | sce | Ex16_4.sce |
// Examle 16.4
E1=220; // Induced emf at N=750 rpm
E2=250; // Induced emf (i.e E=250)
N1=750; // Speed of mechine at E1=220
N2=(E2/E1)*N1; // Speed at Constant emf E2=250
disp('Speed at Constant emf = '+string(round(N2))+' rpm');
... |
cd6b5271ad3304fb97e44e38657ad6351c2173fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.18/EXAMPLE11_18.SCE | 87f3a47b30918174af743f60c60d6c64aeddfa6b | [] | 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,001 | sce | EXAMPLE11_18.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.18(PAGENO 499)");
//given
Px_1 = 1/4;//probability of first symbol
Px_2 = 1/5;//probability of second symbol
Px_3 = 1/5;//probability of third symbol
Px_4 = 1/10;//probability of four... |
14d4dcb5cfb2a9bb2625f8e36523e92dad17a455 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_window.sci | cf7a9bb49ea57d936a3848e97a655777082d550f | [
"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 | 487 | sci | do_window.sci | function wpar=do_window(wpar)
// Copyright INRIA
wd=wpar(1);w=wd(1);h=wd(2);
nm=wpar(2)(1)
while %t do
[ok,nm,h,w]=getvalue('Set parameters',[
'Diagram name';
'Window height';
'Window width'],list('str',1,'vec',1,'vec',1),[nm;string([h;w])])
if ~ok then break,end
if or([h,w]<=0) then
message('Pa... |
538f26125f3d0237b57c83deb5d52e8e2b59ceca | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /first.sce | c8efeb430e85f8091f3a2ad6db60b75d15855320 | [
"MIT"
] | permissive | harvishj/Scilab | bd3fbd3e679eb07aa088ff2bab40d491c6499770 | 9daada512f42ea6f52199a34d6b18e64b107af94 | refs/heads/master | 2021-07-14T15:06:03.621923 | 2020-10-05T06:35:43 | 2020-10-05T06:35:43 | 213,328,984 | 1 | 3 | MIT | 2020-10-05T06:35:44 | 2019-10-07T08:16:52 | Scilab | UTF-8 | Scilab | false | false | 226 | sce | first.sce | clear;
clf;
dt = 1/1000;
t = -1:dt:1;
A = 1; f = 1; Theta = 0;
x = A*cos(2*(%pi)*f*t + Theta);
plot(t,x);
xgrid(5);
xlabel("T", "fontsize", 5);
ylabel("X", "fontsize", 5);
title("Continuous time cosine wave", "fontsize", 4);
|
12bb791d96296eb4df16f9e57128481591c666c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH1/EX1.25/ex25.sce | adcc38d188590d01a3208b550f3875048b77b3b4 | [] | 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 | ex25.sce | clear
clc
xset('window',3)
xtitle("My Graph","X axis","Y axis")
x=linspace(0,3,30)
y1=-sec(x)
y2=cosh(x)
plot(x,y1,"o-")
plot(x,y2,"+-")
legend("-sec(x)","cosh(x)")
disp("from the graph,it is clear that the point of intersection is nearly x=2.3 ") |
ca011af2372664e9068c4a02797e93238e7f4aa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH9/EX9.8/ch9_8.sce | 8ec6c6ed04e1a789d8cbf5d21a22972ed97c3691 | [] | 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 | 195 | sce | ch9_8.sce | //To determine the ratio of sheath loss to core loss of the cable
clear
clc;
R=2*.1625;
Rs=2*2.14;
M=314;
w=6.268*10^-4;
r=Rs*M*M*w*w/(R*((Rs^2)+(M*M*w*w)));
mprintf("ratio=%.4f \n",r);
|
927a689913ecfec535687955c991932cd7c2e05e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH7/EX7.6/Ch07Ex6.sce | 57a5b4300fefb32850fe53b54b3292b3122ca0c0 | [] | 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 | 564 | sce | Ch07Ex6.sce | // Scilab Code Ex7.6: Page-7.27 (2004)
clc;clear;
A = 100e-4; // Area of parallel plates, squaremetre
d = 1e-2; // Distance between plates, metre
eo = 8.854e-12; // Permittivity of the free space, farad per metre
V = 100; // Potential, volt
C = eo*A/d; // Capacitance, farad
Q = C*V; ... |
df43bd78042a32a4d390eeccd846fa6917ca3fd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH7/EX7.13/Ex7_13.sce | b0e33d1d29f6b7c4fb1e103ad8ac2bac72e53a03 | [] | 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 | Ex7_13.sce | //Example 7_13
clc();
clear;
//To calculate the refractive index of the core
NA=0.39
delta=0.05
n1=NA/sqrt(2*delta)
printf("The refractive index of the core is %.3f",n1)
|
f1ba7e12cd1543ca35503fde6d185d02586e3d32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.21/Ch04Ex21.sce | 963d017dbd4de8be583c5a476edb804e1a48ce78 | [] | 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 | 503 | sce | Ch04Ex21.sce | // Scilab code Ex4.21 : Pg:159 (2008)
clc;clear;
D = 50; // The distance between the slits and the screen, cm
d = 0.1/2; // Half the separation between two slits, cm
mu = 1.58; // The refractive index of mica sheet
x0 = 0.2; // The shift of interference pattern, cm
// As x0 = D/(2*d)*(mu - 1)*t, solvi... |
c7fab817958d2f53ae0064888c97af612b2c7100 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH1/EX1.4/Ex1_4.sce | f918a9ba0815011bdb1c4309e8ed85f1441f7511 | [] | 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 | 241 | sce | Ex1_4.sce | clear
// Variable Declaration
V_1byV_2=2// Volumetric ratio (given)
p_1=1.01325// The atmospheric pressure in bar(101325 kPa)
// Calculation
p_2=V_1byV_2*p_1// The new pressure in bar
printf("\n The new pressure,p_2= %0.4f bar(abs.)",p_2)
|
811f2d5840824299e54be0ea55ec0a60a9ce1c9d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.2_1.tst | 7d9004e38da81af8f32bcdc46bbe73c5294f4831 | [] | 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 | 746,716 | tst | 5.2_1.tst | 2 89:1 91:1 134:1 360:1 384:1 551:1 620:1 670:1 972:1 982:1 1231:1 1259:1 1329:1 1520:1 1565:1 1637:1 1647:1 1725:1 1858:1 1993:1 2143:1 2298:1 2387:1 2426:1 2431:1 2548:1 2623:1 2879:1 2897:1 2904:1 3123:1 3528:1 3816:1 4132:1 4136:1 4178:1 4184:1 4389:1 4632:1 4639:1 4730:1 4817:1 5110:1 5122:1 5181:1 5212:2 5422:1 5... |
caa1d9b6042dba99aa010f245fac7de59551485a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.10/1_10.sce | 6777a1cc20664d31bf15e7872276f7dcc87e8878 | [] | 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 | 482 | sce | 1_10.sce | clc
clear
//Input data
T3=1500;//Upper temperature limit of a otto cycle in K
T1=300;//Lower temperature limit in K
a=0.4;//Rate of flow of air through the cycle in kg/min
Cv=0.718;//
//Calculations
T2=(T1*T3)^(1/2);//Temperature at point 2 in K
T4=T2;//Temperature at point 4 in K
W=Cv*((T3-T2)-(T4-T1));//W... |
206e65e94b48b870ad7a00f464746cbce343e217 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.33/P2_33.sce | 078908a6c2b11b9eae4ec186e185a1d049b7ef2c | [] | 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 | P2_33.sce | //EXAMPLE 2.33 ,stability of finite impulse response.
//h[i]=impulse response of LTI system.
clear;
clc;
n= -5:1/100:5;
a= input('value of a');
N1=input('lower limit');
N2=input('upper limit');
for i=1:length(a)
if (n(i)<N1 & n(i)>N2)
h(i)=0;
else
h(i)=a^n(i);
S=sum(h);
end
end
if(S... |
073aee09e9848fb71a95ec8fd5f306ec8ef007c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH6/EX6.1/Ex6_1.sce | 25f37424a22653bc991e8b8a0eabcfa9b459b261 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | Ex6_1.sce | // determine velocity of whirl at inlet and diameter of the wheel at inlet
// ex 6.1 pgno.143
clc
H=8 // head
g=9.8 // gravitional acceleration
t1=0.96 // peripheral volocity at inlet
t2=0.36 // flow velocity
u1=t1*sqrt(2*g*H)
mprintf('Peripheral velocity u1= %f m/s',round(u1))
vlf= t2*sqrt(2*g*H)
mprintf('\n... |
8428bb923f0ec66541bf9a037fb8bce1a1b0bcef | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH11/EX11.4/11_4_Crossflow_finned_HeatX2.sce | b9730f03dc805f069525e7271af8784bcd598682 | [] | 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,251 | sce | 11_4_Crossflow_finned_HeatX2.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 11.4 Page 695 \n'); //Example 11.4
// Heat Transfer Rate and Fluid Outlet Temperatures
//Operating Conditions
Thi = 250+273 ;//[K] Hot Fluid intlet Temperature
Tci = 35+273 ;//[K] Cold Fluid in... |
606e013867ebdaf41fde715206ff57ee30ffe175 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.8/Ex6_12_8.sce | ce92b449853cb3097d1c7a3201c95fab30e63225 | [] | 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 | Ex6_12_8.sce | //Section-6,Example-1,Page no.-P.40
//To find by how much is the chemical potential of benzene reduced for the given conditions.
clc;
x_B=0.10
x_A=1.0-0.10
R=8.314
T=298
mu=R*T*log(x_A) //mu=mu_A-mu_Abar
disp(mu,'Required chemical potential(Jmol^-1)')
|
b579feaf69a9e78d38df53a0887d0e2c8cef95b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH5/EX5.2.a/ex5_2a.sce | fa459c101f6f1334cda543f598084985836891e0 | [] | 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 | 129 | sce | ex5_2a.sce | //Ex 5.2a
clc;
syms T;
disp('x(t)=1+cos(20%pi*t)');
w=20*%pi;
f=w/(2*%pi);
T=1/(2*f);
disp(T,'minimun sampling interval'); |
1751c37b9d7112c42a97fa9318c043e58f1ce523 | 3015edb5fbc53df325c36fbd7af0f705c22795a3 | /sci_gateway/cpp/loader.sce | e820e635734a4b987203847c646f0d357fe7ac75 | [] | no_license | tesskitz/ImageProcessing | 75a07cfdff729b8f013737787666684b4554be22 | b577ebb42fb15bfd977334de074dbb4422e154d8 | refs/heads/master | 2020-12-31T04:41:14.526452 | 2015-11-01T19:38:10 | 2015-11-01T19:38:10 | 44,959,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,862 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
libskeleton_imagepr_path = get_absolute_file_path('loader.sce');
//
// ulink previous function with sam... |
d6eabc256127e348252fcd7918d948adf7a9cace | 3073307fa4b6da9371518f0718c199501b8c5c71 | /viejos/sub_atras.sci | f46ce2480d0f674f2339af7d6c8518a1490bb75e | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sci | sub_atras.sci | //Realiza la substitucion hacia atras
//A es matriz de nxn y debe ser triangular superior
//b es el vector de terminos independientes
//x es el vector solucion
function [x] = sub_atras(A,b)
n = length(b);
x = zeros(n);
x(n) = b(n)/A(n,n);
for i=(n-1):-1:1
suma = 0;
for j=(i+1... |
793719e2143ef46694147ed418f679720c6490bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.6/ex2_6.sce | 4f547de5d76caee28f3b7286f4a5e6c2ab6ba71f | [] | 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 | 278 | sce | ex2_6.sce | clc;
v1=100; //speed in km/hr
v2=60; //speed in km/hr
v3=80; //speed in km/hr
t1=2; //time in hr
t2=2; //time in hr
t3=1; //time in hr
disp(((v1*t1)+(v2*t2)+(v3*t3))/(t1+t2+t3),"Velocity in km/hr = "); //displaying result |
d21f5f32bdcff97374b02119b7e2ab2a9131eb25 | 31e6f49f6786aa5240625154834e364f6cfb8b50 | /test/StackArithmetic/SimpleAdd/SimpleAdd.tst | b6e153abb692357cbd21d18f3a26f9ef3c6292b3 | [] | no_license | eilgin/hack-vm | 14dcad5e39bbe923bc68c981c7636ef68ad344d1 | 290dd3ea76724555d4f6f32c944dcf8939d3866e | refs/heads/master | 2021-01-15T18:01:05.019693 | 2012-09-17T10:37:54 | 2012-09-17T10:37:54 | 5,839,569 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | tst | SimpleAdd.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/07/StackArithmetic/SimpleAdd/SimpleAdd.tst
load SimpleAdd.asm,
output-file SimpleAdd.out,
compare-to SimpleAdd.cmp,
output-list ... |
58e8d48603a0b36a4b8ac360d07d0fa302821dde | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH15/EX71.3/71.sce | e0fc513b069b0dd3bef0862a993ac7c4fbcdce7e | [] | 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 | 150 | sce | 71.sce | clc
//initialisation of variables
q=120//kg
b=300//mm
a=40//m
//CALCULATIONS
P=q*a/b//kg
//RESULTS
printf('the magnitude of force=% f kg',P)
|
c4a7f889b535cf882f89aaefb9bada383f6c7fc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH19/EX19.11/19_11.sce | 06d7aacc2fc53db60d505894215fbdf2d2713891 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | 19_11.sce | //Chapter 19, Problem 11
clc;
R1=10e3; //resistance 1
R2=10e3; //resistance 2
R3=100e3; //resistance 3
Rf=100e3; //feedback resistance
V1=5e-3; //input voltage 1
V2=5e-3; //input voltage 2
V3=50e-3; ... |
e2d465960e421a8aecd7af6fa31fee60e38ff0ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH7/EX7.1/ex_7_1.sce | 71073c5b13d58e2d71a219ab5193592d7a70b407 | [] | 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 | 567 | sce | ex_7_1.sce | ////Ex 7.1
clc;
clear;
close;
format('v',9);
th=4;//ms
VCC=10;//V
C=0.05;//micro F(choosen between 0.01<=C<=1)
R=th*10^-3/(1.1*C*10^-6)/1000;//kohm
C1=0.01;//micro F(assumed)
C2=0.01;//micro F(choosen between 0.01<=C<=1)
R2=th*10^-3/(10*C2*10^-6)/1000;//kohm
C3=10;//micro F
disp("Design values are : ");
d... |
154eba96faa8471b66594388697c0c14f15784b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.17/Ex4_17.sce | b85b38646732f7ce5902595e8e068726e2899bda | [] | 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,182 | sce | Ex4_17.sce | clear;
clc;
disp('Example 4.17');
// aim : To determine the
// (a) mass of steam in the vessel
// (b) final dryness of the steam
// (c) amount of heat transferrred during the cooling process
// Given values
V1 = .8;// [m^3]
P1 = 360;// [kN/m^2]
P2 = 200;// [kN/m^2]
// solution
// (a)
// a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.