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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7563f29692d97ab779c8b55553d738d056b6a19d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH4/EX4.4.1/Example_4_4_1.sce | 3fa2be03651ed1a33db5e5bd25bfbc410a27d27e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | Example_4_4_1.sce | // Example 4.4.1 page 4.8
clc;
clear;
L=30; //fiber length
Pin=200d-6; //input power
alpha=0.8; //signal attenuation per km
Pout=Pin/(10^(alpha*L/10)); //computing output power
Pout=Pout*10^6;
printf("\nOutput power is %.3f microwatt.",Pout);
printf("\nNOTE - calculation error in the ... |
42a0f762e65456b4eae724108f32909d65b86c85 | 4327bc2daaca24c9cd4275c2b6dc5ab7afb7ae99 | /test.tst | 446ef4e17e7ee84828a04b28d3bdd40309b805bf | [] | no_license | eriktalvi/ballin-wookie | b07078bc2a4f148f3379224ae3be38e3843971ef | 287a3cd91c67701d6cf7d1891b23ea129d57b82a | HEAD | 2016-09-06T15:54:03.180900 | 2014-02-06T11:53:09 | 2014-02-06T11:53:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | tst | test.tst | this is just a tribute.
To the greatest code in the world
|
fdb0397e1080095882394cc9475ba37ffa645a9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH4/EX4.6/4_6.sce | 343a5cb1738023acfc96f6cc03e90c48b0e06458 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | 4_6.sce | //All the quantities are expressed in SI units
alpha1 = 4;
alpha2 = -1.1;
alpha3 = -4;
cl_1 = 0.55; //cl at alpha1
cl_2 = 0; //cl at alpha2
c_m_qc1 = -0.005; //c_m_qc at alpha1
c_m_qc3 = -0.0125; //c_m_qc at alpha3
//the lift slope is given by
a0 = (cl_1 ... |
7d0eab730d71b2f095228855c8233993672af97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH10/EX10.3/exm10_3.sce | b64b0a3911c7fd8968586e0237133fd98021d8b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,178 | sce | exm10_3.sce | // Example 10.3
// Write a program to calculate the subject-wise and student-wise totals
//and store them as a part of the structue.
//Defining array of structures
student=[struct('sub1',45,'sub2',67,'sub3',81,'total',0)
struct('sub1',75,'sub2',53,'sub3',69,'total',0)
struct... |
0def01fe53ede6554904ae27462750bf762af7fa | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_3.tst | a5f553deaa0dafbe9440f6409029e761ef553278 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 23,825 | tst | bow.12_3.tst | 12 1:0.1111111111111111 6:0.023809523809523808 23:0.1111111111111111 25:0.25 45:0.5 56:0.3333333333333333 143:0.3333333333333333 150:0.027777777777777776 353:0.3333333333333333 505:1.0 3770:1.0 5398:1.0 5424:1.0 7323:1.0
12 4:1.0 6:0.023809523809523808 17:0.16666666666666666 75:0.5 97:0.3333333333333333 105:0.333333333... |
cbcd4c83cf4f13ce0a83f0aec695fabfac06a7ab | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /8a Program for Linear regression.sce | 8f843e64538ecb60fb09b6ff90fb9c3b6f4875a6 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | 8a Program for Linear regression.sce | x=[1,2,3,4,5,6,7];
y=[0.5,2.5,2,4,3.5,6,5.5];
n=7;
s=0;
xsq=0;
xsum=0;
ysum=0;
for i =1.7
s=s+(det(x(1,i)))*(det(y(1,i)));
xsq=xsq+(det(x(1,i))^2);
xsum=xsum+det(x(1,i));
ysum=ysum+det(y(1,i));
end
disp(s,"sum of product of x and y=")
disp(xsq,"sum of square of x=")
disp(xsum,"sum of all the x=")
disp(y... |
efc65b966fbb2b7500fb787cdddab498f9de627c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH19/EX19.1/160ex.sce | 8f1c803fbcff549b0c7d33ec75781371d332cc7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | 160ex.sce |
clear ;
clc;
close;
clf;
x=linspace(0,1,7);
y=10^x;
plot2d(x,y,2);
xtitle(" graph of y=10^x","x axis","y axis");
legend("y=10^x");
xgrid()
//ex1:1.8*2.6=? ,from graph
//1.8=10^0.26 \n 2.6=10^0.42
x=10^0.26;y=10^0.42;
format(4)
ex1_ans=x*y//from the graph
//ex2:9^(1/3)
//9=10^0.96
x=10^0.96;
for... |
87ca0517e6925e296f5f76888b58ef19bdcbdd10 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/vtk2obj.sci | 81ad0d8ad49a5be2bda895472db2b1f53b197f26 | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sci | vtk2obj.sci | function vtk2obj()
// Convert VTK file to OBJ format.
//
// Syntax
// PointCloud(vtkFileName,objFileName,"vtk2obj")
//
// Parameters
// vtkFileName : input file of vtk format
// objFileName : output file of obj format
//
// Description
// Input file is an VTK format which is them transformed to OBJ format an... |
d9de2a47b4f55c58091b7275c7c3f793bc4190a4 | bbe6e7a0995eb50b5f7a6e73895ca0c1c121769b | /src/test_meta_2_c.tst | b4192799a17c02d19191dc9f0f0fc0cfa24ea575 | [
"OML",
"Zlib",
"BSD-3-Clause",
"MIT"
] | permissive | enejp/ciyam | 990a42e9d17654c5fae7e7ad9eb3f448d992a04e | 84f34d919e23c00feb168c004716c83e3c6afa53 | refs/heads/master | 2021-01-16T19:24:48.690169 | 2013-07-08T06:03:32 | 2013-07-08T06:03:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,554 | tst | test_meta_2_c.tst |
> storage_init ciyam
> perform_fetch Meta Class "Id " Name,Plural,Id -min
System_Information,System_Information,M001C100
User,User,M001C101
> perform_fetch Meta Field "Id " Name,Id -min
Name,M001C100F100
Vendor,M001C100F101
Reference,M001C100F102
Message,M001C100F103
Actions,M001C100F104
User_Id,M001C101F100
User_Na... |
fbff2653e5e0d769ec656961a1f2d31409f31282 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RET2.prev.tst | ac347175c32dc4ca78bf897451747f608ee5647b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | tst | RET2.prev.tst | TranspositionSet={[0,2,1,3],[1,0,2,3],[1,2,0,3],[2,1,0,3],[2,0,1,3]}
Expanding for base=2, level=4, reasons+features=transp
Refined variables=a,b,c,d
ReasonFactory: transp, code="transp"
vmap=[0+1*a,0+1*b,0+1*c,0+1*d], index(a)=0, index(c)=2
areTransposable(a³+b³+c³-d³, a, c) = true
TranspositionReason.consider(
... |
20a35d0a53962fba9beb8cd2926709ea889cae8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.12/example12_sce.sce | e7bf25022f58b28becc383cf6f265eb92296097b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | example12_sce.sce | //chapter 19
//example 19.12
//page 844
printf("\n")
printf("given")
hFE7=20;Icbo=50*10^-6;hFE5=70;Vr9=3;Ip=869*10^-3;R15=1.5;R8=15*10^3;Vbe=.7;Vr11=3;Vee=20;
R12=.01/Icbo
R12=220;//use standard value
R13=R12;
Ib5=Ip/(hFE7*hFE5)
Ic3=2*10^-3;
R9=Vr9/Ic3
R11=R9;
Iq78=.1*Ip
Vr14=Iq78*R15
Vr15=Vr14;
Vr10=(V... |
73f560fd1a5f1546318069b45b27039857931d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH11/EX11.7.b/ex_11_7_b.sce | 21a2445e52bc16377c3ddcd02979c622e28a1cc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_11_7_b.sce | //Example 11.7.b // impedence
clc;
clear;
close;
R=40;//in ohms
L=0.07;//IN HENRY
v=223;//IN VOLTS
F=50;// IN HERTS
Xl=2*%pi*F*L;// inductive reactance in ohms
Z=sqrt(R^2+Xl^2);//IMPEDENCE IN OHMS
disp(Z,"impedence in ohms is")
|
9756576911de7aa6da7ab86410529d04fdbff6a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH10/EX10.10/Ex10_10.sce | f373fd40aacadf7ea3e6467a8666781a53138936 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex10_10.sce | clc;
Vee=5; //Volt
Vbe=0.7; //Volt
Re=13000; //Ohm
Ie=0.000331 //Ampere
re=0.025/Ie; //Ohm
Zin=re; //Ohm
Rc=10000; //Ohm
Zout=Rc; //Ohm
RL=5100; //Ohm
rc=(RL*Rc)/(RL+Rc); //Ohm
Av=rc/re;
Ai=rc/RL;
disp('',Av,"Av=");
disp('',Ai,"Ai=");
disp('Ohm',Zin,"Zin=");//The answers vary due to round off error
d... |
d1d3a69950122568a800837197ffca880b591a02 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/divers/heures_comp/heures_comp_cours_td_tp.sce | 10dbc6c147b2d5ed36963758940c2c99cc919104 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 4,494 | sce | heures_comp_cours_td_tp.sce | disp "Script Scilab de calcul des heures complémentaires"
disp "=================================================="
// cas d'un service mélant cours, td, tp
clear
disp "Statut"
disp "======"
h_stat=384;
h_sup_max=192;
coef_service=[1.5 1 1] // [coeff_cours coeff_td coeff_tp]
coef_hc=[1.5 1 2/3] // [coeff_c... |
81c2fd90e6a7ed7cce6c30ae6a176d25c1db9c36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH11/EX11.3/11_3.sce | e7894193ccc8bdd0168bf34fd2aa7c646c940bce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | 11_3.sce | ////Variable Declaration
E01 = 0.771 //Rx1 : Fe3+ + e- -----> Fe2+
E02 = -0.447 //Rx2 : Fe2+ + 2e- -----> Fe
F = 96485 //Faraday constant, C/mol
[n1,n2,n3] = (1.,2.,3.)
//Calculations
dG01 = -n1*F*E01
dG02 = -n2*F*E02
//For overall reaction
dG0 = dG01 + dG02
E0Fe3byFe = -dG0/... |
38051881e4bf61f7bb7045cd93f0f2ce1c2eba3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH10/EX10.9/exp10_9.sce | 98bb4a08e5c83461579093cbe8fe454b290c056e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exp10_9.sce | clear
clc
disp("example 10.9")
r1=22;r2=30;q1=0.2;q2=0.15
b22=0;b12=0;p1=100;pl=15//transmission losses are 0
b11=pl/(p1)^2
function [p1,p2]=power(x) //mathematical computation
p1=(x-r1)/(q1+2*b11*x)
p2=(x-r2)/q2
endfunction
[a,b]=power(60)
pt=a+b-(b11*a^2)
z=integrate('q1*u+r1','u',a,161.8... |
6662e01bd74dfa16fb48eaff1f9cf928019d175a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.3/ch12_3.sce | 6534db8f83367017ec56c0a2e04e250e41547a48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | ch12_3.sce | clear;
clc;
V_s=250;
V_m=sqrt(2)*V_s;
a=30;
k=0.03;//Nm/A^2
n_m=1000;
w_m=2*%pi*n_m/60;
r=.2;//r_a+r_s
V_t=V_m/%pi*(1+cosd(a));
I_a=V_t/(k*w_m+r); printf("motor armature current=%.2f A",I_a);
T_e=k*I_a^2; printf("\nmotor torque=%.3f Nm",T_e);
I_sr=I_a*sqrt((180-a)/180);
pf=(V_t*I_a)/(V_s*I_sr); pr... |
33e84c66f2786fa9aeea175310ed5881e439b60f | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH7/EX7.4/7_4.sce | feeecdc24c656956cc26d1cb1fff07a26a846f03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | 7_4.sce | sx = 90e06; // Direct stress in x-direction in Pa
sy = 20e06; // Direct stress in y-direction in Pa
t = 30 ; // Inclination of element in degree
savg = (sx+sy)/2 ; // Average in-plane direct stress
txy = 0 ;
R = sqrt(((sx-sy)/2)^2+(txy)^2) // Radius of mohr circle
// Point D ; at 2t = 60
sx1 = savg + R*cosd(2*t)... |
fd2a7f8d0fe2e39c27ad53bd87e7dd11fe0eed52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH19/EX19.8/Ex19_8.sce | c9609ce52e1f6c79c505df7acad9453910197ea8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,985 | sce | Ex19_8.sce | l=10//span, in m
fck=15//in MPa
fy=250//in MPa
Df=100//slab thickness, in mm
D=l*10^3/15//depth of beam, in mm
D=600//assume, in mm
d=D-50//cover=50 mm
bw=300//beam width, in mm
bf=l*10^3/6+bw+6*Df//>2500 mm c/c distance of beams
bf=2500//in mm
W1=(bw/10^3)*(D-Df)/10^3*25//web, in kN/m
W2=(Df/10^3)*(bf/10^3... |
64ac546009bcb72b63dc846e4fb11177e73e2737 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.e.8/Chapter1_ex8.sce | 27936cc099546928537fee1bd498010532514e6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Chapter1_ex8.sce | clc
clear
//Input data
w=588//Weight of the person in N
a=3//Acceleration in m/s^2
//Calculations
m=(w/9.8)//Mass of the person in kg
P=(w+(m*a))//Weight of the person when the elevator is accelerated upwards in N
//Output
printf('Weight of the person when the elevator is accelerated upwards is %i N',P)
|
2d6af14e33435c3774dd72662e4c41fa6986dd0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH7/EX7.3/example7_3.sce | ba9126d3b51230128de58c776a2c58ed8fac60bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | example7_3.sce | r1=1;
r2=2;
r3=4;
r4=3;
r5=5;
v=40;
disp("Part a");
r_1=r2+r3;
r_2=r_1*r4/(r4+r_1);
r_3=r1+r_2;
r=r5*r_3/(r5+r_3);
disp("the total resistance (in kΩ) is"); disp(r);
disp("Part b");
i=v/r;
disp("the current drawn (in mA) from the source is"); disp(i);
disp("Part c");
p=v*i;
disp("the total power deliver... |
de30f42f2e7322fb9f9599f67f3753280384860a | d0efa9f4759b46e22ac9687b2871bb3464002002 | /example7.sce | 38ce4cbbee8c6876fecfa275bab279a09fb8e3ee | [] | no_license | Adithya-Shetty100/Scilab--Linear-Algebra | c0198c7dd3a4f599b88904b5d7554589aaa5e995 | ed63e672f56b8b4f1bff7f33e50352db3e8568fe | refs/heads/main | 2023-04-19T12:41:56.959465 | 2021-05-11T08:46:41 | 2021-05-11T08:46:41 | 366,313,853 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | example7.sce | clear;
close;
clc;
A=[0 1 0;0 0 1;0 0 0];
disp('A=',A);
[m,n]=size(A);
disp('m=',m);
disp('n=',n);
[v,pivot]=rref(A);
disp(rref(A));
disp(v);
r=length(pivot);
disp('rank=',r);
cs=A(:,pivot);
disp('Column Space=',cs);
ns=kernel(A);
disp('Null Space=',ns);
rs=v(1:r,:)';
disp('Row Space=',rs)
lns=kernel... |
4debf7e2deb04efecebb6389aea38126e1de50ff | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Data-Mining/SP_PoissonRegr-NZ-UM-01.tst | 962e9b6aff51cb0e71b676ae07e32ef1178be26e | [] | 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 | 1,643 | tst | SP_PoissonRegr-NZ-UM-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2016 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.
-... |
e58a4a02f276359b6fb0c55ec63dc970ed52ebb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH13/EX13.4/134.sce | e1376b86dacfd9a6470088235222a52c25a89d57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | 134.sce | clc;
//Example 13.4
//page no 138
printf(" Example 13.4 page no 138\n\n ");
//an air conducting duct has a rectangular cross section
w=1//width of rectangular section
h=0.25//height of rectangular section
D=2*w*h/(w+h)//equivalent or hydraulic diameter
printf("\n hydraulic diameter D=%f m",D)
R_e=2300//critic... |
65fb337d3880cc42dc8111d20b4294d1bde51657 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.24/24.sce | 69a5ecdb1645d41a570f42fd05b179cd2eba1c12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,510 | sce | 24.sce | clc
clear
//Input data
Po=700 //Stagnation pressure in kPa
To=500+273 //Stagnation temperature in K
a1=3.5 //Ratio of exit area to throat area
m=5.5 //Mass flow rate in kg/s
Cp=1.005 //Specific heat capacity at constant pressure in kJ/kg-K
k=1.4 //Adiabatic constant
//Calculation
My=1/sqrt(k) //Mach numbe... |
8f888dba169593184f3ca3add0658ca0d5b6bb84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH11/EX11.4/Ex11_4.sce | 58c75e604f5c223d5005213c6fceb5389e302daf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Ex11_4.sce | clear;
clc;
d = 7/8;// inches
t = 1/2;// inches
f_t = 6;// tons/in^2
f_s = 5;// tons/in^2
f_b = 10;// tons/in^2
p_s = 2*0.25*%pi*d^2*f_s;// tons
P_b = d*t*f_b;// tons
p_t_limit = 2*P_b/3 + d;// inches
n = (p_t_limit-d)/p_t_limit;// efficiency
printf('Pitch, p = %.3f inches',p_t_limit);
printf('\n Efficie... |
6ca3bc127948f0b74b62288895118d2819d9bb4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.24/Chapter3_Example24.sce | 9eb085d01b4d86dc1e215f7ded9e6e8d2eb1d089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Chapter3_Example24.sce | //Chapter-3, Example 3.24, Page 93
//=============================================================================
clc
clear
//INPUT DATA
Do=0.025;//O.D of the rod in m
k=20;//Thermal conductivity in W/m.K
Q=(2.5*10^6);//Rate of heat removal in W/m^2
//CALCULATIONS
ro=(Do/2);//Outer radius of the rod in m
... |
fe64c0dce799eeba4612b86c18d238471c4ce0aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH10/EX5.10.14/Ex5_10_14.sce | 075792d4eccf90c04d5fd91365f649934461430a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex5_10_14.sce | //Section-5,Example-1,Page no.-D.19
//To find the Activation energy and calculate the Arrhenius frequency factor of the given reaction
clc;
k_1=4*10^-5
T_1=298
k_2=14*10^-5
T_2=303
R=8.314
K=log10((14*10^-5)/(4*10^-5))
E_a=((K*2.303*R)/((303-298)/(303*298)))
disp(E_a,'Activation energy of the given reaction(Jmol^-1)')
... |
fdd74d6a011d0b5dea13884613e459b2dec32b85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH1/EX1.9/Ex1_9.sce | 803db723659fa5786c19309b9ace3bfab2a19818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex1_9.sce | // Example 1_9
clc;funcprot(0);
// Given data
m=10.0;// lbm
omega=1800;// rpm
d=4.00;// inches
R=d/2;// inches
g_c=32.174;// lbm.ft/lbf.s^2
// Calculation
I=(m*(R/12)^2)/2;// lbm.ft^2
KE_rot=(I*((2*%pi*omega)/60)^2)/(2*g_c);// lbf
printf("\nThe rotational kinetic energy in the armature of an electric motor... |
294bf66cfd1b3b3376afccba68468082f9f086ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.9/ex4_9.sce | cc5d10a647f624430d17d1fa2102796d00effcfe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | ex4_9.sce | //Page Number: 198
//Example 4.9
clc;
//Given
c=3D+8; //m/s
a=2.286;//cm
a1=a/100;//m
b=1.106;//cm
b1=b/100;//m
//For fr1=9.3D+9;
fr1=9.3D+9;//hz
lamr1=c/fr1;//m
c1=(2*a1)/sqrt((((2*a1)/lamr1)^2)-1);
//For fr2=10.2D+9;
fr2=10.2D+9;//hz
lamr2=c/fr2;//m
c2=(2*a1)/sqrt((((2*a1)/lamr2)^2)-1);
r=c1-c2... |
6c1f1e035282389a45b609c7469600aa051413e6 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.abalone-10-1tra/result1.tst | 570bd3c3a5937dbda62ca96c31ab6d58c248aca0 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,605 | tst | result1.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
7942293326d42920faa14a6d142d9726e5d2409a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH9/EX9.3/Ch09Ex3.sci | 9ff7f29c90f9c3a1b0edd6119b265ec3849d4c38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sci | Ch09Ex3.sci | // Scilab Code Ex9.3 Thickness of concrete collimator: Pg:202 (2008)
rho = 2200e-03; // Density of concrete, g per cm
mu_m = 0.064; // Mass attenuation coefficient of concrete, cm square per g
mu = rho*mu_m; // Linear attenuation coefficient o concrete, per cm
// As attenuation exponential is exp(-mu*x) = ... |
9d3ee8dfd108b38c9f75fe7bd756d09d12d73227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH14/EX14.2/sadiku_14_2.sce | d80bdc0fab98f9721c4e286021ffbaa6be24b104 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | sadiku_14_2.sce | clear;
clc;
format('v',6)
d=80*(10)^-6;
n1=1.62,NA=.21,L=8*(10)^-7 ;
P=asind(NA);
disp(P,'Acceptance angle');
n2=sqrt(n1^2 - NA^2);
disp(n2,'Refractive index');
V=(%pi*d/L)*sqrt(n1^2 - n2^2);
disp(V,'No of modes');
|
05166770f201f1d86c5119cdd540080c72a8c61d | bb30bb4c59326f7819c15fe66feca6ad5151c89b | /TP4/main2.sci | ff23578f8246bbe917acd8df51b26b279c4684c2 | [
"MIT"
] | permissive | AmineKheldouni/Modeling-the-Hazard | 1f0f15e8faa3a8b6a2f39cfe1f102410b51c0ee7 | 68d9f6da23450db5488c1af473471b376945395e | refs/heads/master | 2020-04-14T22:29:35.105793 | 2019-01-04T23:32:38 | 2019-01-04T23:32:38 | 164,164,692 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,455 | sci | main2.sci | funcprot(0);
K = 1;
lambda = 1;
mu = 3;
rho = lambda/mu;
// rho < 1 => Traffic non bouché, rho > 1 : Saturation de la file d'attente.
//Question 1
//fonction qui simule l'évolution de la chaine de Markov
//elle part d'un état i, puis donne le temps d'attente et l'évolution suivante
//de la chaine
function [res, t]=e... |
a80eeff5dfa4efa22ed03d1bad9a7f9099763977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.25/EX4_25.sce | 916256940c483eba41396b14885ed090b4a38721 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | EX4_25.sce | //Calculate starting current
//Chapter 4
//Example 4.25
//page 321
clear;
clc;
disp("Example 4.25")
V=400; //supply voltage in volts
f=50; //frequency in hertz
P=4; //number of poles
ph=3; //three phase supply
S=0.04;
If=30; ... |
d5648515fee18fc8058a1ee9d77bd553ba6ce9b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH2/EX2.11/Ex2_11.sce | abeb416aed72cf2f34d9ca00abd2b6e073edba2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex2_11.sce | //page 39
//Example 2.11
clear;
clc;
close;
disp('V is the space of all polynomial functions over F.');
disp('S contains the functions as:')
x = poly(0,"x");
n = round(rand()*10);
disp(n,'n = ');
for i = 0 : n
f = x^i;
printf('f%d(x) = ',i);
disp(f);
end
disp('Then, V is the subspace spanned ... |
443819ec22a7f05d362b53f5637ec2a2abe19ed3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH11/EX11.8/example_11_8.sce | 8b9656cec70114bd8fb14f0f879d6bef6767c45a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_11_8.sce | //example 11.8
// this program requires
//kmp3abx.sci
//noof.sci
//noof0.sci
//above three functions are first execute before executing this program
clc;
disp('State table through karnaugh map'); // state table through kmap
disp(' 00 01 11 10');
disp('a a'' a'' b b')... |
a4f154ce768b096e3d628f12bdb03adcaaacb9e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH19/EX19.5/Ex19_5.sce | 01aa172ff422e35acbaa223447837af0407af41c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,852 | sce | Ex19_5.sce | //Variable declaration:
w = 8 //Width of wall (m)
H = 3 //Height of wall (m)
h = 21 //Convective heat transfer coefficient between the air and the surface (W/m^2.K)
T1 = -18 //Outside surace of wall temperature ( C)
T3 =... |
ec8de387a0f868ffd00dd9751724b620195279e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.14/Ex10_14.sce | afaf8429f77710cd178d18e71f827b6771892c01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex10_14.sce | //EX10_14 PG-10.62
clc
printf("\n Vo = -(3V1 + 4V2 + 5V3)\n\n")
Rf=120;//we assume feedback resistance to be equal to 120kohm
R1=Rf/3;//Rf/R1=3 given
R2=Rf/4;//Rf/R2=4 given
R3=Rf/5;//Rf/R3=5 given
printf(" R1= %.0fkohm R2= %.0fkohm R3 = %.0fkohm\n",R1,R2,R3)
printf("\n The circuit design is shown")
|
8d02df6c5051d1d48473bcd9bf2f7d85451dfe62 | 881ffb027c7a05e95cd38ac9efc94f08969b4701 | /programacionDinamica.sce | 187503527032cac6c7ec7c647fb0b16f8d8ad2e1 | [] | no_license | wilmercastrillon/scripts-scilab | 754c40a950774041c1152ced887f90cfd9d6f634 | de1e9989340a6bed25a48a02696a00f16321c39c | refs/heads/master | 2020-03-06T21:23:13.880315 | 2018-05-10T04:04:46 | 2018-05-10T04:04:46 | 127,076,243 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,538 | sce | programacionDinamica.sce |
//tabla t con las etapas
//operacion, '+' suma, '*' multiplicar
//objetivo, 'min' minimizar, 'max' maximizar
//por defecto toma op = '+', ob = 'max'
function z = programacionDinamica(t, op, ob)
if(exists('op') == 0)
op = '+';
ob = 'max';
end
if(exists('ob') == 0)
ob = 'max';
end... |
8d313a2173a714814b761fd09aa0f9e5930e99b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH24/EX24.4/210ex1.sce | 17509936f0b2dc383391271b6911fb2262d8dd61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 210ex1.sce |
//sum of A.P of 8 terms is 90.1st term is 6.
clear;
clc;
close;
// using s=n*{2*a+(n-1)*d}/2
//substituting given values
for d=0:0.001:100
if(90==8/2*{2*6 + (8-1)*d})
format(5)
d
break
end
end
|
26c7c633d12643c8ec96f13442da650326954238 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.11/2_11.sce | ff6d45c5b2209f071cacc54444b35b2d77f0269b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_11.sce | //example 2.11
//iteration method
//page34
clc;clear,close;
deff('x=f(x)','x=(cos(x)+3)/2');
x1=1.5;// as roots lies between 3/2 and pi/2
x2=0;
d=0.0001;// accuracy opto 10^-4
c=0;// to count no of iterations
printf('successive iterations \t\x1\tf(x1)\n')
while abs(x2-x1)>d
printf(' \t%... |
6e3e1119f60bce4e33a1b35139827cef5e7a5338 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH16/EX76.2/76.sce | 5b32afed8205abe58273e37523e65aad794e3e5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | 76.sce | clc
//initialisation of variables
n=400//rpm
d=560//mm
w=300//mm
//CALCULATIONS
N=n*(d/w)//rpm
//RESULTS
printf('the sheave on the motor attain=% f rpm',N)
|
7fb16c082b44e4ad59e32227455c85bcd25fe93f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/fraclab/sortup.sci | 79a2ee4b8a96e320c283fd2d30b1b7487c12878b | [
"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 | 791 | sci | sortup.sci | function [yup,kup] = sortup(x,how) ;
// function [yup,kup] = sortup(x,how) ;
// Reorders the elements of a matrix in the increasing order.
// Inputs:
// x Real (or complex) valued matrix
// how '*' x is treated as x(:)
// 'r' x is treated column by column
// 'c' x is treated row by row
// Outputs:
// yup increa... |
d19eb460b17595fc87485208847477dad742622c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.65/Ex1_65.sce | 027d9a6785bc50a403c37c4404830a5ff783b1e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,227 | sce | Ex1_65.sce | clc;
r1=20; // resistance of primary side
l1=1*10^-3; // leakage inductance of primary side
r2=0.5; // resistance of secondary side
l2=0.025*10^-3; // leakage inductance of secondary side
m=0.2; // mutual inductance
l=50; // load in ohm connected to transformer
v=5; // voltage source
R=2000; // internal resis... |
43157bea688dba91ca65af00fa7e436772181f3e | 744b6ff83360e088ee5fa718507e1d3e6406e7ae | /scilab/predict.sce | 5d9106451d0a88f7364594042ff29e0106f22e51 | [] | no_license | gaetanbahl/MusicGenreDetection | e7f659921de81c924d3533feba856219dac4d9d2 | bba5bfe5a971ccf27ea0513b1332d58ee374aa44 | refs/heads/master | 2020-12-19T07:19:20.078413 | 2016-08-06T10:53:43 | 2016-08-06T10:53:43 | 59,820,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | predict.sce | // prediction
function res = predict(X)
a = [-2.22428 ,0.41626 ,-0.08565 ,0.59464 ,1.57771];
b = -15.78057 ;
res = a * X' + b;
res = (exp(res)/(1+exp(res)))
if res < 0.5 then
disp("electro")
disp(100-100*res)
else
disp("classique")
disp(100*res)
end
endfunction
|
1bf406adc760fd400cfadf0fb8b7a54b2713ca18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH3/EX3.8/exa_3_8.sce | c9bf1dd35abe1b0145df0fa6d2e771f418823403 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | exa_3_8.sce | // Exa 3.8
clc;
clear;
close;
// Given data
V_BE= 0.7;// in V
V_CE= 3;// in V
I_C= 1;// in mA
I_C=I_C*10^-3;// in A
bita= 100;
I_B= I_C/bita;// in A
// V_CE= V_BE+V_CB and V_CB= I_B*R_B
R_B= (V_CE-V_BE)/I_B;// in Ω
disp(R_B*10^-3,"The value of R_B in kΩ is : ")
|
d86cd53e0af2d254be1b684ad9d8952a1260790c | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH5/EX5.5/5.sce | a0d8fbfd4609238ec8b9e9a7c06e9088fc6283ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 5.sce | clc;funcprot(0);
//Example 5.5
//Initializing the variables
rho = 850 ; // Density of liquid
a = 0.02 ; //Acceleration of fluid
x = 45 ;
d1 = .5 ;
d2 = .25;
p1 = 40*10^3;
p2 = 23*10^3;
Q = .45;
//Calculations
A1 = (%pi*d1^2)/4;
A2 = (%pi*d2^2)/4;
v1 = Q/A1;
v2 = Q/A2;
Rx = p1*A1 - p2*A2... |
cef994dd0d65c0fde1780e8e3b7c2a2aa89a60bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH23/EX23.4/23_4.sce | 1345b351cd2f72b6d749fc662e8413fad9437960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 23_4.sce | clc
//initialization of variables
V1=587 //fps
etaD=0.9
etaC=0.8
h1=114.69
P1=10 //psia
P3=626;
P6=P1
dhB=-19100 //B/lb
T1=480 //R
//calculations
h2s=etaD*V1^2 /(778*2*32.2) +h1
disp("From tables,")
Pr2s=1.104
Pr1=0.9182
P2=P1*Pr2s/Pr1
h2=h1+(h2s-h1)/etaD
T2=509 //R
Pr2=1.127
Pr3s=Pr2*P3/P2
Pr3s=6.76
h3s=203.2
h3=(h3s-... |
638cbac8f8fdac23f7f7be970e9b63ea44e26ea8 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/PulseWaveSolver/Tests/EmpiricalPressure.tst | 5f4c07d2ac6f7f8a5d18fb31df1c4c6c58ed1c9a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 706 | tst | EmpiricalPressure.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Empirical PressureArea Law, P=5</description>
<executable>PulseWaveSolver</executable>
<parameters>EmpiricalPressure.xml</parameters>
<files>
<file description="Session File">EmpiricalPressure.xml</file>
</files>
<metrics>
... |
c7f7e6acf1187671ba8bcc8b8e8839708a36dff2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH8/EX8.7/ex8_7.sce | 2485e6552d6d158265f5c731cc876311061b7e21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ex8_7.sce | //Exa 8.7
clc;
clear;
close;
// Given data
// del_W = T * ds - del_Q
T = 600;// in K
p_i = 7;//kgf/cm^2
p_e = 1.5;//kgf/cm^2
T_o = 298;// in K
R = 29.27/427;
del_W_lost = T * ( R *log(p_i/p_e));// in kcal/kg
disp(del_W_lost,"Lost work in kcal/kg is");
i = T_o * (R * (log(p_i/p_e)));// in kcal/kg
disp(i,"I... |
adbb056f9ddd723aad70317f78afd1301bab09de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH34/EX33.2/EX33_2.sce | 598fd6b10a606bfeed9483c2e3592f665a2f9bf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX33_2.sce | // Grob's Basic Electronics 11e
// Chapter No. 33
// Example No. 33_2
clc; clear;
// calculate the common-mode voltage gain, ACM, and the CMRR (dB).
// Given data
Rc = 10*10^3; // Collector resistance=10 kOhms
Re = 10*10^3; // Emitter resistance=10 kOhms
Ad = 142.86; // Differential gain=142.86... |
11994a17c7bebea0df397fb1c8db07e22026f330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH9/EX9.2/9_2.sce | 46be7324f32c2d3d37ed81cde00df76d231acd05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | 9_2.sce | pathname=get_absolute_file_path('9_2.sce')
filename=pathname+filesep()+'9_2_data.sci'
exec(filename)
//Duration of injection
t=Tc/(360*N/60)
//Specific gravity
SG=141.5/(131.5+API)
//Velocity of injection
Vinj=Cd*sqrt((2*(pinj-pcyl)*10^5)/(SG*1000))
//Vol of fuel injected per cycle
V=((bsfc/60)*P)/((N/2)*(SG... |
a7b4a61a4569178b9a951f3e3b630e5af11f6c87 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /ledblink_ex1.sci | 85bbf0ccfc191ffacdc1ec15e3723580ff784ef5 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sci | ledblink_ex1.sci | function ledblink_ex1()
cmd_digital_out(1,9,1);
sleep(3000);
cmd_digital_out(1,9,0);
cmd_digital_out(1,10,1);
sleep(3000);
cmd_digital_out(1,10,0);
cmd_digital_out(1,11,1);
sleep(3000);
cmd_digital_out(1,11,0);
endfunction
|
154d3f588f09d673a7d03d9a27bc178738c5cc28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH17/EX17.8/example8_sce.sce | 6aa5fd606dd3ef304bb509180ab86d18bdfbdfee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | example8_sce.sce | //chapter 17
//example 17.8
//page 734
printf("\n")
printf("given")
f1=300;f2=30*10^3;
disp(" single stage band pass filter")
C2=1000*10^-12;
R2=1/(2*3.14*f2*C2)
R1=R2;
Xc1=R1;//at voltage gain Av=1
C1=1/(2*3.14*f1*R1)
R3=R2 |
c1e4ed84edfee630601720dda8f21406880ebd03 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Collaboration/SCENARIOS/collaboration_test_pr2_aterm.sce | f9ba0553ebb88856505b5fca3ac2e76db1b3bfdb | [] | 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 | 6,619 | sce | collaboration_test_pr2_aterm.sce | #************************************************************
# Scenario of humanTestEnv
#
# date : Tue Dec 2 20:09:28 2014
#************************************************************
p3d_sel_desc_name P3D_ENV humanTestEnv
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN1
p3d_set_robot_steering_method Linear
p3d_set... |
ff9bb5923c8bcc713e5ec5f0d3d592728a182390 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SH9.prev.tst | 417a2df6ce0e4ff6ed14101037143837604f7c9d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | tst | SH9.prev.tst | expression: 1/54*(-1+18*x+(-(12*x-1)^3)^(1/2))/x^2
postfix1: ;1;54;/;0;1;-;18;x;*;+;0;12;x;*;1;-;3;^;-;1;2;/;^;+;*;x;2;^;/
rebuilt1: (1/54*(-1+18*x+(-(12*x-1)^3)^(1/2)))/x^2
postfix2: ;1;54;/;0;1;-;18;x;*;+;0;12;x;*;1;-;3;^;-;1;2;/;^;+;*;x;2;^;/
rebuilt2: (1/54*(-1+18*x+(-(12*x-1)^3)^(1/2)))/x^2
same
|
14c61bb80497174699d8fcf9b4b5c398c8e5030d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH4/EX4.6/Ex4_6.sce | bede12da411edab54980db56344cac1e07e4728f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | Ex4_6.sce |
// Theory and Problems of Thermodynamics
// Chapter 4
// Energy Analysis of Process
// Example 6
clear ;clc;
//Given data
m_f = 1 // mass flow rate in mol/s
gam = 1.4 // ideal gas constant gamma
P1 = 0.1 // Entering steam Pressure in MPa
T1 = 300 // enter... |
28a518a1a00eba05e8d3f6f8fbda42bcf1c72af2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elements_Of_Power_System_J._B._Gupta_2078.zip/Elements_Of_Power_System_J._B._Gupta_2078/CH1/EX1.2/Example1_2.sce | a9134a7662eb15c6c10378bb348585d425f9f801 | [] | 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 | 207 | sce | Example1_2.sce | errcatch(-1,"stop");mode(2);//Exa 1.2
;
;
//Given data :
R=5;//in ohm
kVA_B=10;//kVA
kV_B=11;//kV
RB=kV_B^2*1000/kVA_B;//in ohm
Rpu=R/RB;//in ohm
disp(Rpu,"Per unit resistance (pu) :");
exit();
|
a77715803b095f694a32e50831ea73c7e5dd195f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH17/EX17.4/17_4.sce | 876610348b42184ff4bfcd2b6c9b1d418111298b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 17_4.sce | ////Variable Declaration
D = 2.2e-5 //Diffusion coefficient of benzene, cm2/s
x0 = 0.3 //molecular diameter of benzene, nm
//Calculations
t = (x0*1e-9)**2/(2*D*1e-4)
//Results
printf("\n Time per random walk is %4.3e s or %4.2f ps",t,t/1e-12)
|
0c9e3700d13124c9e8d6c157905597ea40baa4b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/DEPENDENCIES/romberg.sce | fe42bb620138553a04fe9c2f14d5312428c2bd17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | romberg.sce | function [I]=Romberg(a,b,f,h)
// This function calculates the numerical integral of f(x) between
// x = a and x = b, with intervals h. Intermediate results are obtained
// by using SCILAB's own inttrap function
x=(a:h:b)
x1=x(1,1)
x2=x(1,2)
x3=x(1,3)
x4=x(1,4)
y1=f(x1)
y2=f(x2)
y3=f(x3)
y4=f(x4)
y=[y1 y2 y3... |
fcd34581d48bc7ae4bea1f2ca8070ada5181f000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH12/EX12.10/12_10.sce | b27273f92425eac1c4b49cb21db8cc4c9fc31642 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | 12_10.sce | //Problem 12.10:
//initializing the variables:
//Antoine Eq Coeff for Methanol
Am = 16.5938;
Bm = 3644.3;
Cm = 239.76;
//Antoine Eq Coeff for water
Aw = 16.262;
Bw = 3799.89;
Cw = 226.35;
T = 40; // in degC
//calculation:
xm = 0.3
pdm = (%e^(Am - (Bm/(T + Cm))))
pdw = (%e^(Aw - (Bw/(T + Cw))))
p = ... |
6ace964f6dd131650a14a334436aca4327524ee5 | c091632f508288fc5ddedb0aa9077209da1c78f8 | /Liu_Siyuan/solve.sce | 27aaec7f9e8f8efff4decb0b2f0cd9015ea10c89 | [] | no_license | Siyuan-Liu-233/matlab_TP | 1ff5af0234813bea5d7aee82ecd07bb4d548ebf6 | c59503b86e725b081863dc238789971f68fd4d46 | refs/heads/master | 2021-01-24T06:44:32.110004 | 2017-06-04T14:11:54 | 2017-06-04T14:11:54 | 93,317,732 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | solve.sce | A=[1,2,-2;1,1,1;2,2,1]
b=[1;1;1]
B=[2,-1,1;2,2,2;-1,-1,2]
x0=[0;0;0]
tol=10e-6
itmax=1000
[L,U,D]=extraire_mat(A)
[x1,n1]=jacobi(A,b,x0,tol,itmax)
[x2,n2]=guass_seidel(B,b,x0,tol,itmax)
|
2f5b07955bd45ebb71b7bcc36e4ba4be431a0215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.15/Ch05Ex15.sce | a8ed3d77cd1fccb6dbcb6cf59a8078ece38bf093 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Ch05Ex15.sce | // Scilab code Ex5.15: Pg:225 (2008)
clc;clear;
Lambda = 5080e-08; // Wavelength of light on the grating, cm
theta = 90; // Angle of incidence of light on grating, degree
d = 2.54; // Total ruled width of grating, cm
frac_lambda_max = d/Lambda;
printf("\nThe maximum resolving power = %1.0e ", frac_lambda... |
6a95bd73aab5f1686ef326fc245dc960939ca09a | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.6/3_6.sci | 1b2d4dd31f60392781ca0b9ba7b7765afbd01aca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sci | 3_6.sci | // Calculate the magnitude and limiting error in ohm and in percentage of the resistance
clc;
R1=37;
R1_le=5*R1/100;
R2=75;
R2_le=5*R2/100;
R3=50;
R3_le=5*R3/100;
R=R1+R2+R3;
disp(R,'Value of resistance (ohm)=')
R_le=R1_le+R2_le+R3_le;
disp(R_le,'Limiting Value of resistance (ohm)=')
Limiting_error_percenta... |
c4934d3f635fc09a4aeacf1a4585e878b61acb82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH2/EX2.6/ex2_6.sce | 96d6bbf102a7cb296833b4b659791c6556d85fba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,201 | sce | ex2_6.sce | //Chapter-2, Example 2.6, Page 93
//=============================================================================
clc;
clear;
//INPUT DATA
l1=0.1;//length in m
l2=0.18;//length in m
l3=0.18;//length in m
lg=1*10^-3;//airgap length in mm
a1=6.25*10^-4;//area in m^2
a2=3*10^-4;//area in m^2
ur=800;//relative p... |
e007d848d42ffcca378c33481d2c9f5f06c9d3b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH8/EX8.14/14.sce | be34661790f71039f8df434bdac37d1c014860ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 14.sce |
//Variable declaration
Kb=1.38*10**-23; //boltzmann constant
T1=300; //temperature(K)
T2=320; //temperature(K)
rho1=5; //resistivity(ohm m)
rho2=2.5; //resistivity(ohm m)
e=1.6*10**-19;
//Calculation
Eg=2*Kb*log(rho1/rho2)/((1/T1)-(1/T2)); //energy gap(J)
//Result
printf('energy gap is... |
a7a7c3d76e647fddfbb58b05b63c27c80867eb14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH2/EX2.7/Ex2_7.sce | c33d87e60ab9d309f782bc1edfe83ceca845d853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | Ex2_7.sce | //Example 2_7
clc();
clear;
//To find tension in the supporting cable and Components of the force exerted by the hinge
F1=50 //units in Newtons
d1=0.7 //units in meters
F2=100 //units in Newtons
d2=1.4 //units in meters
d3=1 //units in meters
theta2=53 //units in degrees
T=round(((F1*d1)+(F2*d2... |
843225fb9e1aad106342e890a1ee0a940a8e0572 | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /2b Program to solve algebraic and transcendental equation by false position method.sce | 7b8b7aef7cc7e4ccd0fe8bf167330d6ce7161b09 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | 2b Program to solve algebraic and transcendental equation by false position method.sce | deff('y=f(x)','y=x^3-2*x-5');
a=2,b=3; //f(2) is negative and f(3) is positive
d=0.00001; // for accuracy of root
printf('successive iterations \ta \tb \t f(a) \t f(b) \tx1 \n')
for i=1:25
x1=b*f(a)/(f(a)-f(b))+a*f(b)/(f(b)-f(a))
if (f(a)*f(x1))>0
b=x1;
else
a=x1;
end
if abs(f(x1)... |
ff23fa74a0fa0407d8fee78d9faab20b47dc83f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.8/example4_8.sce | ed034c37fc4cab84ba83897643dfdf864a637546 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,305 | sce | example4_8.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.8
// Page 124
printf("Example 4.8, Page 124 \n \n");
// solution
n = 100//[kmol] SO3 free gas basis
n1 = 16.5 //[kmol] SO2
n2 = 3 //[kmol] O2
n3 = 80.5 //[kmol] N2
// S + O2 = SO2
// S + 3/2 O... |
3ace7d0304daf5d1e26507e78e30a1ec1a299d20 | 49148682b78b6520a61de9a700f791835e1b32d5 | /STAGE2-3_Beginners3DProgramming/Texture/TextureFiles/Texture.tst | 91bb2cb96f1f8c83b4b642498e833de1ab1e31e2 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127,845 | tst | Texture.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_DXT5__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
6.18694, 0.963706, -0.664807, 1
#endif
DX3DTE... |
e42e2b555698aa51028c7ddc33ca100455b361b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH16/EX16.1/example_16_1.sce | a3a4b338db8832e8ef08aa371fd020dde4d825f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | example_16_1.sce | clear;
clc;
disp("--------------Example 16.1---------------")
C=1/100;
dist_moon=384000; // 384,000 km
radius_earth = 6378; // 6378 km
distance=dist_moon+radius_earth ;// total distance in km
Period=C*((distance)^1.5); //formula
month=round(Period/2592000); // 1 month = 60*60*24*30=2592000 seconds
printf("The... |
f42bd345d7a73ea5f876f9222581e0d5012d5e99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH7/EX7.2/s2.sci | 3406b80cf835eada9fd099c0aaf36677f72235c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sci | s2.sci | function[]=sortedsearch(a,n,ele)
if(a(1)>ele|a(n)<ele) disp("not="" in="" the="" list");="" else="" i="1;" j="0;" for="" if(a(i)="=ele)" printf("found="" %d="" at="" %d",ele,i);="">ele)
break;
end
end
end
if(j==0)
disp("%d NOT FOUND",ele);
end
end
endfunction
//Calling R... |
900e44ac229a1a65e37a1d3929ab53d285a889af | f7bc9b9da46b8d697f17e8277fa7ee58c3816c46 | /debug/clean.Europarl.en-fr.fr.tst | af4f2bc61547d6dde679d0f3830fa292cd447dbb | [] | no_license | DanBerrebbi/transformer_serie_4 | 42f58362ff26312bb1a87540a50abab6adf96bc3 | 4ec3c9c61df02bb25aafb8b18f7648df08ad3d10 | refs/heads/main | 2023-04-12T16:21:09.291679 | 2021-04-27T16:49:30 | 2021-04-27T16:49:30 | 362,134,319 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176,158 | tst | clean.Europarl.en-fr.fr.tst | À cet égard, je travaille en étroite collaboration avec mon collègue, M. Lamy.
L’une des tâches qui nous est confiée par nos électeurs est de prendre la défense des victimes de discrimination.
C'est pourquoi la Commission ne peut accepter, et rejette, les amendements 12 et 13 du rapport de M. Fava.
Dans la perspective ... |
71d041a5fce9fe1152620b26ce13526e2e3fb57f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.1/Example3_1.sce | dab903feb9098e4e121ffd45ed478a1955448ea6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Example3_1.sce | clc
//Given that
h = 6.6e-34 // plank's constant
nu = 2e15 // frequency in Hz
phi = 6.72e-19
m = 9e-31
//Sample Problem 1 Page No. 135
printf("\n\n\n # Problem 1 # \n")
printf("Standard formula Used \n ( 1/2)*m*v^2 = h*nu - phi")
v = sqrt ((h * nu)/ m ) //calculation of maximum velocity of photoelectron
print... |
fe64cc7267597389da44467e8c5391ee62a5d6c4 | a4633944be5b5077362ba6447966bb694c6647ee | /kadai3-2-1.sci | 220535aedbf988f11249b5c6e7752d1c867f377f | [] | no_license | zeno0119/37-communication | 79e47660c2ef7cfe08f25457ea577be3f850d000 | b879c29b9b21bf226be24749d95e06fc875e02f5 | refs/heads/master | 2022-12-18T02:53:01.006966 | 2020-09-11T05:45:14 | 2020-09-11T05:45:14 | 293,683,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,132 | sci | kadai3-2-1.sci | clear // 変数のクリア
close
[x, fs] = wavread("./week1/sound_hgst.wav"); // 音声ファイル「日立グローバル
disp(fs)
// ストレージテクノロジーズ」の読込
[y, fs] = wavread("./week1/sound_barusu.wav"); //(天空の城)ラピュタが崩壊する
disp(fs)
// とある呪文の読み込み
// x, y: 音声波形
// fs: サンプリング周波数
time_x = (0:length(x)-1)/fs; // 時間軸の設定
time_y = (0:length(y)-1)/fs; // 時間軸の設定
subplot(3... |
03934cc696c6301f6161c9c338485bc765b8bef1 | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /finddelay/test_finddelay.sce | da7c802c845ac741b8edfec7301d7ad4405b87e3 | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | test_finddelay.sce | X = [ 0 0 1 2 3 ];
Y = [ 0 0 0 1 2 3];
D = finddelay(X,Y,2)
disp(D)
X = [ 0 1 0 0 ; 1 0 2 1 ;0 0 0 2 ];
Y = [ 0 0 1 0 ;1 0 0 2 ; 0 0 0 0 ];
D = finddelay(X,Y)
disp(D)
|
87c9cf832aa538f1eec564c9636f83da02d4947d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/percent/%polss.sci | b1be350d108f62c347c1b8cb856de1e4ec0b7f89 | [
"MIT",
"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 | 148 | sci | %polss.sci | //[r]=%polss(s1,s2)
//%polss(s1,s2) effectue le test d'egalite entre polynome et systemes d'etat
//correspond a l'operation s1==s2
//!
r=%f
//end
|
24ddc088b31e40231705b6306d060e96ecda5eba | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/macros/misc/bb_freqid.sci | bdb11043fd19c08659b5e47eb10f5a1b33cb0fc2 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sci | bb_freqid.sci | function P=bb_freqid(x,y);
// System identification using energy spectra
// u: input signal
// y: output signal
nz=size(x,'*');
xf=fft(x);
yf=fft(y);
xf=xf(2:nz/2);
yf=yf(2:nz/2);
N=size(xf,'*');
Fxx=1/N*xf'.'.*xf;
Fxy=1/N*xf'.'.*yf;
P=Fxy./Fxx;
endfunction
|
a766992daefc931cd5cf0bfd07318393f59720c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.22/ex18_22.sce | 38a90e4b293192b65f461dd3a0ff23fb8e91b331 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | ex18_22.sce | clc;
clear all;
Rh=3.66e-11;//hall coefficient in m^3/(A*s)
sigma=112e7;//conductivity in ohm^-1* m^-1
e=1.6e-19;
n=3*%pi/(8*Rh*e);//concentration of electron in m^-3
disp('m^-3',n,'concentration of electron:')
ue=sigma/(n*e);//elctron mobility at room temperature
disp('m^2/(V*s)',ue,'elctron mobility at room t... |
fab3e32be8be584e5a0d08450079f25709b7d36a | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.23/Ex_6_23.sce | c3c50b5f8aa911f610301a38251de6fb32ecb9dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | Ex_6_23.sce | //Example 6.23
clc;clear;
X=[6 -2+2*%i -2 -2-2*%i];
x=clean(ifft(X));
disp(X,'X(k)=');
disp(x,'x(n)=');
|
6c7522ea8351e1e2c125f8330852711c4cf56f0b | 86c829c74bf901607fe0ed427edea9909c7bb4ce | /nand2tetris/projects/02/Mults.tst | 1d639fbe538a9234cc8bb524ff52bd5b17032ea5 | [] | no_license | raghavnauhria/Systems-Design-Lab | 69ef12807dd045a5ea210dcbd02186511afed63d | 7818399a3d0379e72827821f4ccf08861be8ae18 | refs/heads/master | 2020-07-20T01:22:03.489636 | 2019-09-05T08:55:21 | 2019-09-05T08:55:21 | 206,546,810 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | tst | Mults.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add4.tst
load Mults.hdl,
output-file Mults.out,
compare-to Mults.cmp,
output-list a%B1.4.1 b%B1.4.1 c%B1.1.1 out%B1.8.1;
set a %B0000,
set b %B0000,
set c 0,
e... |
c5a25a544fb24185f9e6d8f53adfaaae47dd6f9a | 6b7b3be3c11fc662ae3f0b3e8880218ce3888a07 | /math/SciLab/%ZQuat_m_s.sci | 48bda402c7be5ca0b48494ea0da166951d08e945 | [] | no_license | johnzet/Flight | 27cfa7dc8039f6c7b91385d9e204ad4a54248960 | 2893750df8aaa38311ffc125b1f7dcc9f5019eab | refs/heads/main | 2023-02-25T19:51:03.725205 | 2021-01-31T01:12:09 | 2021-01-31T01:12:09 | 334,544,210 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sci | %ZQuat_m_s.sci | function [q2] = %ZQuat_m_s(q1,a)
N1 = size(q1);
sa = size(a);
if (sa(2) > 1 | N1 > 1)
error("Invalid arguments sizes");
end
if (sa(1) > 1) then
// vector
//q2 = ZQ_defQuat(q1.r * a, q1.i * a);
error("Use ZQ_sandwich(q,v) instead");
else
// scalar
q2 = ZQ_defQuat(q1.r * a, q1.i * a);
end
endf... |
5efb6ecc6904d2f81fa855e453bf3671bc41735d | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH9/EX9.20/Chap9_Ex20_R1.sce | 88726b6db8ff6055ae261e3b5ebf1f86c571d1cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,046 | sce | Chap9_Ex20_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-9,Example 20,Page 344
//Title: Fugacity coefficients of the components in a mixture using Redlich-Kwong Equation of state
//==========================================================================================... |
98e7dc61ab53ba479604d1707d212da6b29f7c69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.30/4_30.sce | 41d8707d435c053e69b7fa17a87b6a23201e23b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_30.sce | R=2000
C=5E-6
w=1000
Xc=1/(w*C*%i)
Y=1/R+1/Xc
Z=1/Y
Req=real(Z)
Ceq=-1/(imag(Z)*w)
disp(Ceq*1E6,Req) //////Answer wrong in the book |
9dd56cb6dc173781edb547edb5441ac88326e8ea | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.5_15.tst | dafda1696d73a6797a7f6a7cbad421c14c0cbf65 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,841 | tst | bow.5_15.tst | 5 56:1.0 119:0.16666666666666666 251:0.25 266:1.0 308:0.16666666666666666 1194:0.5 1736:0.5
5 1:0.25 3:0.016129032258064516 7:2.0 25:2.0 30:1.0 44:0.125 57:0.08333333333333333 134:1.0 283:1.0 430:1.0 436:0.5 508:1.0 561:1.0 598:1.0 931:1.0 1029:1.0 1105:1.0 1203:1.0 1694:1.0
5 1:0.08333333333333333 3:0.0161290322580645... |
a5f107417e3194349dc3d5e1669322b77c17a7e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH15/EX15.12/P12_overheating_of_brake.sce | ad4b8dd9bcfcb68e761fca2935a2bfc4d3817ca5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | P12_overheating_of_brake.sce | clc
//Example 15.12
// Overheating of brake
//------------------------------------------------------------------------------
//Given Data:
C=39
delta_T=165
Hd=70e3
d=0.45
b=0.1
res12= mopen(TMPDIR+'12_overheating_of_brake.txt','wt')
Ar= Hd/(C*delta_T)
mfprintf(res12,'Area (required) = %0.2f m^2\n',A... |
e5b4e007b9b1b27554452d7f1db73662235e1917 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.8/ex6_8.sce | 8cdf5dc64aea1ca9dcd4dcd7ba078ee46aef432c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | ex6_8.sce | // Exa 6.8
clc;
clear;
close;
// Given data
V_P = -4;// in V
V_GS = -2;// in V
I_DSS = 10;// in mA
I_DSS= I_DSS*10^-3;// in A
I_D = I_DSS*(1-(V_GS/V_P))^2;// in A
disp(I_D*10^3,"The drain current in mA is");
V_DS = V_P;// in V
disp(V_DS,"The minimum value of V_DS in V is ");
|
89943e1330662a0e318f30e257a76b4d4e9c22f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH11/EX11.14/11_14.sce | 75be030d43c3c0874de1bd574b331556abe88c41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,038 | sce | 11_14.sce | //Example 11.14
//Crank Nicolson Method
//Page no. 390
clc;clear;close;
h=1/2;k=1/8;
r=k/h^2;
for i=1:3
for j=1:2
if i==1 | j==1 then
u(i,j)=0;
end
if i==3 then
u(i,j)=(j-1)*k
end
end
end
for j=2:2
u(2,j)=(u(1,j-1)+2*u(2,j-1)+u(3,j... |
c742502ccc317dd2b0f4000fe279466e54b590c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.7a/eg4_7a.sce | 98f73141a4c9ea8fe72269a9873eb6b769424659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | eg4_7a.sce | probXequalsi = 1/6;
expecXsquared = 0;
for n=1:6
expecXsquared = expecXsquared + (n*n*probXequalsi)
end
expecX= 3.5 // from eg 4.4a
var = expecXsquared - (expecX^2);
var10 = var*10;
disp(var10, "The variance is") |
96fc46ade8ce68c380c8c0cb580f7ef335b5421b | c1ce51265f95efaae6958ea5eb115324548bc5a4 | /lab8/compute.sce | d7a10c35c88dd7a8affce23760fa464bbba6c761 | [] | no_license | AlexeiOvcharov/csi-students | 0321d4c4e1432548471c2f428b39a948eaf482a9 | 82123440af86be1a591860bbdc5ed5b33bea5d45 | refs/heads/master | 2021-01-23T00:20:18.422869 | 2017-05-31T16:20:08 | 2017-05-31T16:20:08 | 85,718,199 | 0 | 0 | null | 2017-03-21T15:22:46 | 2017-03-21T15:22:46 | null | UTF-8 | Scilab | false | false | 517 | sce | compute.sce | clear();
gray = color(200, 200, 200);
// Initial data
T1 = 1;
path = "/home/senserlex/homeworks/TAY/csi-students/lab8/";
modleName = "src/model.zcos";
dataFileName = "data/dataTreshold.dat";
// Load model
loadXcosLibs(); loadScicos();
importXcosDiagram(path + modleName);
typeof(scs_m);
T2 = -100;
K = 0;
dat = []
//... |
f61d66db16461bb0ac212873530abe0c973365fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH4/EX4.1.13/4_1_13.sce | 8a063beb7e782a38366d5fbf6203184badc07f46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | 4_1_13.sce | disp('the given vectors are:')
v1=[1;0;-1]
disp(v1,'v1=')
v2=[2;1;3]
disp(v2,'v2=')
v3=[4;2;6]
disp(v3,'v3=')
w=[3;1;2]
disp(w,'w=')
disp('It is clear that w is not one of the three vectors in v1,v2 and v3')
disp('The span of v1,v2 and v3 contains infinitely many vectors.')
disp('To check if w is in the subs... |
1c026c1b8a3490df2f4bbd2f6d78801587b603ee | 5c5fd5efaeecddf4cd7b8470a41364de7fcba737 | /Scilab/kopplungTest.sce | 8e9828ac55f7dee2f582e0e3e23ebbd1a6a4a0ae | [] | no_license | derLars/RFIDInductiveCoupling | c1ba28900af0930e7278f1764b3c02e6d2a80ec1 | 18a26c28ec1348674c112387109aa31b36dbd7df | refs/heads/master | 2021-01-10T11:55:51.539075 | 2015-05-25T19:49:58 | 2015-05-25T19:49:58 | 36,164,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,444 | sce | kopplungTest.sce | I = 10
x = [0.001:0.001:0.2]
mu = (4 * %pi * 10^(-7))
N1 = 700
l1 = 0.05
r1_2 = 0.02
r1_4 = 0.04
r1_6 = 0.06
N2 = 15
l2 = 0.01
r2 = 0.02
H_2 = (N1 * I * r1_2.^2) ./ (2 * sqrt((r1_2.^(2) + x.^2).^3))
H_4 = (N1 * I * r1_4.^2) ./ (2 * sqrt((r1_4.^(2) + x.^2).^3))
H_6 = (N1 * I * r1_6.^2) ./ (2 * sqrt((r1_6.^(2) + ... |
cdf35129ae26658160e04581003754c4f708e720 | fce47a4c482ae622563fc72d7643d824cc572edc | /_scilabTP/tp11/tracerFonction.sce | 71cc7c986b7399cc58b741bf09d45f8ebe0a505b | [] | no_license | ece2lr/ece2lr.github.io | a57ff8852ef06b7cef1c734106f1badd668ebcb1 | 13479dc224e39521c6c387401b889e62a90a8d0b | refs/heads/master | 2021-01-12T12:07:37.196408 | 2017-12-16T19:25:16 | 2017-12-16T19:25:16 | 72,310,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | tracerFonction.sce | x = linspace(-1,1)
y = x
function z=f(x,y)
// ma fonction ici (pas besoin de .* !)
z = x^2 + y^2
endfunction
clf()
//subplot(121) //
fplot3d1(x,y,f) // en couleurs
////tracer une constante (plan horizontal)
//k = -.1 // hauteur de la constante
//plot3d(x,y,k*ones(x'*y))
//e = gce()
//e.color_mode=128
// Cosmét... |
01a6a1b76066935a07f23efd99e9f8b170be9b24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.10/2_10.sce | 7fc599f04e5beef2c2b70f74804d0fd01a8da2e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_10.sce | clear
clc
disp('Exa-2.10');
c=3*10^8;
u=0.8*c;L=65; //all values are in terms of c
t=u*L/(c^2*(sqrt(1-((u/c)^2)))); //from the equation 2.31
printf('The time interval between the events is %e sec which equals %.2f usec.',t,t*10^6); |
1ed5b8325aba93191bddc07e7d1608621b2e9ce0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH4/EX4.5/Ex4_5.sce | 787eb006c4305768707e86d1dc37d5403a95c4bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex4_5.sce | //Chapter 04:Number Theory and Cryptography
clc;
clear all;
dec=[]
d=0
i=1
disp('Please enter input in inverted commas')
hex=input("Enter the hexadecimal number:")
l=length(hex)
hex=strsplit(hex)
cn=0
for i=l:-1:1
select hex(i)
case 'A' then
d=10
case 'B' then
d=11
case 'C' then
... |
b2b8bc3a49a160dc64077b2c85e753eaaa044fb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH16/EX16.5/Ex16_5.sce | 8e05a9190d8994aad80645d42dc6325a3783a526 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | Ex16_5.sce | clc
Veo = 1.777 // Ve/Vo
e = 1-Veo // Degree of dissociation
P = 0.124 // in atm
K = (4*e^2*P)/(1-e^2)
printf("\n Example 16.5\n")
printf("\n The value of equillibrium constant is %f atm",K)
|
276d4f0ea51876ca89d407ab8df2b34abb7a8d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH10/EX10.2/10_2.sce | 4526a2c088cac93d61620ae3a2803dca568a3201 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | 10_2.sce | clc
//Initialization of variables
m1=5.28
m2=1.28
m3=23.52
//calculations
m=m1+m2+m3
x1=m1/m
x2=m2/m
x3=m3/m
C=12/44 *m1/ m
O=(32/44 *m1 + m2)/m
N=m3/m
//results
printf("From gravimetric analysis, co2 = %.1f percent , o2 = %.1f percent and n2 = %.1f percent",x1*100,x2*100,x3*100)
printf("\n From ultimate... |
9cba315773786626ea08c62395d8539a2254d2e2 | de14a6897d4397228a52bacb8905b8807370ef4b | /eulercauchy.sce | aa26e19b900dc0e7369801337d2eb5778749b7e3 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | eulercauchy.sce | function dydt=f1(t,y)
dydt = -t*y+t;
endfunction
function y=euler_cauchy(y0,t,f)
n=length(t);
y=zeros(1,n);
h=t(2)-t(1);
y(1)=y0;
for i=1:n-1
k1=f(t(i),y(i));
k2=f(t(i)+h,y(i)+h*k1);
y(i+1)=y(i)+h/2*(k1+k2);
end
endfunction
function y = solution_exacte(t)
y = 1-exp(... |
7dbb582a953bdca0e158603f94eff0845ad72ca6 | 8409f47affbce56ae5b00d9f697b52364fdcec7e | /boolean-logic/Mux4Way16.tst | 906f0651e3f6625bfd59fbaaf46b4f9eb1ad9d7b | [] | no_license | oleiade/Bam | 1609eca5f6247c10cef17375704547282537d1e0 | 84fcab3751b5b344afacdd3647e8071616f9f0b6 | refs/heads/master | 2021-01-19T22:33:50.345657 | 2013-10-26T16:05:22 | 2013-10-26T16:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | tst | Mux4Way16.tst | load Mux4Way16.hdl,
output-file Mux4Way16.out,
output-list sel%B1.2.1 out%B1.16.1;
set a %B0000000000000001,
set sel %B00,
eval,
output;
set b %B0000000000000010,
set sel %B01,
eval,
output;
set c %B0000000000000100,
set sel %B10,
eval,
output;
set d %B0000000000001000,
set sel %B11,
eval,
output;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.