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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3661ba7c4d39155f7bfd5985f71472e9b422e4da | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/A0_PRECOD1_OBJS.sce | d35bf0ad52d00dc6293a63116a1d2f48320c69dc | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | A0_PRECOD1_OBJS.sce | // CRIAR FUNÇÕES DE OBJETO
// Função que cria um objeto do tipo "FuncName", i.e., figure, uicontrol, etc...
// com campos de propriedade definidos na estrutura "PropStruc", cujo nomes
// dos campos devem ser os mesmos nomes das propriedades do objeto
function obj = CriarObjeto(FuncName,PropStruc)
PropNam = "... |
adb6ed29beaed87259ad954264a0e3e73144d282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH16/EX16.2/16_2.sce | 2256b536f2f30e9d1860b7142644f87eefb3d067 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 16_2.sce | clc;
alpha_a=2800;
lambda=10^3*50;
x=10;
alpha_b=11;
U=1/[1/alpha_a+x/lambda+1/alpha_b];
tA=90;
tB=15;
q=(tA-tB)*U;
disp("rate of heat lost per sq m of surface")
disp("kW",q)
//part b
t2=q/alpha_b+tB;
disp("temperature of outsede surface:");
disp("C",t2)
|
11b664622830305a8c939265aaee2ef8d4f73f1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.15/Example_15.sce | 95bcb4a40e0c31616e8881cda6d65daceebb4fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Example_15.sce | //Chapter-4,Example 15,Page 96
clc;
close;
P1= 528 // pressure in mm of Hg
P2= 760 // pressure in mm of Hg
T2=100+273 //teperature in Kelvin
delta_Hv= 545.5 *18 // latent heat of vapourisation of water in J/mol
R= 1.987 //gas constant
//from the integrated form of Clausius-Clapeyron equati... |
dffb95521aef3e74bbe997d04adbcfd3a0409513 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH14/EX14.7/Example14_7.sce | 57a497ca845c64579440184042bff3cdb5de3139 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example14_7.sce | //chapter-14,Example14_7,pg 510
d1=4*10^-2//diameter of inner cylinder
d2=4.4*10^-2//diameter of outer cylinder
h=2.2//level of water
H=4//height of tank
eps1=((80.37*10^11)/((4*%pi*10^8)^2))//dielectric const. in free space(SI)
epsv=0.013*10^-5//dielectric const. of medium(SI)
C=(((H*epsv)+(h*(eps... |
7e7adb333ff32d4f2518a14563ebaeab6c644517 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH14/EX14.06/14_06.sce | 60bc332b7bf3e0a23bfa882c3f41a473a2994a73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_06.sce | //Problem 14.06:
//initializing the variables:
xCO2 = 0.0314;
xO2 = 0.0584;
P = 1; // in atm
T = 2050; // in deg F
//calculation:
//from example 13.10, at 2050 deg F
K = 9.156E-7
yCO = xCO2*K/xO2^0.5
printf("\n\nResult\n\n")
printf("\n the mole fraction of CO is %.2E",yCO) |
46f28c884837738d1315d7e9a8453887f0910eaf | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/mtlb_getd.sci | 0956b8b7a116b1f84624d889552476685d6108bf | [] | 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 | 38 | sci | mtlb_getd.sci | function mtlb_getd()
endfunction
|
850934eff5159ce15bbb99728235768c3b2f324a | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/line.sci | 1faf4c9504e1898690612a57d0bcd327edafdbd6 | [] | 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,167 | sci | line.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_... |
271161372692d73e8470c896799b28559a865d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH14/EX14.5/ex_14_5.sce | 45efd69415f4447ca668f768f3f3b2902be0f56f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | ex_14_5.sce | //Example 14.5: time difference
clc;
clear;
close;
format('v',5)
n=1.33;//
x=2;//
l=50;//m
c=3*10^8;//m/s
dt=((n*x*l)/c);//s
disp(dt*10^6,"time difference is,(micro-seconds)=")
|
414689df6fc2697a32da9d2edfceafd2ecf5918f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH17/EX17.5/Ex17_5.sce | 482423719f147736fe3fbbbd080d7f3e640238f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | Ex17_5.sce | // Example 17_5
clc;funcprot(0);
// Given data
m_h=1.00;// kg
E_me=33.1;// MJ
E_na=10.5;// MJ
m_fat=10.0;// kg
// Calculation
// (a)
mdot_fat=E_na/E_me;// The mass of body fat consumed per day in kg of body/d
// (b)
t=m_fat/mdot_fat;// d
printf("\n(a)The mass of body fat consumed per day,mdot_fat=%0.3f kg... |
e89e1cc3e8ad4f1d6d532c07716c3c27b0408724 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab3_spline.sce | f4c552266bb6d5a16d0f65063d8fc2b9ab2ffda6 | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | lab3_spline.sce |
n=10;
m=50;
x=[1 2 3 4 5 6 7 8 9 10];
y=[9 8 5 8 4 6 2 3 5 1];
k=2;
for i=1:n
if(i>1)
p1(i)=(y(i)-y(i-1))/(x(i)-x(i-1))
else
p1(i)=(y(i+1)-y(i))/(x(i+1)-x(i))
end
if(i<n)
p2(i)=(y(i+1)-y(i))/(x(i+1)-x(i))
else
p2(i)=(y(i)-y(i-1))/(x(i)-x(i-1))
... |
1341c29e783bf72f78bdef156c997ec65a5602e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH16/EX16.3/Ex16_3.sce | 52406efbce717820344f5849875f7e4cbdf043b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | Ex16_3.sce | //Example 16.3//
n=1.59;// Average refractive index Polystyrene
R=((n-1)/(n+1))^2;//Fresnel's formula
disp(R)
|
44a3d1988ae756680e361462ace5970cbac53c6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH4/EX4.7/4_7.sce | 5211d5285191aea05d2a5351e5a06f514d1fbdce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | 4_7.sce | //Example 4.7
//Jacobi Method
//Page no. 99
clc;close;clear;
A=[2,3,1;3,2,2;1,2,1];
n=3;
for k=1:10
max1=0
for i=1:n
for j=1:n
if A(i,j)>max1 & i~=j then
max1=A(i,j)
i1=i;j1=j;
end
end
end
fi=(atan((2*A(i1,j1))/(A(i1,i1)-A(j1,j1)+10^-20)))/2
disp(fi... |
0f5420dfc453eb15f1854b420d9d2dbc0b64812a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.17/Example10_17.sce | c42013cca32dfaae6a56b6b2087e48eb6d2dcee6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,456 | sce | Example10_17.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.17 :
// Page number 147-148
clear ;... |
c8e8d17362ae63df05dfc96cbbbf374a0e3b3a88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.16/Ex1_2_16.sce | 1556cbcd0c122f0844d65651e2fca74b70028f84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_2_16.sce | //Section-1,Example-3,Page no.-AC.205
//To calculate the percentage of excess air used for combustion.
clc;
C=0.54
H=0.065
O=0.03
N=0.018
M_W=(((32/12)*C)+((16/2)*H)-O)*(100/23)//Minimum weight of air required for combustion
W_CO2=(C*(44/12))
W_N2=N+(M_W*(77/100))
T_W=(W_CO2+W_N2) //Total weight of dry products of ... |
375efb05b325ce99b58787afca045d4c49583c3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH3/EX3.8/ex3_8.sci | c411b43ae261ba0398c5939768f529ef3c4b12ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | ex3_8.sci | //Example 8,Chapter 3
clc;
f=50
Irms=10 //Current in amperes
//(i)
Im=Irms*sqrt(2)
disp('14.14sin(18000t)')
//(ii)
t=0.0025
t=(1/(4*f)) + t
printf("\n t=%.1f ms \n",t*10^3)
i=14.14*sin(18000*7.5*10^-3)
printf("\n i=%.0f A \n",i)
//(ii)
t=0.0075
t=(1/(2*f))+t
printf("\n t=%.1f ms \n",t*10^3)
i=14.14*sin... |
e2ef46d55e7915db83253b83aae6d26d972da1ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.13/Example_14_13.sce | f728cb87674726fee280665818916d6bb3875b07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,746 | sce | Example_14_13.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.13
clear;
clc;
//Given
T1 = 273+110;//Temperature in K
T = 298;//Room temperature in K
P = 1;//Pressure in atm
R = 1.98;//gas constant in Kcal/Kgmole
//Ag2CO3(s) (A) = Ag2O(s) (B) + CO2(g) (C)
a = 1;//... |
195a827439fce0bf79c61cb35b0c5eaf84bbd775 | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/ART.sce | c8bf313b82a599192634e43cdd37e1fcc71c83da | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,747 | sce | ART.sce | Ftrue2 = [ 1 1 1 1 1 1
1 1 2 2 1 1
1 2 3 6 2 1
1 2 5 12 4 1
1 2 4 9 3 1
1 1 1 1 1 1]';
Ftrue=matrix(Ftrue2,36,1);
W = [ 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0... |
59dea68fe2935c655229f816993b5678be7f70a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.41/example5_41_TACC.sce | e1582f2166072e2dfbd6b3138cb89d0e3e47c543 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_41_TACC.sce | //example 5.41
clear;
clc;
disp("Zn(s)|ZnCl2(aq)||CdSO4(aq)|Cd(s)");
//For Zn(s)|ZnCl2(aq)||CdSO4(aq)|Cd(s)
//Given:
T=298;//Temperature[K]
R=8.314;//Universal gas constant[J/K/mol]
E1=-0.7618;//Standard electrode potential for Zn2+/Zn [volts]
E2=-0.403;//Standard electrode potential for Cd2+/Cd [volts]
... |
382a7b7ec0ec4b37fb11f04467ec34d16175a824 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH6/EX6.5/Ex6_5.sce | 84245b01b89aed88974726bd52f97bcedde033e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | Ex6_5.sce | // Example 6_5
clc;funcprot(0);
// Given data
P_1=100;// The initial pressure in psia
T_1=600;// The initial temperature in °F
P_2=10;// The final pressure in psia
// Calculation
// From steam tables
v_2=6.216;// ft^3/lbm
v_1=v_2;// ft^3/lbm
v_f2=0.0166;// ft^3/lbm
v_g2=38.42;// ft^3/lbm
x=(v_2-v_f2)/(v_g... |
fefcd84b76d2c31496ad549fed6d3a68ffd7a533 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH2/EX2.2/2_2.sce | d9c851e3965d3aa252051cacd36e5ebe04f95eda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | 2_2.sce | //1)The answer of Fx in Part(a) is 1532N and not !530N as stated.
//2)The answer of Fy in Part(a) is 1286N and not 129N as stated.
//3)The answer of Fx! in pPart(b) is 1769.10N and not 1770N as stated
clear all; clc;
disp("Ex 2_2")
disp("Part (a)")
//refer figure 2-11b
printf('\nVector addition is F=Fx+Fy')
f=2000//ma... |
3780f72d09f944bbaca4ae0dfb9ef6a00165b387 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH10/EX10.7/7.sce | 56c4b23f91f34bdd4d5a17b74db9a06147650aba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7.sce | clc
//Example 10.7
//Calculate the estimated pressure rise in the first stage of mutisatge centrifugal compressor
rho=0.075//lbm/ft^3
omega=1047//rad/sec
d=2//ft
dP=(1/2)*(rho)*(omega*d/2)^2/32.2/144//psia
//1 lbf.s^2 = 32.2 lbm into feed
//1 ft = 144 in^2
printf("the estimated pressure rise in the first stage... |
affddb0a25f249b78ab37c2a1fe92ef348ca7a9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH6/EX6.10/exa_6_10.sce | 7e1d0ddd9b2af7e9182992cf4cb5598eb57f77e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | exa_6_10.sce | // Exa 6.10
clc;
clear;
close;
// Given data
I_DSS= 10;// in mA
I_DSS= I_DSS*10^-3;// in A
gm= 10;// in ms
gm=gm*10^-3;// in s
// V_GSoff = V_GS = Vp so , gm = gmo = -2*I_DSS/V_GSSoff
V_GSoff= -2*I_DSS/gm;// in volt
disp(V_GSoff,"The value of V_GS(off) in volts is : ")
|
9b5fa8f62087b48f455b4ab5fef742d0d08e32f3 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/LR4.prev.tst | 5ab15da2cf75b560c1fd73976b5ab8d21537242a | [
"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 | 505 | tst | LR4.prev.tst | before x, phead=0, pbody=1, ptail= - 476*y - 448*y^2 - 112, mlead= + x^2, flead=4, root2=2, widev=4
after x, phead=15*x^2, pbody=1, ptail= - 476*y - 448*y^2 - 127, vmapt={x=>1+2*x,y=>y}
before y, phead=15360*x^2, pbody=68, ptail= - 130048, mlead= + 16*y^2, flead=16384, root2=128, widev=1024
after y, phead=15360*... |
4d89ab74836ff9dfff256df8778b6e9601ac4e61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH1/EX1.4/Ex1_4.sce | 357008f4ddd160c2cc43ecdfdf545de215fc9a77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Ex1_4.sce | clc
// In the (001) surface the top atoms are either Ga or As
//A square of area a^2 has 4 atoms on the edges of square shared by 4 other square and 1 atom in centre
N=2
disp("N = "+string(N)) //initializing value of total number of atoms per square
a = 5.65*10^-8
disp("a = "+string(a)+"cm^-1") //initializing val... |
23c30eb25e8a3066c12d84d04e03de00f179d8b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.7/ch1_ex_7.sce | f6f477eeb51a6dafa155baefe914e13720350a83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,266 | sce | ch1_ex_7.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 7
disp("CHAPTER 1");
disp("EXAMPLE 7");
//VARIABLE INITIALIZATION
I1=1; //current source in Amperes
v1=4; //voltage source in Volts
v2=3; //voltage source in Volts
v3=6; ... |
deb5f080db880bfd8504d48ca8509e96b5463c54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.25/25.sce | 026f5cb9ae2f61fc2f5df02784aa98e738c617a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | 25.sce | clc
D=0.25; //m
r=9;
L=0.3; //m
cv=0.71; //kJ/kg K
cp=1; //kJ/kg K
p1=1; //bar
T1=303; //K
p3=60; //bar
p4=p3;
n=3; //number of working cycles/ sec
y=1.4;
R=287;
disp("(i) Air standard efficiency")
Vs=%pi/4*D^2*L;
Vc=Vs/(r-1);
V1=Vs+Vc;
p2=p1*(r)^y;
T2=T1*r^(y-1);
T3=T2*p3/p2;
rho=4/100*(r-1)+1... |
66f16313192b7763cf85add876d415419d109283 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bsc/test_5.sce | ad17b96740a02ff46925f2eed72e4f04f99a4c02 | [] | 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 | 255 | sce | test_5.sce | // Test #5 : Input Argument #1 range test
exec('./allpasslp2bsc.sci',-1);
[n,d]=allpasslp2bsc(-32,[0.5,0.89]);
//!--error 10000
//Wo must lie between 0 and 1
//at line 39 of function allpasslp2bsc called by :
//[n,d]=allpasslp2bsc(-32,[0.5,0.89]);
|
7da1e7346502d987cd6c14eddf24aa596053deaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH2/EX2.12.3/Example2_12_3.sce | 7f9ced0f92da389a476f90e46e5d0aa1fc87744a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Example2_12_3.sce | // Example 2.12.3
clc;
clear;
core_diameter=8d-6; //core diameter
delta=0.92/100; //relative index difference
lamda=1550d-9; //operating wavelength
n1=1.45; //core refractive index
a=core_diameter/2; //computing core radius
v= 2*%pi*a*n1*sqrt(2*delta)/lamda; //computing normaliz... |
90aba62f9a8b30897fb94784bc60e5b31bb55f4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH5/EX5.5/example5_5.sce | 8c0669966dbc88bc0b0ddb0cec4a420eee7448d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,027 | sce | example5_5.sce | clear;
clc;
//Example5.5[Transient Heat Conduction in a Large Uranium Plate]
//Given:-
k=28;//[W/m.degree Celcius]
a=12.5*10^(-6);//Thermal diffusivity[m^2/s]
T1_0=200,T2_0=200;//Initial Temperature[degree Celcius]
e_gen=5*10^6;//Heat generated per unit volume[W/m^3]
h=45;//heat transfer coefficient[W/m^2.deg... |
862e9e993a83db59943a1af0d7055cb36f839e7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.13/ex_4_13.sce | 80034ca41716df45a6918105a67550a26af35e12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4_13.sce | ////Ex 4.13
clc;
clear;
close;
format('v',5);
Beta=0.04;//feedback factor
AOL=5000;//unitless(at dc)
Rio=40;//kohm
Ro=1;//kohm
SF=1+AOL*Beta;//sacrifice factor at dc
Rif=Rio/SF*1000;//ohm
disp(Rif,"Input impedence(ohm)");
Rof=Ro*1000/SF;//ohm
disp(Rof,"Output impedence(ohm)");
|
7b6eac33b7f00a72421fc2e0aed1d876c1d3845d | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH9/EX9.5/exm9_5.sci | e97f8e5615eab85b48e46bec143a5ed44c331ef1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sci | exm9_5.sci | // Example 9.5
//Write a program to calculate standard deviation of an array values.
//Array elements are read from terminal.Use functions to calulate-
//standard deviation and mean
funcprot(0);
//passing array named 'value' to function std_dev at 'a'
function[std]=std_dev(a,n)
sum1=0;
x=... |
56fc54b2e0872f8a719ea6b1a20631dd161244e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH15/EX15.7/Chapter15_example7.sce | 9c2152e350159018a959aa73697a157898869580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,664 | sce | Chapter15_example7.sce |
clc
clear
//Input data
a=14;//Air fuel ratio
T1=288;//The ambient temperature of air in K
T2=(288-23);//The evaporation of fuel cause 23 degree C drop in mixture temperature in K
p=1.3;//Pressure ratio
nc=75;//The isentropic efficiency of the compressor in percent
Cpm=1.05;//The specific heat of the mixtu... |
cd202338aa91ea1ad837df7a2739b66e68beecd0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/tanh.man.tst | f28256cc2af1853df21a77d0114a69127390a0ac | [
"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 | 57 | tst | tanh.man.tst | clear;lines(0);
x=[1,%i,-1,-%i]
tanh(x)
sinh(x)./cosh(x)
|
171ba85745f9e608bdb20b77ad91a21ef1b85dbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.4/Ex1_4.sce | a447c14a4806d71b3b6e8d1763aed70f7508e21f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | Ex1_4.sce | //water//
//page 1.9 example 4//
clc
H=210.5;//hardness in ppm//
M1=100;//molecular weight of CaCO3//
M2=136;//molecular weight of FeSO4//
M=M1/M2;//multiplication factor of FeSO4//
W=H/M;//weight of FeSO4 required//
printf("\nFeSO4 required is %.1f ppm",W); |
b1351b1f0602fef28ce5e924d91dfca79f53ca03 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH20/EX20.1/ex20_1.sce | f9aa1aa46533f58121595d2cf9ae857402bb7b6e | [] | 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 | 200 | sce | ex20_1.sce | errcatch(-1,"stop");mode(2);//Example 20.1
;
B=.5//in T
A=3.24*10^-4//in m^2
Flux=B*A
N=25
delta_t=.8
disp(Flux,"Magnetic flux in T.m^2=")
e=(N*Flux)/(delta_t)
disp(e,"Induced emf in volt=")
exit();
|
425371e23f31483378978143b56dfe77d32eacc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH3/EX3.3/Ch3Exa3.sci | c70bd7707da19f91f9587b36a1aed1a8de78670d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sci | Ch3Exa3.sci |
a= 2*(10^(-12)); //de Broglie wavelength, mts
h= 4.136*(10^(-15)); //Planck's constant, eV.s
c= 3*(10^8); //velocity of light, m/s
pc= (h*c)/a; //p is momentum, pc is electron's energy, eV
pc= pc/1000; //convert to keV
Eo= 511; //rest energy, keV
E= sqrt((Eo^2)+(pc^2)); //Total Energy, keV
KE= E-Eo; //Kinetic ... |
9ebb4c7518ebaa1e51029e5556ae6c3cc956dd2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH5/EX1.8/Ex5_1.sce | ae7ba30753b3ea73ea8547586bb52e51bdfafd4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,014 | sce | Ex5_1.sce | // Exa 5.1
clc;
clear;
// Given
E1 = 1/100; // exposure set for grid line impression(sec)
E2 = 10; // second exposure duration(sec)
R = 10^-4; // persistence of CRO screen(sec)
I1 = 1; // Trace intensity for exposure 1(candle power)
I2_normal = 4 ; // trace intensity for normal settings(candle power)
/... |
54fb5398dac8bd853d66a3ae32aab59436307df0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH13/EX13.1/13_1.sce | f11040763eee4f0c2b09f4fbd625f5d76ee5cdfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 13_1.sce | clc
//Initialization of variables
ken=0.5
kex=0.2
f=0.0018
l=10 //ft
dia=3 //in
z1=8
z2=5
//calculations
x1=ken+kex+f*l*12/dia
t=35.5*2/3 *(z1^(3/2) - z2^(3/2))
//results
printf("Time reqired = %d s",t)
|
4fbcab5f9913469e2f23663b7d2e667140fa0160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH4/EX4.4/4_4_Turbine_Matrix.sce | 490bed5e7db93c8ddcf9bcd5200f5404b4d885a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,541 | sce | 4_4_Turbine_Matrix.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 4.4 Page 230 \n'); //Example 4.4
// Temperature Field and Rate of Heat Transfer
//Operating Conditions
ho = 1000; //[W/m^2.K] Heat Convection coefficient
hi = 200; //[W/m^2.K] Hea... |
6fcbb048b6c53c9f1bc46bf4e00afa0ad41c454d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.11/Ex6_11.sce | 7172e53f66daed45e3ad1aa4a476cf43a4bc8779 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | Ex6_11.sce | //maximum impedance of the line
//given
clc
Zo=75//ohm
VSWR=3//voltage standing wave ratio
Zmax=VSWR*Zo//ohm
disp(Zmax,'the maximum impedance of the line for the given VSWR IN ohm')//ohm
|
807eb801d3beafd9cd197e528bddafaf8dc4dbb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH3/EX3.3/ch3_3.sci | 1c9c2fc6a65f6a7bba3c5d0e05b0f53fbd9796d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sci | ch3_3.sci | // To calculate primary and scondary side impedences,current and their pf and real power
// and calculate terminal voltage
clc;
N_1=150;
N_2=75;
a=N_1/N_2;
Z_2=[5,30]; //polar(magnitude,phase diff)
disp(Z_2,'secondary impedence(ohm)');
Z_1=[a^2*Z_2(1),Z_2(2)];
disp(Z_1,'primary impedence(o... |
fc7c183034d15ddd4a099c6af34af9ed76fefd24 | 717ddeb7e700373742c617a95e25a2376565112c | /1379/CH2/EX2.1.5/example2_5.sce | 7de55282624ec6dd7055a30ebb214063e60b7cd3 | [] | 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 | 336 | sce | example2_5.sce |
//exapple 2.5
clc; funcprot(0);
// Initialization of Variable
T=273+15;
rho=999;
rhom=13559;//density of mercury
g=9.81;
P2=764.3/1000*rhom*g;
R=8.314;
M=16.04/1000;
d=4.5/1000;
A=pi*d^2/4;
G=0.75/1000;//mass flow rate
delP=(1-exp(R*T*G^2/2/P2^2/M/A^2))*P2;
h=-delP/rho/g;
disp(h*100,"height of manom... |
1847615e275a2496149c9d953c1faf74a213302c | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH12/EX12.3/example_12_3.sce | e01d48db287bd6450e731ab1a970f9d29cd750bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,844 | sce | example_12_3.sce | //Chapter 12
//Example 12.3
//page 450
//To calculate maximum power transferred
clear;clc;
Vt=1.0; //generator terminal voltage
V=1.0 ; //infinite bus voltage
Pe=1.0 ; //power delivered
Xd=0.25*%i ; //generator's transient reactance
Xl=0.5*%i ; //transmission line's reactance
Xt=0.1*%i; //transformer's reactance
//to... |
ffcee5b52d03ca62927ebc49b5b3c144a1c3540f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH8/EX8.17/Ex8_17.sce | e978a115b44bc122521900f26d2952925aef38b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_17.sce | clear
//
//
//
//Variable declaration
Vm=20 //voltage(V)
RL=500 //load resistance(ohm)
rf=10 //forward resistance(ohm)
VB=0.7 //bias voltage(V)
//Calculation
Im=(Vm-VB)*10**3/(rf+RL) //peak current(mA)
Vo=Im*RL/10**3 //peak output voltage(V)
//Result
printf("\n peak curre... |
bd496be17ba4148aed3726c175c885e571e49ea8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH27/EX5.5.11/U5_C5_11.sce | c71463c42f8cef0662b970a45879571a049cb8aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | U5_C5_11.sce | //variable initialization
v1=214330 //fundamental band for CO molecule (m-1)
v2=425970 //first overtone for CO molecule (m-1)
A=[1 -2;2 -6]; ... |
0f4bdaea048407c8df75c96e01ab87dac2076a28 | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52mkg_24_06_2010/scilab/fprintnum.sci | cd196f5209eba057f31cb49ebdb3a7fd9ea89faf | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sci | fprintnum.sci | function [] = fprintnum(str,arr)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// Fprint array of integers with a string in front of it, no ending newline
if isempty(arr) then
tmp = "[]";
else
// !! L.8: Matlab function sprintf not yet converted, original calling sequence us... |
8b7524ef394190112f95078f33042db845e3d9dc | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Sfbdrawparadata.sci | 082ccec32e7f0835855bc8d8573d00a61b52acde | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sci | Sfbdrawparadata.sci | // 08.09.10
// 08.09.13
function Out5=Sfbdrawparadata(varargin)
global IMPLICITDATA CUSPDATA CUSPPT CUSPSPLITPT;
Nargs=length(varargin);
Fd=varargin(1);
FdL=Fullformfunc(Fd);
Np=[50,50];
if Nargs>=2
Np=varargin(2);
if type(Np)==1 & length(Np)==1
Np=[Np,Np];
end;
end;
Eps=0.05;
if Na... |
ca67a11706eea2770c8f243a9adb25999442f2f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.3/exa_4_3.sce | ca357efe821ee46b3fbba75b0ec5d91388fd362a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | exa_4_3.sce | // Exa 4.3
clc;
clear;
close;
// Given data
lamda= 670;// in nm
h_int= 1/100;
EpIn_eV= 1248/lamda;// in eV
I=50;// in mA
P= h_int*EpIn_eV*I;// in mW
disp(P,"Power radiated by an LED in mW is : ")
// Note : There is a calculation error in evaluating the value of P so the answer in the book is wrong
|
bfd2a56729608332e39045e8a6bb2ace755182c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.8/EX_5_8.sce | 78e55c07b7562d9ca4f1cac1c6c9837c8c6cd19b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | EX_5_8.sce | // Example 5.8:3-db frequency and bandwidth
clc;
clear;
close;
Cp=1;//PARALLEL capacitance IN PICO FARAD
Cs=2;//series capacitance IN micro FARAD
rs=1;//series resistance in killo ohms
rp=10;//PARALLEL resistance in killo ohms
ts= ((rs+rp)*10^3*Cp*10^-12);//time constant
tp= ((rs*rp)/(rs+rp)*10^3*Cp*10^-12);//... |
111ccd2a0bf201fd7ad6fb56a9c76dc332b11ffe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH21/EX21.3/Ex21_3.sce | 314be87fe6ddde1f0603567a4ba2b228b48806b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sce | Ex21_3.sce | clc
// Given that
p1 = 8 // Pressure of entrance in bar
t1 = 1125 // Temperature of entrance in K
p2 = 1.5 // Pressure of exit in bar
n = 11 // No of stages
Vf = 110 // Axial velocity of flow in m/s
n_p = 0.85 // Polytropic efficiency
Vb = 140 // Mean velocity in m/s
gama = 1.33 // Heat capacity ratio for gas... |
09eebc7f3693e25414b916c0d04fccd3e518d92c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH11/EX11.8/Ex11_8.sce | 5cba74459d33a6855fd5cba24022398a8ce2ff7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex11_8.sce | clear;
clc;
//Example 11.8
CMRRdB=90;//dB
CMRR=3.16*10^4;
b=100;
Vt=0.026;
Iq=0.8;
Ro=(2*CMRR-1)*Vt*b/((1+b)*Iq);
Ro=Ro*10^-3;//Mohm
disp(Ro,"output resistance (MOhm)")
|
5383c54729983893bc789f9d937962381cda067c | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH6/EX6.4/example4.sce | 98eea0b412968b7cab2dfe7e9840e140eba96304 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | example4.sce | // to find base current
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 6-4, page 197
clear;clc; close;
// Given data
Bdc=200;// current gain
Vbb=2;// base source voltage in volts
Vbe=0.7;// emitter diode in volts
Rb=100*10^3;// resistance in ohm... |
c91e55db8bb92809d30d8ade946547c0ce7f6b75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.47/ExampleA47.sce | 42adf3372f75ce8dc38a47244c29acc391575ddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | ExampleA47.sce | clc
clear
//Page number 491
//Input data
d=2*10^-10;//The molecular diameter of an ideal gas in m
t=20;//The temperature of the gas in degree centigrade
p=1;//The pressure of the gas in atmosphere
pi=3.142;//The mathematical constant of pi
//Calculations
T=t+273;//The temperature of the gas in K
P=1.... |
aa204d1bb4a5940ba3522934f8a80320a9cceb7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH6/EX6.22/Ex6_22.sce | 2714e3211ddf7b4acf765b3f52b12a8a2e40d39a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,277 | sce | Ex6_22.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 6 : SYNCHRONOUS MACHINES
// EXAMPLE : 6.22
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
E1 = 1100 + (%i*0); // EMFs of two identicel sy... |
286852970d2b880a2c7afd1aaded3b0fd88af6da | daf9a7434ea9996fc591a79030570f48e396cdc5 | /Poisson/Poisson PMF.sce | e47b89198b0394f700b6165a3998ddb228aa2bd2 | [] | no_license | isabelle-le/MonteCarloSimulation | c8dbfc2f5485f6dc6291654032ecad6c01cce401 | f96e0a11569b3e4dade452d99e9c1bbd6c3efb81 | refs/heads/master | 2020-04-05T22:40:20.686962 | 2018-11-12T19:18:50 | 2018-11-12T19:18:50 | 157,263,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | Poisson PMF.sce | // Poisson PMF
// Le Thu Huong ADEO1
clc
N = 10000;
lamda = 4;
x0 = -2;
delx = 0.05;
xmax = 12;
x = [x0:delx:xmax];
for k = 1:length(x)
c = 0;
for j = 1:N;
cumul = exp(-lamda);
proba = cumul;
u = rand ();
alpha = 0;
while u > cumul then
... |
bf543f5d21d8e7cd62d45d211522d626d1c5054d | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Trapézio.sci | 7f242cf0e77bfdde31ce81d8e8a7e81f45d637f2 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sci | Trapézio.sci | function y = trapezio(f,a,b,n)
// integral de f usando método dos trapezios e n repeticoes
h=(b-a)/n;
Soma = f(a) + f(b);
for k=1:n-1
Soma=Soma + 2*f(a+k*h);
end;
y= (h/2)*Soma;
endfunction
|
54330d2b6716c533a63309628c9194319af554ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH4/EX4.12/Example_4_12.sce | ce5d18ebfe200219ea39f70f175a12fa86846870 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_4_12.sce | // Chapter4
// Page.No-141, Figure.No-4.28(b)
// Example_4_12
// Output ripple voltage
// Given
clear;clc;
delta_Vio=15.85*10^-6; // Change in input offset voltage
delta_V=1; // Unit change in supply voltage
V=10*10^-3; // Change in supply voltage
R1=1*10^3;Rf=100*10^3;
delta_Voo=(1+Rf/R1)*(delta_Vio/delta_V)... |
d6ab7526d3425944a85d57c9a04c09b5be48a73e | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/RedefinirT1.sce | c3a4cb9d8bf7fa76bfb24f79863f6aa451d2e49e | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,003 | sce | RedefinirT1.sce | jan.immediate_drawing = "off"
delete(HistCargas);
clear HistCargas
HistCargas = [];
T1 = evstr(NewmarkBeta(4).string); if isempty(T1) then; T1=3*t1; end
Tipo = [" - FX" " - FY" " - MZ"]
for i=1:length(Cargas)
x = Cargas(i).user_data(1);
y = Cargas(i).user_data(2);
CarDir = Cargas(i).user_data(3);... |
67c992a95b801056c0edc250feb3c9aaccbae581 | fb44b6b330d17cbb26f780f931087b516e1def3b | /inicia0.sce | 7319c51d7fccb35443d3e73734421aa609a6d64f | [] | no_license | biozit/md | 55ee5d32d55f122121775a984d5e06af8885dea1 | c24aa8e5da838528d9e8968b069cc5a2d53493df | refs/heads/master | 2020-03-22T20:48:47.335991 | 2018-07-11T22:15:58 | 2018-07-11T22:15:58 | 140,632,728 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | inicia0.sce | par=input('de [X,Y,l,N,dt,tmax,T]\n');
X=par(1); Y=par(2); l=par(3); N=par(4);
dt=par(5); tmax=par(6); T=par(7);
xset('auto clear','on')
l2=l^2;
S=X*Y;
a=sqrt(S/N);
Nx=floor(X/a);
Ny=floor(Y/a);
//a=min(X/Nx, Y/Ny);
x=zeros(1,N); y=zeros(1,N);
for n=1:N;
z=(n-1)/Nx;
x(n)=a*(Nx*(z-floor(z))+.5);
y(n)... |
e029f0f6e25978dca84a82083e54184f213d0eb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH14/EX14.2/Example14_2.sce | ff9a8ae75b3a45ce9a1a653ec9db85a13e3fead2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Example14_2.sce | exec('Gravitation.sci',-1)
exec('degree_rad.sci', -1)
//Given that
//masses in kg
m1 = 8
m2 = 2
m3 = 2
m4 = 2
m5 = 2
a = 2*(10^-2); //in meter
Theta = dtor(30) //in radians
//Sample Problem 14-2
printf("**Sample Problem 14-2**\n")
//The net force will be equal to the vector eum of all the forces acting... |
fc3842ab1ba637c44c5804b0b2c7bedba4a6946f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH6/EX6.1/ex6_1.sce | e34062a5d1dd87c98fa8c5a4b5dd5b56ac4d6dc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | ex6_1.sce | // Example 6.1, page no-370
clear
clc
//(a)
p=1.5
a=4
b=20
wh=(((b-a)/2)*p)+a
printf("(a)just at the bottom level of the tank\nWater head applied to the transmitter =%d mA ",wh)
//(b)
wh2=(((b-a)/2)*p)+2*a
printf("\n\n(b)5m below the bottom of the tank\nWater head applied to the transmitter =%d mA ",wh2)
//... |
7f907f00123d400b47be0d26c5978d75ac54f5ac | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Ajuste_Quadratico.sci | 949767e756be987809ef6edefbd8856ed00db069 | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sci | Ajuste_Quadratico.sci | clear
close
clc
valor = 5
x = [1; 2; 3; 4; 5]
y = [15; 28.4; 45.3; 58.6; 77.4]
X = [size(x,1) sum(x) sum(x^2); sum(x) sum(x^2) sum(x^3); sum(x^2) sum(x^3) sum(x^4)]
Y = [sum(y); sum(y.*x); sum(y.*x^2)]
A = X\Y
resultado = A(1,1)+A(2,1)*valor+A(3,1)*valor^2
disp (resultado, "Resultado: ")
disp (A, "A: ")
disp ("f(x)... |
5fdbe80e201bd4c49dd44ace9c8912e48bb022b9 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/op3.tst | 5d4ee92e9a9c39e80e7779606bfe84d5afa3e0f7 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | tst | op3.tst | main {
boolean a;
a := ! false && 6 < 3 && 3 < 4;
if (a) then
{
print(1);
}
else
{
print(0);
}
fi
return a;
}
|
f97899c99697da9ef3a3ab4e51685900c31e66c8 | 56938bc67f1727ac61cf330ce0ff113a40babdb4 | /TP3/TP31.sce | 1888cd8ce6180efad1e99a5c27cccefd7ccfd2f4 | [] | no_license | royceda/Math-finance | a3b1e54bf3311514760d3d025eb55a94c0d53965 | f9a28b6cd5baf2ded9cb2eed8ec6c94e0ec738fa | refs/heads/master | 2021-01-10T04:22:52.831869 | 2015-11-25T22:06:16 | 2015-11-25T22:06:16 | 43,753,795 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,923 | sce | TP31.sce | //Rappel
function [p] = d1(x,t,K,T,r,sigma)
a = log(x/K)+(r+sigma**2/2)*(T-t)
p = a /(sigma*sqrt(T-t))
endfunction
test = d1(10,100,100,30,0.05,0.1)
function [p] = d2(x,t,K,T,r,sigma)
p = d1(x,t,K,T,r,sigma) - sigma*sqrt(T-t)
endfunction
test = d2(10,100,100,30,0.05,0.1)
function [p] = Ca... |
14564a6ade8945089e2598e0bdbd5e8bca5c627d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH9/EX9.3/Ex9_3.sce | 1d86f3407fe77cc6a2384e875375c9a600cd4549 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Ex9_3.sce | //Ex9_3
clc
disp("Vp = (a^2)*sigma/(2*apsilent*micro_p)")//piunch off voltage
h = 2*10^-4 //channel height in centimeters
a= h/2 //channel width in centimeters
rho = 1 //resistivity in ohm_cm
sigma = 1/rho //conductivity in mho/cm
micro_p = 1800 //mobility in cm_sq/Vs
apsilent_r = 16 ... |
bb29b4d60b08251d57ea2ed90a08c7b829c5dd18 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/U04.prev.tst | 47213227359c4e382ea2cefaae09551c85941d9a | [
"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 | 24 | tst | U04.prev.tst | no tuples - timing only
|
65b174faac35f98814ce5b4b32b4789540b78d54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH1/EX1.1.2/Ex1_1_2.sce | b49461f9227cbe9e2461e277212d7d947d57cbf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex1_1_2.sce | //Section-1,Example-2,Page no.-AC.34
// To find number average molecular masses(Mn_bar) and weight averge molecular masses(Mw_bar)
clc;
WA=200
WB=200
WC=100
MA_bar=1.2*10^5
MB_bar=5.6*10^5
MC_bar=10*10^5
Mn_bar_mixture=(WA+WB+WC)/(WA/MA_bar+WB/MB_bar+WC/MC_bar)
disp (Mn_bar_mixture,'number average molecular m... |
3b3756858880a4379630788f98c117ee14be37ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH6/EX6.4/ex6_4.sce | d8de0182ff49ec042a559e37bc79b87d5888ef48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_4.sce | // Example 6.4, page no-373
clear
clc
//(a)
a=5*10^-4
l=8
dens=6*1000
w=a*l*dens
printf("(a)\nWeight of the displacer if weighed in air = %d kg",w)
//(i)
sbr1=23
wloss1=w-sbr1
L1=wloss1/(1000*a)
printf("\n(i)\tL1=%dm",L1)
//(ii)
sbr2=22
wloss2=w-sbr2
L2=wloss2/(1000*a)
printf("\n(ii)\tL2=%dm",L2)
//(... |
5a77651c7c631598319de953b0893deb40a59e55 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/empty_runme.sci | d115bf3ced1973fd587801859863dffaf2137f7b | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sci | empty_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:66f46840cbe3a6c88db952ce8e0a3cf5fd413d40d673733ddabc32c3fa1a74ba
size 56
|
dca5622cee04da40a2fa1f8bdc9d78dd34c0c63f | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cl2bp.sci | 1069cf05df2a2a3566cc336133163524b171f513 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,436 | sci | cl2bp.sci | function h = cl2bp (m, w1, w2, up, lo, gridsize)
//Constrained L2 bandpass FIR filter design.
//Calling Sequence
//h = cl2bp (m, w1, w2, up, lo, gridsize)
//h = cl2bp (m, w1, w2, up, lo)
//Parameters
//m: degree of cosine polynomial, i.e. the number of output coefficients will be m*2+1
//w1 and w2: bandpass filter cut... |
e21ef12674e5a3e95277982d206c221b12a27848 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.21/Ex2_21.sce | 2d212cab3e9ee9f1bdff50355a7a1cf4f0ffdb74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex2_21.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.21
//Given Data Set in the Problem
dens=1000
g=9.81
h1=0.35
h2=0.3
SG=0.8
//calculations
//pC=pD
//pC=pA-dens*g*h1.....adn pD=pB-dens*g*h1-dens*g*h2
pB_pA=SG*dens*g*h2
mprin... |
667118e8edc03457df3b498afa8f7a61d5919190 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.8/34_8.sce | 1c9a5d9320954214d3fd001793ef00c8dd3f10f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | 34_8.sce | //ques-34.8
//Calculating absorbance and molecular absorption coefficient of sample
clc
ratio=1/0.16;//ratio = Io/I
C=0.05;//concentration of benzene solution (in M)
l1=0.1; l2=0.2;//length (in cm)
EC=log10(ratio)/(C*l1);
A=EC*C*l1;
//On solving, log10(tran) = EC*C*l2
tran=0.025;
printf("The absorbance is %.1... |
6a386841949562265d8654400199302d3d561da4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH5/EX5.6/Ex5_6.sce | 37c331d9cf2bc1476a77364ce37149e94a803485 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex5_6.sce | //Example 5_6
clc();
clear;
//To find out how fast the car is going
f=4000 //units in Newtons
s=50 //units in meters
theta=180 //units in degrees
m=2000 //units in Kg
v0=20 //units in meter/sec
vf=sqrt((2*((f*s*cos(theta*%pi/180))+(0.5*m*v0^2)))/m) //units in meter/sec
printf("The speed of the c... |
b316bc2e3ab37d0e7a1b5e466bd046be94587a96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH15/EX15.1/Ex15_1.sce | 13a06ceb09b821a6de933f84c53124346af28afa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ex15_1.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-15.1 Page No.332\n');
//Torque
P=5;
n=1750;
T=63000*P/n;
mprintf('\n Torque = %f in-lb.',T);
//Length of key for shear
Su=61000;
Ss=0.5*Su;
b=0.125;
D=0.5;
Ls1=2*T/(Ss*b*D);
SF=2.5;
Ls=SF*Ls1;
mprintf('\n Length of key for shear = %f in.',... |
e064339251330e137f09106aa152911d043fc2c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH4/EX4.10/Ex4_10.sce | 30ba0ca223b1fb46100014d758bcd62e2e58ca59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex4_10.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 4.10\n\n\n");
// Chapter 4 : The Second Law Of Thermodynamics
// Problem 4.10 (page no. 159)
// Solution
hfg=1959.7; //Unit:kJ/kg //Evaporative enthalpy
T=195.07+273; //Converted into Kelvin //Temperature
deltaS=hfg/T; //Change in entropy //kJ/kg*K
p... |
20b690550ea95f21211e20e24e7b7fcb8daafd92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH5/EX5.15/5_15.sce | 32a4441693232930eabb8dc11d34483dfca44dea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_15.sce | //Problem 5.15:
//initializing the variables:
MWDCB = 147;
MWTCB = 290
//calculation:
//for 1 lb of dichlorobenzene (DCB), the following mass of HCl is produced:
HCLpd1 = 2/MWDCB
//for 1lb of tetrachlorobiphenyl (TCB), the following mass of HCl is produced
HCLpd2 = 4/MWTCB
x = (HCLpd2 - HCLpd1)*100/HCLpd1
... |
b2d8760cdfb88ef6e5c911e677516596e164d0ee | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /LG Plaza Dodge.sce | 9c47c96bfbfdc932b65301f01ebd69451d713bba | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137,385 | sce | LG Plaza Dodge.sce | Name=LG Plaza Dodge
PlayerCharacters=Quaker Challenger
BotCharacters=Quaker Rotation.rot
IsChallenge=true
Timelimit=320.0
PlayerProfile=Quaker Challenger
AddedBots=Quaker Rotation.rot
PlayerMaxLives=0
BotMaxLives=9
PlayerTeam=2
BotTeams=1
MapName=boxerliprounded.map
MapScale=6.0
BlockProjectilePredictors=true
BlockChea... |
616c72e9d345319fccc788c43d64417f996e2456 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH2/EX2.28/Ex2_28.sce | 7f884a34fae8999b82f4e565aab1cc3dc6a7050c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex2_28.sce | //Caption:Determine the value of resistance
//Exa:2.28
clc;
clear;
close;
V=220;//in volts
R_a=0.1;//in ohms
N_1=800;//in rpm
N_2=520;//in rpm
I_a1=20;//in ampers
E_1=V-(I_a1*R_a);//in volts
E_2=N_2*E_1/N_1;//in volts
R_A=-(E_2-V+I_a1*R_a)/20;
disp(R_A,'Additional resistance(in ohms)='); |
e59ddfe19e436de09c9592da160347ff26f0095e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH15/EX15.4w/15_4w.sce | 1fd5862a410acfccbc9c85f2c99142605fc61c19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | 15_4w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 15.4w
//calculation of the extension of the wire over its natural length
//given data
m=5*10^-3//mass(in kg) of the wire
L=50*10^-2//length(in cm) of the wire
v=80//speed(in m/s) of the wave
Y=16*10^11//Young modulu... |
6bee39ab70e2a8854f6bebb78a4b87a07eab692c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH4/EX4.8/Exa_4_8.sce | 024f8aabb8e09093197797fd6cf6a01098fb82f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Exa_4_8.sce | //Exa 4.8
clc;
clear;
close;
format('v',7);
//Given Data :
m1=5;//Kg
T1=200+273;//K
Cp1=0.4;//KJ/KgK
m2=100;//Kg
T2=30+273;//K
Cp2=2.1;//KJ/KgK
//m1*Cp1*(T1-T)=m2*Cp2*(T-T2)
T=(m1*Cp1*T1+T2*m2*Cp2)/(m2*Cp2+m1*Cp1);//K
deltaS1=integrate('m1*Cp1/T','T',T1,T);//KJ/K
deltaS2=integrate('m2*Cp2/T','T',T2,T);... |
8dbc8b129d85c4880f9b0a54a37df86d1a5e7097 | ceac2c6b2806b34953849b33ded7f72540b9a075 | /ro05_tp_note/ro05_exercice1.sce | e687e86d2ff9aa0c3d1e74502a58e3a148d5bd43 | [] | no_license | ahars/ro05 | ff9a5c97bd5501b01e5b4f5a40e0a2761ed92e0a | c326c09e8388cd32506c90da44e93ab7cd8b43bc | refs/heads/master | 2021-01-01T15:59:37.716364 | 2014-01-23T13:31:28 | 2014-01-23T13:31:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | ro05_exercice1.sce | // RO05 - tp noté
// Antoine Hars
// Exercice 1
/////////////////////////////////////////////////////////////////////
N = 500;
|
f1088a5e43da29e6a7a97c13b116efe438d0a3f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.35/Ex5_35.sce | 24af63b2aba0e4e5b2db786850ccac76aec8270c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex5_35.sce | //===========================================================================
//chapter 5 example 35
clc;
clear all;
//variable declaration
e = 8.85*10^-12;
V = 10000; //voltage in V
r = 40*10^-3; //radius in m
//calcaulations
d = (4/2)*10^-3; ... |
82e3aba8bedb9d913429b7f076444de7166a4ff0 | 297b29fb450286d0f7fa619e58c9f4a86949544a | /RaisedCosinetxfilter.sci | bbd7d46bf6d86c3f820fba530b5d4ff09de99292 | [] | 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 | 4,308 | sci | RaisedCosinetxfilter.sci |
function [y] = RaisedCosinetxfilter(in,bet,span,sps,varargin)
y=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//RaisedCosinetxfilter Apply pulse shaping by upsampling signal using raised cosine FIR filter
//Y = RaisedCosinetxfilter(in,bet... |
ba46d97e1d4b0c40d9c9a51bac4ccb7877085901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH4/EX4.17/Ex4_17.sce | 302f8a5660021c9bf6d9a6a73c608a16cd986226 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | Ex4_17.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 4-Buoyancy and Floatation
//// Problem 4.17
//Derivation asked(Theoretrical Work)
|
9835a0f93eb1ebf515971d32ec327a5d3127ec66 | bdf572464541387fa0028a1ff861ceb55e81938e | /Interpolation/qinter.sce | 4e86b98f21add4c87abf51df8c2b7b468d0c261a | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 262 | sce | qinter.sce | // Finding value of f(x) given (x0,y0),(x1,y1) and (x2,y2)
function [y] = quad_interpolation(x0,y0,x1,y1,x2,y2,x)
b0 = y0
b1 = (y1 - y0)/(x1 - x0)
b2 = ((y2 - y1)/(x2 - x1) - b1)/(x2 - x0)
y = b0 + b1*(x - x0) + b2*(x - x0)*(x - x1)
endfunction
|
8f29000ce7f81f1978de0d2c47a173f765bd3533 | 7d91f8b3cb8d228617c08467d41edcff14343b7f | /euler_method_flat.sce | de663434e4c6d704227a6a9f09781df75531eff4 | [] | no_license | szymczykmichal/KWP | aae875431be6fa9c1a370016396f2476cb06f793 | 77cbdf39521e41e2bbb9aa9c00fbba0766ec052e | refs/heads/master | 2020-04-26T08:50:05.726038 | 2019-04-24T19:47:19 | 2019-04-24T19:47:19 | 173,435,873 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,966 | sce | euler_method_flat.sce | clc; clear;close;
EI = 250e9; // szywnosc na zginanie, Nmm^2
P = 1000; // sila skupiona, N
L = 2000; // dlugosc belki, mm
xp = 0.5;
y = [0;0]
x = 0:10:L
// dla i=1
i=1;
printf('----- KROK %i -----\n',i)
h = x(i+1) - x(i);
//k1 = f(x(i), y(:,i));
printf("Wartosc x(i)= %i \n",x(i));
printf("Wartosc y(:,i)= "... |
f6866b92b0a1fb4f34703d4ffb3c4064f0abc6d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.13/Ex9_15_13.sce | a089b1067c4f17139709af8de8f9ee637d5e51df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex9_15_13.sce | //Section-9,Example-4,Page no.-E.14
//To find the potential of Daniel cell.
clc;
C_Zn=1.52
C_Cu=0.48
E0_cell=1.10
n=2
E_cell=E0_cell-((0.0592/n)*log10(C_Zn/C_Cu))
disp(E_cell,' potential of Daniel cell')
|
8072d7bdcdde0c184bd565f88df77f420536b910 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH20/EX20.5/5.sce | 3f5629ba38296b14d8d899ff71792effc15880b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 5.sce | clc; funcprot(0); //Example 20.5
//Initializing the variables
f = 0;
Atunnel = 1.227;
Ashaft = 12.57;
Q =2;
L = 200;
g = 9.81;
//Calculations
Zmax = (Q/Ashaft)*sqrt(Ashaft*L/(Atunnel*g));
T = 2*%pi*sqrt(Ashaft*L/(Atunnel*g));
disp(T,"Mass Oscillation Period (s) : ",Zmax,"Peak water level (m):"); |
fe9ed0bc87366ed06f8359e4d03a14dcb7d55193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH20/EX20.2/20_2.sce | 49b9e8bf2c7f105153c084164bc91947bc635fba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 20_2.sce | //Flywheel
//alpha=12-t
//omega=12*t-(t^2)/2+C
//When t=4 sec omega=60 rad/sec
C1=20
//When t=6 sec
omega=12*6-((6*6)/(2))+20 //rad/sec
//theta=6*t^2-(t^3)/6+20*t+C2
//When t=0 theta0=C2
//When t=6 sec theta6=180+C2
//Angular displacement during 6 seconds=180 rad
//Number of revolution
N=180/(2*%pi)
pr... |
fe43eea4128db45158c897c51c9bb182f98efc1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.6/7_6.sce | 923729425d81885dd8cedd82b0caaa5993bbab88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_6.sce | clc;
a=0.8/12;
b=0.12/2;
x=a+b/2;
s_AF=32*x/0.233;
disp(s_AF,"stoichiometric A/F ratio is:");
Twp=a+b+3.76*x;
C=a/Twp*100;
H=b/Twp*100;
N=.365/Twp*100;
disp(N,H,C,"wet analysis of C,H, and N respectively is:")
|
4f715e98af37c227a580deb36923fbbae35f6ca8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH8/EX8.1/Exa1.sce | c5345ca49f602d997f5a7fdf265b2dd3b1d39401 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,234 | sce | Exa1.sce | //Exa1
clc;
clear;
close;
//given data :
Production=1000//units
CostOfProduction=1850;//in Rs.
NormalLoss=10//in %
ActualLoss=150;//in Units
ScrapValue=50;//in Paise/unit
NLoss=Production*NormalLoss/100;//in Units
UnitsProduced=Production-NLoss;//in Units
CostPerUnit=(CostOfProduction-50*10^-2*NLoss)/UnitsP... |
828d7e56910ae106998c132d5faa616242a7879e | 64647656adb5d4ff3cbb1147f2009fd55a598d27 | /src/buildsrc.sce | e3854098b136ea4d945197a89670a0b422e26751 | [] | no_license | esc0rpi0n/modbus-blocks | 353ae5e5df9da7a6afc9bd5d264670b1e132e655 | 44664b3424e9b7b98fab0216676977fb7ad29544 | refs/heads/master | 2020-04-02T05:15:19.835714 | 2017-06-14T08:18:01 | 2017-06-14T08:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | buildsrc.sce | names = ['mb_init_tcp',..
'mb_init_rtu',..
'mb_read',..
'mb_write',..
'mb_write2'];
files = ['block_common.o',..
'mb_common.o',..
'mb_init_tcp.o',..
'mb_init_rtu.o',..
'mb_read.o',..
'mb_write.o',..
'mb_write2.o'];
ldflags="-L. ... |
6a8dbf4e87e7d52c43ed148bac5554b5a49540de | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH10/EX10.7/ch10_7.sce | 13299d1bb856420b4f6e1d9838ef08c0794358de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | ch10_7.sce | clc
disp("Problem 10.7")
printf("\n")
printf("Voltage v1=5*cos(w1*t)")
printf("Voltage v2=10*cos(w2*t+60)")
//The circuit is modeled as
disp("Resistance is 10ohm and inductance is 5mH")
R=10;L=5*10^-3;
disp("a)")
w1=2000;w2=2000;
//Let Z be the impedance of the coil
Z1=R+%i*L*w1
Z2=R+%i*L*w2
//Let V be p... |
ad2699712ebd395d73b93f8c405b43b13666d757 | 337f9a673603d008cbd1b3cef9500ae806fef452 | /aula3/parte 2/ex6.sce | ef3eb9276b106fc6c8349fcb00d1d40f18106fdd | [] | no_license | Gervaes/PDI | 6608e3ce8dcde1373512429039e3e51de32de2d1 | 912a9f1b6e40facdbef75d8c298a52127f5403e7 | refs/heads/master | 2021-04-12T04:31:13.241166 | 2018-06-21T14:01:39 | 2018-06-21T14:01:39 | 125,973,311 | 0 | 2 | null | 2018-03-29T19:52:56 | 2018-03-20T06:48:59 | Scilab | UTF-8 | Scilab | false | false | 1,365 | sce | ex6.sce | //Gerar e apresentar histogramas, normais e equalizados
//leitura das imagens
a = imread('C:\Users\marco\OneDrive\Documentos\GitHub\PDI\aula3\parte 2\1.bmp');
//captura de dimensões da img
[rows,columns] = size(a);
//cálculo do número de pixels da img
t = double(rows*columns);
//definição inicial do maior valor com... |
b68a6c62d01140dda66463bf7de0f1c119ea8546 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.36/Ex2_36.sce | fbfaa34813c416436804f28595048e1a5d6f19ae | [] | 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 | 674 | sce | Ex2_36.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the (a)full load speed (b)Speed regulation (c)HP rating (d)Full load efficiency
//Exa:2.36
;
;
V=240;//in volts
R_f=120;//in ohms
R_a=0.25;//in ohms
I_1=60;//in amperes
I_f=V/R_f;//in amperes
I_a1=I_1-I_f;//in amperes
E_b1=V-I_a1*R_a;//in volts
N_o=1000;//in... |
aa352fa9ba81f32fa6a5a47ed32e25d1fe599041 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/falltime/falltime7.sce | 7dd6496f97460f732cfa9ec566ef5264361710b5 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | falltime7.sce | x=[2.30256624769934;
2.29071803023829;
2.26283604900314;
2.35145015316178;
2.27686291358213;
2.29805616201205;
2.32805830340568;
2.30878734371402;
2.29343801980763;
2.23019030245799];
fs=4e6;
t=(1/fs);
[F,LT,UT]=falltime(x,fs);
disp(F);
disp(LT);
disp(UT);
//output
// 0.0000002
//
// 0.0000022
//
// 0.0000... |
e258fb7e57b4980f89a030a08672f131e391f05b | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/129.sci | 6e63ae404bca7892f930d3a074f161adcfd01702 | [] | 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 | 65 | sci | 129.sci | p=2.94//g/cm^3(density)
W=9.81//kN/m^3(Specific weight of water) |
8f283929512dabf1f36b7dc949449ac15985e806 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.6/6_6.sce | db143ffb9ce38fbfa62e75fa06023198399d6847 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | 6_6.sce |
clc
//initialisation of variables
g= 32.2 //ft/sec^2
v= 4 //ft/sec
K= 300000 //lb/in^2
d= 6 //in
t= 0.25 //in
E= 30*10^6 //lb/in^2
w= 62.4 //lb/ft^3
//CALCULATIONS
P= sqrt((w*v^2/g)/((d/(E*144*t))+(1/(K*144))))/144
Sm= P*d/(2*t)
//RESULTS
printf ('Hoop stress = %.f lb/in^2',Sm)
|
91baa5daad529bf4741063f41b2b55202280ed5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.15/Ex7_15.sce | 328ec97a47c01d81c25c052429b7eda2ee7c87bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Ex7_15.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 15")
disp("In question no. 15 prove for ideal gas satisfies the cyclic relation is done which cannot be solve using scilab software.")
|
564d798f468eaccf7d92256616ae3b0a25a464c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH6/EX6.4/4.sce | ef18058948fb5fe71759e3802c7fb55163dbd85f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4.sce | clc
d_p=0.05; // diameter of piston in m
d_c=0.0504; // diameter of cylinder in m
SG=0.87;
rho_w=1000; // kg/m^3
v=10^-4; // m^2/s
dp=1.4*10^6; // Pa
l=0.13; // m
c=(d_c-d_p)/2; // clearance
u=SG*rho_w*v; // Dynamice viscocity
Vp=dp*c^3/(6*u*l*(d_p/2+c));
disp("Velocity of the dashpot =")
disp(Vp)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.