blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ab5b439c1721f88f2561b97c4532d239cba08aab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.21/Chapter2_Example21.sce | 8cb5a22c32f1fcfd476f94b680a141ea318da618 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Chapter2_Example21.sce | clc
clear
//INPUT DATA
//H2+ 0.5(O2+3.773 N2)= H2O+1.887 N2 ;//CHEMICAL EQUATION
//22.3 H2 +18.606 O2 +70.2 N2 = 22.3 H2O+ 7.44 O2+70.2 N2 ;//EXHAUST GASES CHEMICAL EQUATION
//CALCULATIONS
xs=2*1/(0.5*32+0.5*3.773*28);//air fuel ratio From the combustion equation
xa=(1*2)/(0.8343*32+3.148*28);//air fuel ratio ... |
4328e2742189c60da537ec0227f9653caaa413c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.33/ex2_33.sce | e12b7e7ecdebf9d54064be18af41fd8345467fed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | ex2_33.sce | clc
V=150+180*%i; //Assigning values to parameters
I=5-4*%i;
Z=V/I;
disp("Ohms",Z,"Impedance");
[Ro,Theta]=polar(Z);
P=V*I*cos(Theta);
[r,t]=polar(P);
disp("Watts",r,"Power consumed"); |
7434fc1534768b8664e8f4caf8bcd0c82da03023 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH5/EX5.2.7/5_2_7.sce | 22bd3253e63693cae636f47039634e469ca6b100 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | 5_2_7.sce | disp('To find the eigenvalues of matrix A.')
disp('A=')
a=[5 3;-4 4]
disp(a)
disp('Eigen values of A are:')
disp(spec(a))
disp('Hence, A has no real eigenvalues.') |
e689e6eec3edcbe85437bbedb649c94b028ea699 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/blackman/blackman3.sce | 37747b2bd3db39cb5b7478cb0e10e3b9e4383c6c | [] | 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 | 117 | sce | blackman3.sce | //
x=[4];
b=blackman(x);
disp(b);
//output
//- 1.388D-17
// 0.63
// 0.63
// - 1.388D-17
//
|
79e4a0c40bbb03a88e86eda876b0b1dcb9690d1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH9/EX9.3/Chap9_Ex3_R1.sce | 1d5ec83fe79876e43a46db67be66262b65259049 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,234 | sce | Chap9_Ex3_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-9,Example 3,Page 318
//Title: Fugacity and fugacity coefficient
//================================================================================================================
clear
clc
//INPUT
T=427.85;/... |
47f9e0318b9d7504942c53cbc648a4d833948d0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.2.b/EX3_2_B.sce | 9a1bb0ccb7eaf3399f91542df45561647eda86e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sce | EX3_2_B.sce | //EXAMPLE 3.2.B
clc;
Syms s t
w=2;
laplace(cos(w*t),t,s)
|
6af6d3de6600d36627c8663123188187d3f5dfb0 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/germanic/nld.tst | daa4416cbc732ca6dfb381169da06c3b25a0b3b0 | [] | 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 | 262,160 | tst | nld.tst | verdelen V;SBJV;SG;PRS
verdelen V;IND;SG;2;PST
verdelen V;NFIN
verdelen V;IND;PL;PRS
verdelen V;IMP;SG
verdelen V.PTCP;PST
verdelen V;IND;SG;3;PRS
verdelen V;IND;SG;1;PST
verdelen V;SBJV;PL;PST
verdelen V;IND;SG;2;PRS
verdelen V;IND;PL;PST
verdelen V;SBJV;PL;PRS
verdelen V;IND;SG;3;PST
verdelen V;IMP;PL
verdelen V;IND;... |
32f7a98359eadaf130220d591f53ef5fc9441c0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH7/EX7.8/Ch07Ex8.sce | 2556a89d8e489268b93d7fc24e361125f4cab543 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | Ch07Ex8.sce | // Scilab Code Ex7.8: : Page-7.13 (2009)
clc; clear;
NA = 0.16; // Numerical aperture of the step index fibre
n1 = 1.50; // Refractive index of the core material
d = 65e-006; // Diameter of the core, m
lambda = 0.9e-006; // Wavelength of transmitted light, m
V = %pi*d/lambda*NA; // V-number for the... |
fe565b88389e74be7ac6b4cd0072b928c62507df | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH3/EX3.1/3_1.sce | f6dead3b55994ee3958ec92a5d5bfaf8794bc271 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | 3_1.sce | clc;
clear;
lbm=9999; //cm, measured length of bridge
lrm=9;//cm, measured length of rivet
lbt=10000;//cm, true length of bridge
lrt=10;//cm,true length of rivet
//calculating true error below;
Etb=lbt-lbm;//cm, true error in bridge
Etr=lrt-lrm;//cm, true error in rivet
//calculating percent relative error bel... |
30ae57d73031a5dd5c5b472dd3301b4b1f465418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.1/Exa2_1.sce | fc0c6621ae051fcf1c3d1b4748c3c7aee294e38e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Exa2_1.sce | //Exa 2.1
clc;
clear;
close;
//Given data :
n1=1.40;//refractive index
delta=1;//relative refractive index difference in %
//Formula : n2/n1=1-delta
n2=n1*(1-delta/100);//refractive index(unitless)
disp(n2,"Refractive index of cladding : "); |
357360eab7495aa5300859bffe54305b2d668d8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/832.sci | 95cda10d062790415068e797c33ba419a2cfdb6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sci | 832.sci | T1=20 //C
T2=100 //C
T3=90 //C
T4=30 //C
P=3 //bar
V=5 //L
R=0.08314 //L.bar/mol.K
T=363 //K
ndot=100 //mol/min |
0148844560d620b80822e81be3b315756f5d3700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.15/Ex6_15.sce | a94cb30aa5fb31bbcd982044b7763afe2b2b629c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Ex6_15.sce | //characteristic impedance
//given
clc
Zl=300//ohm
Zo=75//ohm//of the line
SWR=1//the source impedence is equal to characteristic impedance of the line
Zt=sqrt(Zl*Zo)
disp(Zt,'the characteristic impedance in ohm')
|
1a2ccdb62574a693b07aff083bd33ec3c2b8b31d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH12/EX12.1/Ex12_1.sce | 0cf0969087dca58a69dec348591ac494dbc76631 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | Ex12_1.sce | //Example 12.1, page 435
clc
c=9*10^9
cm=1.6*10^-19
d=2.4*10^-10//in m
v=(c*cm*cm)/d
e=v/(1.6*10^-19)//in J
printf("\n The energy is %e ev",e) |
a8f7366a5bbaec2a303b94d23fe565ccfc2466d7 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Physics/Orbitals2.SCI | b128721f71540a1fdcf75ae9c26c3dfe44c590d6 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,617 | sci | Orbitals2.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
#function density(xc,yc,zc)
#{
# vl=exp(-0.5*sqrt(xc*xc+yc*yc+zc*zc))*xc;
# return(vl);
#}
function density(xc,yc,zc)
{
rd=sqrt(xc*xc+yc*yc+zc*zc);
f1=(6-rd)*exp(-0.5*rd);
vl=f1*(2*sqr(zc)-(sqr(xc)+sqr(yc)));
return(vl);
}
function denscolor(pt)
{
... |
ae93551f9fa729d2c9b680302ce3808dd83ff37a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH5/EX5.14/ex5_14.sce | bea2997eef0ff778a2e8ab2080ca00bd718d6c9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | ex5_14.sce | //Page Number: 299
//Example 5.14
clc;
//Given
f=10D+9;//hz
v0=600;//V
vr=250;//V
ebym=1.759D+11;
//Repeller space
n=1;
l=sqrt((ebym*(n+(3/4))^2*(vr+v0)^2)/(8*f^2*v0));//m
disp('mm',l*1000,'Repeller space:');
|
037bd17b6ec212710785a7555d178f98a387d0f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.28.2/ques28_2.sce | 3ef198be6c23684e39a816a397fe6d5377272ed5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sce | ques28_2.sce | //ques28
syms s t
f=integ(exp(-s*t)*exp(-t),t,0,2);
disp('Laplace of given function is');
disp(f);
|
8eb67523e52ef644923a1a19dbc6b9780fdee077 | 3b00ed91e5a50801cd0385f6fc2aae0a95cf0378 | /unit_3/leastsquares.sce | a08ad1272533d08f23c6f146b97a2b5d94b89f6d | [] | no_license | RahulKata/Scilab_assignments_S4LA | 2b3f392334558df8a4356efe304ae6918a3864db | b8ab3c967ca09c988d812d52cb3affa95e1ac6d1 | refs/heads/master | 2020-12-29T06:48:41.848357 | 2020-04-11T09:49:38 | 2020-04-11T09:49:38 | 238,498,777 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | leastsquares.sce | clc
funcprot(0) //if variables are redefined do nothing
format('v',10)
function [A,b]=leastsquares(A,b)
x=(A'*A)\(A'*b);
disp(x,'x = ');
C=x(1,1);
D=x(2,1);
disp(C,'C = ');
disp(D,'D = ');
disp('the Line of best fit is b=C+Dt');
endfunction
function main()
disp('Coefficient Matr... |
5af4ea62ce8b0f27ba4bfb596db5c021cc8d1469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH5/EX5.8/Ex5_8.sce | cf421d57df0d07c418b1170829fa540cc0ce8800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex5_8.sce | clc
clear
//DATA GIVEN
IP=35; //power developed by the engine in kW
m=284; //flow rate in kg/h
p1=15; //steam inlet pressure in bar
p2=0.14; //condenser pressure in bar
//At 35 bar and 25 deg celsius from steam tables
h1=2923.3; /... |
7b6aa20546f3659296b6992e1baefdcecc8a40d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH13/EX13.4/exm13_4.sci | 85044f29fcb366b53be85c2cf9ec9381e463c18d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,138 | sci | exm13_4.sci | // Example 13.4
//Write a function to insert a given item before a specified node known as
//key node.
funcprot(0);
//Create the list
function [List]=create(list1)
global List;
// Create the current node
list1.number=input("Input a number(Type -999 to end); ");
if list1.num... |
a7a0d52942b1eb7af632b2074f3cc1b2e2c592a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH9/EX9.5/9_5.sce | b156dd1543faabbaf82ff6ecfd8f948d2db1aa56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | 9_5.sce | clc
clear
//Initialization of variables
rpm=60
rho=2 //slugs/ft^3
mu=3.5e-5 //lb-sec/ft^2
D=4/12 //ft
r=2 //ft
//calcualtions
V=rpm*2*%pi/60 *2
Nr=V*D*rho/mu
Cd=1.1
Fd=Cd*%pi/4 *(D)^2 *0.5*rho*V^2
T=2*Fd*r
w=rpm*2*%pi/60
hp=T*w/550
//results
printf("Horsepower required = %.2f hp",hp)
|
004dcdb45b89dfdf408510ecfe0a2180c5751e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH4/EX4.18/Ch04Ex18.sce | 2a46ccc3e99268c6486b567f46e9a734b843a653 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ch04Ex18.sce | // Scilab Code Ex4.18: : Page-4.34 (2009)
clc; clear;
theta = 15.2; // Angle through which plane of polarization is rotated, degrees
S = 65; // Specific rotation of sugar solution, degrees
l = 15; // Length of sugar, cm
// As S = 10*theta/(l*c), solving for c
c = 10*theta/(l*S); // Concentration of ... |
c06ee54a90ec2f9f5a7bfde3b8e53af07568df19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH43/EX43.14/43_14.sce | 2ed55b849653c26fed65ff28b93fff735111e9cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,315 | sce | 43_14.sce | //Problem 43.14:The circuit diagram of an air-cored transformer winding is shown in Figure 43.17. The coefficient of coupling between primary and secondary windings is 0.70. Determine for the circuit (a) the mutual inductance M, (b) the primary current I1 and (c) the secondary terminal p.d.
//initializing the variable... |
92604240887b640c8c9d2f08c786c20c4b88ee4b | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/mtlbSci_zpk.sci | 3e4dbafd60d7a98006ee1179b36b97177a0fc676 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,500 | sci | mtlbSci_zpk.sci | // ############################################################################
// Permite obtener una FT a partir de sus polinomios numerador y denominador
// o de la representacion en espacio de estados.
// Sintaxis:
// sys=zpk(g) : con g un cociente de polinomios o un sistema en espacio de estados.
// sys=zpk(num,d... |
a9e1e5d315ee07a747afd6ec14ba28fd7e1aaf39 | 6e75173525a980c251b905ff3c7081770963d28a | /code/vrep/resources/Scenarios/simulation/scenario.sce | abc5d693e05cf5c660dcb25b5bdfb1fd85974046 | [] | no_license | CaeruleusAqua/Masterarbeit | 72463b365116e2baa0b53a1b277d4f1c616bd2b0 | 15cc0da0a0657815a3d1a90538002cbbf82979c8 | refs/heads/master | 2021-03-30T17:57:13.540493 | 2017-05-18T21:18:19 | 2017-05-18T21:18:19 | 67,040,255 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | scenario.sce | SCENARIO_EXTENSION Masterarbeit
LAYERID 1
ROAD
ROADID 1
LANE
LANEID 1
LANETYPE pedestrian
ENDLANE
LANEID 2
LANETYPE bicycle
ENDLANE
LANEID 3
LANETYPE car
ENDLANE
ENDROAD
ENDLAYER
ENDSCENARIO_EXTENSION
|
7ef338cc208523a7fb249eb8f8fb72ce10455470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH18/EX18.1.e/E18_1.sce | 2d8a8668fcac410ce8be9f2e958ad8c353c7a30a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | E18_1.sce | clc
//Initialization of variables
wl=256*10^-9 //m
t=1 //mm
C=0.050 //mol/L
T=0.16
t2=2 //mm
//calculations
E=-log10(T) /(C*t)
A1=-log10(T)
A2=E*C*t2
Tr=10^(-A2)
//results
printf("Transmittance = %.3f",Tr)
|
4d885b13314487e184142e2e1d16ce4fd4e0de46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH12/EX12.20/Ex12_20.sce | 400a639a170e25d164408c22a9c5f052baae627d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Ex12_20.sce | //chapter12
//example12.20
//page256
Vcc=8 // V
Rb=360 // kilo ohm
Rc=2 // kilo ohm
gain_beta=100
Vbe=0.7 // V
// when Ic=0, Vce=Vcc i.e. Vce=8 and when Vce=0, Ic=Vcc/Rc i.e. Ic=8/2
// so equation of load line becomes Ic=-0.5*Vce+4
clf()
x=linspace(0,8,5)
y=-0.5*x+4
plot2d(x,y,style=3,rect=[0,0,9,5])... |
9902947d0a55a866cc45dbdbaa1f5198fc239eac | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH1/EX1.1.33/U1_C1_33.sce | 51a01b5e96815e6999b2d67f2bef71057a60cb98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | U1_C1_33.sce | //variable initialization
c=3*10^8; //Speed of sound (meter/second)
M=1.97*10^30; //Mass of sun (kg)
R=1.5*10^11; //Mean radius of the earth orbit (meter)
sigma=1.4*10^3; //Solar energy... |
fa6346d4c1c55c928c3a46c47223cdc340e239c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH5/EX5.1/Ex5_1.sce | 6bb23718fe7f86207a1d5ee4916814063a0c706b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Ex5_1.sce | //Example 5.1, Page number 5.28
clc;clear;close
//variable declaration
n1=1.50 //Core refractive index
n2=1.47 //Cladding refractive index
//Calculations
C_a=asin(n2/n1) //Critical angle
N_a=(n1**2-n2**2)**(1/2) // Numerical Aperture
A_a=asin(N_a) // degree
//Results
printf("The Crit... |
e5e48ad5c66a4ceebcbd5a40f0484f01100ce8ff | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD6/Scripts/randExp.sci | b45d2bf28912d632a250988e32ce8a6285b35002 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sci | randExp.sci | function t = randExp(n, lambda)
t = -log(1 - rand(n,1)) / lambda
endfunction
|
08440ab222e7985a82fe5cec52168a08d6a80aab | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /newnewmaeve.sce | a9941a106450e4fdd2bc359c2fadd0b72a8e4d51 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66,603 | sce | newnewmaeve.sce | Name=newnewmaeve
PlayerCharacters=Maeve
BotCharacters=Tank QC Fast Strafes.bot;air1_far_long.bot;Dodgey.bot;Pigeon Jumper.bot;Quaker Bot Long Strafes.bot;Quaker Bot Fast Strafes.bot;air1_UFO.bot;Quaker Bot Hard.bot;Quaker Bot Medium.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Maeve
AddedBots=Quake Mix.rot;Quake ... |
dfe595ff5a5ffcba32c7a4f707e24b5d61bdd9fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH5/EX5.7/Example7.sce | cce0b8443e872fb5c4ec42bc464414bb90883849 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,150 | sce | Example7.sce | clear
flag=1
clc
mode(-1)
printf("Example 7 : Show the method of file handling using the od command \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\nHere all instructions are preloaded in the form of a dem... |
ea6eb8c98783c5520077a75b2544344c86471c0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.7.44/8_7_44.sce | c0dd1d117cfe1e95a4aa56e766916e75e3b9b68e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | 8_7_44.sce | clc
clear
//Input data
Is=230 //Specific Impulse in sec
m=1 //Propellent flow in kg/s
g=9.81 //Acceleration due to gravity in m/s^2
//Calculation
F=m*Is*g //Thrust in N
//Output
printf('Thrust is %3.1f N',F)
|
832a9aaa510b3c3e1f9074ab94d7e4791a4b65bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH10/EX10.3/chapter10_ex3.sce | 25a6b18dbdc7c329ed36f044fccf14e0fa214c2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | chapter10_ex3.sce | clc
clear
//input
p=6;//number of poles
n=72;//number of slots
n1=10;//conductors per slot
b=0.01;//flux per pole in weber
f=50;//frequency in hertz
phi=170;//pitch of coil in electrical degrees
kf=1.11;//form factor for sinusoidal forms
//calcultions
n2=n/p;//number of slots per pole
n3=n2/3;//number o... |
6af3882bd8e1f7c5e71920bec1a9c758bf97e61e | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /TP2/exo5.sce | da17b9163769f0a4e6ffc94b947c146e6432f363 | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | exo5.sce | clear;
function [X,n] = newton(x0,esp,f,df)
maxIter = 100
X = [x0]
x = x0
n = 1
while (abs(f(x)) >= esp) & (n < maxIter),
x = x - f(x)/df(x)
X(n+1) = x
n = n + 1
end
endfunction
// define espilon
//esp = 0.01
//esp = 0.0001
esp = 0.00000001
// ==== testcase 1 ====
function a = f1(x)... |
478f55d2e9bfaa9a93a1d5c0b2f0664b922d2211 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH23/EX23.4/Ex23_4.sce | 09d2d8583467e29dfb50fcce18742a63e51ffa91 | [] | 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 | 153 | sce | Ex23_4.sce | errcatch(-1,"stop");mode(2);//23.4
p=40//in cm
q=-(2*p)
x=(1/p)-(1/q)
f=1/x
disp(f,"The focal length in cm=")
//Answer given in book is wrong
exit();
|
b61fe46d3eafec63fa36efc79a7dccba740900ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.13/example5_13.sce | d2b7ea4ecac7f0b9c6acd2d4508400bb5736f8dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_13.sce |
//example 5.13
//calculate formation constant of acquifer using theis method
clc;funcprot(0);
//given
Q=2500; //discharge(l/min)
r=60; //distance of observation well from acquifer
tmin=[1 1.5 2 2.5 3 4 5 6 8 10 12 14 18 24 30 40 50 60 80 100 120 150 180 210 240]; //time in minutes
s=[0.2 0.26 0.... |
0ede087e15a19b3d875e4af53e468605686dad19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.27/ex_4_27.sce | 599021c879479f3e4219e40253bec16b4c07ff39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | ex_4_27.sce | clc;
x=[1 1 1 1];
h=[1 1 1];
Xz=0;
z=poly(0,"z");
for i=1:length(x)
Xz=Xz+x(i)*z^(1-i);
end
Hz=0;
for i=1:length(h)
Hz=Hz+h(i)*z^(1-i);
end
Yz=Xz*Hz;
y=coeff(numer(Yz))
disp(y,"y[n]=") |
c43c2722b0ddeef361e616101b8b866cf2fc2e48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH8/EX8.9/ex8_9.sce | 0a892798158bcd1d2ef5e79503f49c6a5f8024d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex8_9.sce | clc;clear;
//Example 8.9
//given data
um=0.6;//mass adsoption coeffcient in cm^2/g
p=2.7;//density of aluminium in g/cm^3
//calculations
u=p*um;
disp(u,'linear adsorption coefficent of aluminium in 1/cm');
T=0.693/u
disp(T,'the hvl in cm');
x=(log(20))*(1/u);
disp(x,'the thickness in cm') |
6b348e6ac09d8aabf09549b3414cc311b2c95139 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH10/EX10.3/10_3.sce | cbf3e5f25f6bd923c6b929c22f23d43d0a5d01a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_3.sce | clc
//initialisation of variables
za= 16 //ft
h1= 2 //ft
h2= 3 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
vc= sqrt(2*g*(za-h1-h2))
vb= vc*(h1/(2*h1))^2
r= -h1-h2-(vb^2/(2*g))
r1= r+34
//RESULTS
printf ('pressure head at B= %.1f ft lb',r1)
|
9b6b4777a5ed344ba9fba7695ca1762845f869f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH6/EX6.6/Ex6_6.sce | 48f35971abbd767a38a1982e20639259f5a848b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_6.sce | // Exa 6.6
format('v',6);
clc;
clear;
close;
// Given data
L= 15;// in µH
L= L*10^-6;// in H
C1= .004;// in µF
C1= C1*10^-6;// in F
C2= .04;// in µF
C2= C2*10^-6;// in F
C= C1*C2/(C1+C2);// in F
f= 1/(2*%pi*sqrt(L*C));// in Hz
disp(f*10^-3,"Frequency of oscillations in kHz is : ")
|
79d6a0bcbf125faca8fcf56cf3545b337b888ac1 | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment5_Team8/ALU8.tst | fb56ff5e5bb0570aaa08e988c85b353dbe0054cc | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,116 | tst | ALU8.tst | //We have included all posibilities that can be there for ALU
load ALU8.hdl,
output-file ALU8.out,
compare-to ALU8.cmp,
output-list x%B1.8.1 y%B1.8.1 signed%B3.1.3 opcode%B3.3.3 out%B1.8.1 of%B3.1.3 eq%B3.1.3;
set opcode %X0,
set x %Xaa, set y %Xaa, eval, output;
set opcode %X1,
set x %Xab, set y %Xba, ev... |
e6a1291eeb53ae8cf82649f94d24c590ef9a3e0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH6/EX6.12/example6_12.sce | 4baa3447ea995ce0c67bc3b7445fcb2266d27afc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,073 | sce | example6_12.sce |
clear;
clc;
printf("\t Example 6.12\n");
d=.22; //density of dry pulp in g/cc;
Ls=1.125*10^-2*.22*10^3; //mass of bone dry solid ais the drying surface
A=1.5*1.5*2; //both upper surafce and lower surface are exposed
v=1.5*1.5*.5; //volume of... |
420250b3295581932b44e5b8fefe5a33b8214d9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH4/EX4.2/Ex4_2.sce | e691469894c9f5d07f12f5292dee948b6da4f87b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Ex4_2.sce | //Chapter 4: Radiation
//Example 4-4.2
clc;
//Variable Initialization
v = 3e8 //Speed of light(m/s)
f = 10e6 //Frequency (Hz)
//Calculation
w = 2*%pi*f //Angular frequency(rad/s)
r = v/w //Distance (m)
//Result
mprintf("The distance for the specified condition is %.2f m",r)
|
d2995e969ebfcceaff94cb529bcc00b2eaa48db6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH2/EX2.18/Ex2_18.sce | 9afc2546b0a7a24013b684f34e52a6bab4402058 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Ex2_18.sce | clear
//
//node eqns are obtained form the figure
printf("\n va=8.33V and vb=4.17V")
i=8.33/(8)
printf("\n current through 8 ohm resistor is= %0.1f A",i)
|
19081daec6754408aa13dd44d5d46ab956f2f5c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH3/EX3.3/Ex3_3.sce | 2425806d8b682fffe838e9541b35ce94aa56ae99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_3.sce | //Inilitization of variables
Lab=12 //m
Mc=40 //kN-m
Md=10 //kN-m
Me=20 //kN-m
Fe=20 //kN //force acting at point E
//Calculations
Xa=-(Fe) //kN //take sum Fx=0
Rb=(Md+Me-Mc)/Lab //N //take moment at A
Ya=-Rb //N //take sum Fy=0
//Results
clc
printf('The vertical reaction (upwards) at A is %f kN \n',Ya)
p... |
a5469b94c6590154c70ae5e089ffdffe12317c5e | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/168.ted.sci | aa0aa313fd337d7f84edbf2d3079797f9c9a129f | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 13,277 | sci | 168.ted.sci | i have 18 minutes to tell you what happened over the past six million years all right we all have come from a long way here in africa and converged in this region of africa which is a place where 90 percent of our evolutionary process took place and i say that not because i am african but it s in africa that you find t... |
e0a63944f0182e690c4d749a15f93e77a3fca5a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH7/EX7.12/Exa_7_12.sce | 5a246a91cd1d5d205ef8ef8a6b4853a0b9d976a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sce | Exa_7_12.sce | //Anti Imaging Filter considerations
Ap=0.5;//passband attenuation
fp=20;//passband edge frequency
As=60;//stopband attenuation
S=42.1;
fs=S-fp;//stopband edge frequency
e=sqrt(10^(0.1*Ap)-1);
e1=sqrt(10^(0.1*As)-1);
n=(log10(e1/e))/(log10(fs/fp));
n=ceil(n)//design of nth order butworth filter
//(b)Assuming ... |
9dd95d6524cdcbef01a92da0f658db9d56cf07d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH3/EX3/cha3_3.sce | 938194fb79bdd57eb21a1e9a5469147900caeb12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | cha3_3.sce | A=4*%pi*10^-7;N=300;V=120;
R=6;G=5*10^-3;Ag=6*6*10^-4;
Lg=2*5*10^-3;
Vo=2*6*6*5*10^-7;
I=V/R
Bg=(A*N*I)/(2*G)
Wf=(Bg^2)/(2*A)*(Vo)
Fm=(Bg^2)/(2*A)*(2*Ag)
L=(N^2*A*Ag)/(Lg)
Irms=V/(sqrt(6^2+15.34^2))
Brms=(A*N*Irms)/(2*G)
Fm=(Brms^2)/(2*A)*(2*Ag)
|
22f79fa040699737c6262039e8565ecdb88c2680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.6/ch7_6.sci | cab73146d09f1cc54cc673c39751dc18af21c905 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sci | ch7_6.sci | // to calculate ratio of generator speed to motor speed
clc;
V=220;
P=4000;
I_a=P/V;
r_a=.4; //armature resistance
E_ag=V+I_a*r_a;
E_am=V-I_a*r_a;
a=1.1; //phi_m/phi_g
n=(E_ag/E_am)*a;
disp(n,'n_g/n_m'); |
7483d95355a867bf7e07031f0833537a9bd793d9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_stem.sci | 31ff5ca3dff5a220cb0926a1bd16a83a9a5ad2cf | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,491 | sci | sci_stem.sci | function [stk,txt,top]=sci_stem()
// Copyright INRIA
txt=[]
if rhs==3|stk(top)(5)=='10' then
style=linetype(stk(top)(1))
top=top-1
rhs=rhs-1
else
style=-1
end
style=sci2exp(style)
if rhs==1 then
x=gettempvar(1)
if isname(stk(top)(1)) then
y=stk(top)(1)
else
y=gettempvar(2)
txt=y+' = '+stk(top... |
69ec5c0ac1d006f995705ac24fd85322a0e7ff09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH7/EX7.9/EX7_9.sce | 71e0ce712a4f6d9eb428a7ae58973904ac7d74b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | EX7_9.sce | //Example7.9 // to calculate upper and lower cut-off frequency of the band pass filter
clc;
clear;
close;
R1 = 10*10^3 ; //K ohm
R2 = 10 ; //K ohm
C1 = 0.1*10^-6 ; // uF
C2 = 0.001 ; //uF
// the lower cut-off frequency of band pass filter is
fLC = 1/(2*%pi*R1*C1);
disp('The lower cut-off frequency FLC of ... |
6e93c186c9b5075ed69ee57ef862b59a2ab0e0e0 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Stral's Luck Tester.sce | cd2fade58bbf4e7581a13aa3a6d8e4d25741f0f8 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,115 | sce | Stral's Luck Tester.sce | Name=Stral's Luck Tester
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Long Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=lucktester.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=t... |
d6275f4e4affc6ca06911c9d6f87eda957d71657 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH16/EX16.7/16_7.sce | be33bfdd8a1177375c60d273de17678e7bae8647 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 16_7.sce | clc
//initialisation of variables
L= 12 //ft
Po= 100 //kips
e= 2 //ft
ys= 42000 //psi
A= 11.77 //in^2
rmin= 195 //in
Zmin= 11.0 //in^3
lbyr= 74.2
stress= 18 //ksi
//CALCULATIONS
P= (stress-(Po/A)/((1/A)+((e*12)/Zmin)))
//RESULTS
printf ('Additional Load= %.2f kips ',P)
|
e1b2d66f27cf220a1aa0834675493b9a4750c2ed | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/erode.sci | d65cb3e5332f48fc9ed7befd0e9ac5b0b8989b4c | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 1,390 | sci | erode.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
3865fb63c64a5357331fb3e42f504d3cea919c54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.30/18_30.sce | d37a6decba0d3612018518d68b49adbf093c9fe8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 18_30.sce | //ques-18.30
//Calculating equilibrium constant for the given reaction
clc
T=278;//temperature (in K)
S=-333.3;//entropy change (in J/K/mol)
R=8.31;// J/K/mol
h1=-110.5;//heat of formation for CO (in kJ/mol)
h2=-74.8;//heat of formation for methane (in kJ/mol)
h3=-286;//heat of formation for water (in kJ/mol)
... |
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... |
c19761d3c4a74142eb4e543bf4757a15bb4ac079 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3513/CH6/EX6.8/ch6_8.sce | 35fc08ec3293ba089d70e754182686ba63aaf3b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,277 | sce | ch6_8.sce | //Determine the control limits for X -R chart.
//page no 119
clear
clc;
USL = 175;
LSL = 135;
n = 5;
K = 50;
X1 = 7660;
R1=880;
X2=X1/K;
R2=R1/K;
A2 = 0.58;
d2 = 2.326;
D3 = 0.0;
D4 = 2.11;
//Control limits for R-chart
UCL = D4*R2;
mprintf("\UCL = %.2f \n",UCL);
LCL = D3*R2;
mprintf("\LCL = %.2f \n"... |
7247589fd6e3e7362dda769abfa6252b40bda328 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Local_Planner/distQuat.sci | 3a80f85fb7ee31e5c9f2d7c36c6e359c1359bd46 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | distQuat.sci | function d = distQuat(q1,q2)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Outputs the quaternion qOut = q1*q2;
//INPUT
//q1 : quaternion. Row vector
//q2 : quaternion. Row vector
//OUTPUT
//d : distance between the two quat... |
77a6057f8ef64b0dcb9116a2d415285f46144ecb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH1/EX1.4/Ex1_4.sce | 8a1d0c6b52e7f89e5f4d6680e168011331e40c00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,100 | sce | Ex1_4.sce | clc
clear
printf("Example 1.4 | Page number 10 \n\n");
//find the steam pressure.
//Given Data
Pg = 12E5 //in N/m^2 //inlet gauge pressure
Pvac = 75 / 1000 //in m Hg //exit gauge pressure
atmosphericPressure = 760 / 1000 //in m Hg //atmospheric pressure
density = 13.6 * 10^3 //kg/m^3 //density of mercury
g =... |
61e46d67e7852f0db2f201e2ecf6892d7affe621 | b1b2e80029cc5546ff903cab102cf2f635407fda | /tp2.sci | ad0cc1aa31148c253f889f83f1bc395d2fd9d3e5 | [
"MIT"
] | permissive | walidzbiri/zip-code-classification | abc3f0e84400b66ea1e13304ef6353e683e085e5 | f46b4196ba87afc9eff3ad598a40657999860bf4 | refs/heads/main | 2023-03-22T22:56:10.434583 | 2021-03-20T21:22:51 | 2021-03-20T21:22:51 | 349,837,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sci | tp2.sci | function [M,V,CT]=train(Image)
I_gray=rgb2gray(Image);
seuil=imgraythresh(I_gray);
I_bw=~im2bw(I_gray,seuil);
str=imcreatese('ellipse',2,2);
I_erode=imerode(I_bw,str);
I_dilate=imdilate(I_bw,str);
M=[];
V=[];
[L,N]=imlabel(I_dilate);
[A,BB,CT] = imblobprop(L);
for ... |
16f3b2391ffe8363d5952e51f3d408fdf1c9de16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/covf.sci | 2cf7e74d671eeef0f87275a43acc2d1dcd34b2c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sci | covf.sci | // z: [y u] (Column matrix)
// ---- ----
// | |
// | ryy(0) ryy(1) ... ryy(len) |
// | |
// v = | ruy(0) ruy(1) ... ruy(len) |
// | |
// | ryu(0) ryu(1) ... ryu(len) |
// ... |
53c4edc20269a446b93242d685f2d6aa0e657eea | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.46/5_46.sce | 20dd8bf7a755d4063b9abf3832f1a9f03a6b6c03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | 5_46.sce | a=0.21;//dissociation constant//
P=1;//pressure in atm//
Kp=(a^2*P)/(1-a^2);
printf('\nKp for the reaction=Kp=%f',Kp);
printf('\nP=1atm=0.4+PCOCl2+PCO+PCl2\nsum of pressure reactants=0.6atm\nCOCl2=CO+Cl2\nHere P is the total pressure due to all the participants of the reaction and is equal to 0.6atm.');
P1=0.6;
a... |
0b46fc67b1d5b79770621015d3a4d7bf5e6214c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH9/EX9.1/9q1.sce | 5778eada21e9c5633fdaf774f7885c9ad9d6b636 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | 9q1.sce | clc
//initialisation of variables
Ds= 16.5 //kN/m^3
S= 19.25 //kN/m^3
g= 9.8 //kN/m^3
h1= 6 //m
h2= 13 //m
//at point A
Sa= 0
Ua= 0
Sa1= 0
//at point B
Sb= h1*Ds
Ub= 0
Sb1= Sb-Ub
//at point C
Sc= h1*Ds+h2*S
Uc= h2*g
Sc1= Sc-Uc
//results
printf ('total pressure at C= % 2f kN/m^3 ',Sc)
printf ('pore... |
b506062ef19061f630b84c7a87d9159e2402299d | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.1/4_1.sce | 2419e8c281ca7acaa61e7e819f6012dfc5054765 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 4_1.sce | clear; clc; close;
Vcc = 12;
Vbe = 0.7;
Vce = 4.23;
Rb = 240*10^(3);
Rc = 2.2*10^(3);
Beta = 75;
Ic = 3.53*10^(-3);
Ibq = (Vcc-Vbe)/Rb;
Icq = Beta*Ibq;
Vceq = Vcc-Ic*Rc;
Vb = Vbe;
Vc = Vce;
Vbc = Vb-Vc;
disp(Ibq,'Ibq(Amperes) is :');
disp(Icq,'Icq(Amperes) is :');
disp(Vceq,'Vceq(volts) is :');
... |
29a8b9e66b7684998bf87e373e503fd26aa23157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.4/Ex12_4.sce | f969d10ee16c383ca2916a897bf09b19fc49bacd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_4.sce |
//Variable Declaration
FSL=207 //Free space loss(dB)
RFL=1.5 //receiver feeder loss(dB)
AA=0.5 //Atmospheric Absorption loss(dB)
AML=0.5 //Antenna Alignment loss(dB)
//Calculation
LOSSES=FSL+RFL+AA+AML //Total link loss (dB)
//Results
printf("The total link loss is %.1f dB", LOSSES)
|
be92f011fb8b70a7d4f6c837f27e2d522df02d9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.7.1/9_7_1.sce | 8642624f7f174c3b68e1177f855d3899df26e0b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | 9_7_1.sce | clc
//initialisation of variables
r= 0.448
R= 0.868
r1= 0.152
R1= 0.807
//CALCULATIONS
P= R^3/r^2
U= R/r
P1= R1^3/r1^2
U1= R1/r1
//RESULTS
printf (' power ratio in case 1= %.2f ',P)
printf (' \n velocity ratio in case 1= %.2f ',U)
printf (' \n power ratio in case 2= %.2f ',P1)
printf (' \n velocity ratio... |
4d5c11cfffe8b8250800667cc3b95525674b3f7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH9/EX9.12/Ex9_12.sce | 26407a83093168eb2a829a96804b2a2670f67597 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,359 | sce | Ex9_12.sce | // Example 9.12
clear all;
clc;
// Given data
no_home = 10^6; // Number of houses
no_resident = 4; // Number of residents in a home
total_time = 50; // Number of years the analysis is carried out
radon_concn_old = 1; ... |
e80c8e1e45964d04bf3bce902ad141c593268282 | a6abd4d113c8196015de3bbd4dfe6c2c8fa77e7b | /Presentation/Afford_Rating_Experiment/Afford_Rating.sce | d475b47218289cd11d6f59ccff56b91b4b7ce0f8 | [] | no_license | ilkayisik/MyScripts-Bachelor-Master | ad17c9e24de271c9e31455921990acdbc1030dfc | 0d45946f7e4ccfc9e21a99cb32877f605d7e618f | refs/heads/master | 2021-05-16T15:36:40.940826 | 2018-01-29T13:07:07 | 2018-01-29T13:07:07 | 119,358,614 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,406 | sce | Afford_Rating.sce | scenario = "Stimuli- Rating";
#randomize_trials = true;
default_font_size = 36;
default_background_color = 128,128,128;
active_buttons =10;
button_codes =1,2,3,4,5,6,7,8,9,10;
begin;
################################################# fixation cross
picture {
box {
height = 10;
width = 40;
color = 255, 25... |
83e791fa46c1a8fc8a2cc999ddc48428610b992a | aef26b59d30e6dadcb4ad4adca5fef486bba8f39 | /plsql/测试游标之动态游标(强类型游标).tst | 3810c90c338dbf21b11d2df857a30363edae216f | [] | no_license | BinYangXian/ora | 23141658d122e552ae63d2c091a0b038446da275 | ebb23fed403da5248f8926f902a247b4046e540c | refs/heads/master | 2021-01-20T15:07:10.757649 | 2017-05-09T08:34:52 | 2017-05-09T08:34:52 | 90,722,061 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 696 | tst | 测试游标之动态游标(强类型游标).tst | PL/SQL Developer Test script 3.0
31
-- 测试游标之动态游标(强类型游标)
declare
-- 动态游标 要先申明类型 在声明变量
-- 使用open for 进行初始化数据
-- 申明类型
type v_cursor_type is ref cursor return emp%rowtype;
-- 声明变量
v_cursor v_cursor_type;
-- 声明行类型
v_row emp%rowtype;
begin
-- Test statements here
-- 动态游标不能用for循环
-- ... |
4a4acfb6abec094a20d7dd8ed3ea1cda0a1c7b83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH6/EX6.3.7/6_3_7.sce | a0d8ffeebc8ba78eee81241e597ec99d054aa434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 6_3_7.sce | disp('Vectors u1 u2 and y are')
u1=[1;3;-2]
u2=[5;1;4]
y=[1;3;5]
disp(y,'y=',u2,'u2=',u1,'u1=')
disp('u1.u2=')
a=u1'*u2
disp(a,'=')
disp('Hence, {u1 u2} form an orthogonal basis.')
disp('Let W=span{u1 u2}')
disp('Therefore, projection of y on W is:')
disp('((y.u1)/(u1.u1))*u1+((y.u2)/(u2.u2))*u2')
a1=y'*u1
... |
98bb22b7f4fdf8ec3d1205be3ac2f4046327508b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.16/16.sce | 0d304334737663bccbad83fec1d69f90a7224204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16.sce | clc
p=140; //bar
h=3001.9; //kJ/kg
T=400; //0C
disp("Temperature=")
disp(T)
disp("°C")
v=0.01722; //m^3/kg
disp("The specific volume")
disp(v)
disp("m^3/kg")
u=h-p*v*10^2;
disp("specific internal energy=")
disp(u)
disp("kJ/kg") |
d245215e6b4647d4443873ab6525034d142e7699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH5/EX5.6/Ex5_6.sce | a6d3219e044bbbae36641546c28d9999323ba50c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | Ex5_6.sce | ////Given
t=10.0**-12 //s
h1=1.054*10**-34
h=6.625*10**-34
//Calculation
E=h1/t
v=E/h
//Result
printf("\n uncertainity in energy is %e J",E)
printf("\n uncertainity in frequency is %e Hz",v)
|
927ee48ac01c8363d3623baddc23c9b463684475 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Mathematics/Polyhedra.SCI | e6e13971c0db3b04efa39b3d9b7d057e83dc8807 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 7,123 | sci | Polyhedra.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
facetypes=list;
function getfacetypenr(ptlist)
{
for i=0 to facetypes.size-1 do
{
if facetypes(i).ptcount==ptlist.size then return(i);
}
newfacetype=map("ptcount":(ptlist.size));
facetypes.add(newfacetype);
return(facetypes.size-1);
}
function ... |
379e31486f861c357aa40f25bf96647d472925bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH8/EX8.5/85.sce | 02fcb6dad18a630fae7da1fdde9063a997a60f8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 85.sce | // problem 8.5
d=0.05
V=20
y=120
x=180-y
g=9.81
p1=1000
w=g*p1
a=3.142*d*d/4
F=(w*a*V*V*(1+cosd(x)))/(g)
disp(F,"force in N exerted by the water jet")
|
34d826d64774391e2b6b4d90957190b3c0a005d9 | 252afc91ba28b756933a991d31ef55637fe22e1c | /lab-5.sce | 9ef1408d80f713c9750e67fe55874020298835a2 | [] | no_license | vlad-tymoshchyk/scilab-labs | 3006b74ed31bf208b5879c28dfa6d9d95e265924 | b4ad3550c84f84ef6567f54c6c613bb0aad99551 | refs/heads/master | 2020-04-29T15:03:25.425334 | 2019-06-03T04:47:57 | 2019-06-03T04:47:57 | 176,215,564 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,485 | sce | lab-5.sce | function [z] = ask(question)
disp(question);
res = input('','string');
if (part(res,1) == 'y')
z = %T;
else
z = %F
end
endfunction
a="Does the conflict involve a Warwaw Pact or other Soviet allied border state?";
b="Does the conflict pose a grave threat to the political existance of the Soviet ally?"... |
143651e2d79c198fe5b9c4911465918f7762d8d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH7/EX7.6/Ch07Ex6.sci | 5988c80836b42f79ed8d89acac6ff3ac76beb860 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sci | Ch07Ex6.sci | // Scilab Code Ex7.6: Isotope Effect in mercury: Page-153 (2010)
M1 = 199; // Mass of an isotope of mercury, amu
T_C1 = 4.185; // Transition temperature of the isoptope of Hg, K
T_C2 = 4.153; // Transition temperature of another isoptope of Hg, K
alpha = 0.5; // Isotope coefficient
M2 = M1*(T_C1/T_C2)^... |
0ef4b1e51829ab7d29d975292c6b9f1dd3f06e8b | 78ff3e16a288175ff606f38ee5ee877d4844773e | /4_chapter/4_02_solution.sce | 63db299edebcd1353885db28326025b46934b89d | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | 4_02_solution.sce | //Soultion 4-02
WD=get_absolute_file_path('4_02_solution.sce');
datafile=WD+filesep()+'4_02_example.sci';
clc;
exec(datafile)
//unit conversion
Vdot = Vdot / 10**3; //[L/s] to [m^3/s]
D_inlet = D_inlet / 100; //[cm] to [m]
D_outlet = D_outlet / 100; //[cm] to [m]
deltax = deltax / 100; //[cm] to [m]
//solution
u_inlet ... |
5a2f7333af128be08cc2553f200a256fba98dc0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH6/EX6.15/Example6_15.sce | 0b6ff853db696b95222da6852c412d8729516208 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Example6_15.sce | //Example 6.15
//Program to determine filter coefficients obtained by sampling:
//N=7,w=pi/2
clear;
clc ;
close ;
N=7;
U=1; //Zero Adjust
for n=0+U:1:N-1+U
h(n)=(1+2*cos(2*%pi*(n-U-3)/7))/N
end
disp(h,"Filter Coefficients,h(n)=") |
00ee0b3dd5cc9e9608082a0bc08c152b1c8d2c63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH8/EX8.2/Ex8_2.sce | 62973ed4bd957bc6150d9ec4a80486dab30fbd67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 893 | sce | Ex8_2.sce | clc
sigmayp=340 //MPa
tauyp=sigmayp/2 //MPa
disp(tauyp,"in MPa is=")
a=0.1 //m
b=0.15 //m
v=0.3
//pi=4*p0
//sigmatheta=(pi*(a^2+b^2)-2*p0*b^2)/(b^2-a^2)
//sigmatheta=1.7*pi
//sloution a: maxi principal stress theory
sigmatheta=1.7
pi=sigmayp/sigmatheta
disp(pi,"in MPa is= ")
//sloution b: maxi shea... |
d513dd288310d40fad37e92011bd08f7a9f2fec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH9/EX9.05/9_05.sci | 829641fb50f5f28994c9914aee34b2b2d0454066 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sci | 9_05.sci | //calculates//
s=%s;
sys1=syslin('c',(s+3)/s);
syms u rp k H RL;
num2=u*RL*s*(s+2);
den2=(rp+RL)*(s+3);
sys2=num2/den2;
num3=k;
den3=s+2;
sys3=num3/den3;
sys=sys1*sys2*sys3;
disp(sys,"G(s)=");
RL=10*10^3;
rp=4*10^3;
sys=eval(sys)
sys=float(sys)
disp(sys,"sys=");
disp(H,"H(s)");
M=sys/.H //G(s)/1+G(s)... |
e18689a380f2e7476d6ffb99b99c48ef5b47a720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.5/Ex4_5.sce | 54a4893bb4a78fb79dbc83bf745c07c0c72e7bc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Ex4_5.sce | clc
T=300 //K
Nn=2.8*10^19 //cm^-3
Np=1.04*10^19 //cm^-3
//a=Ef-Ev
an=0.25 //eV
ap=0.87 //eV
k=8.617*10^-5 //eV/K
n0=Nn*exp(-an/(k*T))
disp(n0,"n0 in cm^-3 is=")
p0=Np*exp(-ap/(k*T))
disp(p0,"p0 in cm^-3 is=")
|
3df37bb9f99a291a3e74b3bc5c689d368965423b | c49a028f382c3baddcd641c1972dd72bb60eaadc | /EXTRA/input.sce | 49a1f3161823f0bac04265e7b0d352efee57b690 | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | input.sce | disp("hello");
a= [20,10];
disp(a);
b = input("enter 3*3 matrix");
disp(b);
c=20;
if(c==20) then
disp("C is 20");
elseif (c>0) then
disp("C is greater than zero.");
else
disp("C is less than zero");
end
for j=2:2:10
disp(c);
end
|
5ede2f8b2d10555eb728d5884cbfa581ab6ed23a | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/ConversorFloatDecToHex.sce | 39eb5ae8ffa4dfddab7818af830b585e18656c7c | [
"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 | 879 | sce | ConversorFloatDecToHex.sce | function [resultado] = float_dec_to_base(number)
contador = 1
inteiro = int(number)
resultado = dec2hex(inteiro) + '.'
fracionario = modulo(number,inteiro)
while modulo(fracionario,1) ~= 0
fracionario = fracionario * 16
numero = int(fracionario)
numero_s = '0'
... |
d7189081b6fe121c4f20350f82ecbf4600473933 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.a.04/Ex3a_a_4.sce | af5cc2fa08534b106325e1487f2ed4c65754d3ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex3a_a_4.sce | // Scilab Code Ex3a.a.4: Page-134 (2008)
clc; clear;
R = 6.4e+006; // Radius of the earth, m
g = 10; // Acceleration due to gravity, m/sec-square
T = 2*%pi*sqrt(R/g); // Time period of oscillations of the body, s
printf("\nThe time period of oscillations of the body = %4.1f min", T/60);
// Result
// T... |
611f7407aff72b8c2e0d64073faa7f98e559fc9f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/routines/sound/sound-test.sci | 563a9a1cea0c5aad5d73a29331d33ca2f01ef185 | [
"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,117 | sci | sound-test.sci | // {w,rate}=loadwave(filename); loads a WAV file.
// w=loadwave(filename); loads a WAV file. r is saved to defaultrate.
// savewave(filename,v[,rate,bits]); saves a WAV file.
// analyze(v[,fmin,fmax,rate,points]); plots the frequencies of v
// mapsound(w,[,dt,fmin,fmax,simpl,rate]); show the sound history
// soundsec(n... |
6d8ad5510322780434111f70a557296c84d161f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH1/EX1.18/Ex1_18.sce | b5ff31134e9a184a6a285530ffeaf89a2313fd36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | Ex1_18.sce | //Chapter 1 : Wave Optics
clear;
//Variable declaration
D1=1.50
D2=1.30
//Calculation
myu=(D1/D2)**2
//Result
mprintf("Refractive index of liquid= %.3f",myu)
|
b8c4f05395fb65bf2c075c7406b4a41bf6db0aca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.19/19.sce | 57b788d7df53df5170832496d28a3998dbe9aeda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 19.sce | clc
clear
//input
v=14 //voltage
f=90 //frequency
i=0.4 //current
t=55 //phase
//calculation
r=v/(i*sqrt(1+tand(t)^2))// value of resistance
l=r*tand(t)/(2*f*%pi)//value of inductance
c=1/(4*%pi*%pi*f*f*l)//value of capacitance for resonance to occur
//output
printf("the value of resistance is %3.3f ohm",r)... |
6f0d69e953f06de8f1e853ec27898d076eeb2d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH1/EX1.7/SolEx1_7.sce | 9249f1491dd9d72a08455db3ae8a106bf7482557 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | SolEx1_7.sce |
//find the Thevenin equivalent for the network to the left of terminals a; b.
//Solved Example 1.7
//page no 19
clear
clc
printf("\n find the The´venin equivalent for the network to the left of terminals a; b.")
V1=10//V
V2=15//V
R1=4//ohm
R2=6//ohm
I=(V1-V2)/(R1+R2)
printf("\n The value of I is =%0.2f A"... |
2cdbf5174859201a596a00ef5843bb068b2c90e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH10/EX10.1/Ex10_1.sce | 0d57bcd9fc00e5ec24034e0b4d7040089afccf7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Ex10_1.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 10.1\n\n\n");
// Chapter 10 : Refrigeration
// Problem 10.1 (page no. 503)
// Solution
T1=70+460; //70F=70+460 R //Energy flows into the system at reservoir at constant temperature T1(unit:R)
T2=32+460; //32F=32+460 R //Heat is rejected to the constant... |
6b5320a0199c158ff98464105e292f936317e460 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Uzawa/test2.sce | 12580a2523987967c936ac0ff46aa01b1cf23e09 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,198 | sce | test2.sce | clear all
exec('C:\Users\Julien Guégan\Desktop\PFE\affichage.sce',-1)
function alpha = backtracking(f,x,d,grad)
alpha = 1
w = 10^-4
cpt = 0
fx = f(x) //une seule evaluation
while(f(x+alpha*d)>(fx+alpha*w*(grad'*d)))
alpha = alpha/2
cpt = cpt+1
end
endfunction
function [L,dLx] ... |
fd1bf414c850d47293178888b71dda14a74db856 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/DEPENDENCIES/second_file.sci | adb2a8c779a82d15dc237a4897438a8a657d2156 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sci | second_file.sci | //Programming Example 8.12
//calculate Fibonacci number (F=1 for i<3, and F= F1+F2 for i>=3)
//Second File
function[f]=Fibonacci(count)
global f1;
global f2;
global first;
//As in static variables the initialization takes place only once
//but static is not available in scilab
// hence use of glo... |
7c36bb1475c63ce68db172b2a0edd0d9204a9224 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Equação do Segundo Grau.sce | f139d0417b00df13d63569514bc8e04184b62312 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Equação do Segundo Grau.sce | /*Equação do Segundo Grau*/
#include <stdio.h>
int main (void)
{
int a, b, c, Delta;
float x1, x2;
printf("Digitar valor de a="); scanf ("%d, &a");
printf("Digitar valor de b="); scanf ("%d, &b");
printf("Digitar valor de c="); scanf ("%d, &c");
Delta=b*b-4*a*c;
if(Delta<0) printf ("Não existem raizes reais")... |
afbe37f756f4f196f2cf56164a855e9cce654d2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.11/11_11.sce | 6aef946225f62193300e25a4f8041b34405914e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | 11_11.sce | clear
clc
//initialisation of variables
h= 94 //ft
w= 62.4 //lb/ft^3
e= 0.58
p= 73.5 //per cent
//CALCULATIONS
WHP= h*e*w/550
BHP= WHP/(p/100)
//RESULTS
printf('W.H.P= %.2f h.p',WHP)
printf('\n Brake horse power= %.1f',BHP)
|
57dfcae6f5e27518602d2817927396f2bfb41bf6 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH4/EX4.8/EX4_8.sce | 1199466672bf0f77f14a4bbcb045d0dbea4c10b2 | [] | 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 | 810 | sce | EX4_8.sce | clc;funcprot(0);......//Example 4.8
//Initialization of variables
D=0.2*10^-3;.........//Diameter of the wire in m
L=1;...........//Length of the wire in m
Tw=60;........//Temperature of wire in degrees celcius
Ta=20;.............//Temperature under the water in degrees celcius
v=16.96*10^-6;.......//Viscosity in... |
231e7dec0774d37e2ac665ae8d29a82cea021ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH8/EX8.16/Ex8_16.sce | b5d882305f83df9f80648e004f3e2729bdd76c3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Ex8_16.sce | clc
m = 1000 // Mass of fish in kg
T0 = 300 // Ambient temperature in K
P0 = 1 // Ambient pressure in bar
T1 = 300 // Initial temperature of fish in K
T2_ = -20 // Final temperature of fish in degree Celsius
Tf_ = -2.2 // Freezing point temperature of fish in degree Celsius
Cb = 1.7 // Specific heat of fish bel... |
64b50a4accdc43e13a5c10fe1dbf74c9c246b0a3 | 2abc0ac2745749ba8e8004d0b6e85f769175d540 | /Vtol_NonLinear.sce | 6f329ac7a5220ffa3a4a5af14bd7d99ad462d22d | [] | no_license | jfloreshu/Vtol_scilab_LQR_deterministic | 9d17da342635539e6b9f3a6b6d128dc694be5656 | 6008f2ecd39c92095881f8f759c5b0a85e71bc6e | refs/heads/master | 2022-12-01T22:32:35.709043 | 2020-08-16T03:43:36 | 2020-08-16T03:43:36 | 287,854,224 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sce | Vtol_NonLinear.sce | function xdot=Vtol_NonLinear(u1,u2,u3,u4,u5,u6,u7,u8)
// This is nonlinear Pendulum Model
// Load the parameters
exec('Vtol_Parameters.sce', -1);
// state variables
x=u1;
y=u2;
theta=u3;
varx=u4;
vary=u5;
vartheta=u6;
// control variables
u_1=u7; // fuerza F1
u_2=u8; // u2=F2-mg
// Modelo Mo... |
47153fc6ddb116db590f04d101651eb4409dec4e | 5a546c6ca54da199fa9941e0b7fc3a35b1833ed8 | /intro/FlowControl.sce | 3758a48d197b5c4a41ac4b51fd73094fb3ff87ca | [] | no_license | lejarx/PDEandFiniteDifference | 3185fddc1fa935b622dc27cfc264d29ce9f81494 | 297e41e168be7aa8eb0fcce7b0b8facad5542f00 | refs/heads/master | 2021-05-26T16:44:32.954468 | 2014-03-06T23:07:07 | 2014-03-06T23:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | FlowControl.sce | // flow control
// the basic form of an if statement is:
// if statement1
// elseif statement2
// else
// end
a = 0
if a > 0 then
disp('a is positif');
elseif a < 0 then
disp('a is negatif');
else
disp('a is nul');
end;
//switch
// swtich test
// cas... |
3a83e0f52825cc740bc09c15cecdd2e3ab30e25e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.39/ex_1_39.sce | b0cc05ef2b2cf32580aebc3ae0b9f2edd7c5c0f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | ex_1_39.sce | //Example 1.39://frequency range
clc;
clear;
fn=800;// natural frequency in cps
MD=12;//maximum amount of deviation in amplitude ratio
M1=1.12;//
M2=0.88
r=0.904;//ratio
y=0.62;//damping ratio
f=fn*r;//excitation frequency in cps
//When M=1.12 THE SOLUTION WILL HAVE IMAGINARY ROOTS AND THIS IMLIES THE OUTPUT WOULD NE... |
f498f830aa6384d6b18a37e39dfd46dd8f31638f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH2/EX2.13/Ex2_13.sce | 6247e5cd13822173b13fc438f442822ee89e45ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Ex2_13.sce | clc;clear;
//Example 2.13
//given values
Plamp=80;
N=30;//no of lamps
t=12;
y=250;//days in a year
UC=0.07;//unit cost in USD
//calculation
LP=Plamp * N/1000;//Lighting power in kW
OpHrs=t*y;//Operating hours
LE=LP * OpHrs;//Lighting energy in kW
LC=LE*UC;//Lighting cost
disp(LC ,'the annual energy cos... |
360fdc5830f4c142cc928ad0c6113a4bb2996936 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Playground Improved.sce | ca8352520bd6231d7e347b5dbfcb9986236dbe2c | [] | 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 | 53,349 | sce | Playground Improved.sce | Name=Playground Improved
PlayerCharacters=FortniteMain
BotCharacters=IAFortniteLike.bot;EnemyClose.bot;EnemySniper.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=
AddedBots=
PlayerMaxLives=0
BotMaxLives=
PlayerTeam=0
BotTeams=
MapName=
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.