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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
490cf27db943780ca69ae49668c587bf07ba9b07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH14/EX14.12/Ex14_12.sce | a71c0a45f79a47302a7febd342b20178098dc361 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Ex14_12.sce | clc
i = 0 // inclination angle in degree
alpha = 10 // orthogonal rake angle in degree
lemda = 75 // principal cutting edge angle in degree
alpha = alpha*%pi/180 // orthogonal rake angle in radian
lemda = lemda*%pi/180 // principal cutting edge angle in radian
alpha_b = atan(cos(lemda)*tan(alpha)+sin(lemda)*tan(i... |
93db54b4b85249284cc3fd17df78a719d662f29d | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.43/exa12_43.sce | 7162eba9c6011e87d2970a8ccb1a15f0b815f789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,128 | sce | exa12_43.sce | //caption:root_locus_and_value_of_K
//example 12.43
//page 564
s=%s;
syms K;
GH=K/(s*(s+2)*(s^2+2*s+2))
disp("the characterstics eq. is determined as:")
CH=(s*(s+2)*(s^2+2*s+2))+K
CH=sym('s^4+4*s^3+6*s^2+4*s+K');
disp('=0',CH,"characterstics_eq,CH=")
c0=coeffs(CH,'s',0);
c1=coeffs(CH,'s',1);
c2=coeffs(CH,'s... |
02f5c3fef07c84c2ca8718a0c1ff013193316edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.31/EX31.sce | d56637e562c91582108c427c2837548457347381 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX31.sce | // Example 3.31: Output voltage
clc, clear
t=[0:0.1:9*%pi];
vin=15*squarewave(t)-5; // Input wave in volts
vo=vin+25; // in volts
plot2d(t,vo,rect=[0,0,9*%pi,40]);
xtitle("Output voltage","t","vo"); |
64cd9baf42976cb82d0b9ccb5691531b3d079566 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH1/EX1.1/example_1.sce | 1478d98ccf094569bc50ebdc1c16e026a13d5c4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | example_1.sce | clc
clear
printf("example 1.1 page number 19\n\n")
//to find composition of air by weight
y_oxygen = 0.21 //mole fraction of oxygen
y_nitrogen = 0.79 //mole fraction of nitrogen
molar_mass_oxygen = 32
molar_mass_nitrogen = 28
molar_mass_air = y_oxygen*molar_mass_oxygen+y_nitrogen*molar_mass_nitroge... |
b212e394d8062c307ed2c86d1a9eef57142cc5fb | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Crv3onsfHiddenData.sci | 07c1730331a0a135442a19bf45b4c37911b97f1e | [] | 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 | 115 | sci | Crv3onsfHiddenData.sci | // 08.09.19
function Out=Crv3onsfHiddenData()
global CRV3ONSFHIDDENDATA
Out=CRV3ONSFHIDDENDATA;
endfunction;
|
434c8182f9d3e1f2dcf038409090c7a984bcf1c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH5/EX5.3/Ex5_3.sce | 201c147eced9956daed9c00e271f535e448d3704 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex5_3.sce |
clc
// given that
C_Al=97 //Aluminium wt%
C_Cu=3 //Copper wt%
A_Al=26.98 //Atomic wt of Aluminium
A_Cu=63.55 //Atomic wt of Copper
printf(" Example 5.3\n")
CAl=C_Al*A_Cu*100/((C_Al*A_Cu)+(C_Cu*A_Al))
CCu=C_Cu*A_Al*100/((C_Cu*A_Al)+(C_Al*A_Cu))
printf("\n Atomic %% of Al is %.1f%%",CAl);
printf("... |
34328a2746c8fcc72dd914394bb5e63a0b02a06f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.12/Example8_12.sce | bc5388826fc5d6f8a62ce86657c27434b85ab956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Example8_12.sce | //Example 8.12
clc
disp("The fig.8.20 shows divided-by-6 (MOD 6) counter using 7493. As shown in the fig.8.20, the clock is applied to inout B of IC 7493 and the output count sequenceis taken from QD, QC and QB. As soon as count is 110, i.e. QD and QC = 1, the internal NAND gate output goes low and it resets the coun... |
91db586baa4de5e9b8532144be947fa7c42adf66 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/tunnel_revtun_ver00_gui.sce | 300e5d62921124f534456e1a27c217715ccae37a | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,249 | sce | tunnel_revtun_ver00_gui.sce | global file_name;
//get filename, path and extension
[path,fname,extension] = fileparts(file_name);
hid_dir = path + '.' + fname;
//while 1==1,
// [a1,b1]=unix_g("sudo tclsh ~/rasp30/prog_assembly/libs/tcl/program.tcl -device /dev/ttyUSB1/ -speed 115200 "+hid_dir+"/tunnel_revtun_SWC.elf");
// if (b1==0) then br... |
54c5eb12d49a1699b683d559ce585dee1d410a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH8/EX8.7/7.sce | 0c1fd0c424b41ea76fe2613e708ee3de44412c33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | 7.sce | clc
f=0.005;
L=10; // m
d=0.025; // m
g=9.81; // m/s^2
// H_L=4*f*L/d*v^2/2/g+0.5*v^2/2/g
// H_L=8.5*v^2/2/g
// By Bernoulli equation we get
// H=2.62+9.5*v2^2/2/g
// Applying the Bernoulli equation between the liquid surface and discharge point
// H_L=33.5*v2^2/2/g
// Solving above two we get
v2=... |
4d5922f0d3a25213498b81beab9cd2ecde0d68c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH7/EX7.3/Ex7_3.sce | bb39808d08fed1e2310020759a3ae39a0146784b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Ex7_3.sce | //example-7.3
//page no-211
//given
//temp
T=950+273 //K
QA1=83*10^3 //J/mole
QA2=157*10^3 //J/mole
R=8.314
D01=0.008*10^-4 //m^2/s
D02=0.7*10^-4 //m^2/s
Ms=0.8 //%
Mc=0 //%
Mx=0.6 //%
t=4*3600 //sec
D=1.38*10^-11 //m^2/s
//diffusivity at 950 degrees celcius
Dx=D01*exp(-QA2/R/T) //m^2/s
/... |
83e791fa46c1a8fc8a2cc999ddc48428610b992a | aef26b59d30e6dadcb4ad4adca5fef486bba8f39 | /plsql/测试游标之动态游标(强类型游标).tst | 3810c90c338dbf21b11d2df857a30363edae216f | [] | no_license | BinYangXian/ora | 23141658d122e552ae63d2c091a0b038446da275 | ebb23fed403da5248f8926f902a247b4046e540c | refs/heads/master | 2021-01-20T15:07:10.757649 | 2017-05-09T08:34:52 | 2017-05-09T08:34:52 | 90,722,061 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 696 | tst | 测试游标之动态游标(强类型游标).tst | PL/SQL Developer Test script 3.0
31
-- 测试游标之动态游标(强类型游标)
declare
-- 动态游标 要先申明类型 在声明变量
-- 使用open for 进行初始化数据
-- 申明类型
type v_cursor_type is ref cursor return emp%rowtype;
-- 声明变量
v_cursor v_cursor_type;
-- 声明行类型
v_row emp%rowtype;
begin
-- Test statements here
-- 动态游标不能用for循环
-- ... |
ed2323488424f59738d300c8e98cc904bf3ee475 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elements_Of_Power_System_J._B._Gupta_2078.zip/Elements_Of_Power_System_J._B._Gupta_2078/CH10/EX10.1/Example10_1.sce | a4b64cbecb7a0dc5b15088747fe3487117e8ae54 | [] | 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 | 158 | sce | Example10_1.sce | errcatch(-1,"stop");mode(2);//Exa 10.1
;
;
//Given data :
L=200;//m
w=0.7;//kg
T=1400;//kg
S=w*L^2/(8*T);//,m
disp(S,"maximum sag(m) :");
exit();
|
2dd8611a605a5719f82dd4ba50dbe89789f6e83d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.6/Chapter3_Example6.sce | 84e1e6b735cfd297d6764ccbc3783f3539560cf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | Chapter3_Example6.sce | //Chapter-3, Example 3.6, Page 58
//=============================================================================
clc
clear
//INPUT DATA
r=[0.01,0.02];//Inner and outer radius of a copper cylinder in m
T=[310,290];//Inner and Outer surface temperature in degree C
ko=371.9;//Value of thermal conductivity at T=0... |
5ae73479aa5586c5c88484a60a6828244c1a95a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH7/EX7.5/Ex7_5.sce | 5802a4011224c4efad649d3e6036502700e47c9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,390 | sce | Ex7_5.sce | //CHAPTER 7 ILLUSRTATION 5 PAGE NO 200
//TITLE:GOVERNORS
//FIGURE 7.8
clc
clear
//===========================================================================================
//INPUT DATA
g=9.81// ACCELERATION DUE TO GRAVITY
OA=.30// LENGHT OF UPPER ARM IN m
AC=.30// ... |
15d582038a98b5f0506bcf4e30db978e83f014e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH15/EX15.17/eg_15_17.sce | 799e08ea394f8f718c98961f4917da4b5097f74b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | eg_15_17.sce | clc;
clear;
n=3;
for i=1:n
for j=1:n
p(i,j)=modulo(i+j-2,3);
end
end
disp("modulo 3 Addition");
disp(p);
for i=1:n
for j=1:n
p(i,j)=modulo((i-1)*(j-1),3);
end
end
disp("modulo 3 Multiplication");
disp(p);
|
a19c5f65e553bb27fcc6935d351eceba2c7140e8 | 61a3a47880cc389dd77901a8efc34d5b68d9f29d | /UI/src/app/contracts.tst | 66d76c99cdd30e00ddd7262924b2b9f795946b93 | [
"MIT"
] | permissive | rlucas6130/triton | 87f11548decfadfd69a0ee983e14153f0b4a3d9b | 4c684dc77cb2c888b4f11f283e4cd468ed91353e | refs/heads/master | 2021-01-01T06:06:22.539757 | 2017-09-20T23:41:48 | 2017-09-20T23:41:48 | 97,355,654 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,462 | tst | contracts.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
using System.Text;
// Uncomment the constructor to change template settings.
Template(Settings settings)
{
settings.IncludeProject("Engine");
settings.OutputFilenameFactory... |
82f1fc9d2affdf7b326577b53a7f03fa366dada1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ac2poly/ac2poly6.sce | 5f46d4fa8ec6339d6f8321d9986557b26ffe8928 | [] | 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 | 268 | sce | ac2poly6.sce | //check o/p when char is given as i/p
r = 'has been';
[a,efinal] = ac2poly(r);
disp(a);
disp(efinal);
//output
//!--error 10000
//Input autocorrelation sequence needs to be of type double
//at line 24 of function ac2poly called by :
//[a,efinal] = ac2poly(r);
|
3cd3ce6d2783494341907d1343ce285fd617d8de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH7/EX7.3/Ex7_3.sce | 1fff748905b7651e91aacdbcbe28ef6aff65d838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Ex7_3.sce |
//To determine the acceleration required to run the service
//Page 364
clc;
clear;
D=1;
Ts=20; //Stopping Time
B=3;
Vsh=30;
ShT=D*3600/Vsh; //Schedule time
T=ShT-Ts; //Actual Run Time
Vav=D*3600/T; //Average Speed
Vm=1.25*Vav;
a=poly(0,'a'); //Acceleration Variable
X=((2*Vm*T)-((Vm^2)*((1/a)+(1/B))))-... |
1414f4962055ac0312e7eb3b406ca2fdce6a0aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH38/EX38.1/example1.sce | d3e7267cd48f7c3b5999e821fd086f42061d59da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | example1.sce | //Example 1
//Chapter 38
//clc()
V_o=50// in volts
C=1*10^-6 //in farad
L=10*10^-3
i_m=V_o*(sqrt(C/L))
disp(i_m,"Max current in amps") |
81ae459c3ff6caa8ea12deef42c38f7093c6e50c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH10/EX10.13.1/ex_10_13_1.sce | a06c74b889e2b5cdd6a45b920b0197b58934bf70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | ex_10_13_1.sce | //Example 10.13.1 // sampling rate
clc;
clear;
close;
//given data :
N=10;//number of cycles
f=1*10^3;//in Hz
sampling_period=N/f;
sampling_rate=1/sampling_period;
disp(sampling_rate,"sampling rate in samples per second")
|
2cf687192f69d3ba6612de7777c419849c2bb705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH32/EX32.3/Ex32_3.sce | ca8b10fc99862a3917f56af3e9dce37b3a667ec9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | Ex32_3.sce | clc;
//e.g 32.3
SR=0.5*10**6;
Vpk=0.1;
fmax=SR/(2*%pi*Vpk);
disp('kHZ',fmax*10**-3,"fmax=");
|
50729a16e4d56ce54443b6efb12cf11d1eb0f004 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH7/EX7.3.1/Example7_1.sce | 226ef870f701b6193542b0f54570b0163443984e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Example7_1.sce | //Chapter-7,Example7_3_1,pg 7-6
Ho=2*10^5 //critical field at absolute zero
Hc=1*10^5 //critical field at given temperature
T=8 //temperature
Tc=T/sqrt(1-(Hc/Ho))
printf("\ncritical temperature of ... |
046124cb1d5a067ef0300d0271d0ebbea8291c2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH9/EX9.5/Ex9_5.txt | ce6ce80e1e1312b834572bdf8ce63b7136c9fd88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | txt | Ex9_5.txt | //Caption:Design a UJT relaxation oscillator and find peak to peak output amplitude
//Ex9.5
clc;
clear;
close;
Vbb=20//Supply voltage(in volts)
f=5//Frequency(in khz)
Veb=3//Fringe Voltage(in volts)
Ip=2//Fringe current(in micro ampere)
Iv=1//Emitter current(in mA)
n=0.75
Vp=0.7+(n*Vbb)
R1x=(Vbb-Vp)/Ip
R1n... |
273fd31db57305d462ddbf775c79d6206f12d9d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH5/EX5.6.3/Ex5_3.sce | a3e5542b5ea8a943e201a4182c8c494bb2ee9be1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,473 | sce | Ex5_3.sce | //Example 3// Ch 5
clc;
clear;
close;
// given data
d = 0.001;//in meters
p1 = 3*101.3; //gas pressure of 3 atmp in kPa
p2 = 5*101.3; //gas pressure of 5 atmp in kPa
C = 2400.4;//constant value
A = 0.027;//constant value
As = 10^8;//avalanche size
Vs1 = C*p1*d/A;//breakdown voltage at 3 atm
Vs2 = C*p2*d/A;... |
cbcd05e9714f420704b1f84265efc6a438467913 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH14/EX14.2/Example14_2.sce | cde6bebe2ec8aff7ff5a8ef9c35659a4f9e0c69c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 759 | sce | Example14_2.sce | clear ;
clc;
// Example 14.2
printf('Example 14.2\n\n');
//Page No. 444
// Solution
//From appendix D
Tc = 154.4 ;//[K]
Pc1 = 49.7 ;// [atm]
Pc = 101.3 * Pc1;//[kPa]
T_O21 = -25 ;// Temperature-[degree C]
T_O2 = 273+T_O21;//Temperature -[K]
R = 8.134 ;// gas constant-[(cubic metre * kPa)/(kg mol * K)]
V_tank = 0.02... |
89290c06b3e2d95dcc94f1b4ccc7d22ba655cfc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH3/EX3.8/Ex3_8.sce | 5e9a42e42b566a1484dafbcb34742bcea40d219b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,094 | sce | Ex3_8.sce | // Example 3.8
// To find number of channels in 3 km by 3 km square centered around A in Figure 3.9 for a)without use of microcell b)with the use of lettered microcells c)all base stations are replaced by microcells
// Page 89
clc;
clear;
// Given data
R=1; ... |
d90eee8b9bb051ba6347faffab386e7c8722a0ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH4/EX4.5.a/4_5_data.sci | fef2ed4986d3147f9023c9abdec90abde990defe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sci | 4_5_data.sci | // Aim:Refer Example 4-5 for Problem Description
// Given:
// Kinematic viscosity of oil:
nu=50; //cS
// Pipe diameter:
D=1; //in
// velocity of oil:
v1=10; //ft/s
v2=40; //ft/s
|
acc7ba81afa2232215d48959a8169c80c41d5b5d | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Nearestpt.sci | a404370a4314548f5798fea9fe1b354f9a042040 | [] | 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 | 985 | sci | Nearestpt.sci | // 08.05.31
// 08.06.03
// 08.10.07
function Ans=Nearestpt(varargin)
Nargs=length(varargin);
PL1=varargin(1);
if size(PL1,1)==1
Flg=0;
else
Flg=1
end
Eps=10.0^(-6);
// Fig=varargin(2);
PL=varargin(2);
Ans=MixS(PL1(1,:),1,PL(1,:),1,norm(PL1(1,:)-PL(1,:)));
for N=1:size(PL1,1)
PA=PL1(N,:);... |
ab857e161c4bd6872739aaea829b371cac0381d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH12/EX12.9/Example_12_9.sce | a52c5312540572a991aca9c583f473f7fb989128 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | Example_12_9.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 12.9
//Caption : Program to Calculate the Heat Transformed per Kg of Solution formed
T=294.15;//[K]
m_NaOH_soln=1;//[kg]
m_NaOH_solid=0.45*m_NaOH_soln;//[K... |
d05f7ccb46faead1e18fc614df14c4685b1b455d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.22/Ex5_22.sce | 71c2a6a1016faae7e230a7677d7994a568093760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex5_22.sce | //Example 5_22
clc;
clear;
close;
format('v',5);
//given data :
V=0.4;//V(Forward voltage)
t1=25;//degree C
t=150;//degree C
T=t+273;//K
T1=t1+273;//K
VT=T/11600;//V
//I0T=I01*2^((T-T1)/10)
I0TBYI0T1=2^((T-T1)/10);//ratio of current
Eta=2;//for Si
I2ByI0T=(exp(V/Eta/VT)-1);//ratio of current
//At 25 de... |
fa28d3c210524f072c244ee7c11866e4d4317df6 | 203811c2233e8539e9c88a0c988b651914c07c97 | /130040019_assignment1/130040019/code/q4.sce | 319a92ec16622b90cf8d05dd3e990ef57f45474d | [] | no_license | kalpeshpatil/SpeechProcessingAssignments | eeef26f925e137f045cfef996b1bcf59a1be3902 | f80137d2c55a249244a79b5aed13b9ddeb20a80b | refs/heads/master | 2021-01-10T23:31:37.828701 | 2017-03-09T08:58:18 | 2017-03-09T08:58:18 | 70,431,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,200 | sce | q4.sce | clear all
//Function to calculate filter response using difference equation
function [y]= time_response (x,num,den,n_samples)
y = zeros(n_samples,1)
//numerator is constant (all pole filter)
y(1) = num(1)*x(1)
//response by taking coefficients for denominator
for ii =2:n_samples
... |
5bb5eac7a33db4925f3558635cdbe8c9f2c01cc0 | 270c239ad1a53c003654a7b02b6ed1e7d2ae17bd | /salt/20300/HAM/Workflow/saltcheck-tests/init.tst | 4b6b8fbb2421bc2d50453cf91c8a41bb009fc2ab | [] | no_license | smerugumala/SumTFinalBuilds | 8f024c5e2a7cea534789f9d61ddaafbce97b57fd | f75bd81ab050d1a5c71c2af61aaa309b68c0f054 | refs/heads/main | 2023-02-11T22:26:24.576871 | 2021-01-08T12:10:18 | 2021-01-08T12:10:18 | 327,892,208 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,677 | tst | init.tst | {% import "20300/SCC/Workflow/vars.sls" as base %}
{% set trialset = salt['network.ipaddrs']( ) %}
{% set val= trialset | replace("[u'", "") %}
{% set machine_ip= val| replace("']", "") %}
{% for port in ["26379/tcp","6379/tcp","26380/tcp"] %}
check if {{port}} is open:
module_and_function: firewalld.list_ports
a... |
cde76b2099f8c5fa7a7374e12319f3f647a94e23 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/interpolação/exemplo_interpolação2.sce | 5182dc0685246bb3d767917d398c46a3da076d2b | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,832 | sce | exemplo_interpolação2.sce | //
//
//
clear;
clc;
getd('../lib');
function plot_all(fig, a, b, Px, f, funcao, wtitle)
fig_ctl = scf(fig); // Define o controle de figura
clf(fig); // Limpa a figura
fig_ctl.figure_name = wtitle;
x_plot = linspace(a, b, 1000);
p_plot = horner(Px, x_plot);
y_plot = feval(x_plot, f);
plo... |
d5665a10d8c1358bd8c3572fca9efb068239e326 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.7/7.sce | c546f811ecad810c23cc804d471ac4cc3cf067e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | 7.sce | clc
T1=523; //K
T2=258; //K
Q1=90; //kJ
n=1-T2/T1;
disp("(i) Efficiency of the system")
disp(n*100)
disp("%")
disp("(ii) The net work transfer")
W=n*Q1;
disp("W=")
disp(W)
disp("kJ")
disp("(iii) Heat rejected to the sink")
Q2=Q1-W;
disp("Q2=")
disp(Q2)
disp("kJ") |
2adc7d6b3024be5615f3b38a7f730a9f5ee9d6a8 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_4/Scilab_codes/RH_table_4.sce | 0ab8fcb9c908487f87ab2eab2f851264b29044c9 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | RH_table_4.sce | clear
close
clc
s = poly(0,'s');
G = s^6 + s^5 - 6*s^4 + s^2 + s - 6;
disp(routh_t(G));
|
846ab63765765680d3b92598eb4b85f875e3d9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.10/Chapter5_Example10.sce | a4169455c9a26941956fc7f9ace40257522c9d59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter5_Example10.sce | //Chapter-5, Example 5.10, Page 178
//=============================================================================
clc
clear
//INPUT DATA
q=(0.3*10^6);//Heat flux in W/m^2
t=(10/60);//Time taken for heat transfer in s
Ti=30;//Initial temperature of the slab in degree C
x=0.2;//Distance of the plane from th... |
80c666bbc72460d3fcf1ee3fa29bba4621eeb40a | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StringAndUtilityFunctions/FLStrReplace-NZ-01.tst | 6c562c03f85b7b5d282ce0942a0bd347004b0f87 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,590 | tst | FLStrReplace-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
95e52f70176eace0b6113fc6e45739fa0edff714 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/determinism-004.tst | f2468e298276db047569852b45c887ef24ad5856 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28 | tst | determinism-004.tst | ../inputs/determinism-02.ssv |
c724d6f4658719fdd6a5db5ea21411ea478a4e56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.19/Ex4_19.sce | e55f95842733591ff67ed2fdb3cdd3cc53e330f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | Ex4_19.sce | clear
// The built-up section is divided into six simple rectangles
//variable declaration
A1=250.0*10.0 //Area of 1,mm^2
A2=40.0*10.0 //Area of 2,mm^2
A=A1*2+A2*4 //Total area,mm^2
Y1=5.0
Y2=30.0
Y3=15.0
Y4=255.0
Y5=135... |
039de94560dbcd8f475826609f33c3fdc18346ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH6/EX6.5/Example_6_5.sci | 092ce62860db9678133412d2ab8ae07090e4ce8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,388 | sci | Example_6_5.sci | clear;
clc;
printf("\n Example 6.5");
gas_flow_rate =0.2; //units are in kg/m^2
c = 0.88; //specific heat capacity of air is kj/kg K
viscosity = 0.015*10^(-3);//viscosity is in Ns/m^2
d = 0.25*10^(-3); //particle size is in meters
k = 0.03; //thermal conductivity is ... |
a3b2d93feadcb44e91903ab02a10c7c11b51cd0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.37/Ex12_37.sce | 3c6baca206895d71ed9cd0737b9eb2d3cb3c84be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_37.sce | //Chapter 12
//page no 531
//given
clc;
clear ;
Aeff=55; //in sq micrometer
l=1557; //wavelength in nm
c=3*10^5; //speed of light in km/s
n2=2.6*10^-16; //in cm^2/W
D=0.20; //Dispersion constant in ps/nm/km
Tfwhm=30; //in ps
Zs=[2*%pi*c*T... |
cac460c611564f323637eb67a47dd6bcd4c5a11b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.5/8_5.sce | 10b09974a3ce445c2a1630efe7e691bd4c56e1a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | 8_5.sce | //8.5
clc;
Av=100000;
beta=0.01;
Zi=2*10^6;
Closed_loop_input_imped=Zi*(1+Av*beta)*10^-6;
printf("Closed loop input impedance=%.0f Mega-ohm",Closed_loop_input_imped)
Zo=75;
Closed_loop_output_imped=Zo/(1+Av*beta);
printf("\nClosed loop output impedance=%.4f ohm",Closed_loop_output_imped) |
1dc883ff05560a0c740ebe794575fc70de80eeb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH5/EX5.3/Ex5_3.sce | 57f8099437d195a890ea5544d1b8500abcc6031b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | Ex5_3.sce | // Exa 5.3
clc;
clear;
// Given
fs = 10000; // frequency of modulated signal(Hz)
fm = 200*10^3; // modulation frequency(Hz)
Ri = 10; // Input resistance(ohms)
e2_by_e1 = 1.3; // limit for lowest frequency(in %)
// Solution
F_lower = fm - fs ;
printf(' For a double-section filter, \n e2/e1 = 1/s... |
8bd9f0f7b47aecb54656a6990913cd63815292d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH9/EX9.4/Example9_4.sce | 51fbb4f13e9d53f980fbafef61d3c13380fe8c17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | Example9_4.sce | clear;
clc;
//Caption: To design a self bias circuit
//Given Data at 25degree C
B1=150;//beta
Ico1=50;//in nA
//Given Data at 65degree C
B2=1200;//beta
Ico2=3;//in micro A
Vbe=0.65;//in mV
Vcc=20;//in V
M=1;
//Assumption: Each factor Ico,B, and Vbe cuses the same percentge change(5%)
//Let Rb/Re=... |
c46b08fea1a3123579e3b16bfbb9ad6eb7ea76b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH6/EX6.1/Ex6_1.sce | 7a146d0fa8fc437de01388ea2debd6efadf26760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,618 | sce | Ex6_1.sce | clear all; clc;
disp("Pick the data rows for the flow rates of 10241 and 13965 cfm and list them in the first four columns of the table below.")
disp("Convert the flow rate Q,static pressure SP and brake horsepower BHP values for various rpm into 300rpm based on the fan laws.")
disp("That is Q1=Q*(300/N), SP1=SP((... |
c85585a396cedd52a5dce3b7f670583533717628 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH11/EX11.2/Ex11_2.sce | b83d05072b2cf0a19d6a0c4809edd6fda12bb071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | Ex11_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 11 Example 2")
Q=800;//refrigeration capacity in tons
Q_latent=335;//latent heat for ice formation from water in KJ/kg
T1=(-7+273);//temperature of reservoir 1 i... |
b8e58225e61fce455769f38945238d55b6c17978 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH8/EX8.13/Ex8_13.sce | e3ddb691bcf2972f910ff42f36163e97568dd76b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 765 | sce | Ex8_13.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex8_13.sce.
clc;
clear;
Il=2;
Z=864;
If=0.6;
V=220;
Ra=0.8;
a=2;
p=2;
phi=5.4e-3;
T=25;
Ia=Il-If;
E1=V-(Ia*Ra);
n1=(E1*a)/(2*Z*phi*p);
N1=n1*60;
printf(... |
ed201e52f31680608b43cc02cf05dd40c22b88c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH9/EX9.6/Aerials_Ex_9_6.sce | 474b49a25c32ed9e419f169c2743b0aea2d65330 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Aerials_Ex_9_6.sce | clc
//Chapter9
//Example9.6
//Given
//b
c=3e8
f=2e9//operating freq
Ae=100//aperture area
lambda=c/f// operating wavwlength
D=((4*3.141*Ae)/(lambda^2))// Directivity
mprintf('Ideal directive gain is %d',D)
|
0e06aa5218ff6006b3818dbd30e441223f413b95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH1/EX1.1/Chapter1_Example1.sce | dc4b5c50fdbdd8bff0a3af88c03d2eb65fc10f64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Chapter1_Example1.sce | clc
clear
//INPUT DATA
Tmax=200;//Maximum Brake Torque in Nm
N=3600;//Speed range in rpm
Pmax=900;//Maximum engine torque in kPa
n=2;// For Four stroke engine
Mps=15*60;//mean piston speed in m/min
//CALCULATIONS
Vs=((2*3.14*Tmax*n)/(1000*Pmax));//Swept volume in m^3
d=((Vs/3.14)^(1/3))*1000;//Bore diameter... |
06d2b253bd1221f7c52830fde9475aee9c9892e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH6/EX6.2/EX_6_2.sce | 2bf01ecb6207f01a197cf059583f681793c29ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | EX_6_2.sce | //Example 6.2// ratio error and phase angle
clc;
clear;
dv=0;//as secondary winding power factor is unity
Io=1;//in ampere
Knom=200;//nominal ratio
Re=1.1;//external burden in ohms
Pf=0.45;//power factor
d= acosd(Pf);//
alpha=90-d;//in degrees
Is=5;//in ampere
Rs=Knom*Is;//
Kact= Knom+((Io/Is)*sind(dv+alpha));//actual ... |
657cafdf08dee65f2a7431462d021981920b9a98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH2/EX2.8/example_8.sce | 08e4c91ffa97cc3ae25abdd430708e2ed8683d31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | example_8.sce | clc
clear
printf("example 2.8 page number 73\n\n")
//to find molarity,molality and normality
w_H2SO4=0.15 //in gm/1gm solution
density=1.10 //in gm/ml
m=density*1000; //mass per liter
weight=m*w_H2SO4; //H2SO4 per liter solution
molar_mass=98;
Molarity=weight/molar_mass;
printf("Molarity = %f ... |
7faf0a92e0e6f84bb1078b3f2bea0eb39a6df25c | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/tooManyParameters.tst | d9cea5976d875b99d6e90d747d6a8f758cdf267a | [
"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 | 152 | tst | tooManyParameters.tst | int sum(int x, int y) {
return x + y;
}
main {
int s;
int x;
int y;
int z;
x := 1;
y := 2;
z := 3;
s := sum(x, y, z);
return s;
}
|
68bfe4697cf0fb5a6cdf54846fefbc80b4151dbb | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG04.prev.tst | a9c66398b65a360e23eacda5bf26f6ed712b526b | [
"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 | 6,597 | tst | PG04.prev.tst | /* Generated at yyyy-mm-dd hh:mm by
java -cp dist/ramath.jar org.teherba.ramath.ProgramGenerator -w 3 -l 4 -v "[a^2+b^2,a^4-6*a^2*b^2+b^4,4*a^3*b-4*a*b^3]" -v "[5,7,24]" -n -p "p^4 = q^2 + r^2" m2opts
Do N O T edit this file, but ProgramGenerator.java instead!
*/
#include <stdio.h>
#include <stdlib.h... |
673804fc110ee9c31b6836866410e697e0826a33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.31/3_31.sce | 7121fac8550654b5440c6369eef0b3b701fd7a96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 3_31.sce | clear//
//Variables
R = 750.0 //Resistance (in ohm)
I = 32.0 //Current (in milliAmpere)
//Calculation
P = I**2 * 10**-6 * R //Power (in watt)
//Result
printf("\n Power consumed by relay coil is %0.3f mW.",P*1000)
|
9cc25d6e8bf8688ad647a0aff336e239a89d8760 | 46c2ffc0a7d0219a5dfeab726da94f2cacde4212 | /Scicos/lectures/motor-system-lecture.sce | 67d93a0c96fea673fc469683e74d9d56fe9c5793 | [] | no_license | pcarcereri/Laboratory-of-Embedded-Control-Systems | b51e98223e8b614ebcf4835d7a45287e8fce651a | c5df61d28b97c0ae467b31ed0086e466c51506b3 | refs/heads/master | 2021-01-19T19:35:31.964162 | 2012-04-02T09:08:54 | 2012-04-02T09:08:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,682 | sce | motor-system-lecture.sce | clc;
// Simply copy&pasted from professor lol
// Motor parameters (change at your will)
K = 2;
Omega_n = 10;
Csi = 0.5;
// Transfer function
s = poly(0, 's');
G = K / (s^2 / Omega_n^2 + 2 * Csi / Omega_n * s + 1);
G = syslin('c', G);
Dt = 0.1;
t = [0:Dt:10];
// Amplitude:
A = 2.5;
u = [zeros(1, round(1/Dt)), A * o... |
1f848b3a2591d6a05ec0ffc213d332747ad2322a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH2/EX2.22.4/ex2_22_4.sce | b480bf1c2c4af713c81935af9c50a6615a720674 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | ex2_22_4.sce | //Chapter-2,Example2_22_4,pg 2-51
T=300 //temp in kelvin
K=8.62*10^-5 //Boltzman constant in eV
Eg=2.1 //Energy band gap
//probability f(Ec)=1/(1+exp((Ec-Ev)/(K*T))
m=K*T
//for f(E)=0.99
p1=0.99
b=1-1/p... |
a7e4237e0dbf3fdd6bb0226b7706b01ba25ce2e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH8/EX8.9/S8_9.sce | 46a70fcd6d5831c8444aa86fdc1803b449d26c0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 986 | sce | S8_9.sce | // sum 8-9
clc;
clear;
// for music wire
d1=11.5;
A=2211;
d=1.5;
m=0.145;
sigut=A/(d^m);
sigy=0.78*sigut;
Do=16;
E=2*(10^5);
Nb=4.25;
D=Do-d;
C=D/d;
Ki=((4*(C^2))-C-1)/(4*C*(C-1));
Mmax=(sigy*%pi*(d^3))/(32*Ki);
kc=((d^4)*E)/(10.8*D*Nb);
theta3=Mmax/kc';
l1=20;
l2=20;
Ne=(l1+l2)/(3*%pi*D);
Na=Nb+N... |
505facebe5526b43d8d8ce3512dd08b5cc7764d3 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/DEVELOPMENT-LANGUAGES/oto-manguean/ote.tst | 5922157bdcb8593ee13603323e9af2e37dd56fd3 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 154,572 | tst | ote.tst | ndo²ʔmi V;PRF;2;PST
fụ²ki V;PRF;3;PST
ʔro¹²ti V;IPFV;SG;1;PST
ts’ụ²-xẹ¹²ni V;IRR;SG;2
do²-ʔyẹ V;PFV;SG;1
ka²lku²la V;IPFV;SG;1;PRS
ñe²ʔmi V;IRR;SG;2
kä²ʔmi V;PRF;SG;1;PRS
tsọ¹²họ V;PFV;SG;3
jot’i V;IPFV;SG;3;PST
dä²hñei V;IPFV;SG;2;PRS
hño¹²ga²-mfe¹²ni V;PFV;SG;3
eni V;PRF;2;PST
ne²i V;PRF;1;PST
pä¹²di V;PRF;SG;3;PRS
x... |
8349afb549c2efd4c836b373c9f540ee9397677c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH3/EX3.3/EX3_3.sce | ebe8d6bf258a9ea1bc6d470790668d62fb3efb0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | EX3_3.sce | //Chapter 3, Example 3.3
clc
//Initialisation
v1=30 //voltage
r1=10*10**3 //resistance in ohm
r2=10*10**3 //resistance in ohm
r3=10*10**3 //resistance in ohm
//Calculation
voc=v1/2 //open circuit voltage
r23=(r2*r3)/(r2+r3) ... |
d7d4c2d39dd2a91f503913a859e27b1333f381fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH14/EX14.14/Ex14_14.sce | eff82b3e9b42cfa18536919ca915559ec77a469a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex14_14.sce | clear
//Given
Np=5000
Vp=2200 //V
Vs=220 //V
Pout=8 //K W
n=0.9
//Calculation
Ns=(Vs*Np)/Vp
Pin=Pout/n
//Result
printf("\n (ii) Input power is %0.1f K W",Pin)
|
dc2e66f0f6ba3ec5b577951535f0aacc84438a06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH11/EX11.1.b/ex_11_1_b.sce | d56f98abbb07238094013e7ad0ca89f2d4fc22fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | ex_11_1_b.sce | //example 11.1(b)//
clc
//clears the screen//
clear
//clears all existing variables//
a=8+8+3;
//given no of inputs//
o=2;
//given no of outputs//
s=2^a*o;
//size of prom//
disp(s,'size of PROM =') |
b358d89ecfe23e7a3c52d3077de6146f8ff44ac3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.49/Exa2_49.sce | a178a2138b34fa3a06ce8265ac3f88a78552f8f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Exa2_49.sce | //Exa 2.49
clc;
clear;
close;
//Given data :
format('v',5);
ISCbyIFL=4;//ratio of SC current to full load current
TsBYTf=1/4;//ratio of atarting torque to full load torque
Slip=3;//in %
Slip=3/100;//in fraction
//Formula : TsBYTf=Percent_Tapping^2*ISCbyIFL^2*Slip
tapping=sqrt(TsBYTf/(Slip*ISCbyIFL^2));//in %... |
0c40efa2da1a9c7d7761f8a1de2da223103b0abf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH3/EX3.4/Ex3_4.sce | 0b78777ae1f5df3462b007c8f6a63245f200c8cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Ex3_4.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 3 Example 4")
v=0.78;//volume of cylinder in m^3
p=101.325;//atmospheric pressure in kPa
disp("total work done by the air at atmospheric pressure of 101.325 kPa"... |
f1494f44804862d43329c5309b1242de811c3db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH31/EX31.4/31Ex4.sce | 7c46ad158a24bad9a260cb4c3b6fd1615c759038 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 31Ex4.sce | //chapter 31 Ex 4
clc;
clear;
close;
E={'(2,6)','(3,5)','(3,6)','(4,4)','(4,5)','(4,6)','(5,3)','(5,4)','(5,5)','(5,6)','(6,2)','(6,3)','(6,4)','(6,5)','(6,6)'};
sizeS=6*6; //rolling 2 dice
sizeE=size(E,"c");
prob=sizeE/sizeS;
printf("The probability of getting total more than 7 is %0.3f",prob);
|
f10567df42eaa9827e9ee46097337532df370f80 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-03/cap12/aprox-derivada_ordem_2_encontre_coeficientes.sce | 82384ca6bf0e831ffb186f5dd17ffd552fbe2cd7 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | aprox-derivada_ordem_2_encontre_coeficientes.sce | // Aproximacao de derivada dupla
// f{xx}(xn) = [c1*f{n+0} + c2*f{n+1} + c3*f_{n+3}] / h^2
// ^ ^ ^
// Os x sao os pontos onde a f(x) e' calculada
x(1) = 0;
x(2) = 1;
x(3) = 3;
// Daqui pra baixo nao muda pra calculo de f''
b(1) = 0;
b(2) = 0;
b(3) = 2;
for i=1:3
M(1,i)... |
bf696971acac10c42f0e677822787b5bba77d083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH10/EX10.3/10_03.sce | f67c21414dbaf87c644e381de39a448720fe47ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | 10_03.sce | //Example No. 10_03
//Pg No. 332
clear ;close ;clc ;
time = 1:4
T = [ 70 83 100 124 ]
t = 6
Fx = exp(time/4)
n = length(Fx)
Y = T ;
b = ( n*sum(Fx.*Y) - sum(Fx)*sum(Y) )/( n*sum(Fx.*Fx) - (sum(Fx))^2 )
a = sum(Y)/n - b*sum(Fx)/n
disp(b,'b = ')
disp(a,'a = ')
printf('The relationship between T and t is \n... |
c91265bd955063cf45c236ecdcb0afaf5d685376 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH16/EX16.1/16_1.sce | 03fdaa653b1d99856831314331ed7518786e69b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16_1.sce | //example 16.1
clc; funcprot(0);
// Initialization of Variable
Tso=50;//temperature
Tinfinity=25;//temperature
Tsi=385;//temperature
ka=0.15;
kb=0.08;
ho=25;//W/K/m^2
La=(Tsi-Tso)/(1/ka+0.5/kb)/(ho*(Tso-Tinfinity));
L=La+0.5*La
disp(L*1000,"required thickness of composite in mm");
clear()
|
de4544ad653c3b9941043aeae759bfb75e96f473 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH9/EX9.3/Example_9_3.sce | f71244aa64ebb92612f1a7e67402bea4b0e050e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | Example_9_3.sce | // Chapter9
// Page.No-390
// Example_9_3
// Design of notch filter
// Given
clear;clc;
f1=5*10^3; // notch freq in Hz
Q=10; // Figure of merit
R2=100*10^3; // Constant for band-pass filter
printf("\n Resistance R2 is = %.1f ohm \n",R2) // Result
R3=(100*10^3)/((3.48*Q)-1);
printf("\n Resistance R3 is = %.1f... |
f1742a93c31004869fc7a542ba4d20678d89204e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/calpol/gcd.sci | a8fa64ecf36e7610b9a09c8112900a7c4ef97aae | [
"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 | 660 | sci | gcd.sci | function [x,uu]=gcd(p)
//Given a polynomial vector p, [pgcd,u]=gcd(p) computes the gcd
//of components and a unimodular matrix (with polynomial inverse) u,
//with minimal degree such that [p1 p2]*u=[0 ... 0 pgcd]
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
[m,n]=size(p)
mn=m*n
p=matrix(p,1,mn)
x=p(1);fact=1;
uu=1
for l=... |
f98fbff56ceb6bc1f34a0c171ffad86a390a65f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH6/EX6.1.5/example6_5.sce | efd9ca2f3cd2253d782cae0a2da267fb9333067c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,280 | sce | example6_5.sce |
//example 6.5
clc; funcprot(0);
//exapple 6.5
// Initialization of Variable
rho=1000;
dc=.15;
l=7.8;
g=9.81;
pi=3.1428;
atp=105.4*1000;
vap_pre=10.85*1000;
sl=.22;
dp=0.045;
h=4.6;
//("x(t)=sl/2*cos(2*pi*N*t)" "the function of displcement");
//"since we have to maximize the acceleration double deriva... |
2b3f28f399ed037f24032c971f3d5dcc4853606b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.21/Ex4_21.sce | 48ee5d995d90bba86780684de73b83daac79465c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | Ex4_21.sce | //Example 4.21:
clc;
clear;
close;
//given data :
format('v',5)
Af=100;//gain with feeback
vi=50;//in mV
vi1=60;//in mV
AAf=vi1/vi;//
A=AAf*Af;//
Beta=(((A/Af)-1)/A);//feed back ratio
disp(A,"Av is ,=")
format('v',8)
disp(Beta," feedback factor is,=")
|
b756b8b2558090d9cd8c5b353f5f347b0a800d79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.7/Example37.sce | fbb15941e2bd3ebb82a73a321fb88d0e290eaded | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Example37.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 7")
disp("Refering Figure")
disp("Head = 90m")
disp("Head lost due to friction = 30m")
disp("Head available at the nozzle ... |
15e7fbea3ea7e69ac07c4cda1564025533f61bc4 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ADRSolver/Tests/RotPerBcs3D_Annulus.tst | 97d73dd6f5e7ff576c00d4dd9cec502b8eaa0134 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 635 | tst | RotPerBcs3D_Annulus.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>3D Helmholtz with cylindrical periodicity, annulus, P=3</description>
<executable>ADRSolver</executable>
<parameters>RotPerBcs3D_Annulus.xml</parameters>
<processes>4</processes>
<files>
<file description="Session File">RotPerBcs3D_... |
9e5532a9671d5f080b5104c9ed1d71d9492f8b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH6/EX6.3/Ex6_3.sce | ebaea175aa1057b7f9d383c54a69a1c5f7af16b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Ex6_3.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-6.3 Page No.122\n');
Alpha=6.5*10^-6; //[in/(in*F)] Thermal expansion coefficient (Appendix 8)
L=5; //[in] Length of engagement
Delta=0.01204; //[Degree] Elongation
DT=Delta/(Alpha*L); //[F] The temperature w... |
e3745410d36e3044008fcc917b04e90379b30cdc | f4cfee6e4201b01843e6de00cc439883a49aa4f1 | /my scilab files/yogesh14.sce | 04013e3d2449448466524ac570e5b6a245a70261 | [] | no_license | yogeshkhatana/All_programming_language_files | a17bb49ea4d3aef2b667bdbb03f3af5c4224b0d1 | bec946abcf8e69a6e6ebc568d14db73c52029170 | refs/heads/master | 2022-11-19T09:05:08.861581 | 2020-07-24T17:40:32 | 2020-07-24T17:40:32 | 282,181,013 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | yogesh14.sce | x=[0 1 2 3 4 5]
y=[0 1 2 3 4 5]
subplot(2,2,1)
plot(x,y,'r*-')
xtitle('subplot 1')
xlabel('x-axis')
ylabel('y-label')
xstring(1,1,'line 1')
xgrid()
subplot(2,2,2)
plot(x,y,'g*-')
xtitle('subplot 2')
xlabel('x-axis')
ylabel('y-axis')
xstring(1,1,'line 2')
xgrid()
subplot(2,2,3)
plot(x,y,'b*-')
xtitle('subplot 3')
xlabel... |
124d19e447dfdf838da007d7f305081490575767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.7/Ex3_7.sce | 2a1405899df714a56f5b0ba451e58388ed47f709 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex3_7.sce | //Safety of dam
//refer fig. 3.16
Rx=300 //kN (towards right)
Ry=100-1200-400 //kN (Downwards)
//taking moment about O
MO=300*3-100*1+1200*2+400*5
//assume that the resultant cut the base at a distance of x from O
x=MO/Ry //m
printf("x=%.3f m lies in the middle third of base.Hence dam is safe",-x)
|
4a5c03d68f3ab2fc94129a275253f98267211c21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH1/EX1.4/1_4.sce | 634f98b6e3889ea8d7f4233f2edc0ea35f2777e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | 1_4.sce | clear; clc; close;
Tc = 0.072;// %/'C
Vz = 10;//V
T1 = 100;// 'C
T0 = 25;// 'C
Delta_Vz = Tc*Vz*(T1-T0)/100;
Vz_new = Vz + Delta_Vz;
disp(Delta_Vz,'Change in zener potential(in V):');
disp(Vz_new,'Resulting zener potntial(in V):');
|
0d81ae952187b3a87127699c8467a6390c5a6115 | 7f8a82b193633b744689e1f194923592e656b470 | /rltoolSci/macros/rltFuncLead.sci | 1d1f14120a577ac17dcaa9a498437e0e01b3c44f | [] | no_license | josuemoraisgh/rltoolSci | 3b5a5e8fc6a27b60bca3354af5222350cd8e8b3b | a76ad9fbfe988bb2674adfeb466847a32719474a | refs/heads/main | 2023-07-14T10:40:12.549424 | 2021-08-26T17:52:16 | 2021-08-26T17:52:16 | 385,216,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,344 | sci | rltFuncLead.sci | function rltFuncLead
global axes1 comp gnum gden cnum cden hnum hden cCk Mp T5
s = %s;
txtT5='';
execstr(msprintf('G = clean(syslin(''c'',(%s)*(%s)*(%s),(%s)*(%s)*(%s)));',cnum,gnum,hnum,cden,gden,hden));
[zetamf, wnmf, wdmf, sigmamf] = pontoDesejado(Mp, T5);
smf = -sigmamf + wdmf*%i;//Raizes de... |
167fabfe8b4fb3527065f49533b07eaf60de1396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.24/7_24.sce | f5c971aafed54bce62aef72446726b29850b8eee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,156 | sce | 7_24.sce | clc,clear
printf('Example 7.24\n\n')
R_a=0.8,X_s=5
Z_s=complex(R_a,X_s) //armature resistance and syncronous reactance
theta=(%pi/180)*phasemag(Z_s) //synchronous impedance
alpha=(%pi/2) - theta
V_t=3300/sqrt(3)
P_e_in=800/(3) //per phase
phi=acos(0.8) //leading
Q_e_in=-P_e_in*tan(phi)
// Using the follo... |
2b987d55cdd0625f1d1cf93f3af10101a31265a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH7/EX7.30/q30.sce | ec2372e67cbc554a706d344c31073932e2fddce8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | q30.sce | A=[-1 0;1 -2];
B=[1;1];
[r c]=size(A)
I=eye(r,c)
P=cont_mat(A,B);
disp(P,"Controllability Matrix=")
d=det(P)
if d==0
printf("matrix is singular, so system is uncontrollable");
else
printf("system is controllable");
end;
|
839c84cbed32b5b964023bd2eeb5e4f805772a22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.4/5_4.sce | 229ecfe75df82ad08514d9f3a12541f748952dec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | 5_4.sce | clc,clear
printf('Example 5.4\n\n')
V_L=866
VA=100*10^3
I_L=VA/(sqrt(3)*V_L) //because VA=sqrt(3)*V_L*I_L
I_aph=I_L//full load and star connected alternator
V_ph=V_L/sqrt(3)
//Graph is plotted and V_oc_ph and I_asc_Ph is obtained for
//SCC for I_asc=66.67 A,I_f=2.4 A
//OCC for I_f=2.4 A,V_oc_ph=240 V
... |
59c04b6eaa37b8a7d738352954b9bcc1af515355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.23/Chapter7_Example23.sce | b1dd1bd12a7a8545b677e83c00877e1e22ef9266 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sce | Chapter7_Example23.sce | //Chapter-7, Example 7.23, Page 320
//=============================================================================
clc
clear
//INPUT DATA
D=0.05;//Diamter of the tube in m
T=147;//Average temperature in degree C
v=0.8;//Flow vwlocity in m/s
Tw=200;//Wall temperature in degree C
L=2;//Length of the tube in m... |
f0b159a017221073e5a5fcf6baffbbd3ce3b488c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH1/EX1.a.1/A_Ex1_1.sce | 5ec56e92d40d7e5af0c83f6dfa4b5281e2c66159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | A_Ex1_1.sce | // Chapter 1 addl_Example 1
//==============================================================================
clc;
clear;
//input data
P = 1; // for fundamental mode
t = 1.5*10^-3; // thickness of quartz crystal
E = 7.9*10^10 // young's modulus in N/m^2
p ... |
3aa1f1e9166d5147bc5c876d823dc6c948b311d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH1/EX1.9/Ex1_9.sce | 313c522c2768710590835624e763253ed4eb5d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex1_9.sce | //To find length of the medium
//Example no 1.9
//Page no. 30
clc;
clear all;
bandwidth=100*10^9; //Bandwidth of optical signal
w=2*%pi*bandwidth; //Bandwidth of optical signal in rad/s
T=3.14*10^(-12); //Delay between minimum... |
fc54052b3f93080dc7ba15374397845ba3e7365e | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH2/EX2.1b/Exa_2_1b.sce | 96645efef95447cfa8b629658ba153fd89652602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | Exa_2_1b.sce | //example 2.1b,pg.no.11
n=1:1:10;
xn=6*cos((2*%pi*n')/4);
a=4;
p=0;
for i=1:1:a
p=p+abs(xn(i)^2);
end
P=p/a;
disp("The average power of given signal is")
P |
7fd8b8ccfd8f9792d80c020bc26d211aa6b86a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH11/EX11.6/Ex11_6.sce | fb39d7b713b7ddf19981e153db36a76841265b8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex11_6.sce | // Exa 11.6
clc;
clear all;
// Given data
f=2; // kHz
C3=100; // micro farads
R1=10; // k Ohms
R2=50; // k Ohms
R3=100; // k Ohms
// Solution
// Using equations 11.12(a) and 11.12(b) (page no. 321)to find values of Rx and Cx
Rx=R2*R3/R1;
Cx=R1/R2 *C3;
printf(' The equivalent circuit consist of ... |
0f763780252362997a46e878913ae59cff5d2568 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/DateFunctions/FLDECODEDATES-NZ-UM-01.tst | bff59e45d2a247390ff995438aeebd59f752ddea | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,621 | tst | FLDECODEDATES-NZ-UM-01.tst | --INFO: Reading startup configuration from file PulsarLogOn.act_ssl_config
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata Aster
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectu... |
47738de62c86ab89630c6a27e6fdcb4b2316f245 | feede54c196a479bdc4592783238f5771854ad20 | /Scilab-Code/Q7pbstationnaire.sce | e4b17f3c6bcd9251ae08559bc337d577fcf7178f | [] | no_license | cachett/HeatDiffusion | 6275213da94745662db20ecf78d6bf9b1a6f90f1 | 5e80327fbc7da084338499064bcce80c1a92647c | refs/heads/master | 2021-05-14T09:18:24.602579 | 2018-01-05T13:18:18 | 2018-01-05T13:18:18 | 116,322,677 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,213 | sce | Q7pbstationnaire.sce | //Script pour la Q7, résoud numériquement le système trouvé pour i = 10, i=50, i=100 et u0=1.
exec("Q3factorise.sce")
exec("Q4descente.sce")
exec("Q5remonte.sce")
function [Adiag, Ainf, B] = genereMatricesAB(nbrPoints, l)//NbrPoints prend en compte les bornes!! Donc n = nbrPoints-2
// on génére les matri... |
c55c6beb4a54c43367dffacf877e41a615fa6262 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/obtenerFactorizacion.sci | 1b5892633bf1cc6f5e3db75abab242c7f1686a53 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sci | obtenerFactorizacion.sci | function matrizU = obtenerFactorizacion(matrizA)
if ( sum(abs(matrizA - matrizA')) == 0 ) then
matrizU = chol(matrizA);
else
matrizU = %nan;
end
endfunction |
b6c2a4414eb266830fcf88dc2fe2bd6916765482 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.11/Example6_11.sce | d0ecad32f4b0c531fe742b32ddf749729944e4dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Example6_11.sce | //Example 6.11
clc;
clear;
close;
format('v',8);
//Given data :
g=9.81;//constant
Cd=0.6;//Coefficient of discharge
B=1.3;//meter
H1=6-(1.8+1.5);//meter
H2=6-1.5;//meter
Q=2/3*Cd*B*sqrt(2*g)*(H2^(3/2)-H1^(3/2));//m^3/sec
disp(Q,"Discharge through the orifice in m^3/sec : ");
|
57e10f2c4fc5a18a1fb7f0752ff3d59da5b25018 | 518b77b4f75f1e023ec173d2cfa465812d9ffa2b | /dpskdemod/ex_demod.sce | fdde0438df9a79d8ccf75481722cdac527ead504 | [] | no_license | senthilkumarIRTT/Scilab-communication-toolbox | 94fd7d1ad7408805817bb22a37a8e8eef135733b | b1bfd518daf8496f3a2c056d4dd996de327e1acc | refs/heads/master | 2021-01-10T20:30:24.937033 | 2015-12-20T00:17:31 | 2015-12-20T00:17:31 | 41,198,649 | 0 | 0 | null | 2015-08-22T10:01:31 | 2015-08-22T08:40:51 | null | UTF-8 | Scilab | false | false | 1,340 | sce | ex_demod.sce | clear;
close;
clc;
exec('dpskmod.sci')
exec('bin2gray.sci')
exec('gray2bin.sci')
exec('dpskdemod.sci')
clc;
M = input('Enter the alphabet size =');
x = 0:M-1;
//Example 1:
//y = dpskmod(x,M)
//Example 2:
//y = dpskmod(x,M,%pi/8)
//Example 3:
y = dpskmod(x,M,%pi/8,'GRAY')
disp(y,'DPSK modulated output=')
a = gca();
pl... |
ffb7b750ba67fc93c3579632f8af6daa0ef548b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.67/example4_67.sce | 196e16bb6283c574d0b5b59a379b2740228a63c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example4_67.sce |
//example 4.67
//calculate return period of flood of 9950 cumec/s
clc;funcprot(0);
//given
xavg=4200; //mean
sigma=1705; //standard deviation
xt=9550; //flood value
K=(xt-xavg)/sigma;
yt=1.2825*K+0.577;
l=%e^(%e^(-yt));
T=l/(l-1);
T=round(T*100)/100;
mprintf("Return period of flood of 99... |
46c2eb49b8f901c1ad69d2f13dfec26964cd55be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.9/9.sce | 2c035bb6111de57d38648b6fb0f034b2222b894a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | 9.sce | clc
clear
//INPUT DATA
n=4//number of atoms/unit cell in Aliminium
a=4.05*10^-10//lattice constant of Aluminium which is FCC crystal in m
nf=3//number of free electrons per atom in Aluminium
T=300//ambient temperature in K
x=0.1*1.6*10^-19//The same difference energy and fermi energy but in J
m=9.11*10^-31//mas... |
bf484f282f84d847b31e1ecd730da4f613121f3d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%p_r_r.sci | a7d6d34c8ed63ed16521cae0b8835db219831c21 | [
"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 | 234 | sci | %p_r_r.sci | function f=%p_r_r(m,f)
// f=%p_r_r(p1,p2) <=> f= p1*(p2^(-1))
// p1 polynomial matrix
// p2: rational matrix
//!
// Copyright INRIA
if prod(size(f('num')))<>1 then f=m*invr(f),return,end
f=rlist(m*f('den'),ones(m)*f('num'),f('dt'))
|
8deb95cfd4a01899806a2398f44142027f65c23f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH1/EX1.7/Ex1_7.sce | 5fb3d347d88f2229072b42ab98e3f2d58be2fc50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex1_7.sce |
clear;
clc;
disp('Example 1.7');
// Given values
m = 10; // mass of iron casting, [kg]
t1 = 200; // initial temperature, [C]
Q = -715.5; // [kJ], since heat is lost in this process
// From the table of average specific heat capacities
c = .50; // specific heat capacity of casting iron, [kJ/kg K]
// solution
... |
476bfb0224413672773e5407438e7a04bd1a495c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH5/EX5.5/ex5_5.sce | c4792accf4c7b3b95f07161e8526bf2925b1573a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | ex5_5.sce | // Example 5.5
format('v',5)
clc;
clear;
close;
// given data
Vz= 10;// in V
V_BE= 0.7;// in V
V_CC= 30;// in V
R_E= 5;// in kΩ
R_E= R_E*10^3;//in Ω
R_C= 4;// in kΩ
R_C= R_C*10^3;//in Ω
V_E= Vz-V_BE;// in V
I_E= V_E/R_E;// in A
I_C= I_E;// in A
// The collector voltage
V_C= V_CC-I_C*R_C;// in V
disp(V... |
6e142423f5cfd18ed273828404104a8de048a19c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH33/EX33.6/33Ex6.sce | 54742841b531526ffb3c093f1ac5b36f108f2cec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | 33Ex6.sce | //Chapter 33 Ex 6
clc;
clear;
close;
BD=165; Sum=1650; //given
// As ratio of TD as to BG is 10:1 Thus BD =11 as BD=TD+BG
TD=(10/11)*BD;
BG=BD-TD;
mprintf("THe true discount is Rs.%d \n The bankers gain is Rs.%d",TD,BG);
|
b3ca4b8afcc9c07ce16cb074052f2dbeb04d6014 | c565d26060d56f516d954d4b378b8699c31a71ef | /Step-test_manual/costf_1.sci | aa19503dc6726e6050346ae1aecea041c07e90dd | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 299 | sci | costf_1.sci | function [f,g,ind] = costf_1(x,ind)
kp = x(1); tau = x(2);
y_prediction = kp * ( 1 - exp(-t/tau) );
f = (norm(y-y_prediction,2))^2;
g = numdiff(func_1,x);
endfunction
function f = func_1(x)
kp = x(1); tau = x(2);
y_prediction = kp * ( 1 - exp(-t/tau) );
f = (norm(y-y_prediction,2))^2;
endfunction
|
6ed9622aa1c2d86e2f6e37ab2b6b919c02b5ba08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.15/ex2_15.sce | e8fe15e22ab62be10450e377c6189d18a55129b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_15.sce | // Exa 2.15
clc;
clear;
close;
format('v',6)
// Given data
V = 15;// in V
R1 = 4;// in ohm
R2 = 3;// in ohm
R3 = 2;// in ohm
R_L = 5;// in ohm
Ig = 6;// in A
// V - R1*I1 - R3*(I1+Ig) = 0;
I1 = (V-R3*Ig)/(R1+R3);// in A
I = I1 + Ig;// in A
Vth = R3*I;// in V
Rth = ((R1*R3)/(R1+R3)) + R2;// in ohm
I_N ... |
6b2053dc1d4054e3a0b30a98b732c434b29573f8 | a5eaf5c29f92560b10679aec7b081a603f58963a | /t41/ForLoop Code.tst | 332c03f2de0e76a8dff45da25b054cdd929356b8 | [] | no_license | AvitalParasha/DbPlSql | 6c3b9bc8656472923b49cbbc138c4f1b5869f622 | 218b6cce0d868d0cb65eb5ea37cd4a810556ea92 | refs/heads/master | 2022-12-09T06:53:19.431050 | 2020-08-19T19:39:22 | 2020-08-19T19:39:22 | 288,820,608 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | tst | ForLoop Code.tst | PL/SQL Developer Test script 3.0
13
-- Created on 5/19/2020 by TEST
DECLARE
x number := 10;
BEGIN
LOOP
dbms_output.put_line(x);
x := x + 10;
IF x > 50 THEN
exit;
END IF;
END LOOP;
dbms_output.put_line('After Exit x is: ' || x);
END;
0
0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.