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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f3e2b76dc98bef3067e36087166df1c89a58ea7 | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/macros/ann_FF_grad_nb.sci | 57ce574b25d6625b108178bd72b21b17d1970adc | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,803 | sci | ann_FF_grad_nb.sci | function grad_E = ann_FF_grad_nb(x,t,N,W,dW,af,ef)
// This file is part of:
// ANN Toolbox for Scilab 5.x
// Copyright (C) Ryurick M. Hristev
// updated by Allan CORNET INRIA, May 2008
// released under GNU Public licence version 2
// Calculates the error gradient following a finite difference procedure,
// i.e. pertu... |
b4cc16d77d3654be8b0bf6ec02977e3d3c5cf139 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH5/EX5.5/Exa5_5.sce | b90eed25ba743b0ceaf796f64558f914b81337b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | Exa5_5.sce | // Exa 5.5
clc;
clear;
close;
// given data
Vo=7.5;//in Volt
fo=1;// in KHz
DutyCycle=60;//in %
disp("Zener diioe has to be used at the output to limit the output at +7.5 volt or -7.5 volt.");
disp("Thus choose Vz=Vz1=Vz2=6.8 volt as VD=0.7 volt")
Vz=6.8;// in volt
Vz1=6.8;// in volt
Vz2=6.8;// in volt
VD... |
62aefcc8b0a2afcfee6e1e5405ead64867277695 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.45/ch7_45.sci | 884e675a5d32534cc81050c45a852f46408f01a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sci | ch7_45.sci | //to calculate the ratio of full load speed to no load speed
clc;
V=400;
Rf=200;
If=V/Rf;
Inl=5.6;
I_a0=Inl-If;
vd=2; //voltage drop
Ra=.18;
E_a0=V-Ra*I_a0-vd;
Ifl=68.3;
Iafl=Ifl-If;
E_afl=V-Ra*Iafl-vd;
e=.03; //armature rxn weakens the field by 3%
k=(E_afl/E_a0)*(1/(1-e));
disp(k,'n_fl/n_nl');
|
5c67fe87e4770d666880eac1851fe9dfb5d26007 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/epipolarlines.sci | 6df56088e72f9174b90393e070aef7d65063e1c5 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 2,283 | sci | epipolarlines.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_... |
dcc0998401c497fb8e9394ffb09b01734e4b8513 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_15.tst | d5f41fe6703919e9d7db4c12631e06c8f64756ef | [] | 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 | 4,578 | tst | bow.16_15.tst | 16 1:0.047619047619047616 13:1.0 63:0.5 83:0.013888888888888888 102:0.3333333333333333 155:1.0 1119:1.0
16 1:0.047619047619047616 10:1.0 13:1.0 22:1.0 25:1.0 47:0.25 83:0.013888888888888888 93:1.0 122:0.16666666666666666 175:0.14285714285714285 191:0.25 250:0.3333333333333333 340:0.2 440:1.0 567:0.25 575:1.0 1040:1.0 1... |
f9ac0b9d47a3d3d1899d82575e485c51c9b6f75c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH8/EX8.3/Ex8_3.sce | c13eb0b1472b33a15a29cae9421604eaf58759d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex8_3.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 271 and 272
clear;
clc;
//Given Data
k=10;//turn ratio of transformer
RL=8;//load resistance in ohms
//Solution
RL_eq=k^2*RL;//equivalent resistance at primary in ohms
printf("RL'' = %d ohms",RL_eq);
|
be9943efc65fb315b4e09160df96fbb5ea09cdae | 73425c8dc40c95f00b4a1a32327c2aeabcef7c58 | /NewsPaper.IdentityServer/Data/migrations.tst | c514a452c3a06497901ff49fa262f55efa267b5e | [] | no_license | PKravchenko-ki16/NewsPaper.IdentityServer | e19b35e7b2819cd9823a5b6237229ac955361c1b | be02b8ef36b7f94883fc2ebcb77afb12cab81e1f | refs/heads/master | 2023-01-12T04:11:16.068789 | 2020-11-16T13:59:12 | 2020-11-16T13:59:12 | 312,257,067 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | tst | migrations.tst | Add-Migration Initial -Context ApplicationDbContext -OutputDir Data/ApplicationDb
Update-Database -Context ApplicationDbContext
Add-Migration PersistedGrantDbMigration -Context PersistedGrantDbContext -OutputDir Data/PersistedGrantDb
Update-Database -Context PersistedGrantDbContext
Add-Migration ConfigurationDbMigra... |
4d95674bd370f924fe0564d191c4c496997b10b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH9/EX9.3/ex9_3.sce | 21bbb0617ab93eddf66f9ef6c7f1c05c4c4e8b01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | ex9_3.sce | clear;
//clc();
// Example 9.3
// Page: 221
printf("Example-9.3 Page no.-221\n\n");
//***Data***//
printf("This is a theoratical question and there are no any numerical components. For the derivation, refer to page no 221 of the book."); |
7e64d858b0f926e5bff3397bd4ab691c5671d84e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH3/EX3.4/Ex3_4.sce | ca607f912eeb27ed5868bdb9b94b1c1692bdc62b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | Ex3_4.sce | //Example 3.4:
clc;
clear;
close;
format('v',5)
//given data :
del_Ic=0.95*10^-3;// in A
del_Ie=1*10^-3;// in A
alfa=del_Ic/del_Ie;
disp(alfa,"the short circuit current gain, = ")
|
bf5c99655959e39437ddd667958bb69fec4f8264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH11/EX11.4/Ex11_4.sce | 3c6c15c29f28afb202c7e934fd9c931c3818e498 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Ex11_4.sce | clc;
//e.g 11.4
Idss=20*10**-3;
vp=-8;
gmo=5000*10**-6;
vgs=-4;
//Id=Idss*(1-(Vgs/Vgso))^2
Id=Idss*(1-(vgs/vp))^2;
disp('mA',Id*10**3,"Id=");
gm=gmo*(1-(vgs/vp));
disp('microsec',gm*10**6,"gm=");
|
4d0fcfe182c976314aa205e47fc4745b6bedb5f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH25/EX25.3/EX25_3.sce | c8208d29f7ec747ad5c518ea07f0cf200c379014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | EX25_3.sce | //Chapter 25
clc
//Example 3
//given
f=10 // focal length in cm
//a)Maximum angular magnification
M_max=1+(25/f)
disp(M_max,"a) Maximum angular magnification of the lens is")
m=25/f
disp(m,"Angular Magnification of lens when eye is relaxed is")
|
ef6fe657d14663c37d297e17e31db2d231ca12d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.2/Example1_2.sce | 922d3cf0ec3cd89210b5faa04cb67ca7e44a935e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Example1_2.sce | // Example 1.2
clear; clc; close;
format('v',6);
// Given data
P=2;//No. of poles
f=50;//in Hz
S=2;//in %
//Calculations
S=S/100;//unitless
Ns=120*f/P;//in rpm
N=Ns*(1-S)
disp(N,"Speed of motor in rpm : ");
|
46bfb6969549cbef5423cc4da82c0425e4c43b6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH8/EX8.12/exa_8_12.sce | 3bd89725cb0d2886ba23b1da84502a6b046e1e25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | exa_8_12.sce | //Exa 8.12
clc;
clear;
close;
format('v',13)
//given data
t_hi=78;// in degree C
t_ci=23;// in degree C
t_ho=65;// in degree C
t_co=36;// in degree C
// Energy balance Mh*Cph*(t_hi-t_ho) = Mc*Cpc*(t_co-t_ci)
// C =C_min/C_max = Mh*Cph/( Mc*Cpc)
C= (t_co-t_ci)/(t_hi-t_ho);
epsilon=(t_hi-t_ho)/(t_hi-t_ci);
... |
bec7bdd642158c0c6034ff9ed5eb1870e2942120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH4/EX4.3/4_3.sce | 2cc0c0b6a1c06afb066a8d156260f18880832106 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | 4_3.sce | clc
//Initialization of variables
sg=1.26
sg2=1.26
HP=22
HP2=16
//calculations
hp=HP*550/(sg*62.4) //divide by Q
Q=14.2 //cfs
printf("In English units, By trial Q= %.1f cfs",Q)
hp2=HP2*1000/(sg2*9.81)
Q2=0.42 //m^3/s
printf("\n In SI units, By trial Q= %.2f m^3/s",Q2)
|
78f5797e5d59e860f0b1651f002378c384704beb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH8/EX8.2/Ex8_2.sce | ed1500e349bff387fc3cc3f6f9a2daaaba2aba4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Ex8_2.sce |
// Theory and Problems of Thermodynamics
// Chapter 8
// Power and Refrigeration Cycles
// Example 2
clear ;clc;
//Given data
P1 = 10 // pressure of saturated water to be pumped in kPa
P2 = 3 // boiler pressure is maintained in MPa
n_p = 0.85 // isentropic eff... |
8b9ccc3314781cd73be063dbb16d43d877aecb69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH14/EX14.5/5.sce | d745a866c5c2fc2137c841469a1acb65544694da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | 5.sce |
//Variable declaration
D10=0.5*10**-2; //diameter of 10th ring(m)
lamda=5900*10**-10; //wavelength of light(m)
n=10;
//Calculation
R=D10**2/(4*n*lamda); //radius of curvature(m)
//Result
printf('radius of curvature is %0.3f m \n',(R)) |
25a671a17214b3cebfb5edfe430d91564367636e | b3c9357cd1290921e67444ae057761959fdf24f1 | /Curso de programação com Scilab/códigos/minquadrado.sce | e951f84dcbba3df70157179a671d2a18082f71f0 | [] | no_license | joaolrneto/Scilab | 91742520422426dc8a772997ef4a5d6376008b6e | f383f87e4585955cf19d0dae1b5c29f93c3f70b4 | refs/heads/master | 2023-02-05T20:13:03.677069 | 2020-12-30T14:53:09 | 2020-12-30T14:53:09 | 264,671,730 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,116 | sce | minquadrado.sce | clc
clear
close
n_pontos=7;
x=[1.1 2.2 3.3 4.4 5.5 6.6 7.7];
y=[1.01 2.3 3.05 4.28 5.75 6.48 7.84];
soma_x=0;
soma_y=0;
soma_xy=0;
soma_x2=0;
for i=1:n_pontos
soma_x=soma_x+x(i);
soma_y=soma_y+y(i);
soma_x2=soma_x2+x(i)^2;
soma_xy=soma_xy+x(i)*y(i);
end
media_x=soma_x/n_pontos;
media_y=soma_y/n_pontos;
... |
7e2bb6d8d5a986b9f1b301705884b1950ae8ed3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH1/EX1.3/example3.sce | 2c3c6c53607e69736466e8de9cd3a7211d27caf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | example3.sce | // to do binary search..
function[]=search(a)
i=1;
[j,k]=size(a);
for i=1:k
if x==a(i) then
printf("\nFOUND and index no. is=%d\t",i);
end
end
funcprot(0);
endfunction
//callin routine
a=[5 7 45 28 99]
x=45
binary=... |
c68b00ec178fafc2713d9e134069f243cb16468b | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/MDacceptedRatio.sce | e2d8f7858b5b2ec57a14584050627f5ff6497399 | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | MDacceptedRatio.sce | figure();
aceptedratio = read("ShortestPathBW_Accepted_Ratio_l4_c0.txt",-1,2);
time = aceptedratio(:,$-1);
aceptedratio = aceptedratio(:,$);
plot(time,aceptedratio, 'r-o');
aceptedratio = read("ProbaHeuristic3_Accepted_Ratio_l4_c0.txt",-1,2);
time = aceptedratio(:,$-1);
aceptedratio = aceptedratio(:,$);
plot(time,acep... |
b727e6f2e28389954dcdc68bf3da7d313dfc7a51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH24/EX24.8/example8.sce | 96eafd677a11deab55d54108701efe48ded3a409 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | example8.sce | // find efficiency
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 24-8, page 963
clear; clc; close;
// Given data
Vin=15;// input voltage
Vz=6.2;// in volts
Vbe=0.7;// in volts
Rl=40;// in ohms
R1=3*10^3;// in ohms
R2=1*10^3 ;// in... |
a99f674863d92deb89db8153589ae527bcdbe6da | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP2/ibackSub.sci | 0ba944a9636bb3a20e1438e915799ffbc58081fd | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sci | ibackSub.sci | function x = ibackSub(A,b,indx)
n=length(b);
x=zeros(n,1);
for (i=n:-1:1)
x(i)=(b(indx(i))-A(indx(i),i+1:n)*x(i+1:n))/A(indx(i),i);
end
endfunction |
566ffd8680c1e45c880ce219362ea4259eb2d7ad | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /matlab/plasma/grav.sce | fcfa0f989771912dca3560bb3df7be279417eba6 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | grav.sce | //bfield outside a solenoid
//assume solenoid aligned along z axis
function [g]=grav(m,r)
me=;
G=;
rsq=r(1,1)*r(1,1)+r(2,1)*r(2,1)+r(3,1)*r(3,1);
g=G*me/rsq;
endfunction
|
343d4b86f89d34e9cd21705f6171d2279c639332 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/Test/test.SCI | f8276284b1d75fcd27e5971fa546b56669af2bec | [
"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 | 868 | sci | test.SCI | # resetallscenes;
# resetallviewports;
# resetallvideos;
resetall;
displayname=root.displays.getmembers.get(0).name;
vp=addviewport(0,0,1,1,displayname,displayname);
vp.name="main";
disp1=root.displays.get(displayname);
disp1.start;
vp.usestereo=true;
vp.start;
vp.camera... |
b4b319b3668100ad3bc628e2f282f09314bcb0e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH4/EX4/cha4_4.sce | eb04c71f97930988dc09ee0676ef45a22804bb81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | cha4_4.sce | Ia=120;Ra=0.1;Vt=80;Vt1=75;AB=17;Ea=6;
V=Ia*Ra
Ia=AB/Ra
Ia1=Ea/Ra
|
c8291917150b0d4083f901efa6a37add0f7fd350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH10/EX10.12.b/10_12b.sce | 2d25e8888a923b52da50d1ed26518ce6cb3d420b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 10_12b.sce | //example 10.12(b)
//determine Z transform
clc;
function[za]=ztransfer(sequence,n)
z=poly(0,'z','r')
za=sequence*(1/z)^n'
endfunction
x=[1,2,6,-2,0,3];
n1=-2:length(x)-3;
X=ztransfer(x,n1);
disp(X,'X(z)=');
funcprot(0);
|
036b00e3a2bcbd9f95cdac0656b3b415a6176e41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH7/EX7.4/Ex7_4.sce | 70211c285d55fbd01395e83b889a2bdff8016a94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Ex7_4.sce | //Ex7_4
clc
GBW=10^(6)
disp("GBW= "+string(GBW)+" Hz")// Gain-Bandwidth product
AMf=100
disp("AMf="+string(AMf)) // Midband gain with feedback
fHF=GBW/AMf
disp("fHF=GBW/AMf= "+string(fHF)+" Hz")//Signal bandwidth
f_10percent=(10*fHF)/100
disp("f_10per cent=(10*fHF)/100= "+string(f_10percent)+" Hz")//Frequency ... |
4f1979a8fecccbd5aec2a97d07f4a9d4bf57fce0 | 69147dbbf89bfbceb8875e0e1545e513ebfaf1be | /TopArtists_7.tst | b6419b6021cd55f0081b9e018e863e65832be881 | [] | no_license | Cbro/Oracle-scripts | 225e7121f3e8b6d77d9da786ddbad58502486989 | 97769548e7a2794d6cc75a1ac46821f58d347dec | refs/heads/master | 2020-12-24T14:36:20.643782 | 2011-05-07T18:55:51 | 2011-05-07T18:55:51 | 667,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | tst | TopArtists_7.tst | PL/SQL Developer Test script 3.0
36
-- Created on 11/04/2008 by MKAUL
declare
-- Local variables here
i integer;
vTrackID track.id%type;
vRankNum INTEGER;
begin
for x in (
-- Test statements here
select x.artist_id,
x.rank_num
from
(
select /*+ FIRST_ROWS */ v.artist... |
ed80dec37a87b615c024a5d8dbd88bd8af1a30c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH7/EX7.8/Ex7_8.sce | baed86f02f64987c9d23c934c8c7401ae50059cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Ex7_8.sce |
//both the coils draw lagging currents, hence both are inductive
//for coil A
Va=10//voltage applied
Ia=2//current drawn
Za=Va/Ia
pf=.8//power factor
Ra=pf*Za
Xa=sqrt(Za^2-Ra^2)
//for coil B
Vb=5//voltage applied
Ib=2//current drawn
Zb=Vb/Ib
pf=.7//power factor
Rb=pf*Zb
Xb=sqrt(Zb^2-Rb^2)
Rt=Ra+Rb//t... |
1a8d93d0ba4c500b031bf8552700e0bd0fb9b2ea | c9cea368728effc50ef3a05f10679bcc5c63382a | /Proyecto/proyecto.sce | a5608bfbc630eb3ddafd3833f1d56fbbe6bdbd49 | [] | no_license | juancllanos/Optimizacion | dbb30315da1b6b3bfac0d1ace5d8e468557565d3 | ef85b725af392290dd46febc839f27944a5ed9d7 | refs/heads/master | 2020-04-28T05:46:38.128903 | 2019-05-21T21:59:16 | 2019-05-21T21:59:16 | 175,032,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,895 | sce | proyecto.sce | /*
Usaremos la funcion karmarkar la cual resuelve problemas de Optimizacion Lineal
- Los parametros que esta misma recibe son :
'Aeq'(matriz de coeficientes de x en las igualdades)
'beq'(Matriz de constantes de las igualdades)
'c'(matriz de coeficientes de la funcion objetivo)
'A'(matriz de coefici... |
f9291d1c38fe5b65216e772e4c59ae8383fae44a | 6b755ce3e04b7ec0724e46a2c59c461553c57b27 | /Markov-models/Hidden Markov models/crabe-tp.sce | f982b3821a4f376569a128c101198f415de35071 | [] | no_license | francoisDupre/Markov-Models | ca2a12bd569e23c16bc8e757ef246a2d01c25448 | 7467e9a3dc975fa33631ba676a92e2945437a603 | refs/heads/master | 2021-01-22T01:55:00.200304 | 2017-02-06T21:08:29 | 2017-02-06T21:08:29 | 81,018,232 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,224 | sce | crabe-tp.sce | // MODALE TP1 CRESSOT DUPRE
clear
// test de chi2
function[proba]=test_chi2(N,p0)
n=sum(N);// taille de l'echantillon observe
// calcul de zeta_ n
zeta_n=n*sum(((N/n-p0).^2)./p0);
// nombre de degres de liberte (= nombre de classes dans N-1)
d= length(N)-1;
// on calcule la proba pour un chi 2 à d-1 degre... |
08cdd10301a510b0a3032c97545753da21d566db | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH2/EX2.11.b/ex2_11b.sce | cf02237d73ca5bef96c417586ba1815b638545c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | ex2_11b.sce | clc;
A=1;
Dt=0.005;
t=-4.5:Dt:4.5;
xt=exp(-A*abs (t));
Wmax=2*%pi*1;
K=4;
k=0:(K/1000):K;
W=k*Wmax/K;
XW=xt*exp(-sqrt(-1)*t'*W)*Dt;
XW = real (XW);
W=[-mtlb_fliplr(W),W(2:1001)];
XW=[mtlb_fliplr(XW),XW(2:1001)];
subplot(1,1,1)
subplot(2,1,1);
a=gca();
a.y_location="origin";
plot(t,xt);
xlabel( ' t in ... |
75489ffd50d7c7a85136684b3706e39d7fa424dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH7/EX7.9/Ex7_9.sce | b9d20c2fdcd139036efd6da62dd698f0eb2b54af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | Ex7_9.sce | clc
// initialization of variables
clear
Y=280 //MPa
AB=40 //mm
BC=60 //mm
//calculations
Y=Y*10^6
alpha=atan(BC/AB)
C11=20/3 //mm
C12=-10 //mm
C21=-20/3 //mm
C22=10 //mm
Beta=atan((C11-C21)/(C22-C12))
Phi=%pi/2+Beta
d=sqrt((AB/2-C11)^2+(BC/2-C22)^2)
d=d*10^-3 //m
At=1/2*AB*BC/2*10^-6
Mp=At*Y*d
print... |
b4d74300b3c0a1dff3b5c1bf37ba6833ca03de4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.33/Ex33.sce | 1c3e36bfaf84e69de074efb561b07f70466798cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex33.sce | // Additional solved examples , Example 33 , pg 346
M1=199 //isotopic mass
Tc1=4.18 //critical temperature for M1 (in K)
Tc2=4.14 //critical temperature for M2 (in K)
alpha=0.5
//M^alpha * Tc=constant
M2=((M1^alpha*Tc1)/Tc2)^(1/alpha)
printf("Isotopic mass at critical temperature 4.133K\n")
print... |
76116f564e531a322c8fe6b6d92cf8bfed8f484d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/percent/%rsp.sci | e8b04e83b48cb30255de67c3f22eb5d381aa4e17 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 197 | sci | %rsp.sci | function f=%rsp(f1,n2)
// %rsp(r,p) soustrait la matrice de polynomes p a la matrice de fractions
//rationnelles r. (r-p)
//!
[n1,d1]=f1(2:3)
[n1,d1]=simp(n1-n2.*d1,d1)
f=tlist('r',n1,d1,f1(4))
|
e5c53153d43ea8d3a53a1abb6e124a54c8551b90 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.6_12.tst | f52f9604ea7a636910f98d53a7fa04fb538c65ce | [] | 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 | 6,892 | tst | bow.6_12.tst | 6 9:0.5 17:0.1111111111111111 18:1.0 21:0.09090909090909091 25:0.25 32:1.0 48:1.0 83:1.0 185:1.0 221:0.5 242:1.0 368:0.25 593:1.0
6 6:1.0 17:0.2222222222222222 21:0.18181818181818182 23:0.07142857142857142 32:1.0 40:0.07142857142857142 44:0.017857142857142856 59:0.5 66:1.0 78:0.5 82:1.0 107:0.3333333333333333 157:0.333... |
5b0182f31b4d52de8c557ea7353017e8f8ccc66f | 4f80e02b7efd948d16a7f4b3ebf47124acb45be0 | /v01/WMB flows and inputs/WMB flows and inputs/airline.tst | ec86f3668295c006d63e66c46b709df13bd2ee04 | [] | no_license | UPPIGIT/Integration | 75e53c6dee01342ef8778505ef999572354df200 | 89dd1f77531f611ece0eeaa63a262d50bdcf6498 | refs/heads/master | 2021-07-08T10:59:43.009944 | 2021-04-16T06:15:30 | 2021-04-16T06:15:30 | 234,123,881 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | tst | airline.tst |
DEFINE QLOCAL ('XML_FLIGHTQUERY_FLIGHT') REPLACE
DEFINE QLOCAL ('XML_FLIGHTQUERY_IN') REPLACE
DEFINE QLOCAL ('XML_FLIGHTQUERY_OUT') REPLACE
DEFINE QLOCAL ('XML_FLIGHTQUERY_PASSENGERS') REPLACE
DEFINE QLOCAL ('XML_FLIGHTQUERY_REPLIES') REPLACE
DEFINE QLOCAL ('XML_FLIGHTQUERY_TIMEOUT') REPLACE
DEFINE QLOCAL ('XML_FLIGHT... |
28f2c5dd02c8660e497309585e60f1547bbf1803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH10/EX10.2/Chap10_Ex2.sce | bb6414d360accf08208dab02f75d129728cd542e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,620 | sce | Chap10_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-10, Example 2, Page 254
//Title: Compare the Relative Importance of Kbc and Kce
//==========================================================================================================
clear
c... |
19d1ea09dc6839d67fbdd5f6f33af621b6044b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH2/EX2.4/example4.sce | c9a4666440844d5a3a6f9d940478c9fba66c6165 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | example4.sce | //Chapter-2 example 2.4
//=============================================================================
clc;
clear;
Pt=50000;//peal power in watts
PRF=1000;//pulse repetitive frequency in hz
PW=0.8;//pulse width in usec
//Calculations
D=PW*PRF*10^-6;//duty cycle
Pav=Pt*D;//average power
//output
mprintf('Du... |
bc6ca9a2cd3d1b8dc7e125e8a0767353ea7b0a21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH1/EX1.5/5.sce | 4befedbdc4f3d8de2014ece32ffe06d19f711a74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 5.sce | clc
clear
//INPUT DATA
Q=3.56//rate of energy radiates in W
r=15//distance of intensity level in m
Io=100//reference intensity in Wm^-2
//CALCULATION
A=4*3.14*r*r//Area in m^2
I=(Q/A)//sound intensity in Wm^-2
IL=(10*log10(I/Io))//The intensity level in dB
//OUTPUT
printf('The intensity level is %3.3f dB... |
42fe808210bce83681254e7e64db66b479f1ce20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.1.1/ques1_1.sce | f33f28930c90c1c79d7fe6fc17e7adbac61b76be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | ques1_1.sce | //ques1(i)
disp('To find the laplace of given function in t ');
syms t s
disp(laplace(sin(2*t)*sin(3*t),t,s)); |
34367457f15e284c0f977c28293f88ccbfab18b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH8/EX8.3/example8_3.sce | 987b95890a6419a9da98c669a45504ac76bd5545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | example8_3.sce | // to find the capacitance, resistance and the dissipation factor
// example 8-3 in page 202
clc;
//Given data
f=100;// frequency in Hz
C1=0.1e-6;// satndard capacitance in farad
R=[125 0 10e+3 14.7e+3];// resistances R1,R3 and R4 values in ohms as R2 is not used it is take as 0 for convinence
//calculation
Cs=... |
31e21596411053a1f7458475535f8f3c88508f49 | a88bc351c907b9f0e662e251314c78a075880265 | /Scilab/Linear Iterection.sce | 7a7197622ce153c9fa93491b510df6a3900bef8e | [] | no_license | decospdl/Exercise | 2ff1161f101a892ac511c62e1dce67a07606107a | 14d61a9553aab9af259edc8af504fdaa8568ec8f | refs/heads/master | 2020-05-26T15:22:22.243902 | 2019-06-13T22:55:10 | 2019-06-13T22:55:10 | 188,279,547 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Linear Iterection.sce | clear
clc
close;
deff('y = f(x)', 'y= -x^2 + 1/4')
a = -0.4
erro = 5e-5
i = 1
z = f(a)
printf('\n Iteração \t a \t\t z');
printf('\n %d \t\t %f \t %f', i, a, z);
while abs(z-a)/2 > erro
a = z
z = f(a)
i = i + 1
printf('\n %d \t\t %f \t %f', i, a, z);
end
printf('\n\nO valor do x após %d iteraçãoes = %... |
c2aefa14be5495baed4718aa88f77745b029d916 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%r_i_r.sci | d93ada56d3cb8fe5938e28cd9bd806d6d286f41e | [
"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 | 565 | sci | %r_i_r.sci | function s1=%r_i_r(i,j,s1,s2)
// %r_i_r(i,j,s1,s2) insertion s2(i,j)=s1
//!
// Copyright INRIA
if type(i)==10|type(j)==10 then
error(21)
end
if type(i)==4 then i=find(i),end
if type(j)==4 then j=find(j),end
[s1,s2]=sysconv(s1,s2)
[n,d]=s2(2:3)
[n1,n2]=size(d);
if type(i)<>1 then i=horner(i,n1),end
if type(j)<>1 th... |
f12e4be0a81dcc63af16727df9dc0c052614557f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH1/EX1.15/Ex1_15.sce | 9113bb8bf848658d7793e28a4414c9736462dd46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ex1_15.sce | //find the phase shift of the wave
//given
f=1d+9//Hz
v0=3d+8//m/s
lem=v0/f//calculating wavelength
b=2*%pi/lem//calculating phase shift
b=round(b*100)/100///rounding off decimals
disp(b,lem,'the wavelength and phase shift respectively')//in rad/m and m
|
b29a73d97c28a66b917c4ac22b0239c89d313480 | 57a39df08383d18148a77915551223cef3bc8cd6 | /rootlocus.sce | 1e4c3f4176a4243dde70ef88651f1aa39c732b70 | [] | no_license | sonusharma55/Misc.-MATLAB-Scilab | 0abbc7ab22e963b3b3e147a18e17af2f3021d3ce | dbfaab1b84719948ef665798c4192e6ca934e46a | refs/heads/master | 2020-07-25T22:00:11.975476 | 2019-09-14T12:31:37 | 2019-09-14T12:31:37 | 208,434,501 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | sce | rootlocus.sce | s=%s
n=(1+s)^2
d=s^3
l=syslin('c',n,d)
evans(l)
|
368a2e325e53ebf1237ec28b31df02a6ccf37b18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH19/EX19.12/Example12.sce | c58df0778efce0602da3e4b1e8690451cf722f33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example12.sce | clear
mode(-1)
pwd
curr=ans
clc
printf("Example 12 : Show the method of using %cASSOCIATIVE ARRAYS%c in perl \n",ascii(39),ascii(39))
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are prelo... |
cc38434b178452cca46c82d914ce438ff7ec15c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH8/EX8.8/8_8.sce | 0686c18f505ddfc1c750982411e48eaa47c5af3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | 8_8.sce | t1half=37.00;//half time for the first order reaction//
t2half=19.2;//half time for the second order reaction//
t3half=9.45;//half time for the third order reaction//
printf('to know the order of the equation we can use 2^(n-1)=t1half/t2half');
printf('\nby solving for first and second order n=1.95\nby solving for ... |
32759527f3791b401c4f2a8784c246ebd69cf540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH10/EX10.3/Ex10_3.sce | 05469723d6bc0d7fc13ebdfcd4ae109cec65efc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex10_3.sce | //Chapter 10 : Crystallography and Crystal Imperfections
clear;
//Variable declaration
M=58.5 //formula weigth
rho=2180 //density of material
n=4 //No. of atoms/cell
No=6.02*10**26 //Avagadro's No.
//Calculations
a=((n*M)/(No*rho))**(1/3)/10**-10/2
... |
bfeb006d748377d24bbfd731fa4ec1ffc5fce64f | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH12/EX12.1/Ex12_1.sce | e280351cbcfae9e1b084f91b957acacc02abaaf6 | [] | 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 | 677 | sce | Ex12_1.sce | // Variable declaration
A = [0.25,0.27,0.22,0.30,0.27,0.28,0.32,0.24,0.31,0.26,0.21,0.28]
B = [0.18,0.28,0.21,0.23,0.25,0.20,0.27,0.19,0.24,0.22,0.29,0.16]
C = [0.19,0.25,0.27,0.24,0.18,0.26,0.28,0.24,0.25,0.20,0.21,0.19]
D = [0.23,0.30,0.28,0.28,0.24,0.34,0.20,0.18,0.24,0.28,0.22,0.21]
k = 4
n = 12
// Calculation
A_s... |
a59538fd0b4f1c920f870c2e8e86d2b93750d2c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH3/EX3.1/3_1.sce | 8e8ca00ea226cdafb730926051f013378382b0c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | 3_1.sce | clc
//at 2bar
h1=2707;//kJ/kg
hg=h1;
m1=0.05;//kg
v=0.0658;//m^3
v2=v/m1;//m^3/kg
h2=3072;//kJ/kg
p=2*10^5;
v1=0.8856
Q=m1*(h2-h1);
disp("heat suppleid is:");
disp("kJ",Q);
W=-p*(v2-v1);
disp("work done is:");
disp("N m/kg",W);
//part (ii)
p2=p;
R=0.287;
T2=p2*v/(m1*R*1000);
cp=1.005;
T1=130+... |
233c5cbfd44b788df27cd61dbd2b0c21f385d79f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.13/ex3_13.sce | 329368c24ab44e0199f788a861c8c4abe143145a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | ex3_13.sce | //Exam:3.13
clc;
clear;
close;
r=1.245;//radius of nickel (in A)
a=4*r/(2)^(1/2);//Lattice constant(in A)
//Miller indices of plane 200
h_1=2;
k_1=0;
l_1=0;
//Miller indices of plane 111
h_2=1;
k_2=1;
l_2=1;
d_200=a/((h_1^2)+(k_1^2)+(l_1^2))^(1/2);
d_111=a/((h_2^2)+(k_2^2)+(l_2^2))^(1/2);
disp(d_200,'in... |
fc1ae221b18bddd1a1d5b88729b54f506a5dfeac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH14/EX14.6/14_06.sce | 3497e40f4ad4b46950551e6c0c3428eeee511e89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | 14_06.sce | //Chapter 14, Problem 6
clc;
I=20; //peak value current
Irms=0.707*I; //rms value
printf("r.m.s. value of a sinusoidal current = %f A",Irms);
|
6699572abc417be4d63bc695941a9c1528ac04bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH5/EX5.3/Exp_5_3.sce | 27389f7a8f8ef2e1dce23692edad1edd1cef3dc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Exp_5_3.sce | //Optical Fiber communication by A selvarajan
//example 5.3
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
tau_tr=2*1e-9//transit time in sec
Rl=50//load resistance in ohm
Cd=3*1e-12//Junction capacitance in farad
tau=2*Rl*Cd//Circuit time constant in sec
f3dB=(0.35/tau_tr)//3dB bandwidt... |
46e2a91e1cb404f21b4ff8018cf541ba870b0b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.22/Ex7_22.sce | be93a8a7fd82e3cdbb51bda79ebaed6539fd1d51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Ex7_22.sce | clc
//to calculate probability of finding the particle
a=25*10^-10//width in angstrom
//wave function of the particle is chi(x)=sqrt(2/a)*sin(n*%pi*x/a),for the particle in the least energy state n=1
chix=sqrt(2/a)*sin(%pi*(a/2)/a)
delx=5*10^-10 //interval in angstrom
P=delx*chix^2
disp("probability of finding ... |
54d4def96ee83f7dc0dcb96b454b2505eeaabc84 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MX03.prev.tst | 8f88701c59811258b5adbf48092084f9ae1a3938 | [
"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 | 29,497 | tst | MX03.prev.tst | chain 2, fact 0 [[-9,-2,8][4,-5,4][-4,-5,9]] [3,4,5] => [5,12,13] => [35,12,37]
chain 2, fact 0 [[-9,-2,8][4,-5,4][0,2,1]] [3,4,5] => [5,12,13] => [35,12,37]
chain 2, fact 0 [[-9,-2,8][4,-5,4][4,9,-7]] [3,4,5] => [5,12,13] => [35,12,37]
chain 2, fact 0 [[-9,-2,8][8,2,-4][-4,-5,9]] [3,4,5] => [5,12... |
55c5b40af79613775b2923ed20c9e4ae39600c3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH8/EX8.4/ex4.sce | eb0d4561e4f57300109db3974c2e99beed45779b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,041 | sce | ex4.sce | //CHAPTER 8 _ TEMPERATURE MEASUREMENT
//Caption : THERMISTOR
// Example 4 // Page 521
To= 293 //('Enter the temperature in K=:')
Ro=1000 //('Entering the corresponding resistance in ohm=:')
B=3450 // (' Entering the val)ue of constant=:')
Rt=2500 //(' Entering the resistance at which temperatur... |
316fe0c21c78a7dddc82d5cc0833432ec1f18446 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.11/5_11.sci | fd4f725e75766482a4ac6b08ca0cdb04e590aca9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | sci | 5_11.sci | // Calculating the possion's ratio
clc;
Gf=4.2;
v=(Gf-1)/2;
disp(v,'Possion s ratio=') |
5ae6ba2687314d5217471df9d650e6db8e2530b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH1/EX1.8/ex1_8.sce | a04d0972b28f5d951388259c7140b6c82d9c3cbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | ex1_8.sce | clc;
disp(1440*0.621,"Distance in miles"); //displaying result |
0c54683a1189fd4d1af9891f33c5f3bf14ecd52e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH2/EX2.1/Exa2_1.sce | 4e40de48cab1294982cad9d3e53eb201162b86e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,144 | sce | Exa2_1.sce | //Exa2.1
clc;
clear;
close;
//Part a : Cost of using aluminium metal for the jet engine part
//given data :
w1=1.2;//in Kg
//let c1=cost of making aluminium casting
//let c2=cost of machining aluminium casting per unit
//let Tc=Total cost of jet engine part made of aluminium per unit
c1=80;//in Rs/Kg
c2=150;... |
34f6041983ef5f14bd88013809add414ae86dd8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH7/EX7.7/Example77.sce | 494b788e8ce8f19382c43aed4cef9a21c7d89fbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sce | Example77.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 7 Example # 7.7 ")
//Temperature of jet in degree C
T = 20;
//Thermal conductivity in W/mK
k = 0.597;
//Dynamic viscosity in Ns/m2
mu = 0... |
29b8c3520db1b9bd5c1202cf92a57df95254d34b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH14/EX14.2/Ex14_2.sce | b72c3c283907a3a84b59da6c51db83b538b7c226 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ex14_2.sce | //Example 14-2
clc;clear;
// Properties
rho=62.30;//The density of water at 70°F in lbm/ft^3
v=370;// gal/min
g=32.2;// ft/s^2
H_1=24;// ft
H_2=72.0;// ft
n_p2=0.765;
n_p1=0.70;//Efficiency of the pump
// Calculation
bhp_1=((rho*g*v*H_1)/n_p1)*((0.1337)/(32.2*60*550));
printf('Required bhp for the 8.25-in... |
a554e75f00e1716442eb5265d1541719f295a089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.1/Example4_1.sce | e97db7a1e48f39992e48fcc1210a0a339143d506 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | Example4_1.sce | //Example 4.1
clear;
clc;
fc=1*10^3;
fs=2*10^3;
AmaxdB=1;
AmindB=40;
e=((10^(AmaxdB/20))^(2)-1)^(1/2);
n1=((10^(AmindB/10))-1)/(e^2);
n=log(n1)/(2*log(fs/fc))+0.4;//0.4 is added in order to obtain a integer
printf("n=%.d",n); |
b0e7f6a1afaf2dbf744d0d8cc1b47fdc92169db1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.37/exa2_37.sce | aa04e69b30889f9fedbe3cc2890b4d507bdec021 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | exa2_37.sce | //Example 2-37//
// negative decimal representation of 10011011//
clc
//clears the window//
clear
//clears all existing variables//
b=bin2dec('10011011')
x=bitcmp(b,8)
//complement of the decimal number 17(8 bit representation)//
y=1
z=x+y
//1 is added to the complement//
a=dec2bin(z)
//binary conversion o... |
7ddef9af1167a1fe7f02fddce513d8abacdd9462 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH16/EX16.10/ex16_10.sce | a2c8eb4413157d82af9bac90012860d148ad756c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | ex16_10.sce | clc;
clear all;
e = 1.6e-19; // Charge of an electron
m = 9.11e-31; // Mass of an electron in Kg
r = 1.6e-8 ; // resistivity of silver in (ohm.meter)
at = 107.9e-3; // Atomic weight of copper in gm
d = 10.5e3; // Density of silver in Kg per cubic meter
N = 6.023e23; // Avagadros number
c = 3e8 ;// Velocity of l... |
6017390ad9f3dc5af56b8233b945130d1cd770eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH9/EX9.1/9_1.sce | 6e4965138285a57db13279bd6807a3201bad4536 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | 9_1.sce | //All the quantities are expressed in SI units
M = 2; //mach number
h = 16000; //altitude of the plane
//the mach angle can be calculated from eq.(9.1) as
mue = asin(1/M); //mach angle
d = h/tan(mue);
printf("\nRESULTS\n---------\nThe plane is ahead of the bys... |
11c74f187f069670fe6a9666c245dde504197607 | 9ce4292954000fd66bcdbd0797a280c306308d08 | /mooc/nand2tetris/projects/02/ALU.tst | 9e665b05e97135a91d3bd08955297763a1e5ae1e | [
"MIT"
] | permissive | JiniousChoi/encyclopedia-in-code | 0c786f2405bfc1d33291715d9574cae625ae45be | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | refs/heads/master | 2021-06-27T07:50:10.789732 | 2020-05-29T12:50:46 | 2020-05-29T12:50:46 | 137,426,553 | 2 | 0 | MIT | 2020-10-13T08:56:12 | 2018-06-15T01:29:31 | Python | UTF-8 | Scilab | false | false | 4,146 | tst | ALU.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/ALU.tst
load ALU.hdl,
output-file ALU.out,
compare-to ALU.cmp,
output-list x%B1.16.1 y%B1.16.1 zx%B1.1.1 nx%B1.1.1 zy%B1.1.1
ny%B1.1.1 f%B... |
73f411ccb7d35c2f5fd6e673075bdd05f9afb3e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.7/Ex5_7.sce | 7dfbcd95b4e933f668ad4cb1576fd5752ce24b6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_7.sce | clc
a = 100000 // Ej(p/f,e%,j) in Rs
n = 5 // life in years
e = 20 // M.A.R.R.
e = e/100 // M.A.R.R.
i = e
A = 32000 // savings in Rs
s = 20000 // salvage value in Rs
b = ((A*(((i+1)^n)-1)/i)+s)/a // (F/p,I,5)
i2 = (b)^(1/n)-1 // internal rate of return
printf("\n ERR = %0.4f\n Internal rate of return = %0.2f... |
da1e915c5ff984c37b3578e2e177e2d7efe7e81a | 2f3e4d3b6b9fa6ff191b26f13fe8af8fd269d4f3 | /Gsoundrating_instructions.sce | f36d5244d535071981e4d332f65d343ea3ab71a8 | [] | no_license | npytabitha/German_rating---Copy | 927fa1aef1659b0acaae234aac056bf73cba2985 | 1cf99f9a35e6cc0f38b812070b2e128cc238b5ee | refs/heads/master | 2020-12-02T17:29:45.850569 | 2015-09-23T16:42:15 | 2015-09-23T16:42:15 | 42,940,457 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,066 | sce | Gsoundrating_instructions.sce | scenario = "One-Back"; # This name is recorded in the log file
scenario_type = trials;
response_matching = simple_matching;
no_logfile = true;
active_buttons = 3;
button_codes = 1, 2, 3; # These values will be used to code participant responses
default_font_size = 56;
default_font = "Arial";
default_background_color... |
800bcc87d24c3a9a4e4e755ecf71ee457b463c3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH3/EX3.2/Ex3_2.sce | a16d30ee1015f9c2dc61364f71ad4bee8a1daf57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | Ex3_2.sce | // Exa 3.2
clc;
clear;
// Given
Noise = -90; // Minimum detectable signal (dbm)
Ip = 300 ; // power level of third-order product(dbm)
// Solution
printf(' The expression for the dynamic range of the spectrum analyser = 2/3*(Ip-MDS) \n So, by calculations :-\n');
DR = 2/3*(Ip-Noise);
printf(' Dyn... |
5def196e9b82602f70609a7bd4029fdf0db424f3 | 04bf9c17fef56216adb24f0222355e251d14698a | /wangaudiofinal/testperceptif2.sce | 667adcc7fdb5f27ce02eb3d8041abc28c42565c1 | [] | no_license | xiaoouwang/psycho | 0fb275b23b39e1a287cd20366abaef0c9d8ceb71 | 990949699f0649f1cc937ec44737483ebd8a6824 | refs/heads/master | 2023-05-05T22:47:59.399140 | 2021-04-30T15:37:12 | 2021-04-30T15:37:12 | 363,183,984 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,535 | sce | testperceptif2.sce | scenario = "post-test perceptif XP";
active_buttons = 1;
button_codes = 1;
default_font = "Arial Unicode MS";
default_font_size = 33;
begin;
picture {
text {
caption = "训练结束!\n\n希望本次练习给你带来了帮助,如果你有朋友感兴趣的话请帮忙引荐!";
font_size = 40;
};
x = 0; y = 0;
} picperception;
trial{
picture {
text { cap... |
df81279511e58473c09bbd8f4acc6698debe2964 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH10/EX10.8/example_10_8.sce | bc7464bb94df8cb249072c29106e29511e230cce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | example_10_8.sce | //Scilab Code for Example 10.8 of Signals and systems by
//P.Ramakrishna Rao
//Auto Correlation
clear;
clc;
function [y]=u(t)
if t>=0
y=1
else y=0
end
endfunction
k=1;
a=0.8;
for n=-30:30;
x(k)=a^(n)*u(n);
k=k+1;
end
length(x)
//computation of auto correlation sequence;
r = xcorr(x);
n=-60:60;
a=... |
012dd0988896b0cf4969c2a51dc0ed4060111456 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/500, Agent/test-02.tst | 11fd50e22c06966796bde1a0e017033764ec0d2a | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | tst | test-02.tst | 5
5005 1 5004 2 5003 3 5002 4 5001 5
~~~~~~~~~~~~~~~~~~~~~~~~~~
7
|
53eaba3f52b8e1f568231e2162f912c7d3c4c5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.6/exa_8_6.sce | 477b6faf1ae3e8daaa1c1c1df3054197818462b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | exa_8_6.sce | // Exa 8.6
clc;
clear;
close;
// Given data
R_E1= 5.6;// in kohm
C1= 0.2;// in miu F
V_B1= 6.3;// in volt
V_BE= 0.7;// in volt
TL= 2.5;// trigger level for the Schmitt trigger (UTP,LTP) in volt
del_V1= 2*TL;// in volt
I_C1= (V_B1-V_BE)/R_E1;// in mA
disp(I_C1,"Charging current in mA");
toh= del_V1*C1/I_C1;... |
44927ded3f9ab4c624394fafb472c6bbb7ada99d | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_size_equal.sci | c87b1849be5cdf21826406e9f20d026adbafddc2 | [] | 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 | 374 | sci | moc_size_equal.sci | function isEqual=moc_size_equal(A,B)
// checks if A and B have the same size
// Calling Sequence
// isEqual=moc_size_equal(A,B)
// Parameters
// isEqual: A and B have the same size
// A:vector or matrix
// B:vector or matrix
// Description
// moc_size_equal checks if A and B have the same size
//
// Authors
// H. Nahr... |
b9cd30460bc813042f14fb0f0effbb5938e7e959 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/util/G_make.sci | 4b391981e9c304ffdbda4d0dc5ed88b711420ae6 | [
"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 | 584 | sci | G_make.sci | function [res]=G_make(files,objects_or_dll)
// Copyright INRIA
// call make for target files or objects depending
// on OS and compilers
if getenv('WIN32','NO')=='OK' then
if typeof(objects_or_dll)<>'string' then error('G_addinter: objects must be a string');
return;
end
if getenv('COMPILER','NO')=='VC++' ... |
72eaeec29dd58469da6965b949f5415af0c45c57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH6/EX6.6.9/ex_6_6_9.sce | 2e66d634078ba010af5453d766598b189cfc6252 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,263 | sce | ex_6_6_9.sce | //Example 6.6.9: load current is continuous or not,Average output current , maximum and minimum steady state output current and RMS values of first and second harmonics of the load current
clc;
clear;
close;
//given data :
format('v',6)
V=220;//in volts
La=5;// in mH
Eb=24;//in volts
Ra=1;// in ohm
T=2;//in m-sec
D=0.... |
af1ec208ab79d5db62d0a6ae9ac11921c831430b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH4/EX4.10/4_10.sce | 34c34c120719a2ee64eb50262161c14c038633da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | 4_10.sce | //To find the substation spacing and load on transformers
//Page 217
clc;
clear;
D=500; //Load Density in kVA per sq.miles
Vl=12.47; //Line Voltage in kV
N=2; //Feeders per substation
//From Table A-5 Appendix A it Current Ampacity can be found
Imax=340;
S2=sqrt(3)*Vl*Imax; //Load Per Feeder
l2=sqrt(S... |
509ec39dc2088935a12739b5bd3c811e154c5af0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH12/EX12.1/Ex12_1.sce | 78ef92ed895cab63588855118eea5ba764093d0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_1.sce | //Chapter 12, Exmaple 1, page 403
//Calculate radial thickness of insulating layer
clc
clear
//based on equation 12.15 and v1alues of E1 and E2
E1 = 40 // kV/cm
E2 = 25 // kV/cm
ep1 = 6 // permittives of the material
ep2 = 4 //permittives of the material
d1 = 4 // cm
d2 = 10 // cm
r1 = 2 // cm
r2 = (E1*ep1*2)/(E2*ep2)... |
ecb8c805a86a6f200ea491bb9edf48b83762954f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH8/EX8.7/Ex8_7.sce | 4900e986e0c09222d186adf645263adcb4a972a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,474 | sce | Ex8_7.sce | //Example 8_7
clc;clear;funcprot(0);
//Given values
Z_a=5;// m
Z_b=13;// m
D_1=0.04;
D_2=0.08;// The diameters of the two pipes m
L_1=36;// m
L_2=36;// m
W_elect=8000;// W
n_pump=0.70;
g=9.81;// m/s^2
//Properties
rho=998;// kg/m^3
mu=1.002*10^-3;// kg/m.s
eps=0.000045;// m
//Calculation
// V1=y(1); ... |
cb2d8fef14a91b2e8267aee02cf8e0e008f19660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.15/Example7_15.sce | 3c997555fa55a66da97bb0f4d6b3aeb8cdf3bc66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 914 | sce | Example7_15.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.15 Page No:127
/// Find Total energy per unit weight
///Input data
clc;
clear;
S=0.85; //Specific gravity of oil
D=0.08; //Diameter of pipe in m
P=1*10^5; //Intenity of presssure in N/m^2
Z=15; //Total energy bead ... |
89b88162465d3c2ae4c15e70683fbc8620b4a0e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH1/EX1.12/Ex1_12.sce | 55976ed4ddd8b69a80e96495b3c843e9c503bda9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | Ex1_12.sce | //find the frequency of the wave
//given
clc
t1=100d-12
t2=500d-12
t3=1d-9
f1=t1^-1
f2=t2^-1
f3=t3^-1
disp(f3*1D-9,f2*1D-9,f1*1D-9,'the frequencies respectively')//in GHz
|
852666a6e623bf9604dc1ea83ca8ef436b23cdf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH13/EX13.4/13_4.sci | f86b3469ae75645d86830d24d584d71d0265b342 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sci | 13_4.sci | //Choppers and Transportation System Application//
//Example 13.4//
E=220;//dc supply voltage in volts//
El=660;//Load voltage in volts//
Toff=100;//blocking period in microseconds//
Ton=(El/E-1)*Toff;//Conduction period in microseconds//
printf('Conduction period=Ton=%fmicroseconds',Ton); |
e025e0266fa29649da507310c9b62877b220e7bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH7/EX7.11/Ch07Ex11.sce | 929fcb0a88e345cc4baa666ab2352b8119c73c1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ch07Ex11.sce | // Scilab Code Ex7.11: : Page-7.16 (2009)
clc; clear;
Pi = 1.5; // Input power to the optical fibre, mW
Po = 0.5; // Output power to the optical fibre, mW
L = 0.12; // Length of the optical fibre, km
alpha_dB = 10/L*log10(Pi/Po); // Signal attenuation in optical fibre, dB/km
printf("\nThe signal attenuation... |
81ebe0f9cce80c9a64264ee9fdef932503d241ef | e5011b60e41005e823ea544d8bfeac90bd598ce6 | /trigger_vlsisim/trigger.tst | 26aa53b957e104abd38c927331a689775dce9aa2 | [] | no_license | Alexander-Andrade/Andrade_kidswt3_var9 | 120bf2ce69ffd298963f423c2ba966021cac0d86 | 278de61f5f24e249c69029eecd3e593369b00c8a | refs/heads/master | 2020-08-01T19:25:37.450759 | 2016-11-12T18:03:20 | 2016-11-12T18:03:20 | 73,569,322 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24 | tst | trigger.tst | 00
01
10
11
01
00
11
10
|
6febbaab0381e88242742c37509987b71bf5f47a | 91b832450220a725d2a536ea9c58c986ef1225c4 | /2020-2021/MatModel/laboratory/lab 3/lab 3.sce | 0db3cbd881115f3eaee9597fe995234e5f87757d | [] | no_license | Mulixin/work | 245e9e03ce4fab893356e50ff42c4e157f692fd6 | 981f8164fca19390c87c15bfbf63fcc231b0a829 | refs/heads/master | 2023-04-01T06:26:35.286306 | 2021-04-03T11:17:47 | 2021-04-03T11:17:47 | 339,715,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,914 | sce | lab 3.sce | //Вариант 43. Задание 2. Модель боевых действий между регулярными войсками
x0 = 227000; //численность первой армии
y0 = 139000; //численность второй армии
t0 = 0; //начальный момент времени
a = 0.24; //константа, характиризующая степень влияния различных факторов на потери
b = 0.75; // эффективность боевых действий ар... |
84d12c0ec0c579cabcc6d3175ee2648c3056a454 | 30e70994267907297af58839d1b4e90c43f0b373 | /Progetto1/Progetto1_Scilab.sce | 3109de243d4fe633a4ba9a7352debcafe7992a61 | [] | no_license | gianlucapuleri/Scientific-Calculation-methods | 57bf61409f7a28cae826ff56c3ac583018d3ad2b | 89b492aec90a80c1cd4d7d4315f13635768a5b8b | refs/heads/master | 2022-04-20T01:44:31.647824 | 2020-04-20T18:05:57 | 2020-04-20T18:05:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,091 | sce | Progetto1_Scilab.sce | clear
path = //percorso
//StocF-1465.mat e Flan_1565.mat NON FUNZIONANO
matrici=list("cfd2.mtx", "cfd1.mtx", "G3_circuit.mtx", "parabolic_fem.mtx", ...
"apache2.mtx", "shallow_water1.mtx");
c=cell((size(matrici)+1, 4));
c(1,:)={"Nome,", "Dimensione,", "Tempo,", "Errore"};
for i = 1 : size(matrici);
... |
2b4114c3a116b9e39e71ce7c710066f922d8fce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH12/EX12.7/12_7.sce | c1c6f3021ba8998a2123686b0c5cba0a1e60c71b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_7.sce | //CLC
d= 600 //mm
b= 250 //mm
BM= 350 //KNm
t= 28
Sc= 30 //N/mm^2
T= 400 //N/mm^2
//CALCULATIONS
Mu= 0.15*Sc*b*d^2*10^-6
n= d-sqrt(d^2-(2*BM*10^6/(0.4*Sc*b)))
l= d-(n/2)
As= BM*10^6/(l*T*0.87)
//RESULTS
printf("As(mm^2) = %.2f",As)
|
242e500d2ebec039fe6418caecd7f6b8fdc9c26b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH2/EX2.9/Ex2_9.sce | c9e9947ff04661ff499e6979bfe587c5a98ac37f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | Ex2_9.sce | //Exa 2.9
// To find total traffic in Erlangs and no of MScs required to handle it.
clc;
clear all;
Tpopu=200000;//Total population
SP=0.25; //subscriber penetration
HT1=100; //holding time for Mobile to Land line and vicecersa
c1=3; //Avg calls/hr for Mobile to Land line and vicecersa
HT2=80; //For mob... |
74830ab456f3d4019b92a624a70a2873496f1752 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH1/EX1.10/Ex1_10.sce | aa6fa661efbec5a727f5d4f4a263c6027c8e03cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Ex1_10.sce | //pagenumber 32 example 10
clear
resist=0.12;//ohm metre
q=1.6*10^-19;
concn1=((1/resist)/(0.048*q));//concentration of hole
concne=((1.5*10^16)^(2))/concn1;//concentration of electron
disp("concentration of hole = "+string((concn1))+"per cubic centimetre");
disp("concentration of electron = "+string((co... |
cf7e08bfbd082c14872b1e08c46468e1b52771df | 6be22cc470807d3b2d9a8042a18ccd96070d00ae | /propulsion/turbofan_engine/hw_8_p1.sce | 40d5ab41715028b5f8dc4f27bd864084b93988ae | [] | no_license | ordinatorix/scilab_projects | a8e5096ddd0c343559bb06c1c05c0926e4f13fdc | 1f227a2bdf8e2ae7a7f1fa42788e9a346710fa40 | refs/heads/master | 2022-02-27T14:52:47.802082 | 2016-05-06T21:09:07 | 2016-05-06T21:09:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,211 | sce | hw_8_p1.sce | // Hw 8-------------------------------------------------------------------
// Close and clear all
clc; clear; close; close; close; close; close; close; close; close; close;
close;
// Independant Parameters------------------------------------------------
M_a = 0.8;
P_a = 26500; // (Pa)
T_a = 22... |
fd2972c1f66c62f99adb5dede96695ea97dcff35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH4/EX4.5/4_5.sce | cb0e6c5cf6ba108850db0a8d06d5d2e2a8eaeb82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | 4_5.sce | clc,clear
printf('Example 4.5\n\n')
Pole=16
N_s=375 //synchronous speed in rpm
Slots=144
E_line=2.657*10^3 //line value of emf across terminals
f=Pole*N_s/120 //frequency
K_c=1 //assuming full pitch winding,Coil span Factor=1
n=Slots/Pole //slots per pole
m=n/3 //slots per pole per phase
beeta=180/n
K... |
77ad17c025cfd5203c9d97c4825b415abe0f96fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH15/EX15.07/15_07.sce | f0cdcd143a72ba109ae2acb3cd9ef73307d18ad2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,448 | sce | 15_07.sce | //pathname=get_absolute_file_path('15.07.sce')
//filename=pathname+filesep()+'15.07-data.sci'
//exec(filename)
//Mass of steam entering(in kg/min):
m1=350
//Volume of water required(in m^3 per kg steam):
v=0.02
//Amount of air mass going into condenser:
r=0.05/100
//Volume of air dissolved in the water injecte... |
f005d4d19ea1d0a9319ea0341aa8e6ad83fae3f7 | 297b29fb450286d0f7fa619e58c9f4a86949544a | /MER.sci | f6341743fc6f813261556f146b39c6a665638978 | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,274 | sci | MER.sci | function [avgMER,minMER,perMER] = MER(rxsg,txsg,xper)
avgMER = [];
minMER=[];
perMER=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//MER The MER Measurement fn outputs the modulation error ratio (MER).
// MER is a measure of the sign... |
d2957bcb357e53a525cf45bd0fe1837d4a82510c | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH9/EX9.5.4/9_5_4.sce | 0c7fc39e1d9c87eef8e9a6573cfe83c236977d14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | 9_5_4.sce | clc
pathname=get_absolute_file_path('9_5_4.sce')
filename=pathname+filesep()+'954.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
disp("Carbon Balance")
printf("%d * %f *2 + %d * %f *2=2 n1+2 n2",basis,x,basis,1-x)
disp("H... |
244092cb9da0253737a843b88e545119cdba711c | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SH12.prev.tst | 1136d994bd3026fcf736ff39fb7b37f757be9abb | [
"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 | 266 | tst | SH12.prev.tst | expression: x=a+log(0.001)*b + floor(3.14^2)
postfix1: ;x;a;log(;0.001;log);b;*;+;floor(;3.14;2;^;floor);+;=
rebuilt1: x=a+log(0.001)*b+floor(3.14^2)
postfix2: ;x;a;log(;0.001;log);b;*;+;floor(;3.14;2;^;floor);+;=
rebuilt2: x=a+log(0.001)*b+floor(3.14^2)
same
|
301b45581b62aa9f0be5af855dac2230e7a7353a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Revolving Tracking Strafes.sce | d748f7251c3ea1ec533fa276d7e209cfae2f34db | [] | 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 | 132,210 | sce | Revolving Tracking Strafes.sce | Name=Revolving Tracking Strafes
PlayerCharacters=RTv2 Challenger
BotCharacters=RTv2 Strafing Target.bot;RTv2 Static Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=RTv2 Challenger
AddedBots=RTv2 Strafing Target.bot;RTv2 Strafing Target.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=2;2
M... |
9503f588766a5e0e288e62d25f9c31fc41598229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH18/EX18.7/example7_sce.sce | 4542c20630f3e1d55fc08b86f3d6e87f6ce5ec90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example7_sce.sce | //chapter 18
//example 18.7
//page 7
printf("\n")
printf("given")
Isc=100*10^-3;Vr10=.5;Vo=12;
R10=Vr10/Isc
R10=4.7;//use standard value
Il=200*10^-3;
Vr10=Il*R10
Vr11=Vr10-.5
I11=1*10^-3;
R11=Vr11/I11
R12=(Vo+Vr10-Vr11)/I11 |
c4eac1c08b9fefc152c86c39256d968e4f291570 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2mb/allpasslp2mb.sci | 149a63d7b4429ae02e7f09b0e691e3e2e3c2b485 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,891 | sci | allpasslp2mb.sci | function [AllpassNum,AllpassDen]= allpasslp2mb (Wo,Wt,varargin)
// Allpass filter for lowpass to M-band transfomation
//
//Calling Sequence:
//[AllpassNum,AllpassDen] = allpasslp2mb(Wo,Wt) returns the numerator, AllpassNum, and the denominator, AllpassDen, of the Mth-order allpass mapping filter for performing a real l... |
c2f8ff5849735f19d0a9afd226082fd25e5fa0d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH8/EX8.7/Ex8_7.sce | 8013fda4eeb7b712e5df0931c5f33341f50fc42e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex8_7.sce | clear
//
e_x = -500 //10-6 m/m The contraction in X direction
e_y = 300 //10-6 m/m The contraction in Y direction
e_xy = -600 //10-6 m/m discorted angle
centre = (e_x + e_y)/2 //10-6 m/m
point_x = -500 //The x coordinate of a point on mohr circle
point_y = 300 //The y coordinate of a point on mohr circle
Radius =... |
134a10e99507490468c2dceda6bb265b9ca5dfca | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/wkeep.sci | 31fda784f453a99453ea83b934da9aea675c859c | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,189 | sci | wkeep.sci | // Copyright (C) 2018 - 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_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.