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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d81c4bbc270a63608d6264363f8e75a7ffcdcc91 | 3a11df70b5f5b856da599098aa46b015099f34e9 | /logic_gates/DMux8Way.tst | eb4f118f0cba2077c430f4f1d739ef5854eea61e | [] | no_license | nkyorov/logic-gates-hdl | 7da52af49a0c333e3f755a9ec552746662580cd3 | 1deff96f5a6631ce7c5b7ea2db8a7250f2d37908 | refs/heads/master | 2021-04-27T00:46:58.298377 | 2019-05-25T12:32:09 | 2019-05-25T12:32:09 | 122,660,544 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | tst | DMux8Way.tst | load DMux8Way.hdl,
output-file DMux8Way.out,
compare-to DMux8Way.cmp,
output-list in%B2.1.2 sel%B2.2.2 s%B2.1.2 t%B2.1.2 u%B2.1.2 v%B2.1.2 w%B2.1.2 x%B2.1.2 y%B2.1.2 z%B2.1.2;
set in 0,
set sel %B000,
eval,
output;
set sel %B001,
eval,
output;
set sel %B010,
eval,
output;
set sel %B011,
eval,
output;
set sel %B100... |
02d4edaeeea3200f5f70f0e2446cd1313c4f14cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.14/Example_5_14.sce | 7c52d0e685cd8784fa0e5272039865f0e81e8d8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 889 | sce | Example_5_14.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 14
clear;
clc;
//Given:
m1 = 10; //machine rating (ton)
//Assuming 5 K approach in refrigerator and cooler
Ta = 261-5; //temperature of air leaving the refrigerator (K)
Tc = 293+... |
d2b8f1e76ebd56389f501f71c6d325e939b47964 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/Calibration_Equity/src/Markov/src/BFE_step1.sci | 2ad18af65e02037d59a641b08be6b8e5448a4d4e | [] | 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 | 1,597 | sci | BFE_step1.sci | mm=20;
nbelement = nbelement+mm;
deff('[z]=f(x,p)','z=Phip(x,p,vo)');
tmp=[1:1:nbelement];
phii=feval(log(Grille/stock),tmp,f);
Alpha=sum(phii,'r')';
Beta = phii'*Grille/stock;
tmp1 = Grille*(exp(pas)+1)/2;
gam = ((ones(NbS,1)*tmp1' - Strike*ones(1,M)).*(ones(NbS,1)*Grille' > Strike*ones(1,M))) *phii;
gam=gam';
reg = ... |
e2dd384498f16f99a83e9a7633e70f40f1305dc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.38/3_38.sce | 02bdaea57c15b61bec95b645c5ca5baf36d1477b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | 3_38.sce | clear;
clc;
z1=complex(4,6)
z2=complex(3,2)
Vs=3.3e3/sqrt(3)
Is=250
pf=.8
pfa=acos(pf)
I=Is *(exp(%i * -pfa))
I1=I * z2/(z1+z2)
pfa1=atan(imag(I1)/real(I1))
pf1=cos(pfa1)
mprintf("\n(a) Current in OH line = %.1f A pf= %.3f", abs(I1), pf1)
I2=I * z1/(z1+z2)
pfa2=atan(imag(I2)/real(I2))
pf2=cos(pf... |
79ab4d04ab3cf3b0398139c43699b5a0fb42d591 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH2/EX2.9/Ex2_9.sce | a851c38d1ad0bb3cbbb471e47e9a0d2c12ac2ad2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | Ex2_9.sce | clear all; clc;
//This numerical is Ex 2_3E,page 31.
N=1500
E=0.74
Q=250*0.00223//0.00223 is conversion factor
printf("Q is equal to %g",Q)
H=18
g=32.2
Q_o=250//before converting Q
disp("From the dimensional specific speed (N_s) and fig2.1 , we select a Francis type pump and efficiency is estimated to be e... |
a294bab1d9f8f915aafe92657c740af806fcb532 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxrpoly.sce | f14b4de109bd7aeac38dcb0732589894c097f0c4 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | testxrpoly.sce | clf;
plot2d(0,0,0,rect=[0,0,10,10],frameflag=3)
xgrid(4),
//regular hexagon
xrpoly([5,5],6,4)
E=gce();
E.foreground=5; // color of the red contour
E.thickness=3; // contour thickness
//2nd smaller hexagon rotated 90 degrees
xrpoly([5,5],6,2,%pi/2)
|
b50be817b093f99c65cbe8f7fcd92eecf2c3fb81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH2/EX2.2/mat_exp.sce | 9127e89db55aff5f54e5930c94ee9a175786083a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | mat_exp.sce | // Exponential of the matrix
// 2.2
F = [-1 0;1 0];
expm(F)
|
ce197b0591deadddca8f14e8bb46fa091fb00473 | daabc3867b8f4cd1afe9ef0d39701a7d9c4d8acb | /mfhdf/hdfimport/testfiles/SDSfloat3.tst | 3836f9bbb967ca4f94490ddc5ff399f467ea7aed | [
"BSD-3-Clause",
"LicenseRef-scancode-hdf5",
"NetCDF"
] | permissive | schwehr/hdf4 | 142afe72520b32634d84494f51015eb8c7ab0b1f | 97ac2954ca6d6c2bba24ade9301b691b98135709 | refs/heads/master | 2023-03-18T03:48:07.616808 | 2023-03-09T20:49:55 | 2023-03-09T20:49:55 | 581,363,881 | 0 | 0 | NOASSERTION | 2022-12-23T01:17:44 | 2022-12-23T01:17:44 | null | UTF-8 | Scilab | false | false | 548 | tst | SDSfloat3.tst | SDSfloat3.out:
Version Descriptor : (tag 30)
Ref nos: 1
Number type : (tag 106)
Ref nos: 18 21 24 27
SciData dimension record : (tag 701)
Ref nos: 18 21 24 27
Scientific Data : (tag 702)
Ref nos: 4 6 8 9
Numeric Data Group : (tag 720)
Ref nos: 2 3 5 7
Vda... |
bf4b6dbad6ec6e7485a6d3fe2e1cc4ebb1a6cff6 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/midcross/midcross6.sce | f3d4411bda03d48f766d19eba74e6d8b28ad1d36 | [] | 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 | 209 | sce | midcross6.sce | //check o/p for two input arguements - x and sampling frequency Fs
x=[1.2,5,10,-20,12];
t=[0.0,2.5E-7,5.0E-7,7.5E-7,1.0E-6]
Fs = 1/(t(2)-t(1));
m=midcross(x,Fs);
disp(m)
//output
//0.0000007 0.0000008
|
b440b0aa3af295c7a53c4166b3357f5be586015e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH17/EX17.15/17_15.sce | 03e43b2a04338499057ce32332bd1230372aa0f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | 17_15.sce | //example 17.15
clc; funcprot(0);
// Initialization of Variable
pi=3.14;
q=7.317e5;
c=2350;
Thi=160;
Thd=100;
delT=(75-85)/log(75/85);
mh=q/c/(Thi-Thd);
disp(mh,"mass flow rate of oil in kg/s");
ho=400;
k=0.643;
D=0.025;//diameter
Nu=119;
hi=k/D*Nu;
U=1/(1/hi+1/ho);
L=q/(U*pi*D*delT*10*0.87);
disp(L,"... |
0ac304bd88a0e252abb8c23ed6f0cbfa5c8d5df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH16/EX16.2/Example16_2.sce | ca620debbb5187107b2030fcdc23b1a66bc3738f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Example16_2.sce | //Given that
x0 = -8.50*10^-2 //in m
v0 = -0.920 //in m/s
a0 = 47 //in m/s^2
exec('degree_rad.sci', -1)
//Sample Problem 16-2a
printf("**Sample Problem 16-2a**\n")
w = sqrt(-a0/x0)
printf("The angular frequency of SHM is equal to %frad/s\n", w)
//Sample Problem 16-2b
printf("\n**Sample Problem 16-2b**\... |
51d28a45aac8b91599e6584a5ece96cd6fe17303 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH4/EX4.1/ex4_1.sce | d82b9de45b1ba980acae9c35d793903c0bdecb1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | ex4_1.sce | // Example 4.1
format('v',5)
clc;
clear;
close;
// given data
V2rms= 40;// in V
R_L= 20;// in Ω
V2peak= V2rms/0.707;// in V
Vout_peak= V2peak;// in V
// The dc voltage across the load resistor
Vdc=0.318*Vout_peak;// in V
//The peak inverse voltage across the diode
PIV= V2peak;// in V
Idc= Vdc/R_L;// in ... |
f73163d6cb48a6d9209737426a0d7015fac0a3ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH7/EX7.13/Ex7_13.sce | 63597c75ef2304a935ab784551954f7de447f6f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,000 | sce | Ex7_13.sce | // Problem no 7.13,Page no.193
clc;clear;
close;
D=8 //cm //Diameter of bronze
d=5 //cm //diameter of steel shaft
R_b=4 //cm //Radius of bronze
R_s=2.5 //cm //Radius of steel shaft
sigma_b=40 //MPa //shear stress of bronze
sigma_s=65 //MPa //shear stress of steel shaft
N=500 //r.p.m
G_s=85 //GPa //Modulus of rigidity... |
81d4232c8a25c450e3078f40837492ab4b7056b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH14/EX14.07/14_07.sce | 73ccc9290d3eb7f904ff8338929b989fba40bb8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 14_07.sce | //Problem 14.07:
//initializing the variables:
xCO2 = 0.0314;
xO2 = 0.0584;
P = 1; // in atm
T = 250; // in deg F
K = 1.015E-33;
//calculation:
yCO = xCO2*K/xO2^0.5
yCOppm = yCO*1E6
printf("\n\nResult\n\n")
printf("\n the mole fraction of CO is %.2E and in ppm %.2E ppm",yCO, yCOppm) |
3d4e72fee8fca00b825f95902518881ec13e794b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH5/EX5.9/ex5_9.sce | 4e606cdda7f6f2c6ef482417a95a22d40a133f3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | ex5_9.sce | // Example 5.9 page no-291
clear
clc
vcc=16 //v
rc =1500 //Ohm
vce = 8 //v
ic = 4*10^-3 //A
s=12 //Stability Factor
b=50 //Beta
ib=ic/b
re=vcc-vce-ic*rc
re=re/(ib+ic)
rb=14.4*re//(1+b)/((b/s)-1)
vbn=2.2 //V
V=vbn+ib*rb
printf("\nIb = %.0f micro A\nRe = %.2f K-Ohm\nRb = %.2f K-Ohm\nV = %.2fV",ib*10^6,r... |
e2e58253def0eda506741050e6662ae56b4fd50d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH32/EX32.2/Ex32_2.sce | 10fcc577ee061263bfa42f28750bdf707818a1a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | Ex32_2.sce | clc;
Adm=30000;
//CMRR=20*log10(Adm/Acm);
a=90/20;
Acm=(Adm/10^a);
disp(Acm);
|
052557672e2a99d50b26b65a794218a706976011 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH2/EX2.1/Example_2_1.sci | 3cee1c537675626fa30b927bdffdae0a21bd0d29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,142 | sci | Example_2_1.sci | clear;
clc;
printf("\n Example 2.1");
//Computing energy required in particle size reduction by Rittinger's law
//energy required in crusing is given by E =Kr.fc((1/L2)-(1/L1))
//Given : Energy required in crushing particles from 50mm to 10mm is 13.0kw/(kg/sec).
Cr=13.0*(50/4);//Cr = Kr*fc
//Energy req... |
c8dce40637af8d145eb0b85716e2ade57bfe329f | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/mtlb_hold.sci | 6dbce19a3129273ec2eefdf51abd2a938d767ba9 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sci | mtlb_hold.sci | function mtlb_hold(str)
if str == "on" || str == "ON" then
set(gca(),"auto_clear","off")
else
set(gca(),"auto_clear","on")
end
endfunction
|
94a7f0c7025d224fd52d2ae30a7bdc415e433098 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH1/EX1.17/Example1_17.sce | 67db58c14047bf0dd8bc8c95a1cd8614e08c0085 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Example1_17.sce | close();
clear;
clc;
I1 = -1; //A
I2 = 3; //A
I3 = 5; //A
I4 = -4; //A
I5 = -2; //A
I6 = -6; //A
//current assumed out of the node
I = (I1+I2+I3+I4+I5+I6);
mprintf("I = %d A",I); |
ac876334f7c0da82751b0bde16ea30dee56ff7fc | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn4/Q6_Full.sce | 3f7bcc832b037ee9240e40795d71534bce3c7403 | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,452 | sce | Q6_Full.sce | // This script perfoms PITCH DETECTION using the SIFT method. The basic components
// of the algorithm are as follows:
// LPF (900Hz) -> DECIMATION (2kHz) -> Analyzed using Autocorrelation (p=4) -> Inverse Filter
// Nms = input("Enter the frame size in milliseconds: ");
// Nfs = input("Enter frame shift in millisecond... |
65fe24afd977d90a2ba8a2888966d76c736299d3 | b4be5ed282b4c531c0d140038804106b52e5e9be | /runCompare.sce | 8f80f0b504bc7c8f0eccd32e9e94497ecefd209e | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | runCompare.sce | // with iddata function
plantData = iddata(yy,uu,0.1)
compare(plantData,sys)
// other output datas
[x0] = compare(plantData,sys)
[fit x0] = compare(plantData,sys)
[y fit x0] = compare(plantData,sys)
|
687553ff333831fad67b85247d0d724406df3996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH1/EX1.1/C1P1.sce | 8ef4d6dd656002cef9426da1fcb4194a81f8a82c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 696 | sce | C1P1.sce | clear
clc
//To find speed in meters per second
//to find volume in cubic centimeters
// GIVEN::
//speed
speed1 = 55 //miles per hour
//volume of gasoline
volume1 = 16 //gallons
// SOLUTION:
//speed in meters per second
// since 1 mile = 1609 meters and 1 hour = 3600 seconds
speed = (55)*(1609/1)*(... |
487b9fe1388d8e2633654d01023985bde30445a5 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/hrtTypeHex2SReal.sci | ac0ef9ef9ad5dc091325658ca266f1667510fcb8 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sci | hrtTypeHex2SReal.sci | function result=hrtTypeHex2SReal(strFloat)
if strFloat == '7F A0 00 00' then
result = %nan;
elseif strFloat == '' then
result = 0.0;
else
number = hex2dec(tokens(strFloat,' '));
S = bitget(number(1),8);
E = bitset((bitset(number(1),8,0)*2),1,bitget(number(2),8));
... |
26d7b0b9d55bae131ff1862e8d676489e328006b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH20/EX20.5/ex20_5.sce | feb156e657d4f4e76757fc80d3cbf3461cdef212 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | ex20_5.sce | clc;
clear all;
B=0.65//magnetic flux in Wb/m^2
rho=8906;//density of nickel
m=58.7;//atomic weight
Na=6.023e26;//avagadra's number
u0=4*%pi*1e-7;//permiability of vacume
N=rho*Na/m;//no of atoms per unit volume
disp('atoms/m^3',N,'no of atoms per unit volume is:')
um=B/(N*u0);//magnetization produced per atom... |
20d523c08edfb515b7bc2b7768832bf1809f7c36 | eee96b986bbe9b02c28910e531dc5e4bc96ab8a6 | /raizes/V0_obj.sci | a5f7cc453ca03d5748820afe073ba708b48630b2 | [] | no_license | jilcimar/computacao-numerica | 7b7c85bac6a66e8d428cfed08b4f9b61558d19f1 | 093b6f0723026880b10dd100fa523107583eca85 | refs/heads/master | 2021-07-10T11:13:20.533276 | 2019-09-09T13:50:17 | 2019-09-09T13:50:17 | 203,243,471 | 0 | 2 | null | 2020-10-02T12:19:49 | 2019-08-19T20:13:24 | Scilab | UTF-8 | Scilab | false | false | 126 | sci | V0_obj.sci | function [v0] = V0(xf,tf)
v0x = (xf-210)/(tf-2797);
v0y = 9.81*(2997-2797);
v0 = sqrt(v0x**2+v0y**2);
endfunction
|
19134bc44424024f4e5b5db0e36f06d5e513d494 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH8/EX8.3/Ex8_3.sce | 5dd4381aef34527dee55bf423182c65a19265cc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex8_3.sce | //Ex8_3 pg-435
clc
openA=60000 //open loop gain
closeA=10000 //closed loop gain
Beta=((openA/closeA)-1)/closeA
printf("Negative Feedback factor = %.4f \n",Beta)
BA=Beta*openA //value of Beta*A
printf(" Beta*A = %.0f",BA)
|
d318d4359a02212364a796235364a96c021b89d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.6.2/ex1_6_2.sce | 0ea73ac14b8fb910a7387428963feafeefef85db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_6_2.sce | //Chapter-1,Example1_6_2,pg 1-35
//intercept of planeare in proportion a,b/3,2*c
//as a,b and c are basic vectors the proportin of intercepts 1:1/3:2
//therefore reciprocal
r1=1
r2=3
r3=1/2
//taking LCM
v=int32([2,1])
l=double(lcm(v))
m1=(l*r1)
m2=(l*r2)
m3=(l*r3)
printf("miler in... |
d377ad56f066acb008e5d2b4e761632fe13235e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH8/EX8.6/Ch08Ex6.sce | 678ab3a97eeb5ba6d4a4acd36ee68114339f1324 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,014 | sce | Ch08Ex6.sce | // Scilab Code Ex8.6: Page-431 (2011)
clc;clear;
I = 2.5e+004;....// Sound intensity, W/meter-square
v = 1480;....// Sound velocity, m/s
rho_w = 1000;....// Density of water, kg/meter-cube
rho_c = 2650;....// Density of crystal of transducer, kg/meter-cube
d = 0.001;....// Thickness of the quartz, m
f = 20e+003;... |
85c181c67a499f06b77732540b8060269b2a363c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Turkic/aze.tst | ca18d4dfd41ea5db451dc32c7f772a0041918bc1 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,301 | tst | aze.tst | kəlbətin N;LOC;PL
kəlbətin N;NOM;PL
kəlbətin N;ABL;PL
kəlbətin N;NOM;SG
kəlbətin N;GEN;DEF;SG
kəlbətin N;ACC;DEF;SG
kəlbətin N;ACC;DEF;PL
kəlbətin N;LOC;SG
kəlbətin N;GEN;DEF;PL
kəlbətin N;ACC;DEF;SG
kəlbətin N;ABL;SG
çömçəquyruq N;LOC;SG
çömçəquyruq N;LOC;PL
çömçəquyruq N;GEN;DEF;PL
çömçəquyruq N;GEN;DEF;SG
çömçəquyru... |
774fbe3d2367ccd5f56a00146ddae7252ca939a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH6/EX6.8/Ex6_8.sce | 8bd9e58411ae9232e4f4d5a0a29128a92aa12226 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | Ex6_8.sce | //chapter 6
//page no159
//exa 6_8
//given
clear;clc;
iol =5; //in mA
ioh=80; //bias current in mA
ralarmH=(1.5*1500)/ioh/10^-3;
printf("\n Alarm resistor RalarmH is %0.0f kOhm",ralarmH/1000);
ralarmL=(1.5*300)/iol/10^-3;
printf("\n Alarm resistor RalarmL is %0.0f kOhm",ralarmL/1000);
ialarmh=8... |
ffca6e6ac3d2be5d72034c10c6f2b07fdbb6c135 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH9/EX9.9/Ex9_9.sce | 317baf009fe0795c2e906168e38ebedf77ffe42e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Ex9_9.sce | clear all; clc;
disp("Scilab Code Ex 9.9 : ")
//Given:
sigma_x = -12; //MPa
sigma_y = 0;
tou_xy = -6; //MPa
//Construction of the circle:
sigma_avg = (sigma_x+sigma_y)/2;
R = sqrt((-sigma_x+sigma_avg)^2 + (tou_xy)^2);
//Principal Stresses:
sigma2 = -R+sigma_avg;//From the Mohr's circle
sigma1 = R+sig... |
eacab79bc54cb59692708b0607df9ec1b6ac9e7f | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassbpc2bpc/test_3.sce | acf0331a12a769b6b7a793da38afcebf8c5b9a02 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | test_3.sce | // Test # 3 : Incorrect number of output Arguments
exec('./allpassbpc2bpc.sci',-1);
[n,d,e]=allpassbpc2bpc([0.4,0.5],[0.1,0.9]);
//!--error 59
//Wrong number of output arguments
|
17771874c37930e915a4197cfee572fe390052ac | 717ddeb7e700373742c617a95e25a2376565112c | /2414/CH3/EX3.4/Ex3_4.sce | f1dfa0b8ac61bf9e396fc5414a3bc8549fea2cf6 | [] | 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 | 442 | sce | Ex3_4.sce | clc;
clear all;
//chapter 3
//page no 85
//example 3.4
A=20; //Volts
T=1*10^-3; //seconds
f=[-3/T:3/T]; //in kHz
Vf=[]
for i=1:length(f)
if f(i)==0 then
Vf=[Vf A*T];
else
Vf=[Vf A*T*sin(%pi*f(i)*T)/(%pi*f(i)*T)];
end
end
clf;
plot2d(f,Vf,[5])
a=gca(); // Handle o... |
2128ba83cb544230b800fa69eb651554ec0bdb4f | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/vsWalk/testAV3DSwayCorrectionExpMatrix.sci | e093448a7a194751b57462684695f2c89f767b0d | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,231 | sci | testAV3DSwayCorrectionExpMatrix.sci | // this code test the asser visu
// given as an input to Andreis function
// for step computing
//
//
// test another correction
//;exec('main/testAVrobotErreurMarche.sce');
function testExp()
disp('Yes');
endfunction
function testSwayCorrection3DExpM()
// -- Pose init and final of the robot in the world frame
... |
68b11c0d07f96356edc85a88109e5b1ff994d8bc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Materials_Science_For_Engineers_J._F._Shackelford_3557.zip/Introduction_To_Materials_Science_For_Engineers_J._F._Shackelford_3557/CH15/EX15.8/Ex15_8.sce | e7b160ad915f2363859b2f77a3611995fcead172 | [] | 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 | 468 | sce | Ex15_8.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Example 15.8//
//from the figure
//p20,Cu-0.1Si ~23.610^*9 ohm m
prt=23.6*10^-9//ohm m //room temperature value of restivity
a=0.00393;//C^-1//temperature coefficient of restivity
t=100;//C //temperature
tn=20;//C//room temperature
p=prt*(1+a*(t-tn))
mprintf("p = %e ... |
d82b0231047dcd4130f1950d4e231c6b6a6db9ce | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-h5-wrappers-new/C/H5T/testfiles/114/h5ex_t_regref.tst | 63c1f9ebed918a943b81e2ae2ad3c0a4ad79aae9 | [
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 56 | tst | h5ex_t_regref.tst | DS1[0]:
-> /DS2: hdf5
DS1[1]:
-> /DS2: Therowthedog
|
4003bc427c5748ac598c4d97cba01784b997340c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.2/20_02.sce | da746575a6971f4d3d09f4a3a284243548b26c41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | 20_02.sce | clear;
clc;
V=3000e3;
r1=30;
r=5000e3;
vb2=11e3;
vb3=33e3;
x=.2;
Xt=.05*r/V;
Xl=r1*r/(vb3^2);
xtotal=(x+Xt+Xl)*%i;
MVA=r*%i*1e-6/xtotal;
Ifault=MVA*1e6/(sqrt(3)*vb3*%i);
Ir=real(Ifault);
Ii=imag(Ifault);
Imod=sqrt((Ir^2)+(Ii^2));
Iangle=atand(Ir/Ii)-90;
Imod=round(Imod);
MVA=round(MVA*10)/10;
mprintf... |
bb670884437af2dfe7c5db9b4c73327f48141371 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.9/7_9.sce | e83e4885fef54ff395cecd552625ae3368ea89ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 7_9.sce | clc;
x=0.8805;
B=3.41*(1-x);
A=27.927*B;
AF=A;
disp(AF,"A/F ratio is:");
|
01f513afe85e04e831b0a7baba0a8fb90e33b9a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.39/39.sce | 95ecf0c814e131b580e43612d367216f8cad584e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | 39.sce | clc
cp=1.005; //kJ/kg K
y1=1.4;
y2=1.333;
p1=1; //bar
p4=p1;
T1=300; //K
p2=6.2; //bar
p3=p2;
n_compressor=0.88;
C=44186; //kJ/kg
ratio=0.017; //Fuel-air ratio; kJ/kg of air
n_turbine=0.9; //
cpg=1.147;
T2=T1*(p2/p1)^((y1-1)/y1);
T2a=(T2-T1)/n_compressor + T1; //T2'
T3=ratio*C/(1+ratio)/cp + T2a;
T... |
67c13e7dea8a1ab12bdc33beb4cbb54bbc53c14e | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/qsort.tst | dbeea92ef030cbb1d0ed98f3f519251ed9772c3f | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 20,656 | tst | qsort.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r str... |
5bd3b1cd45324a8cf483b14bb5e6c29395185d21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH22/EX22.3/3.sce | 1aebd681b611de42376ec2743600837196f4f6d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | 3.sce | clc; funcprot(0); //Example 22.3.
//Initializing the variables
Ma = 0.6;
Cl = 0.6;
tByC = 0.035; // Thickness to chord ratio
cByC = 0.015; // Camber to chord ratio
x = 3; // Angle of incidence
//Calculations
lamda = 1/sqrt(1-Ma^2);
Cl# = lamda*Cl;
tByC1 = tByC*lamda;
cByC1 = cByC*lamda;
Cl1 = Cl*lamda^... |
fa140a7d866fa529bbdd8b0b0ac21c6678427b21 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 01/relatório 01_kiu.sci | 5f4da461c3e109c3a06b4e05f70b11b963cbe57e | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,242 | sci | relatório 01_kiu.sci | //Condições iniciais
alfa = %pi/6;
s0 = 0;
v0 = 0.1;
k1 = 1/v0;
k2 = -log(k1);
t = 0:0.05:10;
g = 9.78;
m = 0.033;
Cd = 0.3;
rho = 1.2;
A = 0.0003;
c = 0.1;
l = -c/m;
clf()
function [posicao]=s(t)
posicao = t*sqrt((2*m*g*sin(alfa))/rho*Cd*A) + k2 //+ log((rho*Cd*A*t + (1/v0))*(1/rho*Cd*A))
endfunction
scf(1)
//xti... |
119822816c7f552b2b2e945c0d4762a957620f95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH2/EX2.4/Ex2_4t.txt | c159d99b9be4f2a873e74363d3be102a7b3f56d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | txt | Ex2_4t.txt | //caption:Find limiting error
//Ex2.4
clc
clear
close
V1=500//referance reading of voltmeter(in V)
V2=150//Voltage at which limiting error to be calculated(in V)
Ar=0.015//magnitude of accuracy limit
dA=Ar*V1
er=(dA/V2)*100
disp(er,'limiting error(in %)=') |
df5c1e2554bee9fcd435fe15d5cb0c13e6755f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH17/EX17.12/EX17_12.sce | ebc04a892123344265ab944f5568faa27503f155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX17_12.sce | //Finding of Propelling Force, Efficiency
//Given
u=35*(5/18);
V=25;
a=0.04;
rho=1000;
//To Find
P=rho*a*(V+u)*V;
E=(2*u)/(V+(2*u));
E1=E*100;
disp("Propelling Force ="+string(P)+" Newtons");
disp("Efficiency ="+string(E1)+" No Units");
|
76e0ee8a163c9f36068dfbef96c4fc32afe05cea | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Cata Ow Long Strafes.sce | f2b732bc623229dfbb262bc4b6211de3ccf247fa | [] | 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 | 110,555 | sce | Cata Ow Long Strafes.sce | Name=Cata Ow Long Strafes
PlayerCharacters=OWPlayer
BotCharacters=Watcher Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=OWPlayer
AddedBots=Watcher Bot Long Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=cataicfps.map
MapScale=1.9
BlockProjectilePredictors=tr... |
c37687805de70a7e80591a4c0d5fd9644dc73d40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH7/EX7.4/Ex7_4.sce | e68d41c10c53ec2b205b7a4f90fb236b93c1c79f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex7_4.sce | // Example 7_4
clc;funcprot(0);
// Given data
m=1.5;// kg
x_1=0;// The dryness fraction
T_1=20.0;// °C
p_1=0.10;// MPa
p_2=0.10;// MPa
c=4.19;// kJ/kg.°C
// Solution
T_2=T_1;// °C
deltaS=c*log(T_2/T_1);// kJ/kg.K
printf('\nThe change in specific entropy of the water,s_2-s_1=%0.0f.Consequently, the entropy... |
6eab7f27d8cf1c64f57981a52b402a930bc88bb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH8/EX8.14.10/Ex8_10.sce | 9df2397682943a0972effbbb6bde9aa2f93103b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,525 | sce | Ex8_10.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 8 Junction Transistors:Biasing and Amplification
clc
clear
VBE=0.7//VBE=base emitter voltage
b=90//b=dc current gain of the common emitter transistor
VCC=10//VCC=collector supply voltage
RE=1.2//RE=resistance in kilo ohms connected to the emitter terminal
R... |
f0fa5dff34aacdb0e81d6555f0f28a574695059c | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH8/EX8.1/eg8_1.sce | 509e08c4af5918d3828873cdf80105c1b07cae71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | eg8_1.sce | phiB = 0.8;
N = 10^17;
Dp = 20;
Lp = 10^-4;
A = 8;
kT = 26*10^-3; //in eV
T = 300;
q = 1.6*10^-19;
Js = A*T^2*exp(-phiB/kT);
disp(Js,"For the Schottky case, Js (in A/cm2) = ")
ni = 1.84*10^6;
pn = ni^2/N;
disp(pn)
J0 = q*Dp*pn/Lp;
disp(J0,"For the p+-gate we have from p-n diode theory, J0 (in A/cm2) = ") |
59e48124e6279a45d94507ae074c54ead71272c8 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2lar/rc2lar2.sce | c09bad36e144de96517db2415f0c75b39a35b8b1 | [] | 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 | 87 | sce | rc2lar2.sce | //check o/p when i/p is an empty vector
k = [];
g = rc2lar(k);
disp(g);
//output
// []
|
1659c991bf46d60b0b1933dfc59dadc7bbd5de31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH9/EX9.14/Ex9_14.sce | d27a4216b0f7c195dc1ce46ea8367aaf42c81f40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | Ex9_14.sce | clear all; clc;
disp("Scilab Code Ex 9.14 : ")
//Given:
tou = 40; //kPa
sigma = -20; //kPa
//Principal Stresses:
sigma_avg = sigma/2;
R = sqrt( (-sigma + sigma_avg)^2 + tou^2);
sigma_max = sigma_avg + R ;
sigma_min = sigma_avg - R ;
theta = atan(tou/(-sigma+sigma_avg));
theta = theta/2;
//Absolu... |
f6e4d644ca2b76a3113485022029ec424d51343f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.10/Ex7_10.sce | 28050e4801ea541ca10d45368c608ebec26c9439 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_10.sce | // Scilab Code Ex7.10: Page-380 (2008)
clc; clear;
h = 3; k = 2; l = 1; // Miller Indices for planes in a cubic crystal
a = 4.21D-10; // Interatomic spacing, m
d = a/(h^2+k^2+l^2)^(1/2); // The interplanar spacing for cubic crystals, m
printf("\nThe interplanar spacing between consecutive (321) planes = %3.1e ... |
7db4d591fcc3040b4d044e95a95eb3f50a7ab358 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH4/EX4.6.1/4_6_1.sce | ba0b0efb139f56e5e79dbaa647c1fa95c5875d12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | 4_6_1.sce | clc
//initialisation of variables
d= 8 //in
d1= 1.5 //in
Cd= 0.65
w= 62.3 //lbf.ft^3
W= 25 //tonf
u= 5 //miles/hour
u1= 20 //miles/hour
//CALCULATIONS
ds= W*2240*d1^4*Cd^2*log(u1/u)/(w*d^4*%pi*(d/24)^2)
T= W*2240*d1^4*Cd^2*((5/(u*7.33))-(20/(u1*29.35)))/(w*d^4*%pi*(d/24)^2)
//RESULTS
printf (' Distance tha... |
b5574fc023b539823f91afeb226234567aee3054 | e9b135074a04c0ae4273c18ac8466c003190b21a | /2 Ano/Metodos Numericos/Soluciones/biseccion.sce | 3b861a6c9548ec673e3f652c2359930fdedea3de | [] | no_license | damianarielm/lcc | 804faae03e5f60e44de58d264721892e1fea0c3c | ffd3e65f54073215e1e3542aabd62b3ec1ec5960 | refs/heads/master | 2023-02-18T12:14:00.543045 | 2023-02-14T00:19:54 | 2023-02-14T00:19:54 | 161,278,175 | 60 | 9 | null | 2020-12-04T14:43:40 | 2018-12-11T04:41:42 | HTML | UTF-8 | Scilab | false | false | 447 | sce | biseccion.sce | function r = biseccion(f, a, b, e)
c = (a + b) / 2
if b - c <= e then
r = c
else
if f(b)*f(c) <= 0 then
r = biseccion(f, c, b, e)
else
r = biseccion(f, a, c, e)
end
end
endfunction
function y = p(x)
y = (x - 3) * (x + 3)
endfunc... |
b2ca55c4ffa002e99b0a36f1fbe8c3c548bd8624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH6/EX6.7/example_6_7.sce | 02d3d27e6b5c3605caf45dfd4dd8d4178f912ce7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | example_6_7.sce | clear;
clc;
disp("--------------Example 6.7---------------")
data_rate=1*10^3; // data rate for each input connection is 1 kbps
unit =1; // 1 bit
n=4; //number of channels
// (a) the duration of 1 bit before multiplexing
bit_duration=1/data_rate;
printf("a)The duration of 1 bit before multiplexing is %d ms.\n",... |
4e695e54db432037a359fb576d6af29e303658d8 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassbpc2bpc/test_8.sce | c773ba272a61c8516645e919214234883c75403f | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | test_8.sce | // Test # 8 : Input Argument #1 or #2 length test
exec('./allpassbpc2bpc.sci',-1);
[n,d]=allpassbpc2bpc([0.3,0.2],0.6);
//!--error 10000
//Wt must be real,numeric and must contain only 2 elements
//at line 43 of function allpassbpc2bpc called by :
//[n,d]=allpassbpc2bpc([0.3,0.2],0.6);
|
7991531d6d40361b27e019b662b08295b6592d30 | 094316b2facc4f73c0685b382d8f95b4fc4efcbc | /Tarea_Parcial2/Eliminacion_28FEB.sce | 27c241844365238b9c74915cd3d088be1f05e144 | [] | no_license | gggfox/NumericMethods | 8be5d629fc5898cefb5f962bcb894e74e3982def | 60a5b8220f3897d108cb0c2475a44b89bbf452a0 | refs/heads/master | 2020-04-25T12:03:03.322904 | 2019-04-01T20:28:30 | 2019-04-01T20:46:28 | 172,553,096 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,350 | sce | Eliminacion_28FEB.sce | clear
//Karyme Nahle Acosta A00823898
//Gerardo Galan Garzafox A00821196
//Este programa sirve para sacar la X por el metodo de eliminacion Gaussiana
//se crea la funcion que hara todo el proceso
/*
AX=B
A^-AX=A^-B
IX=A^-B
X=A^-B
*/
function x = Eliminacion(MAT)
//Se asigna el valor de las filas y ... |
d98e434d5e1e2e6235071a8f63e178f8762f6976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/7_8.sci | 401f40218f8511ba37c728d9fd83700b6f0cc4f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | sci | 7_8.sci | Km = 0.0266;
Vmax1 = 1.33;
Et2 = 0.001;
Et1 = 5;
X = .8;
Curea0 = .1; |
aa33811e7f8b54df35a13e5e5849a09a2417c767 | 51dafce62d23d24ff12da43eb29775cdd7aaf08e | /Pendulo Duplo 2 Funcoes.sce | 41ed4eee7020b137fcde88fcd87cd678ee7699cd | [] | no_license | ThadeuJose/PreditorCorretor | f4550888a2918d5f33e3f093f2cac0d5c1af3c47 | bdf2213c1a02cc21c6270ef2f8c93f154ca8722f | refs/heads/master | 2021-01-16T18:19:27.761791 | 2014-12-09T23:55:52 | 2014-12-09T23:55:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Pendulo Duplo 2 Funcoes.sce | funcprot(0)//Alter the protection level of the function to unprotected
//Define the functions f1,f2,f3,f4 to be able to put in the list
deff('fun1 = f1(u1,u2,u3,u4)', 'fun1=u2')
deff('fun2 = f2(u1,u2,u3,u4)', 'fun2=(((-g)*(2*m1+m2)*sin(u1))-(m2*g*sin(u1-(2*u3)))-(2*sin(u1-u3)*m2*(((u4^2)*l2)+(((u2^2)*l1)*cos(u1-u3))... |
653a057c78fbb1a22bd48acca245d9d6e6685172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH5/EX5.16/Ex5_16.sce | 6881a602b0c3fc1a1fd1e9c54be42953c25cac21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex5_16.sce | clear
//
//
//
//Variable declaration
n1=1.563 //Core refractive index
n2=1.498 //Cladding refractive index
//Calculation
NA=sqrt(n1**2-n2**2) //numerical aperture
theta0=asin(NA)*180/%pi //acceptance angle(degrees)
//Result
printf("\n numerical aperture is %0.4f ",NA)
printf("\n accep... |
ee78341c7e6d6257dfa2a8c73492cc7a4135b8cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH9/EX9.11/ex_11.sce | 84d26d65942abadfdcf020cb4335ba54274084d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | ex_11.sce | // PG (613)
A = [4 1 1;1 4 1;1 1 4]
w1 = [0.985599 0.119573 0.119573]'
P1 = eye() - 2*w1*w1'
A2 = P1*A
w2 = [0 0.996393 0.0848572]'
P2 = eye() - 2*w2*w2'
R = P2*A2
Q = P1*P2
Q*R
// A = Q * R
abs(det(A))
abs(det(Q)*det(R))
// |det(A)| = |det(Q)*det(R)| = |det(R)| = 54 (approx)
lam = spec(A)'
lam1 ... |
feebe090df9ea17284c8bdb97a128809453a408c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH3/EX3.1/29ex1.sce | c0829a98c229f72ab8c5d2d4332706796081bc59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | 29ex1.sce |
//simplify a(a^2+ab+b^2)
clear;
clc;
close;
val=string('a^3+(a^2)b+a(b^2)')
|
fc21c2f011c096f4999eaa46397bfcbf0e0fcd8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH3/EX3.3/Ex3_3.sce | 283aa4ab98f80984bfb013d6188eed6e9923013b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Ex3_3.sce | // Example 3.3
clc;
clear;
close;
// Given data
format('v',6);
R1= 100;// in Ω
Rf= 100*10^3;// in Ω
A= 2*10^5;//unit less
Rin= 2*10^6;// in Ω
Rout= 75;// in Ω
f0= 5;// in Hz
B= R1/(R1+Rf);// feedback fraction
AB= A*B;// feedback factor
Af= 1+Rf/R1;// voltage gain
Rin_f= Rin*(1+AB);// input resistance in ... |
4db2c673aa92b25b30248415be5359bc0866ff09 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 2/M7/lagrange.sce | a21e984810e4464392e7035c47dcd0317d3fefc5 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | lagrange.sce | // lagrange produz um sistema linear diagonal
function y=L(X,x,k)
n=size(x,1);
y=1;
for j=1:n
if(k <> j)
y=y.*(X-x(j))/(x(k)-x(j))
end
end
endfunction
x = [2 3] '
y= [4 7]'
n=length(x)
//plot(x,y,'ro-'),xgrid
X=2.5
p=0
for k=1:n
p=p+y(k)*L(X,x,k);
end
disp(p)
nCond = ... |
b1cd55cd3a44a83241ee08f46b018dd0eef2b9dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.18/Ex1_2_18.sce | 5d859832b22c41f38c275586944b0be6596f7c9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | Ex1_2_18.sce | //Section-1,Example-5,Page no.-AC.206
//To calculate the percentage of dry products by weight .if 50% excess air is supplied.
clc;
C=760
H=52
O=128
N=27
S=12
M_W=(((32/12)*C)+((16/2)*H)+((32/32)*S)-O)*(100/23)
V_Air=M_W*(22.4/28.94)*(1/1000)
W_CO2=(44/12)*760
W_SO2=(64/32)*12
W_N2=N+((77/100)*10116*(150/100))
W_O2=(((3... |
44a10df557a541824c4dc13488eef75d0bfff7d4 | 7a6e14c55ee1c57f69b10361a69e63740649ee42 | /projects/02/Out16.tst | da19c550cdd21cc1d245431308d7c05219a88211 | [] | no_license | eodevelop/ComputingSystems | 419a8722179578e0d3c8b25bcaca7ecfbe216740 | 1ea4d0d5db6a9cb2063ffc87c3daa9056659c141 | refs/heads/main | 2023-07-27T03:14:26.499048 | 2021-09-09T09:21:11 | 2021-09-09T09:21:11 | 374,920,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | tst | Out16.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/01/Or16.tst
load Out16.hdl,
output-file Out16.out,
compare-to Out16.cmp,
output-list in%B3.1.3 out%B1.16.1;
set in 0,
eval,
output;
set in 1,
eval,
output; |
406e28c6732248abec3f648418b97f06fe7be414 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH6/EX6.6.1/6_6_1.sce | 77f3d572d1d0cc04b2a80ed8a89cbd64d9118064 | [] | 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 | 281 | sce | 6_6_1.sce | //CAPTION: Power_Dissipation_of_a_Three-Phase_CCD
//chapter_no.-6, page_no.-278
//Example_no.6-6-1
clc;
// Calculate_the_power_dissipation_per_bit
n=3;
f=10*(10^6);
V=10;
Qmax=.04*(10^-12);
P=n*f*V*Qmax;
P=P*(10^6);
disp(P,'the_power_dissipation_per_bit(uW)is='); |
7576f16d3ec864fd10b6fa63cd06f04ca5207baa | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /uva.onlinejudge.org/112, Tree Summing/test2.tst | 5a3aee565cd26c0ba70f903f61d7fc9b9616c0eb | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35 | tst | test2.tst | 0 ()
~~~~~~~~~~~~~~~~~~~~~~~~
no
|
4202b31518f23ab84bfac1d7530efaf264788350 | 935d5880888b1ef01c8dddaf85af2be07d7940e2 | /AdaptiveSwarmRobotsSimulation-ASRS/stages/StageSimple.sce | 47bb5b91077040d744d46a24146cf67907f01b37 | [] | no_license | google-code/asrs | c3b35545bce8ae38c8184de002e93e18a67461ee | c9a828a4eb2fbf076116f3c51c44da45a60f9feb | refs/heads/master | 2016-08-05T13:33:11.103066 | 2015-03-15T15:18:57 | 2015-03-15T15:18:57 | 32,267,209 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | StageSimple.sce | _________
| |
| |
| ___|
| | |
| | |
| |
|_________|
|
97d7f4ec24fda4606e612f6dd08d8091c649728f | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH8/EX8.23/8_23.sce | ee015e236bf5fefc10c78ba6349aad35afc3497c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sce | 8_23.sce | //pathname=get_absolute_file_path('8.23.sce')
//filename=pathname+filesep()+'8.23-data.sci'
//exec(filename)
//Alternator efficiency:
na=0.975
//Turbine efficiency:
nt=0.80
//Turbine's losses(in kW):
L=50
//Electric power developed(in mW):
p=8
//Condenser discharge(in kg/s):
m=8
//From steam tables:
h1=31... |
b6b4df06f9fc3035924cc79eb9f2f10ed6c5b2f1 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP6/fillTV.sci | 25ddeae01f851fd918b13b4d30eb3ff97cacd8be | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sci | fillTV.sci | function[TV] = fillTV(a, t0, T)
if T < t0 | abs(T) < %eps
error('invalid T');
end
[n un] = size(a);
if un ~= 1
error('invalid a');
end
exec('euler.sci', -1);
exec('pointMilieu.sci', -1);
exec('rungeKutta4.sci', -1);
deff('[x] = f(t, u)', 'x = -u + sin(t)');
T... |
55e226b5603ae9d98322b4e57122cd80fc0323e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH1/EX1.3/ex1_3.sce | fdbf7610800d251e57b71dc562fb53a2e28371b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | ex1_3.sce | clc;
disp(10^5*10^-2);
disp(10^4/10^-3);
disp(10^3/10^6);
disp((10^5*10^-7)/10^2); |
92695ddec55e0e115b16eca2fdb9a625e7534127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH8/EX8.11/8_11exam.sce | 2dbea636dabe482df7eebd5332c2a14b39d91c0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,694 | sce | 8_11exam.sce | //Engineering and Chemical Thermodynamics
//Example 8.11
//Page No:390
clear ; clc ;
//Given
R = 8.314 ;
T = 10 + 273.15 ; //[K]
x1 = [0 ,0.0610 ,0.2149 ,0.3187 ,0.4320 ,0.5246 ,0.6117 ,0.7265 ,0.8040 ,0.8830 ,0.8999 ,1] ; //From table E8.9A
P_exp = [6344 ,6590 ,6980 ,7140 ,7171 ,7216 ,7140 ,6974 ,6845 ,6617 ... |
5adc3943daa030e57856c869cb35ea2774712ae9 | 87bc77e7099940c476a849ac22f0c25912ab345e | /LA/Assignment4/class7.sce | 29998955e912f35d817fbd8f102859865145fc71 | [] | no_license | Arindaam/Class-work | 8f4af9cc39301fe7231bfffe4b3e49842ddf3775 | c8ba9fa3981d8b352c227e2dede48e776c049d4c | refs/heads/master | 2021-06-26T09:55:33.884258 | 2021-06-22T15:51:51 | 2021-06-22T15:51:51 | 207,601,170 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | class7.sce | function []=gram_Schmidt()
a=evstr(x_matrix('enter a 3x1 matrix ',rand(3,1)))
b=evstr(x_matrix('enter a 3x1 matrix ',rand(3,1)))
v1=a
c=b'*v1
d=v1'*v1
p=(c/d)*v1
v2=b-p
disp(p,'-',b,'=')
disp(v2,'=')
disp("Thus orthogonal basis is:")
disp(v2,v1)
endfunction
gra... |
f02182608c369fdd97f0807728083a45ca9f8477 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH12/EX12.8/Ex12_8.sce | f689b8fb47ba790cff5978866907ea8251ab7ed1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Ex12_8.sce | //Example 12.8
Q=0.120;//Flow rate (cm^3/s)
Q=Q*(10^-2)^3;//Flow rate (m^3/s)
r=0.150*10^-3;//Radius of needle (m)
l=2.50*10^-2;//Length of needle (m)
eta=1*10^-3;//Viscosity of saline solution(N.s/m^2)
P1=8;//Gauge pressure in vein (mm Hg)
P1=P1*133/1.00;//Gauge pressure in vein (N/m^2)
P2=[(8*eta*l*Q)/(%pi*r^... |
5388722880363df561d0635e2d8dc2d43590e376 | 717ddeb7e700373742c617a95e25a2376565112c | /137/CH2/EX2.1/prob_2_1.sce | 70650ee033439d597d870648ec124366d14a6577 | [] | 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 | 383 | sce | prob_2_1.sce | clc;
//page no 17
//prob 2.1 b]
//Assuming SI unit for all quantities
// the given signal does not tend to zero as t->oo. However it is periodic & therefore its power exist. therefore averaging the sq. of the signal over infinitely large interval is similar to averaging it to over one time period
t0=-1;t1=1;
y=in... |
c165b4295be9eed2a2f06dcdf88edfbe97304e12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH5/EX5.8/example_5_8.sce | 79996b5aafd120403b8f0184b571a4df3a707b26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | example_5_8.sce | //Example 5.8
clc //clear the command window
clear //clear the variables
a=input("Enter the hexadecimal number... |
89946b34c66882a3d936df16618496b984e2a1a5 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/eqm/params_f16.sci | 6187188bc16d93b9ee06a9785241d96fc47bb760 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sci | params_f16.sci | exec('eqm/aerodata_f16.sci');
exec('eqm/engine_f16.sci');
function params = load_f16()
mass = struct('AXX',9496.0, 'AYY', 55814.0, 'AZZ', 63100.0, 'AXZ', 982.0);
mass.AXZ2 = mass.AXZ**2;
mass.XPQ = mass.AXZ*(mass.AXX-mass.AYY+mass.AZZ);
mass.GAM = mass.AXX*mass.AZZ-mass.AXZ**2;
mass.XQR = mass.AZZ*... |
becab10624b1438e21deba871fa1d659a9609e4e | d0a39c16a0e6e4e550ffcc7b30c890307078643c | /scilab/munkres_test.sce | 6d9ccc31bbcbe3c45f60f95be52453c06d14a7d8 | [
"MIT"
] | permissive | Dryuna/pipol_tracker | 3dcd342239f2625ef75e712b41aefb8f148acfdf | 12fd43c6dd7d8bba2bcf8ff6c5d54adfdca7cb72 | refs/heads/master | 2020-12-25T00:28:50.289599 | 2015-03-09T06:03:35 | 2015-03-09T06:03:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,235 | sce | munkres_test.sce | exec('/home/andreu/dev/ros_ws/src/pipol_tracker/scilab/munkres.sci');
AA = [10 19 8 15; 10 18 7 17; 13 16 9 14; 12 19 8 18; 14 17 10 19];
AA = [10 19 8 15; 10 18 10 17; 13 11 9 14; 12 13 8 18; 11 17 10 13];//crashes!! No 0 at last to column after step4 finished ...-> step 5 loops infintely
//AA = [10 19 8 15; 10 18 7 ... |
1afaca287aa41bd8af812647148feda4a8b029d5 | d6c6e5351a55752775a06471ab1e767b959dba02 | /Taller 4b/macros/plot_data.sci | 6ba6916f9f43f4ef62f353f63b650cd9889b9e40 | [] | no_license | hectornauta/Repoduino | f0a685840d7484f78ddb40c1704ce0d7d174aa41 | 05229fc5d70ecc4bd45102cbb02703cb912a5d14 | refs/heads/master | 2020-08-06T09:07:22.888804 | 2019-12-09T13:17:44 | 2019-12-09T13:17:44 | 212,917,573 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | plot_data.sci | function plot_data(data, rows, columns, field_amount, field_names, t)
time_window = 50
left_limit = t - time_window
right_limit = t + time_window
upper_limit = 1.2
lower_limit = - 1.2
//i = 1;
struct1 = data(1)
struct2 = data(2)
for i = 1:field_amount
y1 = struct1(field_names... |
14a0dc93b1a7a0d8e8310e931f88a10ea2804a7b | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoPolRotator.sci | 469a51d3951beefea31272d3323dcf5dcb12476d | [] | 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 | 756 | sci | SSSoPolRotator.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoPolRotator(In,Angle_deg)
// Polarization Rotator
//
// Calling Sequence
// Out=SSSoPolRotator(In,Angle_deg)
//
// Parameters
// In : Optical Input
// Angle_deg : Degree of... |
5a6aeec31ae885321a61cd4c2f0a0c31c7a14778 | e806e966b06a53388fb300d89534354b222c2cad | /macros/Deinterlacer.sci | 6ced08a5e99b4aab82fcf19fafd27aa818f3ed40 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,788 | sci | Deinterlacer.sci | function [dstImg] = Deinterlacer(srcImg, varargin)
// Removes the motion antiquity from Images
//
// Calling Sequence
// [dstImg] = Deinterlacer(srcImg)
// [dstImg] = Deinterlacer(srcImg, method)
//
// Parameters
// srcImg: The input Matrix
// method: for specifying the method used for deinterlacing
// dstimg: Th... |
993b70d46c7d78d9def29f368a704318dba8699c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH5/EX5.14/Ex5_14.sce | a5e47dcf7cd1ac2408d7fb9933e9a642fcc13c29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sce | Ex5_14.sce | // Calculating the per unit leakage reactance
clc;
disp('Example 5.14, Page No. = 5.90')
// Given Data
// 2000/400 V, single phase shell type transformer
Q = 100;// kVA rating
f = 50;// Frequency (in Hz)
u0 = 4*%pi*10^(-7);
Tp = 200;// h.v winding turns
Lmt = 1.5;// Length of mean turn (in meter)
W = 0.12;// ... |
925f11b4cb912b27cad6159e82c8521586a0947c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH2/EX2.2/Ex2_2.sce | e70f7d9403bf6436f455fd6cecb6f671a3dd75ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Ex2_2.sce | clear; close; clc;
kc=1.380*(10^(-23));//constant
te=300;//room_temp_in_kelvin
qe=1.602*(10^(-19));//electron_charge
ni=1.45*(10^10);
p=3*(10^17);
esi=11.7*8.85*(10^(-14));
deg=2*kc*te*abs(log(ni/p))/qe;
xd=sqrt((2*esi*deg)/(qe*p));
qb=-sqrt(2*qe*p*esi*abs(-deg));
disp(deg,'degree of band bending(in volt):'... |
6cb8bf1ce939ecde43270af259f8395fa7bce422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.16/Ex1_16.sce | 49819d20b6159bb703134ad949358a7279977dc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | Ex1_16.sce | // Ex 16 Page 357
clc;clear;close;
// Given
//i=0.5+0.3*sin(omega*t)-0.2*sin(2*omega*t)
I0=0.5;I1m=0.3;I2m=-0.2;//from above expression
Iav=I0;//A
R=1000;//ohm
L=1/1000;//H
Irms=sqrt(I0**2+(I1m/sqrt(2)**2+(I2m/sqrt(2)**2)));//A
printf("Reading of hot wire instrument = %.3f A",Irms)
VR=Irms*R;//V
printf("\n Reading of... |
4ba82998571b76ca0009848086bbdcc1323dcc29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH3/EX3.6/Ex3_6.sce | 90f01072263a392ce959d8145013d8d213ae7b32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex3_6.sce | clc
clear
printf("Example 3.6 | Page number 80 \n\n");
//What will be thermometer read in place where gas thermometer reads 50°C
deff('y = e(t)',['y = 0.0367*t + 1.33 * 10^(-4)*t^2'])
printf("Thermometer read in place where gas thermometer reads 50°C = %.2f °C",e(50)/(e(100)/100))
|
265a81d911d93591426a77922863962ee5f5bbfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH6/EX6.8/ex6_8.sce | 055a3eb527b0624a3b3c9cd01e6626e038ed870f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | ex6_8.sce | // Exa 6.8
clc;
clear;
close;
format('v',6)
// Given data
Vt = -2;// in V
KnwByL = 2*10^-3;// in A/V^2
V_GS = 1;// in V
V_DS = V_GS-Vt;// in V
disp(V_DS,"The minimum value of V_DS in V is");
i_D = 1/2*KnwByL*V_DS^2;// in A
i_D = i_D * 10^3;// in mA
disp(i_D,"The value of i_D in mA is");
|
0afccf3138ee0b9ea846115bdcad57aa0c47d1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.35/Ex9_35.sce | c656f576b6cae186f246be3a53d7dd965ff8d44c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex9_35.sce | clear
//Given
Ig=0.015 //A
G=5
I=1
V=15
//Calculation
S=(Ig*G)/(I-Ig)
R=G*S/(G+S)
R1=(V/Ig)-G
R2=R1+G
//Result
printf("\n (i) Resistance of ammeter of range 0-1 A is %0.3f ohm", R)
printf("\n (ii) Resistance of ammeter of range 0-15 A is %0.3f ohm", R2)
|
386bae57f3dca7f54f79fbda5f6e3ada1b2b85fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.7/EX2_7.sce | 338a3af4da41f44e9be870dda1f83d573a739a34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | EX2_7.sce | //EXAMPLE 2-7 PG NO 64-65
V1=24.15+%i*6.47; //VOLTAGE
V2=7.5+%i*12.99; //VOLTAGE
X=V1+V2; //ADITION fo v1&v2
disp('i)ADITION is in rectangular form = '+string (X)+' V')
X1=V1-V2; //subsraction of v1&v2... |
8f0ba8ad71a02ccd1a460dae30f53c752df400ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH2/EX2.10/exp2_10cpp.sce | cd62416cb2915c7f011161a41f56d6e9b15e1179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | exp2_10cpp.sce | clc
disp("example 2.10")
egd1=438*10^4;plp=0.2;pcf=0.15;//annual load duration ;annual load factor;plant capacity factor
pml=egd1/(plp*8760)
pc=(pml*plp)/pcf
printf("annual load factor =energy generated during 1 year/(max. load)x8760=%.1f \n maximum load =%dkW",plp,pml)
printf("\ncapacity factor =(max.load/plant... |
3252996474b47954bab0163b15ebd230a30ff2a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.63/63.sci | 3ab5689d04d22cfa28a6c79d7e8852dc5bcf310d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sci | 63.sci | clc;
clear all;
disp("heat transfer coefficient")
d=0.025;//m
ta=30;// degree C
U=2.5;// m/s
ts=85;// degree C
rhoc=0.0175*10^(-6);// ohm.m^3/m
k=0.02673;// W/m.C
v=16*10^(-6);// m^2/s
Re=U*d/v;
Nu=0.22*Re^0.6;
h=Nu*k/d;
disp("W/m^2.C",h,"The heat transfer coefficient from the surface to the air =")
Q=h*%... |
5d3740a79fb021362d2d4bc2d973641340f126e5 | c3f74a8101e605a189fabf0d9a1e831519bc9c61 | /Sources/S1.sce | 7b6633faed913c25c35335039df2e2fb69d0fff4 | [] | no_license | Varal7/ProjetScilab | 26f8cf730ced1247f9409dae70076f7182f69d1a | bc6e0d8ae9fb131a128dbd4cc4f8cf4bd0cd74c4 | refs/heads/master | 2021-01-20T11:31:45.820662 | 2015-06-29T14:25:05 | 2015-06-29T14:25:05 | 35,808,084 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | S1.sce | M=10;
p=0.7;
nb_lancers = 5000;
nb_iterations = 15;
X = grand(1,nb_lancers,"bin",M,p);
function y=F(x,K,U)
y=x;
if (K>x) &(U<=p) then
y=x+1;
elseif (K<=x)&(U>p) then
y= x-1
else
y=x
end
endfunction
for i =1 : nb_iterations
for j=1 : nb_lancers
K = grand(1,1... |
e7a46f1c794e3c8febe3117f439fe5af760113cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH2/EX2.19/example2_19.sce | 92fa6d23db8c0f486ec8b79f57573b9621b57d8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | example2_19.sce |
//exapple 2.19
clc; funcprot(0);
// Initialization of Variable
B=200;
f=120;
p2=52.52;//parallax for top of pole
p1=48.27;//parallax for bottom of pole
delh=(p2-p1)/p2/p1*B*f;
disp(delh,"diference in elevation of two points in (m):")
|
ce2c720405e8acab6bf5b8456fe2e622a5b21b48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH9/EX9.3/exa_9_3.sce | 96aaf29a2be49bec641684f4e8cae5f22d32fd38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | exa_9_3.sce | // Exa 9.3
clc;
clear;
close;
//given data
C=0.01;// in micro F
C=C*10^-6;// in F
f=1;// in kHz
f=f*10^3;// in Hz
// R_A= R_B
// T_on = T_off = T/2
// Frequency is given by equation f= 1.44/((R_A+R_B)*C)
R_A= 1.44/(2*f*C);// in ohm
R_A=R_A*10^-3;// in k ohm
R_B= R_A;
disp("Resistors required : "+stri... |
fd799880334b299695a30b82e4271dbcff02c68b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH1/EX1.2/ex1_2.sce | 1da8942d8241ee686f01571b9942e5e2b1d77377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | ex1_2.sce | // Example 1.2, page no-53
clear
clc
span=1000
accuracy=1/100
err=span*accuracy
printf("(a)\nAs error can be either positive or negative ,\n the probable error at any point on the scale = %d°C",err)
max_scale=1200
Range_instr=max_scale+span
printf("\n(b)\nRange of the Instrument = %d°C",Range_instr)
meter_r... |
dfa2ca8d6cb1e26c85b4c0737700a6ef6a03f3c6 | c0563805db14675998b183822bb3f7d1a08c155e | /Prática 05/Plot_Graficos.sce | 6b67fe072f0e0a73473de6f53499c45f09a62282 | [] | no_license | sarahrms/Inteligencia-Artificial | 71dfc0575dde36e09afe141b1daef03cde2dcda3 | 4242336694e50b91ee314c688aa577dba8cc0372 | refs/heads/master | 2020-04-26T15:54:47.742880 | 2019-03-04T02:52:14 | 2019-03-04T02:52:14 | 173,661,274 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | Plot_Graficos.sce | clc;
close;
fls=loadfls("pratica.fls"); //carrega o arquivo
figure(1);
plotvar(fls,"input",[1 2]);
figure(2);
plotvar(fls,"output", 1);
figure(3);
plotsurf(fls,[1 2],1);
|
59e10aa1cfb859787e7bb63bae91569252c91794 | 1b9a3a103c4fc50d51f2d14b1216b479e3ec5b7e | /tilesets/tset.tst | 0e1e6252dd0ce51a4fdfca92a0e2217f04450a27 | [] | no_license | habeascorpse/Luawar | e5a1c3cf686ebea4d6d102d3d9380f4a9edfc785 | 09c3c995b4873f08e48bda148b8443706711aeb0 | refs/heads/master | 2021-01-01T16:05:56.174549 | 2012-05-21T15:01:59 | 2012-05-21T15:01:59 | 4,394,437 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | tst | tset.tst | I=../images/tileset.png;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
1,1,1,1,1,1,0,0;
2,2,2,2,2,2,0,0;
2,2,2,2,2,2,0,0;
2,2,2,2,2,2,0,0;
2,2,2,2,0,0,0,0;
2,2,2,2,0,0,0,0;
2,2,2,2,0,0,0,0;
2,2,2,2,0,0,0,0;
0,0,2,2,0,0,0,0;
2,2,2,2,0,0,0,0;
2,2,2,0,1,1,1,1;
1,1,1,1,2,2,1,1;
2,2,2,2,2,2,2,2;
|
146f5487f5590c5979a91c8baba4705dfed0a2c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH10/EX10.15/Ex10_15.sce | 367a83b0fadd67b595e4d22fc90359e8d53a0d91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | Ex10_15.sce | //Ex10_15
// Global Thresholding
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
clear;
xdel(winsid())... |
5d42e2efac86a8835aac4e280374271da5a8ff14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH18/EX18.1/Ex18_1.sce | 0444e1ba87e6ae8781a0bae9086e8599391744c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Ex18_1.sce | //Example 18_1
clc();
clear;
//To find the force on the wire
b=2*10^-4 //Units in T
i=20 //Units in A
l=0.3 //Units in meters
theta=53 //Units in degrees
thetaa=sin(theta*%pi/180) //Units in Radians
f=b*i*l*thetaa //Units in N
printf("The force on the wir... |
af2a26c7e622e60832ccc96934ac606e5a8c475e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH8/EX8.5/Ex8_5.sce | 8a11dcc6376e6f6236f21bf3bd0a4baa68b1e729 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | Ex8_5.sce | clear
//
//
//Initilization of Variables
//Boiler Dimensions
t=16 //mm //Thickness
p=2 //N/mm**2 //internal pressure
f=150 //N/mm**2 //Permissible stress
rho1=0.75 //Longitudinal joints
rho2=0.45 //circumferential joints
//Calculations
//Equating Bursting force to longitudinal joint strength ,we get
d1=rho1*2*t*f*p... |
8b78a18a49c7607ee969dd36994b088d6aaea68e | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_5/Ex5_4.sce | f8d7098c5bb77d746ff907e9841f49cd5e4d8cb3 | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex5_4.sce | // Example 5.4
mode(0); //prints everything not suppressed with ;
exec('C:\Users\EJB\OneDrive\Scilab\CLT.sci',0); // include CLT.sci
theta = -55;
eps = [3.635; 7.411; 0]*1E-3;// lamina c.s
eps(3) = eps(3)/2;
eps_ = Tinv*eps;// laminate c.s.
eps_(3) = eps_(3)*2;
eps_
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.