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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
570612d5e751304f0d731c212f0753738559fa50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.14.b/3_14_soln.sce | d3f1df1af2a07a73ae552df1bd1c2070c0d57bd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | 3_14_soln.sce | clc;
pathname=get_absolute_file_path('3_14_soln.sce')
filename=pathname+filesep()+'3_14_data.sci'
exec(filename)
// Solution:
// Pump flow in m^3/s,
Q_si=0.0000167*Q; //m^3/s
// Diameter of pipe,
D_m=D/1000; //m
// Area of pipe,
A=(%pi*(D_m^2))/4; //m^2
// velocity,
v=Q_si/A; //m/s
// rounding off the above answer
v=f... |
2d2e9a817f637c395b4b50aa70065dfda3c8e442 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.61/ques61.sce | 5a6537265398c5d2ee4a17326bfd6ab8b609493d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | ques61.sce | //ques 61
clc
disp('to find the assymptote of given curve ');
syms x y
f=x^2*y^2-x^2*y-x*y^2+x+y+1;
//a=degrees(f,x);
f1=coeffs(f,x,2);
disp('assymptotes parallel to x-xis is given by f1=0 where f1 is :');
disp(factor(f1));
f2=coeffs(f,y,2);
disp('assymptotes parallel to y-axis is given by f2=0 and f2 is :');... |
8e7e2ebbee5b8ff5faa878ef25b17c0f78981d2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH21/EX21.2/21_2.sce | d9ba4eb822a7ee1d9a49c452dc892c082365c575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | 21_2.sce | //Example 21.2
//Lagrange Interpolation in Parallel Computing
//Page no. 723
clc;close;clear;
xi=[-1,0,2,5];
yi=[9,5,3,15];
s=["x=1","n=4","Data:","(-1,9)","(0,5)","(2,3)","(5,15)"]
for i=1:4
printf('\tProcessor\t')
end
printf('\n')
for i=1:4
printf('\t N%i\t\t',i)
end
printf('\n')
for i=1:7
... |
7287cb293fef94d2f8c4bc0718a8627c04f7e157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH9/EX9.10/Ex9_10.sce | 09d5175d727cf08576b066b24b8da36bad5da867 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex9_10.sce | // Problem no 9.10,Page no.240
clc;clear;
close;
L=3 //m //Length of strut
b=0.04 //m //Width of rectangle
d=0.10 //m //Depth if rectangle
P=100*10**3 //N //Axial thrust
w=10*10**3 //N //Uniformly Distributed Load
E=210*10**9 //Pa
//Calculations
A=b*d //m**2 //Area of strut
I=b*d**3*12**-1 //m**4 //M.I
m=(P*(E*I)... |
68e36e340e4227ca9e8b189dc696558018536aae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH6/EX6.18/EX6_18.sce | f0b30229a49e9d7dad0c0d2ab857c5bdb33856b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX6_18.sce | // Exa 6.18
format('v',6)
clc;
clear;
close;
// Given data
I_CBO = 3;//in µA
I_CBO= I_CBO*10^-3;// in mA
I_C= 15;// in mA
// But it is given that I_C= 99.5% of I_E, SO
I_E= I_C/99.5*100;// in mA
alpha_dc= I_C/I_E;
disp(alpha_dc,"The value of alpha_dc is : ")
disp(I_E,"The value of I_E in mA is : ")
|
9912540bc0a97919d18d5751bb2140d8687be9eb | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 6/MethodLeverrierFaddeev.sce | d2d359a1d5ab2f8214bcb8d1b43e365881841d75 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,699 | sce | MethodLeverrierFaddeev.sce | function [autovetores, autovalores, inversa]=MethodLeverrierFaddeev(A)
[l,c] = size(A)
I = eye(l,c)
B_i = eye(l,c)
C = 0 //armazena valores das matrizes Bk
autovetores = 0 //armazena autovetores associados
coef = 0 //armazena valores dos coeficientes p
coef(1,c+1) = 1
... |
53616b42026110d7dc597962ad478da2312a6234 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH11/EX11.3/Example11_3.sce | 7553031b62a9bf3d7947a2c3e7fcfb2e6ad5857d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 929 | sce | Example11_3.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 4: OVERHEAD LINE INSULATORS
// EXAMPLE : 4.3 :
// Page number 184
clear ; clc ; close ; // Clear the work space and cons... |
89d553584859f2ae914516a91ff7eb13e9526eab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH8/EX8.3/8_3.sce | b484b490293b64f63410a8203ea7cd297cbc6ec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 8_3.sce | clc
//initialisation of variables
d=750000//gpd per sq mile
v=0.22//ft
a=1.27//ft
q=0.30//ft
d1=365//days
p=0.25//ft
//CALCULATIONS
Q=q*a*d1//mg/sq mile
H=p*a*d1//mg/sq mile
//RESULTS
printf('the results obtained by normal analytical procedures and by Hazen s=% f mg/sq mile',H)
|
15a8916cd1c91439672802bb3dbd17aa4463888f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH9/EX9.4/Ex9_4.sce | fe670d1ae58d2a17bb11a3e10463ac5584bd22c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sce | Ex9_4.sce | //To calculate the values of Enthalpy and Entropy of Reaction
//Example 9.4
clc;
clear;
T=[872,973,1073,1173];//Temperatures in Kelvin
Kp=[1.8*10^-4,1.8*10^-3,1.08*10^-2,0.0480];//Equilibrium Constant
for i=1:4
x(i)=1/T(i);//Defining x-axis of the graph as x=1/T
end
for i=1:4
y(i)=log(K... |
2932b48179d892b7c49a4b2b0cefc7d6f2c6f6b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH7/EX7.17/Ex7_17.sce | fb52f8f3ffaaffd83f85648e26a95bc6240818a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Ex7_17.sce | clc
//initialization of new variables
clear
P=2000 //kg
a=4 //cm
b=1 //cm
d=7 //cm
r=3 //cm
// calculations
A=(a+b)/2*d
xbar=(a+b*2)*d/(r*(a+b))
rbar=r+xbar
I=b*d^3/12+r*d^3/12
Ixx=I-A*2.8^2
e=Ixx/(rbar*A)
f1=P*5.8*(xbar-0.62)/(A*0.62*r)
f2=P*5.8*(-d+2.18)/(A*0.62*(5.18+d-2.18))
str=P/A
Str_i=f1+str
... |
e4c99e60a50fb87feacebcc782ba92a260a38c36 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/peakdet_block.sce | ee3753609d1a098ef08db6dd01285e4b2091e02d | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 1,234 | sce | peakdet_block.sce | //************************* Peak Detector ******************************
if (blk_name.entries(bl) =='peakdet_block') then
mputl("# PEAK DETECTOR",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
cap_str= ".subckt peak_detector in[0]=net"+string(blk(blk_objs(bl),2))+'_'+ string(ss)+" in[1]=net" + string(blk(... |
ef2cbbb17d464fb9d3c4a38c2a3c2ec6dc4d60cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.16/Ex5_16.sce | 37712f1ac1aa756098cca8deb3cf448806034dcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,317 | sce | Ex5_16.sce | clear;
clc;
disp('Example 5.16');
// aim : To determine the
// (a) initial partial pressure of the steam and air
// (b) final partial pressure of the steam and air
// (c) total pressure in the container after heating
// Given values
T1 = 273+39;// initial temperature,[K]
P1 = 100;// pressure, [MN/m... |
11579c4984279195aa70e4d024a28daaab908751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH2/EX2.1/Chapter2_Example1.sce | 75371c726525cb2aed58c80674b712de3879ba72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,261 | sce | Chapter2_Example1.sce | //Chapter-2, Illustration 1, Page 55
//Title: Gas Power Cycles
//=============================================================================
clc
clear
//INPUT DATA
P1=0.1;//Pressure of air supplied in MPa
T1=308;//Temperature of air supplied in K
rv=8;//Compression ratio
q1=2100;//Heat supplied in kJ/kg
C... |
94ab3fa62230da6a48f2f7dd1d92af69889bc620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.32/Ex18_32.sce | 30d6cfbdfde8ba99136f0a1aa1df47f9d87391bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex18_32.sce | // scilab Code Exa 18.32 IFR turbine stage efficiency
// part(b)
R=0.48;
sigma_s=0.6;
n_n=0.92;
alpha_2=15; // air angle at nozzle exit(from tangential direction)
n_st=2*sigma_s*sqrt(n_n*(1-R))*cosd(alpha_2);
disp("%",n_st*100,"stage efficiency of the radial turbine is")
|
b2013f321f6d8bb4690e20f65202e3644c213618 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH5/EX5.1.b/5_1_soln.sce | 207cc39bc54ad546c08428ee582b3a43e66477a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | 5_1_soln.sce | clc;
pathname=get_absolute_file_path('5_1_soln.sce')
filename=pathname+filesep()+'5_1_data.sci'
exec(filename)
// Solutions:
// Volumetric Displacementis is given by,
Vd=(%pi/4)*((Do^2)-(Di^2))*L; //in^3
// Theoretical Flow rate,
Qt=(Vd*N)/231; //gpm
// Volumetric efficiency,
eta_v=(Qa/Qt)*100; //%
// Results:
printf... |
acda3bc9fa012d2915a412e1bbbcc70d0063fa52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH13/EX13.24/Example_13_24.sce | 53eef0a5a927abd03de72db0b5856909d5c2ae6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Example_13_24.sce | A=[0 1; -2 -3]
U=[1/s]
B=[0; 1]
phi=inv(s*eye(2,2)-A)
X=[1;1]
a1=ilaplace(phi(1,1),s,t)
a2=ilaplace(phi(1,2),s,t)
a3=ilaplace(phi(2,1),s,t)
a4=ilaplace(phi(2,2),s,t)
S=[a1 a2;a3 a4]
disp(S,"%e^(A*t) = ")
ZIR=S*X
disp(ZIR," ZIR = ")
k=phi*B*U
b1=ilaplace(k(1,1),s,t)
b3=ilaplace(k(2,1),s,t)
ZSR=[b1;... |
0a29206f1339c322cf597f6f0e7271612da0aa94 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /fuglaaRecoilFlicktrack.sce | 576c3b1a37a63f61e3360fee5204a4e86f6a5050 | [] | 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 | 29,377 | sce | fuglaaRecoilFlicktrack.sce | Name=fuglaaRecoilFlicktrack
PlayerCharacters=PUBG memer
BotCharacters=Botz Bot.bot;Botz Bot.bot;Botz Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=PUBG memer
AddedBots=Botz Bot.bot;Botz Bot.bot;Botz Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=aimbotzpubg.map
MapSca... |
10143c8616fb40f4218e33936e5f3f8fb1e634c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH16/EX16.9/example16_9.sce | 54843d893938e21013d3ed6e91366d9fed5ad056 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,357 | sce | example16_9.sce |
//example 16.9
//decide whether it is economically feasible to provide canal lining
clc;funcprot(0);
//given
li=2.5; //seepage loss for lined channel
p1=25; //wetted perimeter for lined channel
t=12; //thickness of concrete lining
lf=0.02; //seepage l... |
12b8e947863f644d032466646949753496f0b46b | d8cab241a02c8d06f859a4adbf2748d68c08d385 | /Integração_trapezio.sce | 285ee2d3e621a2f497ed44809c1d1ed36347dd86 | [] | no_license | eluire/CN | 6327b9619a6e00d2870912830393def2ca82b856 | e2027e0d20c549bb1a79ce830c6affcf4cbe1149 | refs/heads/master | 2021-09-16T07:13:23.367948 | 2018-06-18T10:51:21 | 2018-06-18T10:51:21 | 126,038,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Integração_trapezio.sce | clear
clc
n=99
b=3.2
a=1.8
soma=0
function y=f(x)
y=200 ./(x+8)
endfunction
h=(b-a)/n
x = a:h:b
y = f(x)
for i=1:n
soma=soma+y(i)+y(i+1)
end
result=(h/2)*soma
|
3fa27655022f58a464a292f0e3560919e6c8e94e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.4/exa_8_4.sce | e7caa113192e31047e4541a87babe881fe917bdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | exa_8_4.sce | // Exa 8.4
clc;
clear;
close;
// Given data
l=2.5;// in cm
l=l*10^-2;// in meter
d=1;// in cm
d=d*10^-2;// in meter
Va= 1000;// in volts
theta= 1;// in degree
// Formula tand(theta) = l*Vd/(2*d*Va)
Vd= 2*d*Va/l*tand(theta);// in volts
disp(Vd,"Voltage required across the deflection plates in volts")
|
ba6b4506cd01e26cd7445f5f1a20bc5f19e8e2d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.15/15.sce | a485872b64e3ddd414c003e6569f44338d35893b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | 15.sce |
//Variable declaration
N=1/60
e=1.6*10**-19
ni=2.5*10**13
b=5*10**13
E=2
//Calculations
n=(b+sqrt(2*b**2))/2
mu_p=N/(3*e*ni)
mu_i=2*mu_p
np=ni**2
p=(ni**2)/n
e=1.6*10**-19
E=2
J=(e*E)*((n*mu_i)+(p*mu_p))
//Result
printf('mu_p= %0.3f cm**2/V-s \n',(mu_p))
printf('n= %0.3f *10**13/cm**3 \... |
b73f3c5a44da535084ee8d5d21f0165e7fd26693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.13/EX8_13.sce | 8388f8054fd1092f4948a05d60c0f5ee7dba7f5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | EX8_13.sce | //EXAMPLE 8-13 PG NO-530
Fc=2000;
L=0.05;
C=1/(16*%pi*%pi*Fc*Fc*L)
disp('i) CAPACITOR (C) is = '+string (C) +' F ')
|
520ac263cb90820f82df4ef539fb9cad552d35b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH8/EX8.10/ex_8_10.sce | 4c96e34ff476863eeac4eaf693a22c25529275b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_8_10.sce | //Example 8.10;linear synchronous velocity
clc;
clear;
close;
f=50;//hz
t=0.5;//in meter
s=0.25;//
vs=2*f*t*(3600/1000);//kmph
vc=vs*(1-s);//kmph
disp(vs,"linear synchronous velocity in kmph is")
disp(vc,"vehicle speed in kmph is")
|
3ef65b42ce97cb96081051ce69a4e52dc3d00440 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/move_sci.sci | 6bd822942a25493a541146abab7072e963d2c658 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sci | move_sci.sci | // function result = move_sci(b,nonred,max_sci)
// Moves matrix b to matrix result with the information on where to move,
// decided by the indices of nonred.
// The matrix result will have as many rows as b has and max number of columns.
// b is augumented with zeros to have nonred number of columns;
// The... |
0a8fe165f65f2f1f95b7317cde866c49e53e9c26 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse/diffuse.sce | 176912c9f5d993ba7addc455c092ebf76418ca9e | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,878 | sce | diffuse.sce | function [mydiffuse]=mydiffuse(jobname,nsteps, nsubsteps, dt, in, concs, sources, sinks)
//diffusion system initial values
d=in(1);
n1=in(2);
n2=in(3);
n3=in(4);
h=in(5);
t0=0;
t=t0;
ddt=dt/nsubsteps
printf('sub steps: %d \n', nsubsteps);
//smat=zeros(4,nsteps)
for ii=1:nsteps
printf('... |
cd46211bba08c1a5814b790daa4ce5421aa99578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH12/EX12.11/Ex12_11.sce | 8cdc38a8e41b9344046a90746695a7cb0ce9ea9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex12_11.sce | clc
clear
//Initialization of variables
Do=2.375 //in
hi=1200
Di=2.067 //in
km=29.2
h0=1500
L=2.375 //in
t1=220 //F
t4=140 //F
//calculations
Re=Do/(Di*hi)
R0=Do/(Di*hi) + (Do/12 *log(Do/Di) /(2*km)) + 1/h0
td=Re/R0 *(t1-t4)
ti=t4+td
Req=1/h0
td2=Req/R0 *(t1-t4)
to=t1-td2
//results
printf("The tempe... |
9b1fa666779d8f1769f9f1c50cd0ef2d01b33f79 | d0a6d5d85ead04c9e381d2f60cc2409632e9b3be | /tests/ieee-subs.tst | 4aa0b179bef9be3d2c4fb98d25bba47f52601eed | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | imane1992/hercules-390 | 841d40e09d28827f24b19edf3c84f602af2a01b0 | 3f185e1a9b5ad526aef41eb48d566e5a5e90a500 | refs/heads/master | 2021-01-19T00:13:57.946438 | 2016-06-12T18:42:38 | 2016-06-12T18:42:38 | 61,064,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,887 | tst | ieee-subs.tst | *
*Testcase IEEE CONVERT FROM/TO FIXED 64 (6), SUBTRACT (5), 11 instr total
* SUBTRACT tests - Binary Floating Point
*
#
# Tests five subtraction instructions:
# SUBTRACT (extended BFP, RRE)
# SUBTRACT (long BFP, RRE)
# SUBTRACT (long BFP, RXE)
# SUBTRACT (short BFP, RRE)
# SUBTRACT (short BFP, RXE)
#
# ... |
ade15290ad5387af40b2f7da29a54efdae2c60bf | 44399e43f8dd4d0a7c8d41f5f407ee36ce8ab651 | /Biseccion2.sce | 0652eaa45c990bd6600b7f720a957c63001c74b4 | [] | no_license | BanderoChinoZF/MetodosNumericos_SciLab | e021c3f11e25f7216e0b2b3b015d0737e176edfa | eec9fcaa3ff226ca058f515d72b6558923421ad9 | refs/heads/master | 2022-11-13T12:33:03.241216 | 2020-07-02T07:00:42 | 2020-07-02T07:00:42 | 276,572,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Biseccion2.sce | //function fx = fun1(x)
// fx = x^3 + 2*x^2 +10*x - 20
//endfunction
function fun2(xi)
p = poly([-20,10,2,1],"x","coeff");
f = derivat(p);
//disp("f(x)= "+p);
disp("f(x)/dx ="+f);
fxi = horner(f,xi)
disp(fxi)
endfunction
|
611cbdaa94774e5b1be13f3e62f4f73d146740a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.18/Ex3_18.sce | e48fda98ad5bc3f231104c51eb8bf5f89d5ca79e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Ex3_18.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.18
//Data given in the Problem
b=5
d=1.2
A=b*d
dens=1000
g=9.81
//Calculations
h=5-0.6*sin(45/180*%pi)
F=dens*g*A*h
IG=b*d^3/12
H=IG/(A*h)+h //depth of centre of p... |
7dacbb1194c51ab69ed6522fbc7363acd61dcc06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.9/Exa_1_9.sce | 2ee44df2674c55e71f2a7f5292cefdde23c9c7ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | Exa_1_9.sce | //Exa 1.9
clc;
clear;
close;
format('v',7);
//Given Data :
Pmercury=10;//cm of Hg
Patm=760;//mm of Hg
Patm=1.01325;//bar
Pabs=1.2;//bar
sg_oil=0.8;
sg_water=13.6;
sg_mercury=13.6;
rho_w=1000;//Kg.m^3
g=9.81;//gravity constant
deltaP=Pabs-Patm;//bar
deltaP=deltaP*10^5;//N/m^2
//deltaP=rho_o*g*h_o
rho... |
4b4cacdc5d703cfed214cde1afa42536be04de48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH8/EX8.14.4/Ex8_4.sce | fe6a836d3aeb3e6837e4de55ecb39cd0ee7942f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Ex8_4.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 8:Junction Transistors:Biasing and Amplification
clc;
clear;
//given data
Rg=1*10^3; //internal resistance in ohms
Rl=20*10^3; //Load resistance in ohms
hie=1*10^3; //h parameter of the transistor in terms of ohms
hre=2.5*10^-4; //h param... |
7bba50c4af18f6f31c4c12792e5b26d205fc1922 | 717ddeb7e700373742c617a95e25a2376565112c | /854/CH3/EX3.1/Example3_1.sce | 757c1f4e10e94f7cde3c93417b2f5090f016b858 | [] | 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 | 492 | sce | Example3_1.sce | //clear//
//Caption: Program to find Electric Flux density 'D' of a uniform line charge
//Example3.1
//page 54
clc;
e0 = 8.854e-12; //free space permittivity in F/m
rL = 8e-09; //line charge density c/m
r = 3; // distance in metre
E = Electric_Field_Line_Charge(rL,e0,r); //electric field intensity of line charg... |
33fdc1bc47bd9699ff70e53f6dd47b8a23444fbe | c711f1c2ec6f58422bb04ec3b5227f34c623d872 | /visualizacion/func.sce | 9b1667e430636e32432534b0aaf7142cfe4b53a8 | [] | no_license | bleudp/machine-learning | 4150c37242964c79afaeba31ee1388de79204cab | 4281d6aeb32bcfe38c0b681f18b8fb50e4d0560d | refs/heads/master | 2022-03-22T16:31:56.444228 | 2019-12-31T20:16:39 | 2019-12-31T20:16:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sce | func.sce | function y=f(x)
y = (x^2+5*x+1)
endfunction
x=linspace(-1,8)
plot(x, f)
|
be40be5f1d923e453b685fffc2150f10ca1c5a29 | 717ddeb7e700373742c617a95e25a2376565112c | /1760/CH1/EX1.36/EX1_36.sce | 37aeb0b7fca4e419fd7b005e00f090bf317afd6d | [] | 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 | 786 | sce | EX1_36.sce | //EXAMPLE 1-36 PG NO-31
T=0.99425; //TIME
disp('i)Time = '+string (T)+' seconds')
X=0.37; //DERAVATIVES OF 'I' W.R.T
disp('ii)(di\dt) = '+string (X)+' A\sec')
LI=0.63; //CURRENT
dli=0.37; // deravatives of 'SI' w.r.t
disp('iii)(dsi\dt) = '+string (dli)+' Wb-turns\sec')
... |
f2f8cf9e0c99d3578204e6291b8430e519a91c01 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vdd_out.sce | abb7c8da6c0f512acea37b432535781369b45dfe | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sce | vdd_out.sce | //************************** VDD Out (Macro block) *****************************
if(blk_name.entries(bl)=='vdd_out') then
for ss=1:scs_m.objs(bl).model.ipar(1)
mputl("# vdd_out "+string(bl)+" "+string(scs_m.objs(bl).model.ipar(2))+" "+string(ss),fd_w);
mputl(".subckt vdd_out in[0]=fb_vddout_net"+st... |
267845dc7ea32d9586e455c307974c73cadf7a4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.9/Ex16_9.sce | 44ecead82289d55fb0ce5ca388847c62e52e8159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_9.sce | //Initilization of variables
M=70 //kg
ko=0.4 //m
ri=0.45 //m
ro=0.6 //m
theta=30 //degrees
m=35 //kg
g= 9.8 //m/s^2
//Calculations
I=M*ko^2 //kg-m^2
//Using Equations of motion
//Solving the equations by matrix method
A=[-1,-m*0.15,0;1,-M*ro,-1;-ri,-I,ro]
B=[-m*g;M*g*sind(theta);0]
C=inv(A)*B
F=C(3) //N... |
a592e3950ddeaea2d3d0efaca5995bcc6e5d0774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.6/Ex2_6.sce | 11a6cbc6b18f08f5c7b66ba2f01e388cf6dcb091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Ex2_6.sce | clear
//
//
//
//Variable declaration
n=4000 //number of lines/cm
lamda=5000*10**-8 //wavelength(cm)
k=3 //order
//Calculation
e=1/n
sintheta=k*lamda/e
costheta=sqrt(1-sintheta**2)
dthetabydlamda=k*n/costheta //dispersive power of grating
//Result
printf... |
c7d523940216cc70564bbb07a535292012d15158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.23/Example6_23.sce | 16cc2e459699b039ffb903db5115b015c8061fa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | Example6_23.sce | clear;
clc;
// Example: 6.23
// Page: 239
printf("Example: 6.23 - Page: 239\n\n");
// Solution
// *****Data******//
T = 298;// [K]
P = 10*10^5;// [Pa]
Tc = 126.2;// [K]
Pc = 34*10^5;// [bar]
R = 8.314;// [J/mol K]
//****************//
a = 27*R^2*Tc^2/(64*Pc);// [Pa.m^6/square mol]
b = R*Tc/(8*Pc... |
26c908662ceec899b8010cc77af6704868b53c4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH9/EX9.2/Ex9_2.sce | 2287a950abf6ce0fb986176ebc3bc08b1776c7c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,141 | sce | Ex9_2.sce | clear
//
//
//Initilization of Variables
L=2000 //mm //Length of square column
E=12*10**3 //N/mm**2 //Modulus of Elasticity
sigma=12 //N/mm*2 //stress
W1=95*10**3 //N //Load1
W2=200*10**3 //N //Load2
FOS=3
//Calculations
//From Euler's Formula
//P=%pi**2*E*I*(L**2)**-1 .........(1)
//Working Load
//W=P*(FOS)**-1
... |
4801697da843f6955d3178db892499a6b5246418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH11/EX11.3/example11_3.sce | 55940104696a669aa2ba603bc69c3d86c5b0d4a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | example11_3.sce |
//example 11.3
//page 422
clc; funcprot(0);
//initialisation of variable
P1=10;
P2=30;
T1=110+460;
k=1.4;//const
W=10;
Cv=0.157;//heat const
T2=T1*(P2/P1)^((k-1)/k);
H=W*Cv*(T2-T1);
disp(H,"Change in Enthalpy(Btu)=");
clear
|
89d06d168b4dcb4016b171e83d6ff98daa685fed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.27/Ex5_27.sce | 48350e81b46b47a6b0bf8e73baea3159104b08d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | Ex5_27.sce | //=================================================================================
// chapter 5 example 27
clc;
clear;
//input data
Hc1 = 1.41*10^5; //critical fields in amp/m
Hc2 = 4.205*10^5; // critical fields in amp/m
T1 = 14.1; //temperature in K
T2 ... |
7cf9e6099eebe5a187deecdbfb413add70062588 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP4/TP4.sce | 2157224f6d7be00451375e5fb1addcdf5ab53571 | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,467 | sce | TP4.sce | /*
Créateur: Jinshan GUO et Anais Debureaux
*/
exec(fullpath(pwd() + '\TP4.sci'),-1);
disp("===========Exo1-Factorisation de Cholesky===========");
A1 = [15 10 18 12;10 15 7 13;18 7 27 7;12 13 7 22];
[C]=cholesky(A1);
//Exo1_a
disp("Resulat_Exo1(a)_C=",C);
disp("Si A1 == A1'':", A1 == A1');
disp("Car A1... |
b7896109fb42208b5a7606db84c0d44cbc80042e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH15/EX15.8/Ex15_8.sce | b7e84a363eb7fab613fde5dc6e95b85cfd479ea6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex15_8.sce | // Exa 15.8
clc;
clear all;
// Given data
// Active notch filter
Fn=50; //Notch out frequency(Hz)
// Solution
disp(" Let C=0.047 micro farads");
C=0.047; // micro farads
R=1/(2*%pi*Fn*C*10^-6);
printf(' The value of R is calculated as %d k Ohms \n',round(R/1000));
disp("For R/2, two 68 k Ohms r... |
4dba52bdf6fe389e347d8b74d32024ae4953d0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH3/EX3.2/Ex3_2.sce | 7322ad9801b986e9fb6576a0a2b152dce6712166 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Ex3_2.sce | //Example 3.2
//Yielding Criteria for Ductile Metals
//Page No. 78
clc;clear;close;
sigma00=500; //in MPa
sigma_z=-50; //in MPa
sigma_y=100; //in MPa
sigma_x=200; //in MPa
T_xy=30; //in MPa
T_yz=0; //in MPa
T_xz=0; //in MPa
sigma0=sqrt((... |
735d883c4cd1cfc140266769cfdc6b83297f8569 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH11/EX11.1/EX11_1.sce | f9a178053b145c2a89c8e9f03e1a5d5087dfb0d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | EX11_1.sce | clc;funcprot(0);//EXAMPLE 11.1
// Initialisation of Variables
d=0.1;..................//Cylinder bore in m
l=0.12;................//Cylinder stroke in m
N=1800;..................//Engine rpm
d2=0.028;................//Throat diameter in m
Cda=0.8;................//Co efficient of air flow
etaV=0.75;................ |
ce72513e3d9a54ae4ece82668320782af4f579b9 | 717ddeb7e700373742c617a95e25a2376565112c | /2633/CH11/EX10.5/11_5.sce | e3a2e89cb5e78b211484b8c2b24cc95b9a8c01df | [] | 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 | 251 | sce | 11_5.sce | clc
//initialisation of variables
q=10//ft
a=4*%pi//ft
p1=q+2//ft
p2=62.5*a*p1//lbf
s=%pi/64*(4)^2+a*(p1)^2//ft^4
//CALCULATIONS
m=a*p1//ft^3
P=s/m//ft
F=p2*(P-q)/4//lbf
H=p2-F//lbf
//RESULTS
printf('the total hinge reaction=% f lbf',H)
|
2f160f7a3f8c836d483e61aff30001e26dc406ef | e4678000832d299b2f62fd1a09d7a5627b312b1d | /elk.tst | 25572b1bb52d40db9b6045dac7f1b9a21704e7b6 | [] | no_license | vengatc/Notes | e88c621deee3c3c4a3893d0ad58d8d6911829f89 | e603951a99af8a2f7c3ea64f5662dcda50f31d88 | refs/heads/master | 2021-09-24T09:54:25.646343 | 2021-09-21T05:06:54 | 2021-09-21T05:06:54 | 147,392,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | elk.tst | /elasticsearch
/kibana
/filebeat
logstash -f config/logstash.conf
|
623e8fe2db1256e8c9d46ca375a4fabb9e5aa7c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH7/EX7.9/example_9.sce | 15ce39129d568dd86b9102188aeaead3ded00968 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | example_9.sce | clc
clear
printf("example 7.9 page number 312\n\n")
printf("this is a theoretical question, book shall be referred for solution")
|
c603cd8e61e74f0de6a391d39a2688f6fababb81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH5/EX5.5/Ex5_5.sce | 36daf22c664431ae2a557af9a4335c6b4e5b10d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Ex5_5.sce | //Example 5.5//
x=1*10^-3;//m// Using the diffusivity from sample problem 5.3
D=2.98*10^-11;//m^2/s //arrhenius equations
a=0.95;//from the figure 5.11
d=(x^2)/((a^2)*(D))// calculating the value of d
mprintf("d = %e h",d)
b=1;//h //hour
c=3.6*10^3;//s //second
t=d*(b/c)
mprintf("\nt = %f h",t)
|
96d432cc1255eff4950856ec49a95be8b7f0e409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH3/EX3.26/Ex3_26.sce | 58d3991f936ff56bad9e695887f6f566d1476897 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex3_26.sce | //Caption:Find the voltage regulation
//Exa:3.26
clc;
clear;
close;
KVA=100;
Eff_max=0.98;
x=0.8;
pf=0.8;
P_o=x*KVA*1000*pf;//in watts
P_i=(P_o-P_o*Eff_max)/(2*Eff_max);//in watts
P_cu=P_i/x^2;
R_equ=P_cu/(KVA*1000);
Z_equ=0.05;
X_equ=sqrt(Z_equ^2-R_equ^2);
VR=R_equ*pf+X_equ*sqrt(1-pf^2);
disp(VR*100,'V... |
aba685802ccc0623bc08533ad7c06d387e4fb5e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.13/Ex17_13.sce | c4c9b06a0eb091c60f7fae6d6d30985150831533 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Ex17_13.sce | clear
//Given
u=-240.0
R=15.0 //cm
u1=1.33
u2=1.5
//Calculation
v=1/((((u2-u1)/R)+(u1/u))/u2)
//Result
printf("\n Position of the image is %0.0f cm",v)
|
5726b1e0b78aa377a001a251424e66bcc36824ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.2/7_2.sce | 8501800c614d3a2a600098e06ff26ad82bde4db3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | 7_2.sce | clc
//initialisation of variables
t1=26 //temp in degrees
t2=32 //temp in degrees
pvs=0.033597 //pressure in bar
ps=0.047534 //pressure in bar
p=1.013 //pressure in bar
a=6.6*10^-4
//CALCULATIONS
pv=pvs-(p*a*(t2-t1))
w=(0.622*pv)/(p-pv)
phi=pv/ps
//RESULTS
printf('specific humidity is %2fkg/kg of da',w)
p... |
b88c10eedc190d1548ee8c3cf8531502d3e1dcfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH5/EX5.4/Ex5_4.sce | f01c0b0672dd73aefbd0bceb850d59a67062aec9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | Ex5_4.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 5 : DIRECT CURRENT MOTORS
// Example : 5.4
clc;clear; // clears the console and command history
// Given data
I = 40; // current in A
V_t = 230; // supply in V
N = 1100; // speed in... |
75aa27f48783ac66677280abc6803ef7932ce4af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH8/EX8.3/8_3.sce | a45569f7b6d8ccde89d921b64a066dea5015674d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | 8_3.sce | clc
//initialisation of variables
d= 3 //in
P= 2000 //psi
s= 20 //strokes
//CALCULATIONS
Cl= s*d/2
F= P*%pi*d^2/4
stl= (Cl-40)/10
//RESULTS
printf ('length of the stop tube= %.f in',Cl)
printf (' \n thrust on the rod= %.f lb',F+3)
printf (' \n Stop Tube length= %.f stl',stl)
|
c14b0cccb14cebc98831c224388052ae49d4fc1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.10/Ex3_10.sce | a25fea531bca33e84d6899936fa4f8eb0ba1660c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex3_10.sce | //tension in the cable and reaction at a point
//refer fig. 3.21 (a),(b)&(c)
//Taking moment about A we get
T=((25*12*cosd(30))+(10*6*cosd(30)))/(12*sind(15)) //kN
//applying equilibrium conditions
HA=T*cosd(15) //kN
VA=10+25+T*sind(15) //kN
RA=sqrt(HA^2+VA^2) //kN
alpha=atand(VA/HA) //degree
printf("tens... |
a40cd5a61ad607929db7d2aeb52befe36813f39e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH9/EX9.7/Ex9_7.sce | 00df35c499a18668d1b173566b7ab8031cd0d004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,022 | sce | Ex9_7.sce | // Given:-
// Part(a)
etareg = 0.8 // regenerator effectiveness of 80%.
// From example 9.4
h1 = 300.19 // in kj/kg
h2 = 579.9 ... |
90f550a4cfa5cab67cb7c8a00a06b2a9e521243f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.30/ex_4_30.sce | 3478057bced54d1d0e49a2810f80ae636fe4ed0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | ex_4_30.sce | //Example 4.30//illumination on surface
clc;
clear;
close;
format('v',6)
ef=17.4;//in mumens/watt
dp=1.2;//depreciation factor
wlf=1.3;//waste light factor
uf=0.4;//utiliazation factor
l=50;// in meters
b=16;// in meters
n=16;// no. of lamps
lw=1000;// mscp in watts
a=l*b;//arean in m^2
tl=n*lw*ef;///total lumens
lwp=(... |
0c297421dc0711c4078dc97e4eff68d987ace87d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH9/EX9.3/Ex9_3.sce | 24e62220c05cf9310491b80a21012154f2d75831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Ex9_3.sce | //Example 9.3
g=9.80;//Acceleration due to gravity (m/s^2)
F_o=45*g;//Combined weight of wheelbarrow and load, m*g, (N)
l_o=7.50*10^-2;//Output lever arm (m)
l_i=1.02;//Input lever arm (m)
F_i=F_o*l_o/l_i;//Force to be exerted (N)
printf('a.Upward force to be exerted = %0.1f N',F_i)
N=F_o-F_i;//Normal force (N)
... |
2edfcf28271e554efc005266f66e5d20b6b806e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.24/example11_24.sce | 0e1ae4458cabb1cbcd437604893e33c89c7113c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | example11_24.sce | clc
// Given that
v = 1.8e8 // velocity of space ship away from the earth in m/sec
v1 = 2.1e8 // velocity of rocket w.r.t. space ship away from the earth in first case in m/sec
v2 = -2.1e8 // velocity of rocket w.r.t. space ship away from the earth in second case in m/sec
// Sample Problem 24 on page no. 11.27
printf(... |
b7efe846283a62adf4d675b0a803d2e5a3308416 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_getlimitlistbox.sci | 87ed84477cfcbb11e496daf989b60b80295904c3 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sci | kiks_gui_getlimitlistbox.sci | function [] = kiks_gui_getlimitlistbox()
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
gl... |
b837792b25db79b8aa3bb888a6860192a9e97ff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH22/EX22.10/Ex22_10.sce | e32a4103b9ea3b813bbf74d08490d285826c067f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | Ex22_10.sce | clear
//Given
d=2*10**-3 //m
l=5000*10**-10
//Calculation
Z=d**2/l
//Result
printf("\n Fresnel Distance is %0.3f m",Z)
|
789334b6aadd00d95a209f127c0f02200e15d512 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.33/4_33.sce | 30022f8d5079d13df2d520b2ec162b58b935f0e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | 4_33.sce | function [x,y]=polar_to_cart(r,theta)
theta=theta/180*%pi
x=r*cos(theta)
y=r*sin(theta)
endfunction
[Ir,Ic]=polar_to_cart(3,30)
I=complex(Ir,Ic)
Zc=-5*%i
Zrl=10+5*%i
Ic=Zrl/(Zc+Zrl)*I
Vth=Ic*Zc
Zth=(Zc*Zrl)/(Zc+Zrl);
In=Vth/Zth
disp(Zth,In,Vth) |
d8d343400e15ba68b548e542ad500daf1a150b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH4/EX4.3/Ex4_3.sce | d4cf7308d13358f1d6e0266f2f0765e188bec2fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | Ex4_3.sce | //Ex4_3
clc
ID=10*10^(-3)
disp("ID = "+string(ID)+" ampere") // given drain current
VDD=(24)
disp("VDD= "+string(VDD)+" volts") // Drain voltage
VT=(5)
disp("VT= "+string(VT)+" volts") // Threshold voltage
VGS=(10)
disp("VGS= "+string(VGS)+" volts") // gate to source voltage1
KF=ID/(VGS-VT)^2
disp("KF =... |
946446986756f9341d157f1f0a2cf025e83e0585 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.9.c/9_c.sce | c8d78e3e6a9195ed13fc29c7eea4e3e995eeea3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 9_c.sce | //decimal to binary conversion//
//example 9.c//
clc
//clears the command window//
clear
//clears//
//decimal to binary conversion//
a=dec2bin(624)
disp('binary equivalent of decimal number:')
disp(a)
//answer in binary form//
|
b39586b808d465f06adf686770faf5e2dd323b22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH41/EX41.1/Example41_1.sce | 2c55503452fb5d309837925acd8c11cc8d59b43f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Example41_1.sce | //Given that
Bdot = 1.4/10^-3 //in T/m
w = 3.5*10^-2 //in m
v = 750 //in m/s
M = 1.8*10^-25 //in kg
u = 9.27*10^-24 //in J/T
//Sample Problem 41-1
printf("**Sample Problem 41-1**\n")
Fz = u*Bdot
a = Fz/M
t = w/v
d = 0.5*a*t^2
printf("The atoms have been deflected %e m", d) |
7f2846fb548bd89333a67b774ce7f084bc91923d | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/merge.tst | 1c284a149eacc9c7ee592f82c88e75fa05558baf | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 140 | tst | merge.tst | ## Testing merge and unmerge commands
set echo
read <sample1.fi
:31 inspect
:31 unmerge
:31 inspect
:29 inspect
:25,:29 merge
:29 inspect
|
3aa35283ca99877b5cf2507178cf527db3b09c55 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH10/EX10.13/Ch10Ex13.sce | afbe78a2c28c10d2c3233d2a755cb7f8d8a8ca15 | [] | 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 | 396 | sce | Ch10Ex13.sce | // Scilab code Ex10.13: Pg.468 (2008)
clc; clear;
e = 1.602e-19; // Electronic charge, C
h = 6.616e-34; // Planck's constant, J-s
V = 1e-06; // Applied voltage, V
f = 2*e*V/h; // Frequency of Josephson current, Hz
printf("\nThe frequency of Josephson current = %5.3e Hz or %5.1f MHz", f, f*1e-6);
//... |
a953620196c33ae808949bfad418c8859f42e182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH9/EX9.2/ex9_2.sce | 1388fe4bf7e7169ac1662a761a22942281a7e7fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | ex9_2.sce | //Wired Digital Communications : example 9-2 : (pg 407)
m=10^7;
Pe=10^-6;//error probability
a=m*Pe;//average number of errors
printf("\naverage number of errors = m*error probability(Pe) \n= %.f",a);
mprintf("\n%.f expected bit errors if %.f million bits are recieved",a,a); |
2f347431075606919b6d9d0adf5b74fdf9a5c00f | 5d1fb7124962d54cfee54c049f53f3b0361c2e0f | /generated_data/well_separated_linear.tst | a73c5adcdc4197034ee5c8f49a60c7679c757e37 | [] | no_license | abarthakur/ensemble_combination | cb2a1b1b67d85b88e652e8c6babc284cc879ce68 | 1fae79425a09e77f23400a0fe7753c09bc8df327 | refs/heads/master | 2022-06-03T06:44:40.995592 | 2020-05-01T16:54:58 | 2020-05-01T16:54:58 | 109,000,598 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33,560 | tst | well_separated_linear.tst | 0.121316279056,-0.0520662009239,0.0
0.0212665809512,0.024814851349,0.0
0.841660045252,1.15600053776,1.0
0.483559904975,-0.021030787356,0.0
0.366006079412,0.362502188806,0.0
1.50480248433,1.06301683301,1.0
1.26089281058,0.766287561308,1.0
0.338906265203,-0.265309151646,0.0
-0.241058152145,0.471457386198,0.0
1.8550174524... |
735aa2661a17608f08d57deb4e13f4e1f483404b | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH24/EX24.3/Example24_3.sce | efcad7c20cfaf8c0b3eb39677112a95c6d1cb886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,396 | sce | Example24_3.sce | clear ;
clc;
// Example 24.3
printf('Example 24.3\n\n');
//page no. 728
// Solution Fig. E24.3
// Given
m_CO2 = 10 ;// mass of CO2 - [lb]
Ti_CO2 = 80 ;// Initial temperature of CO2 - [degree F]
Vi = 4.0 ;// Initial volume of CO2-[cubic feet]
f_CO2 = 40/100 ;// Fraction of CO2 that convert to liquid finally
s_Vi ... |
6eae4028e70ea613e37c416e18b819d200828344 | 717ddeb7e700373742c617a95e25a2376565112c | /1922/CH1/EX1.1/1_1.sce | 602c4f795113dd61f0e7fd53c61f534ea09e9aa5 | [] | 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 | 278 | sce | 1_1.sce | clc
clear
//Initialization of variables
P=2050 //kPa
T=700 //K
E=10 //J
//calculations
Pe=P*10^3 *0.3048^2 /4.4482 /144
Te=T*1.8-460
Ee=E*10^8 /(1055.1)
//results
printf("Temperature = %d F",Te)
printf("\n Pressure = %d lbf/in^2 ",Pe)
printf("\n Energy = %.3e Btu",Ee)
// tets |
4a10fdbf308a37fcf8531beb004769c97ba5899b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH7/EX7.6/7_6.sce | fe59ca48137430644cd4300d3f855789d456031b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | 7_6.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 7.6
//calculation of the speed of vehicle on the turn
//given data
r=10//radius(in m) of the turn
theta=10//angle(in degree) of the bank
g=9.8//gravitational acceleration(in m/s^2) of the earth
//calculation
v=sq... |
9a2eb0a048bd27aacaf4c87c6e1c96f1a5bd3ec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH5/EX5.4/example5_4.sce | f0bad3504331fefc0540b63f4e9cf1e16c49b886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,266 | sce | example5_4.sce | // To establish Operating Point & Stability Factor
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 5-4 in page 238
clear; clc; close;
// Given Data
beta_bjt=50; // Beta Gain of the BJT circuit
Vbe=0.7; // Base-Emitter voltage of BJT in V
Vcc=2... |
d729e6e41b7ceb095024532f4303cc6811e3188a | db47620eb918b5ba167a04b7de7005091a4f6402 | /S1/AN_TP/ResolutionGauss.sce | 49cba17fa08344af9a08f39a9f643700b1aa335b | [] | no_license | ZeyuC/ENSIIE | 04d13b3919084cac12d74dc9ca0fc7bd8bbb7d46 | c628c467de1ed91bf9eeb850b67717e5eb2697eb | refs/heads/master | 2021-04-15T08:15:16.823938 | 2019-04-09T08:06:39 | 2019-04-09T08:06:39 | 126,695,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ResolutionGauss.sce | //fonction : 'ResolutionGauss'
//paremetre : A une matrcie ,b,un vecteur de reel
//retour ; x un vecteur de reel
function [x]=ResolutionGauss(A,b)
[At,bt]=trigGauss(A,b);
x=solsup(At,bt);
endfunction
|
bfdc5bc39b0c8459d437e32c0bcd0501c7dfa8f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH4/EX4.5/4_5.sce | 9191822e2c6ee781895de48bcb6dafbe00776024 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,611 | sce | 4_5.sce | clear;
clc;
printf("\t\t\tExample Number 4.5\n\n\n");
// sudden exposure of semi-infinite solid slab to convection
// illustration4.5
// solution
alpha = 8.4*10^(-5);// [square meter/s] constant
Ts = 200;// [degree celsius] initial temperature of of slab
Te = 70;// [degree celsius] environment temperature
k... |
a770f163cf27c0efee242dbea9408c5c262a3172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH7/EX7.2/Ex7_2.sce | 94372d1dc0d6a8d41ba15f9d9503edbad5a24654 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Ex7_2.sce | clc;
clear;
Nd=2.01*10^7 //Doping level of n-type silicon in cm^-3
Nc=2.8*10^19 //in cm^-3
e=1.6*10^-19 //in J
epsilon_r=11.7 //in F/cm
epsilon_0=8.85*10^-14 //in F/cm
slope=6*10^13
Vbi=0.45 //in V
Const=0.026 //constant for kT/e in V
//Calculation
Nd=2/(e*epsilon_r*epsilon_0*slope) //in cm^-3
phi_n=Cons... |
18898af881e7031b94418ae58436b87a5c47252b | 19ab1125bc636cc70f042f43473be7b74961928f | /machine_projects/readme.tst | e3eb3f4575aec879ab6f27fb55026aced9eafdb6 | [] | no_license | jytesaluna19/progcon | 243d9eb7008225842380f98b5b680e9992ee9740 | 4ddde984fc29cde417fd6441a55458d99346e7f0 | refs/heads/master | 2020-08-29T22:23:43.473593 | 2020-01-23T04:48:16 | 2020-01-23T04:48:16 | 218,189,037 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | tst | readme.tst | welcome to my machine projects
M1 - Adding Two Numbers
M2 - Getting the Area of a Circle using Radius and Diameter
M3 - Odd and Even Number Identifier
|
77021245ab1f53192f5c2b00298970e511c2abb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.11/ex8_11.sce | 9ebcfa114506d4b5d0c4ea6f0a5e688723f695b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sce | ex8_11.sce | //Page Number: 8.12
//Example 8.11
clc;
//We use, F=(F1+(F2-1)/G1)
//Given
FA=1.5;
GA=10, //dB
GAA=(10^(GA/10));
FB=3; //dB
FBB=(10^(FB/10));
GB=15, //dB
GBB=(10^(GB/10));
//Case 1: Amp A followed by Amp B
F11=FA;
F12=FBB;
G11=GAA;
F1=(F11+(F12-1)/G11);
disp(F1,'Gain when Amp A followed by... |
c47fc5bc943d3f4e3ac8022c4dbfb93acaeeff9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.12/13_12.sce | b33b5196687b5f0fe241714a27784ca444941de7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,031 | sce | 13_12.sce | //pathname=get_absolute_file_path('13.12.sce')
//filename=pathname+filesep()+'13.12-data.sci'
//exec(filename)
//Initial pressure(in bar):
p1=14
//Initial temperature(in K):
T1=400+273
//Number of nozzles:
N=16
//Final pressure(in bar):
p2=10
//Discharge(in kg/s):
m=5
//Nozzle efficiency:
nn=0.90
//Inlet... |
b6a450e946a8a7ede652a646da9600ff1e9887f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH5/EX5.5/Ex5_5.sce | 77ce0a2a5e4f2568b5a304f80522e1c40f21b208 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | Ex5_5.sce | //Example 5.5, Page Number 209
//Threshold Current Density
clc;
//For GaAs Junction
l=0.84*(10**-6) //Wavelength in meter
w=1.45*(10**13) //Linewidth in Hertz
y=3.5*(10**3) //Loss Coefficient per meter
n=3.6 //Refractive Index for GaAs
q=1 //Quantam Efficiency
le=300*(10**-6)//Length in meter
d=2*(10**-6) //i... |
4c2a7ef2850ac8b89ab111cb3391f3197fb35d5a | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostDistanceKCD/Justin/JustinHri/Bateau.sce | efb88e10b2bb3b79d73c01d6ac28f1531940c63a | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,934 | sce | Bateau.sce | #************************************************************
# Scenario of Test
#
# date : Thu Nov 13 19:08:05 2008
#************************************************************
p3d_sel_desc_name P3D_ENV Test
p3d_sel_desc_name P3D_ROBOT superman
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000... |
15554f105922f5c5b63bc3daa4911b640da3c8b6 | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/medianblur.sci | 7f2b6c5c1b4358f7cd1943fc7b1717da405c732c | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sci | medianblur.sci | //Function migration (image list to matrix) for: medianblur
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = medianblur(varargin)
select length(varargin)
case 02 then
res = il2mat(raw_medianblur(mat2il(varargin(01)), varargin(02)))
else
error(39)
end
endfunction |
766d7a76b8d6dd892a327a476dfb719c7a76ac8e | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Fireworks Flick Small.sce | 6a6737652af94ed975365d6c2f688612ab375449 | [] | 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 | 32,461 | sce | Fireworks Flick Small.sce | Name=Fireworks Flick Small
PlayerCharacters=player_char
BotCharacters=fireworks_target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_char
AddedBots=fireworks_target.bot;fireworks_target.bot;fireworks_target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=fireworks_flick.map
MapScal... |
817b155fba55e611f5f70da617fcece0877eb751 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLRound-NZ-01.tst | 6aea5f7e2c857b98c8e2353db8f265dd9fbfa5b0 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,370 | tst | FLRound-NZ-01.tst | -- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-- and may be covered by U.S. and Foreign Patents, patents in process, and are protec... |
d39553051e99b8b70977f9de0155ee501e47cb00 | 59ca8642f974b397e1747edc1015fce8b8e6c59f | /biseccion.sce | af30ad80bdc612aee20fa763c1dbe89a629f5e53 | [] | no_license | mcortex/scilab-code | c6a367b216e531d0ebe3cda5d4a84156b23d2085 | 2709299d60d9e72294b274773bdadb4126a25ba9 | refs/heads/master | 2020-05-26T05:49:42.441734 | 2019-12-06T02:06:49 | 2019-12-06T02:06:49 | 188,126,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,304 | sce | biseccion.sce | function y=f(x)
//y=x^2-7
//y=x^4-2*x^2-12*x+16*x-40
//y=cos(x)-x
//y=(x.*cos(x))./(log(x))
//y=2*x-%e^(-x)
//y=%e^(-2*x)+x-1
y=x^3-7*x^2+14*x-6
//y=x^2-1
endfunction
//Grafico f(x)
x=-10:0.1:10;
plot2d(x, f(x));
//muestra grilla
xgrid(3,1,7);
//Pedir datos al usuario
//clc()
//a=input... |
36cf29a3665423929dfbdea2c28db01a1ece0b37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.27/example5_27_TACC.sce | eaaa9e10f4fd36997ed52d3af0dafbfe02fa974e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_27_TACC.sce | //example 5.27
clear;
clc;
//Given:
P1=101.3;//Initial Pressure[KPa]
P2=60;//Final Pressure[KPa]
He=31.8;//Enthalpy of vaporization[KJ/mol]
R=8.314;//Universal gas constant[J/K/mol]
T1=353.2;//boiling point of benzene at 101.3KPa[K]
//To find the boiling point of b/enzene at 60KPa
x=(T1^-1)-(R*0.001*log... |
abc68d54faf0927d28e865530c4b467163b4f40e | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH5/EX5.4/ex5_4sce.sce | fb46ec38b9a5729b3064aa6d5fd202c5fa1347fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | ex5_4sce.sce | clc;clear;
//Example 5.4
//Mass spectrograph, calculation of linear separation of lines formed on photographic plates
//given values
E=8*10^4;//electric field in V/m
B=.55//magnetic induction in Wb/m*2
q=1.6*10^-19;//charge of ions
m1=20*1.67*10^-27;//atomic mass of an isotope of neon
m2=22*1.67*10^-27;/... |
77b4767662910a7b602f214fef50caefc046c889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH8/EX8.7/ch8_7.sce | f31f4c697e94bbd83a8ad564963cba7f0a3eec63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,097 | sce | ch8_7.sce | clc;
clear;
printf("\t\t\tChapter8_example7\n\n\n");
// Determinion of the convection coefficient about the ice cube
// properties of air at (0 + 70)/2 = 35°F == 495 degree R from appendix table D1
rou= 0.0809; // density in lbm/cu.ft
cp=0.240; // specific heat BTU/(lbm-degree Rankine)
v= 13.54e-5; // viscosity in s... |
8c181c1c4af761151213137de2a8290c4be25c59 | 505dbe6f806a6e0354b4f1f2326dc36f01fbe3e0 | /S3/Proba-Stats/meth_simpson.sce | 25507499d8b97fa472b3f21e55ca35ad608587b3 | [] | no_license | MalikZouhiri/DropIUT | 5d1dea760cc1114114a2caf0bab1701e9adc815b | 1ae2cdd14f10182dbe6d0b2546e452851076591f | refs/heads/master | 2020-06-05T06:20:05.109658 | 2015-01-23T06:04:33 | 2015-01-23T06:04:33 | 29,574,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | meth_simpson.sce | //n=10
//a=0
//b=1
//h=(b-a)/n
//x=a:h:b
//y=x**2
//k = (1:1:n-1)
//l = (0:1:n-1)
//yk = (a+(k*(b-a)/n))**2
//yl = (a+((2*l+1)*(b-a)/2*n))**2
//res=((b-a)/6*n)*(a**2+b**2+2*sum(yk)+4*sum(yl))
//Correction :
n=10
a=0
b=1
h=(b-a)/n
x1 = a+h:h:b-h // (b-a)/n = h, on remplace donc et on a f(a+kh)
y1=x1**2
S1 = sum(y1)
x2... |
46f263c6768f3eba8485a9989452c661895c716d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.13/exp_4_13.sce | c53ceaa774a4fc85dfa6b862b16a978046d0c3cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exp_4_13.sce | clear;
clc;
Vs=1.02;
Vr=0.9;
Z=.1;
anglez=80;
Cs=(Vs^2)/Z*exp(complex(0,80));
Cr=-(Vr^2)/Z*exp(complex(0,80));
radius=Vs*Vr/Z;
Pms=((Vs^2)/Z*cosd(anglez))+(Vs*Vr/Z);
dels=180-anglez;
Pmr=-(((Vr^2)/Z*cosd(anglez))-(Vs*Vr/Z));
Ps=((Vs^2)/Z*cosd(anglez))-(Vs*Vr/Z*cosd(anglez+15));
Pr=-(((Vr^2)/Z*cosd(anglez))... |
14fc6a122f63af4f10d3007afd1e02ec97b652f2 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P3 - Non-linear equations /Ejercicio 3.sci | 9a92deeff57f4535f38fdfadd2feccf25a65130a | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sci | Ejercicio 3.sci | function y=fea(x)
y=x^2/4 - sin(x);
endfunction
function [p1,err,k,y]=secante2(f,p0,p1,delta,max1)
//Datos:
// f función
// p0 y p1 son aproximaciones iniciales a un cero de f
// delta : tolerancia , como son números pequeños uso el mismo para todo.
// max1 es el número máximo de ... |
69e83a5fa4bf3231816e0fca35f4b39ce76507a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH25/EX25.7/7.sce | 8bd97e7b2d669148f943bacb01e30941381db78a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 986 | sce | 7.sce | clc; funcprot(0);
//Example 25.7
//Initializing the variables
Vo = 25.3; //Outlet velocity
D = 10 ; // Mean hydraulic diameter
f = 0.008; // friction factor
X = 1000; // Length of road
P = 12600; // Absorbing power
Va = 300; // Tunnel air flow
... |
34c45e2e376f4789f8dd6c56171c7e7c3c494174 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/TANBLK_f.sci | 5f8f2779b763f99329eb5fe987cb26b20300a831 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,064 | sci | TANBLK_f.sci | function [x,y,typ]=TANBLK_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
[graphics,model]=arg1(2:3); [orig,sz,orient,label]=graphics(1:4)
// dly=model(8)
xstringb(orig(1),orig(2),['tan'],sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutpu... |
b7a2d71575c792557c2fc8b6289d2338e9f1fde6 | 6b778fe7ce057aaef2abb8bcf50d716047b597b0 | /test/issue252.tst | 0dadcdf28d5c92d244062a15154e28756904587b | [
"Apache-2.0"
] | permissive | grobian/carbon-c-relay | a9cfa93e51afca31df8fbb3f0115e4678e0502ca | 741937387d08e877d3c28583a7c453c99bf506f1 | refs/heads/master | 2023-07-04T23:29:37.333774 | 2023-01-26T15:27:39 | 2023-01-26T15:27:39 | 15,357,351 | 368 | 132 | Apache-2.0 | 2022-09-16T07:03:46 | 2013-12-21T10:33:29 | C | UTF-8 | Scilab | false | false | 39 | tst | issue252.tst | collectd.test_host.cpu.42.percent.idle
|
31062acd7680c60e19670b26b72e1ac06d01a429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH8/EX8.6/8_6.sce | a2d5f19579fb10f2837865aa8408015545a483ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 8_6.sce |
V1=1
V2=1
I1=0.0225/0.325*V1
VN=I1/(0.2+0.025)
I2=-0.2*VN
Y11=I1/V1
Y21=I2/V1
I2=0.025/0.325*V2
VM=I2/(0.1+0.025)
I1=-0.1*VM
Y12=I1/V2
Y22=I2/V2
A=[Y11,Y12;Y21,Y22]
printf("\nA=")
disp(A) |
42cac53a38fc8c0e71ab152552bb3729c9ef8f14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH2/EX2.4/Ex2_4.sce | 29263b46821e79146a346648bc9455e55e22ed6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_4.sce |
clc
//Variable declaration
h=2
k=2
l=0
a=450
//Calculations
d=a/(sqrt(h**2+k**2+l**2))
//Result
printf('d(220) =%0.3fpm\n',(d))
|
b59d0371930b961e491f1bd9cb6a328d5be43b01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.24/ex1_24.sce | d52d4428d38aca58ffa938923581db289eba37ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ex1_24.sce | // Exa 1.24
clc;
clear;
close;
// Given data
V_S = 2;// in V
R = 100;// in ohm
I_D = V_S/R;
I_D = I_D * 10^3;// in mA
disp("Part (a)")
disp(I_D,"The diode current in mA is");
V_K = 0.7;// in V
I_D1 = (V_S-V_K)/R;
I_D1 = I_D1*10^3;// in mA
disp("Part (b)")
disp(I_D1,"The diode current in mA is");
R_f = 3... |
2ce18d85dc17233919277dc419b26e6bc8c33957 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.18/7_18.sce | c07cd7ccfb994b9937f64a4f86ad49c87065242d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | 7_18.sce | clc
clear
//Input data
A=450;//Area of indicator diagram in mm^2
l=60;//Length of indicator diagram in mm
s=1.1;//Spring number in bar/mm
d=0.1;//Diameter of piston in m
L=0.13;//Length of stroke in m
N=400;//Operating speed of the engine in rpm
//Calculations
Av=A/l;//Average height of indicator diagram in... |
57971fdc475290b4c33dda151e83f13421f900c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH23/EX23.2/ex_23_2.sce | 5545308161fea0824980289b69c662281cba7967 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_23_2.sce | //find
clc
//solution
//given
d=6//mm
Do=75//mm
t=350//N/mm^2
G=84*1000//N/mm^2
D=Do-d//mm
C=D/d
//let W be axial load
//neglecting curvature
Ks=1+(1/(2*C))
//t=Ks*[8*W*D/(%pi*d^3)]//N/mm^2
W=(t*%pi*d^3)/(8*Ks*D)
printf("load acting is,%f N\n",W)
dpt=8*W*D^3/(G*d^4)//deflection per turn//mm
printf("def... |
8f1ebd20355efe4e7e4fb788e8a9ff1631338650 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/io_info/io_info_rasp30a.sce | 123c04542196d0b24562868b70d48d7a7fb6bc94 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 6,036 | sce | io_info_rasp30a.sce | //********** 3.0a **********
dac_loc(2,1).entries(1)= '0 8 3 #int[3]'; dac_loc(2,1).entries(2)= '0'; //DAC0
dac_loc(2,2).entries(1)= '0 8 4 #int[4]'; dac_loc(2,2).entries(2)= '1'; //DAC1
dac_loc(2,3).entries(1)= '0 8 5 #int[5]'; dac_loc(2,3).entries(2)= '2'; //DAC2
dac_loc(2,4).entries(1)= '0 9 0 #int[0]'; dac_loc(2,4)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.