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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dbfc567f01d3a4e2e33fc52f38175b3933eb1b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH6/EX6.1/Ex6_1.sce | 330a7d0bdbee29f333fd1411f2b4acc2a8de230a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | Ex6_1.sce |
clc; funcprot(0);
// Initialization of Variable
Da=184.32;//distance in mm
Db=95.84;//distance in mm
Ax=-115.0;//x coordinate of A
By=-115.0;//y coordinate of B
//calculation
phi=atan(Ax/By);
AB=sqrt(Ax**2+By**2);
theta=acos((Da**2+AB**2-Db**2)/2/Da/AB);
alpha=phi-theta;
xc=Da*cos(alpha)-115.0;
disp(xc,"t... |
30f8733ecf03289c02c284be5246a691e64e6d03 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 2/Aula 8 - Minimos quadráticos/Teste/EstimarUmaFuncaoFormaParabola.sce | 694d0ed684f9df3ff3a90efbc889b5b52fd83f2f | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | EstimarUmaFuncaoFormaParabola.sce | clear
x = (1:0.5:12)';
y = 11*sin(x) + x.^2;
n = size(x,1);
p = 2;
for i=1:p+1
for j=1:p+1
/*Monta a matriz do elemento genérico polinomial*/
M(i,j) = sum(x.^(i+j-2));
end
end
for i = 1:p+1
/*Monta o vetor b do sistema*/
b(i) = sum(y.*x.^(i-1));
end
a = inv(M)*b;
Xl = 3.14
resposta ... |
fb9f05231b0a61e5a1570ac77ccbbd172d82f27f | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH1/EX1.4/example4_sce.sce | c762a7769db3d8338b3100d69b1fe4889019059d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | example4_sce.sce | //chapter 1
//example 1.4
// page 23,figure 1.27
Vee=10;R1=2400;R2=2400;R3=1000;Vbe=.7;//given
I=(Vee-(R2*Vee/(R1+R2))-Vbe)/R3;
disp(I)// result is in ampere |
4ea5b5462371708e4f411e5eebb02d4aab80a734 | 72bdc6d649588b61192529e7d1420ddc18d1a67a | /tema5/1_acceso.sce | 4cfa70c234c7af45af25adf8ad5fcd222890b52a | [] | no_license | jgpATs2w/scilab-examples | c3fcff648f720a8e909b2af0ec9ab70fb90dfcd2 | 59522a5ae1abbadf6f62bff16095f4b74c707918 | refs/heads/master | 2020-09-27T23:41:06.927931 | 2020-02-11T08:54:24 | 2020-02-11T08:54:24 | 226,637,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | sce | 1_acceso.sce | file("open", "datos.txt"); |
e6159e310204026a20a985a4d76d275ad7fbf4d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH13/EX13.1.1/example13_1.sce | 10805776a8f2cd7860d22806e412b8fd5ebaf7c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | example13_1.sce |
//exapple 13.1
clc; funcprot(0);
// Initialization of Variable
rho=998;
g=9.81;
pi=3.1428;
omega=2*pi*1055/60;//angular rotation
r=2.55/100//radius outer
ld=1.55/100;//liq. depth
l=10.25/100;
//calculation
//part1
a=r*omega^2/g;
disp(a,"ratio of cetrifugal force & gravitational force is:");
//part2
... |
2b1c0848930d69b0d5844dc29334ecadf29cd6d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH8/EX8.4/Ex8_4.sce | 9b15781a1e4ec0883f963056629b36f2f127600f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex8_4.sce | //Example 8-4, Page No - 259
clear
clc
f = 10*10^6
div_factor = 100
A =64
N = 285
M=32
ref = f/div_factor
R =M*N+A
fout= R*ref
printf('The output frequency of the synthesizer is %.1f Mhz',fout/10^6)
printf('\n The step change is %.1f Mhz ',fout/10^6-918.3)
|
7678880fb2514ad28ebaef9960027526c943668d | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/P2_numerico_oberdan/M11 - Euler-Heun-Taylor/M11 - euler.sce | 027d6400ac59aeccc3a460e0b31677a1b670a608 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,032 | sce | M11 - euler.sce | clear
/*
* t_dado, u_dado: u dado -> u(t_dado) = u_dado
* t_final: tempo final -> u(t_final)
* h: tamanho do intervalo
*
* [u]: aproximacao com o metodo de Euler
* -> valor final e' o ultimo no vetor
*/
function [u]=euler(t_dado, u_dado, t_final, h)
t(1)=t_dado; // t(0) -> init
u(1)=u_dado;
... |
cb5d52fe7a00f520d4841f8ba70c023f26392c88 | 1ac32b2a9c91110d9dabe41ae3a3978c58e76d42 | /TP/tp4_data_fusion_fuzzy_logic/fuzzy_logic.sci | edfca0312a8744053516421ee7e68f89b86d80af | [] | no_license | Wanna-Get-High/VisA | 60c9a840ff11bd5a950efa5bba1392d47c4b0494 | 6742c451fe0b9e0150b3c59fc3418c3c8b272ba0 | refs/heads/master | 2021-01-18T19:29:19.220404 | 2013-12-14T16:52:57 | 2013-12-14T16:52:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,665 | sci | fuzzy_logic.sci | funcprot(0);
function basse = getCourbeBasse()
basse(1,1:10) = 1;
basse(1,11:19) = 2 - ((0.9:0.1) - (-1/10)*(11:19));
basse(1,20:40) = 0;
endfunction
function moyenne = getCourbeMoyenne()
moyenne(1,1:10) = 0;
moyenne(1,11:20) = -1 + ((0.9:0.1) - (-1/10)*(11:20));
moyenne(1,20:29) = 3 - ((0:0.9... |
980d437932a2b0e71bc090a13002767841ce07ff | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/levinson/levinson4.sce | 12999272642bcbad59f93538c6a51b6169c376c6 | [] | 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 | 174 | sce | levinson4.sce | // no i/p args are passed to the function
levinson();
//output
//!--error 10000
//Too few input arguments
//at line 4 of function levinson called by :
//levinson();
|
ce968d8fcbedec370cf3001f536b089c13be19d1 | ac81ea48ed36fa69fdf708977fe51fda833622d2 | /trunk/testovac/task_data/lorem_ipsum/01.tst | 51f4fbbd57dabf4514c771b6d5b16624f4c8f2b5 | [] | no_license | ppershing/ksp-hell-world | 96559d7ebf10a4c04a477d232ab933a8d63b1b25 | 72894a6744e9d088624104c34b15b331e196aa06 | refs/heads/master | 2021-01-01T06:10:40.788109 | 2011-03-29T22:47:44 | 2011-03-29T22:47:44 | 32,278,913 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | tst | 01.tst | Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer nec odio.
Praesent libero burne.
Sed cursus ante dapibus diam.
Sed nisi.
Nulla quis sem at nibh alburn elementum imperdiet.
Duis sagittis ipsum.
|
2e2357457b4933f113841efc316fec008a44254c | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH5/EX5.1/5_1.sce | ee17972a6058aeff92e87c17a7cbd2335a829135 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | 5_1.sce | //All the quantities are expressed in SI units
AR = 8; //Aspect ratio of the wing
alpha = 5*%pi/180; //Angle of attack experienced by the wing
a0 = 2*%pi //airfoil lift curve slope
alpha_L0 = 0; //zero lift angle of attack is zero since airfoil is symmetric
//fro... |
02c90d233510f69937c8178216818af16d88370a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.26/ex1_26.sce | b28a31d653f30390a2629c187131793967b6120e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | ex1_26.sce | // Exa 1.26
clc;
clear;
close;
format('v',6)
// Given data
Io = 2*10^-7;// in A
V = 0.1;// in V
// Current through the diode under forward bias,
I = Io*( (%e^(40*V))-1 );// in A
I = I * 10^6;// in µA
disp(I,"The current through the diode under forward bias in µA is");
// Note: Calculated value of I in the... |
e9f7458a03ac8dae946be6e5ba8d852d7f3d1d71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.10/Ex10_10.sce | a70f53e7380a3f3e36d23a782121de888f75ff50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,008 | sce | Ex10_10.sce | //EX10_10 PG-10.48
clc
printf("Refer to the figure-10.43 shown\n ")
//A is grounded so B is virtual ground
//Vb=Va=0
Vb=0;
R1=1e3;
R2=5e3;
R3=5e3;
R4=100;
printf("\n Vb=Va=0 ................(1)")
printf("\n Vb=0 \n I1=(Vin-Vb)/R1=Vin/R1 \n I1=(Vb-Vx)/R2=-Vx/R2 \n \n Vin/Rf=-Vx/R2")
printf("\n =>Vx=-R2/R1... |
afb3fa598948da2d44a3c3b5323145645866ed4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.16/ex4_16.sce | f1d087ea93667a52f155dea92d9164c7375ef7c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_16.sce | // Exa 4.16
clc;
clear;
close;
format('v',6)
// Given data
h_fe = 50;// unit less
h_ie = 0.83;// in k ohm
h_ie = h_ie * 10^3;// in ohm
h_fb = -h_fe/(1+h_fe);// unit less
disp(h_fb,"The current gain is");
h_ib = h_ie/(1+h_fe);// in ohm
disp(h_ib,"The input impedance in ohm is");
|
2867941ecbb854f0fbb3bb8807ee3d8867f8147b | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_settimescale.sci | e674a8aab7cbf0f2ea4f655cbbd67ed5acf88547 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sci | kiks_gui_settimescale.sci | function [] = kiks_gui_settimescale()
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
globa... |
cc1330392637eec6e403b9c2cfab09d95bc2d4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH5/EX5.2.3/Example_5_2_3.sce | 2e65ec0e49ec085ffe5fe0c323494dc4cc8417fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,094 | sce | Example_5_2_3.sce | clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
//Let lambda1<lambda2<0
for x=-20:0.5:20
y1 = x;
y=0;
x1=0;
plot2d(x,y1,style=-2)
plot2d(x,y,style=-4)
plot2d(x1,x,style=-4)
end
for x=-5:0.5:5
y2=-4*x;
plot2d(x,y2,style=-2)
end
xtitle('Phase Portr... |
31bfa3898d1aa516e5948f155d12cf93da0c2149 | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH5/EX5.11/Chapter5_Example11.sce | 2c2a839d3a790a113fe47aa0fab830dcf286dc9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,730 | sce | Chapter5_Example11.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-5, Illustration 11, Page 127
//Title: Calculation of dry bulb and wet bulb temperature
//==========================================... |
0f2bb3f2d17973c3eff80f0feb4156f09e895e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.7/Ex3_7.sce | 2ae7cdba7413f09e416cd1c0190e9adede5a1246 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_7.sce | //Variable declaration
beeta=100. //current gain
Ic=4. //collector current(mA)
Vbe=0.7 //base to emitter voltage(V)
Re=2. //emitter resistance(ohms)
Vcc=32. //supply voltage(V)
abeeta=40. //actual current gain
//Calculations
Ib=Ic/beeta //base cu... |
c57902e1347d5f6bfe71a093b60f29cfb341d8c1 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_fourbyte2ip.sci | a945140ff9f1c9462ad86457b43958fcaaa480e7 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,961 | sci | kiks_fourbyte2ip.sci | function [res] = kiks_fourbyte2ip(val) // fourbyte is expected to be a signed integer
// Ouput variables initialisation (not found in input variables)
res=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// !! L.3: Matlab function bitget not yet converted, original calling seque... |
5e53f47389e6108d288c6cde8274d744657cf8a1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Principals_And_Applications_D._P._Leach_And_A._P._Malvino_45.zip/Digital_Principals_And_Applications_D._P._Leach_And_A._P._Malvino_45/CH5/EX5.3/example_5_3.sce | d24a77619335ca1fdd1381f74d03b86e087cf148 | [] | 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 | 524 | sce | example_5_3.sce | errcatch(-1,"stop");mode(2);//Example 5.3
//s the command window .
//s all the variables .
format('v',18); //increasing the p... |
b47fe0fbc990069b682d7a38e725edc91cb08b53 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLInvCosH-NZ-01.tst | b2230bcc2e1a6970a7acddca4d2c356124b93da3 | [] | 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,237 | tst | FLInvCosH-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.
-... |
d2009812b6aeca0d29a5bf45c05f156edd94a851 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.7/Ex2_7.sce | e61848c8c28407ec835a0bc7c2dc68128a2ab820 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | Ex2_7.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.7
//Given Data Set in the Problem
d=3
a=%pi/4*d^2
D=10
A=%pi/4*D^2
f=80
dens=1000
g=9.81
//Calculations
//When pistons are at same level
F=f/a*A
mprintf("The force on the l... |
c03f7de8f1ab6b98d57eba2ddf935cb77da75292 | 09704e4709928b49763cc3cc4a418bb22298bdaa | /splines_2D.sce | 4aa348cf0b74f13d2d1d5321cc60a8a7d56571fd | [] | no_license | beta-robots/splines-playground | 99514aedc291400733d5246cdd35aa8e20473ecb | 3546b5369eec12c0dfb933312f2f95801d70b138 | refs/heads/master | 2020-06-30T16:53:18.116391 | 2019-08-07T15:06:58 | 2019-08-07T15:06:58 | 200,889,865 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,289 | sce | splines_2D.sce | // Computes the 2D curve, as a 3rd degree polynomial in each dimension (x and y):
// x(t) = at^3+bt^2+ct+d
// y(t) = at^3+bt^2+ct+d
// that satisfy the 8 constraints:
// x(0), x(1), x_dot(0), x_dot(1)
// y(0), y(1), y_dot(0), y_dot(1)
// where [x_dot(0) y_dot(0)]^T and [x_dot(1) y_dot(1)]^T are the ... |
dad146fff898f4bfb99b2923598a7d5008795d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.2.3/Ch03Exa3_2_3.sci | 489b35b400e710ebd94d0832583cab732cd0b0c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sci | Ch03Exa3_2_3.sci | // Scilab code Exa3.2.3: Calculation of mass of 1 Ci sample of radioactive sample : Page 125 (2011)
A = 3.7e+010; // Activity of 1Ci sample, dps
t = 1608; // Half life of radioactive substance, s
N = 6.023e+023/214; // Number of atoms in 1g of substance having atomic mass 214
lambda = 0.6931/t; // Decay constant, s... |
f33444fa0b4832b6e998e7650a1308f71bfedc68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.29/Ex29.sce | c3fffe2799364acb6981652ffd25abfd9d4ea4cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex29.sce | //Ex:29
clc;
clear;
close;
u=0.55;//aperture efficiency
f=12;// in GHz
d=3;// diameter in m
G_i=u*(10.472*f*d)^2;
g=ceil(G_i);
g_i=10*log(g)/log(10);//in db
printf("Gain=%f ",g_i); |
29e99cd9b73c765608a18186a69c5b15143ad48e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH3/EX3.4/Ex3_4.sce | 5caac57aafae4269201c786c641aa5a9827b1313 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,316 | sce | Ex3_4.sce | clear all; clc;
disp("Scilab Code Ex 3.4 : ")
//Given:
P = 80; //kN
l_z = 1.5; //m
l_y = 0.05;//m
l_x = 0.1; //m
//Calculations:
A= l_x*l_y;
normal_stress_z = (P*(10^3))/A; //Pa
Est = 200; //GPa - from the tables.
strain_z = (normal_stress_z)/(Est*(10^9)); // Strain = stress/modulus of elasticity
... |
7f8f35949e0ae4bb57012b1c8cd7cfeb21780223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH5/EX5.4/Ex5_4.sce | 58d505d5646abaa0ed3be942ab84b4aac037daa4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | Ex5_4.sce | clc
clear
printf("Example 5.4 | Page number 123 \n\n");
//Find inlet and exit velocities
//Given Data
d1 = 0.15 //m //inlet diameter
m = 4000/3600 // kg/s //flow rate
v1 = 0.285 //m^3/kg //specific volume at entry
d2 = 0.25 //m //exit diameter
v2 = 15 // m^3/kg //specific volume at exit
//Solution
A1 =... |
2d3cda78a465a73bbf25903300febedf62fdf47f | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/.svn/pristine/2d/2d3cda78a465a73bbf25903300febedf62fdf47f.svn-base | a9721f202bceca071ece06ad7ab2594671393414 | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85 | 2d3cda78a465a73bbf25903300febedf62fdf47f.svn-base | Objects in root group:
Dataset: DS1
Datatype: DT1
Group: G1
Dataset: L1
| |
6f071a1cd1ebf9eb670f7b3673278a0482204082 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.36/Ex3_36.sce | 84cc2421abc9d1ed186d98e9501084e152a71136 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex3_36.sce | //Example 3_36
clc;
clear;
close;
format('v',6);
//given data :
f=100;//Hz
C=100;//micro F
Cdash=200;//micro F//When current is half of maximum
L=1/(2*%pi*f)^2/(C*10^-6);//H
disp(L,"Inductance(H)");
XL=2*%pi*f*L;//ohm
XC=1/2/%pi/f/(Cdash*10^-6);//ohm
//at I=Im/2 Z will be 2*R
//Im=V/R and I=V/Z=V/sqrt(R^... |
3095d86b12e58d8c50ebf29f69b89051faec384a | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH9/EX9.5/ex9_5.sce | b61204eeec43b5a9d5d8f0d5e0b80de2097b37e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_5.sce | //Ex 9.5
clc;
N=21;
U=11;
for n=-10+U:1:10+U
if n==11
hd(n)=0.25;
else
hd(n)=(sin(%pi*(n-U)/4))/(%pi*(n-U));
end
end
[hzm ,fr ]= frmag (hd ,256) ;
hzm_dB = 20* log10 (hzm)./ max ( hzm );
plot (2*fr , hzm_dB );
xlabel ('Frequency');
ylabel ('Magnitude');
title('Plot of Amplitude of LPF') |
f4e84c20aded746e389c431b8e0b3e71524e1c59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.2.1/Ch03Exa3_2_1.sci | f432f8fae8c3163c1457c249d3b7c4468140037e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch03Exa3_2_1.sci | // Scilab code Exa3.2.1: To determine how many curie in 10^10 Bq : Page 124 (2011)
Bq = 1/3.7e+010; // Number of curie in one Bq, Ci
N = 10^10*Bq; // The number of curie in 10^10 Bq, Ci
printf("\nThe number of curie in 10^10 Bq : %4.2f Ci", N)
// Result
// The number of curie in 10^10 Bq : 0.27 Ci
|
23cd2b06bc435b7e8cb29a230496171e1a1b9f7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH9/EX9.11/9_11.sci | 401fa51fba1ee52029252051ad09f63e72be82d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sci | 9_11.sci | //calculates//
printf("2) with controller')
syms K;
sys1=syslin('c',1/(s*(s+1.2)));
sys2=sys1/.(s*K);
G=16*sys2;
G=simple(G)
disp(G,"G(s)=")
sys=G/.H;
sys=simple(sys);
disp(sys,"C(s)/R(s)=")
[num,den]=numden(sys)
den=den/5; //so that coeff of s^2=1
cof_a_0 = coeffs(den,'s',0) // coeff of den of symbolic fu... |
0883d847ea4b22c62c8401bba6fbd704c06972a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH19/EX19.10/example10.sce | df146fa3a7bbaa7d946860e765735ddbaa742279 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | example10.sce | // find closed-loop bandwidth
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 19-10, page 723
clear; clc; close;
// Given data
// LM308
Avol=250000;// given
f2ol=1.2;// open-loop bandwidth in hertz
Avcl=50;// closed loop voltage gain
... |
c46630517dd01e9f68822c9fa6c45fb0ec12c129 | 64985f9f867ac83189b9c0abd35889bb76cc9427 | /Data/chef/chef.sce | 351339d178b90792bc796e41e47dac2daa6ab6e9 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Tanny2017/Signature-of-Geometric-Centroids | dce0b253f91a7f67815dd91e577a9d2ccd5d7741 | bafa9aa26d9d60aa819628f09c7f26630bda4e5d | refs/heads/master | 2020-09-08T04:21:14.620901 | 2018-12-05T07:12:06 | 2018-12-05T07:12:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30 | sce | chef.sce | chef_view1.ply
chef_view2.ply |
70b35951327c35c745249b8a5f9432b68ae748d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH12/EX12.6/Ex12_6.sce | 153defcf9671cd2fcf44f81060e5cdd22b2a4d9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,081 | sce | Ex12_6.sce | //Example 12.6
//Local Strain method
//Page No. 424
clc;clear;close;
funcprot(0);
K=189; //in ksi
n=0.12; //no unit
ef=1.06; //no unit
sigma_f=190; //in ksi
b=-0.08; //no unit
c=-0.66; //no unit
E=30*10^6; //in psi
E=E/1000; ... |
b45ed61df613a992b2f9d225025a2f7e0f9f0175 | f575b6ff7e0f0e2a1e8b41f9ab83ac853231ba68 | /pkg/anupq/gap/anusp.tst | d455cd997089dc32bd52a82823768ca24087123c | [] | no_license | jmichel7/gap3-jm | 756c6e6c5d3c7956fe4dc20b2f76f320f49a11b5 | 3eeb3c4d174d567c51e712f997febb1e8e2ad65f | refs/heads/master | 2023-08-23T19:04:53.627679 | 2023-08-21T14:21:33 | 2023-08-21T14:21:33 | 124,115,667 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 21,991 | tst | anusp.tst | SizeScreen( [ 70, 24 ] );
#>[ 70, 24 ]
InfoRead1 := Ignore;
#>function (...) internal; end
RequirePackage( "anupq" );
d8 := SolvableGroup( 8, 4 );
#>D8
q8 := SolvableGroup( 8, 5 );
#>Q8
S := StandardPresentation( FpGroup(q8), 2, "Class", 10 );
#>Group( G.1, G.2, G.3 )
S.relators;
#>[ G.1^2*G.3^-1, G.2^2*G.3^-1, G.3... |
56737ad89134fac6e0926db8d31dd77698810ca1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/uencode/uencode8.sce | 6de29a48dde51d5d49807635f617b8d0307d3969 | [] | 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 | 234 | sce | uencode8.sce | //check o/p when 1 i/p arg is passed to the function
y=uencode([1 2 3 4 5 5]);
disp(y);
//output
//!--error 10000
//Incorrect number of input arguments.
//at line 42 of function uencode called by :
//y=uencode([1 2 3 4 5 5]);
|
df4f1afdb350b648b554e363ad1cb0e2b795af1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.7/Ex1_7.sce | 4099e2e524281944f75e0376c068885e3a717ba1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Ex1_7.sce | //Example 1_7
clc;
clear;
//Calculate the fringe width
d=0.2 //units in mm
d=0.2*10^-3 //units in mts
lamda=550 //units in nm
lamda=550*10^-9 //units in mts
D=1 //units in mts
betaa=(lamda*D)/d //units in mts
betaa=betaa*10^3 //units in mm
p... |
14163d7dd2fd5945e1cb63eafeafbea2d1123c21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH18/EX18.6/RB_6.sce | fb3a664624cf2df9504f71ecc4c5b8f7b720ceb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | RB_6.sce | // sum 18-6
clc;
clear;
P=7500;
N=1440;
w=2*%pi*N/60;
T=P/w;
r=0.2;
//Let T1-T2=t
t=T/r;
T2=t/2.5;
T1=3.5*T2;
R=0.125;
Ft=T/R;
Fr=Ft*tan(20*%pi/180);
// RD & RA are reaction forces calculated in vertical and horizontal directions from FBD by force equilibrium
RDv=186.5;
RAv=236.2;
RDh=36.2;
RAh=108.5... |
326c85c7908ffab4eec7124bae88ee49ff538181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH18/EX18.4/Ex18_4.sce | dce8059304b3f46e9a69d10cfa474ea7d8180a61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Ex18_4.sce | //chapter18
//example18.4
//page401
L=33d-3 // H
C=0.1d-6 // F
R=25 // ohm
fr=1/(2*%pi*(L*C)^0.5)
Xl=2*%pi*fr*L
Q=Xl/R
BW=fr/Q
printf("resonant frequency = %.3f Hz or %.3f kHz \n",fr,fr/1000)
printf("quality factor = %.3f \n",Q)
printf("bandwidth = %.3f Hz \n",BW)
// the accurate answer for bandwidth is 120.572 Hz ... |
5ba0acbdaf39910d3b1a66c9b964c58820777302 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH3/EX3.1.e/E3_1.sce | a11590ba8a5d17552c2e461e419753acd51ed178 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | E3_1.sce | clc
//Initialization of variables
I=0.682 //A
V=12 //V
t=500 //s
m=4.33 //g
MW=46.07 //g/mol
//Calculations
q=I*V*t
n=m/MW
H=q/n
//Results
printf('Molar enthalpy change = %.1f kJ/mol',H/1000.)
|
76671838bf912d17fd3d9e21b28a76cb6f75f38c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH9/EX9.8/Ex9_8.sce | bcfa7dcfaa792f571e78da6afaf4d4e18aeb0b3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex9_8.sce | //Example 9_8
clc();
clear;
//To find out the speed by which water flows from spigot
//From the Bernoulis Equation P1+(p*g*h)=P2+(0.5*p*V2^2)+(p*g*h2)
printf(" Solving from the Bernoulis equation V2=sqrt(2*g*(h1-h2))")
|
d946ab9f997221a33c5528b26e15fee283cb123b | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassbpc2bpc/test_9.sce | d801dd719c870514f5496c55ee69d0e8ecdb5293 | [] | 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 | 357 | sce | test_9.sce | // Test # 9 : Valid input test case #1
exec('./allpassbpc2bpc.sci',-1);
[n,d]=allpassbpc2bpc([0.3,0.7],[0.2,0.8]);
disp(d);
disp(n);
//
//Scilab Output
//d=1. 1.355D-17 + 0.2212317i
//n=1.355D-17-0.2212317i 1.
//Matlab Output
//n=0.0000 - 0.2212i 1.0000 + 0.0000i
//d=... |
133debe3f2ecd08518435135db9b7c7ed9bf8689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH4/EX4.4.1/4_4_1.sce | 777004505a8bbe20059b392460ec63eff4c065de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | 4_4_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 4
//Example 4.4-1
//Principles of Steady State Heat Transfer
//given data
//si units
N=4;
M=9.25;
L=5;
k=0.9;
T1=600;
T2=400;
q=4*((M/N)*k*L*(T1-T2));
mprintf("heat transfer through the walls= %f W",q)
|
7d2a6862a234d1b08e11574393955648f14ec02e | 98efda43218be3d9e665771c28742517fd4f334f | /Toolbox Test/peak2peak.sci | e658024695ab81ccea936b36a800429dcb631f97 | [] | no_license | ankurmallick/Scilab_spt | bded5b3ed7c5618770ef4bb997b5f61aa7732cd9 | e35c986f70147ee773796c839153ed7adbda3941 | refs/heads/master | 2021-01-17T06:48:24.162281 | 2016-12-05T12:54:24 | 2016-12-05T12:54:24 | 43,445,584 | 0 | 2 | null | 2015-12-10T05:15:44 | 2015-09-30T16:47:57 | Scilab | UTF-8 | Scilab | false | false | 2,047 | sci | peak2peak.sci | function [Y] = peak2peak(X, dim)
funcprot(0);
// Calling Sequence
// Y=peak2peak(X)
// Y=peak2peak(X,dim)
// Parameters
// X: Real or complex valued input vector or matrix.
// dim: Dimension to compute maximum-to-minimum difference (Row/Column)
// Description
// Y= peak2peak(X) returns the difference between maximum ... |
9fa86dcf253e5a2d61f9b88ee8b11e4cab3f1fe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH14/EX14.11/14_11.sce | 74e797eb8a347292e7dd8600d1ac85a46717ed45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_11.sce | clc
//initialisation of variables
d= 4 //in
n= 315 //rpm
Ss= 8000 //psi
Ns= 12000 //psi
//CALCULATIONS
T= Ss*%pi*d^4/(32*(d/2))
hp= T*n/63000
//RESULTS
printf ('T= %.1f lb in',T)
printf (' \n horsepower rating=%.1f hp',hp)
|
59af51ae563c177155910c61f4328d1ec63b8f57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH18/EX18.2/eg18_2.sce | f8b96ad26c3c0758d81afc8894444e2b5c002415 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,408 | sce | eg18_2.sce | clear;
//clc();
function [r,i]=d(mag,theta)
r=mag*cosd(theta);
i=mag*sind(theta);
endfunction
previousprot = funcprot(0)
funcprot(0)
x0g1=0.05;
x1g1=0.3;
x2g1=0.2;
x0g2=0.03;
x1g2=0.25;
x2g2=0.15;
x0l1=0.70;
x1l1=0.3;
x2l1=0.3;
x0l2=0.7;
x1l2=0.3;
x2l2=0.3;
x0t1=0.12;
x1... |
0bcd4d0bba45bb0983c7d3a7fab473ac7d203d9e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/optim/quapro.sci | c5e64c1c3b755fe55a57f5ae2dd46caf9f036da2 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,877 | sci | quapro.sci | function [x,lagr,f]=quapro(Q,p,C,b,ci,cs,mi,x0,imp)
//[x,lagr,f]=quapro(Q,p,C,b [,x0])
//[x,lagr,f]=quapro(Q,p,C,b,ci,cs [,x0])
//[x,lagr,f]=quapro(Q,p,C,b,ci,cs,mi [,x0])
//[x,lagr,f]=quapro(Q,p,C,b,ci,cs,mi,x0 [,imp])
[lhs,rhs]=argn(0)
if rhs==9 then
//quapro(Q,p,C,b,ci,cs,mi,x0,imp)
//define modo,x0 for qpqpqp
m... |
ece9629e77eddaba62ae59dce9036a9d155e9c24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH14/EX14.3/Ex14_3.sce | b164ed24385020f046b8a4d3e63021ec24cea5c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex14_3.sce | //Calculate the Wavelength in nanometer for transition in Hydrogen atom
//Example 14.3
clc;
clear;
nf=2; //Quantum number for emmision process (n=4 to 2)
ni=4; //Quantum number for emmision process (n=4 to 20)
RH=109737; //Rydberg constant in cm^-1
new=RH*abs((1/ni^2)-(1/nf^2)); //Frequency in c... |
f0214a26037ef4aabc7b30a324331fbf81dc2e2c | 16152b808456a98fcb2d4303d5622c225109bcda | /determinant.sce | 98adf7c7e8585ac351fd8c6549e746f7431fc2cb | [] | no_license | conradolega/131 | b1bcdc7097b661dcc0c503118ec199adffaabfc9 | fa0773433f66f485bf96a8adee35f00a1207861a | refs/heads/master | 2016-09-05T13:42:37.104466 | 2013-10-11T14:30:59 | 2013-10-11T14:30:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | determinant.sce | function m = getminor(x, i, j)
n = size(x, 'r')
m = [x(1:i-1, 1:j-1), x(1:i-1, j+1:n); x(i+1:n, 1:j-1), x(i+1:n, j+1:n)]
endfunction
function y = determinant(x)
c = size(x, 'c')
r = size(x, 'r')
y = 0
if c == r then
if c == 2 then
y = x(1, 1) * x(2, 2) - x(2, 1) * x(1, 2)
else
for i = 1:c
mino... |
a0bfc0ebc6d5974ac3b9267f00760da7cb730519 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.04/20_04.sce | e873b33682ee0ad33e33dc675363586ea4b5e839 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | 20_04.sce | clear;
clc;
R=3e6;
Rb=6000e3;
vb1=11e3;
vb2=22e3;
X=.15;
x=.15*Rb/R;
xeq=x/2;
MVA=Rb/xeq;
Ifault=MVA/(sqrt(3)*vb1*%i);
Ir=real(Ifault);
Ii=imag(Ifault);
Imod=sqrt((Ir^2)+(Ii^2));
Iangle=atand(Ir/Ii)-90;
Imod=round(Imod/10)*10;
mprintf("for fault on generator side \n Fault MVA=%dMVA \n Fault current=%d/_... |
fcef1fc919d76c55bd2ba627efcd0f33a137446e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH5/EX5.3/example5_3.sce | dfebde6bfac4aa02f89f11203e02e186ad4487a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | example5_3.sce | clc
// Given that
mu_0 = 1 // refractive index of air
mu1 = 1.5 // refractive index for core
mu2 = 1.48 // refractive index for cladding
// Sample Problem 3 on page no. 5.16
printf("\n # PROBLEM 3 # \n")
theta_c = asin(mu2 / mu1) * (180 / %pi)
delta_mu = (mu1 - mu2) / mu1
NA = sqrt(mu1^2 - mu2^2)
theta_0 = asin(NA) * ... |
cd19615f128892a6831378a15aca35c07060fbad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.1/ex3_1.sce | 648f9a5e7aaac5001e560da668a43d9524fcd251 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | ex3_1.sce | clc;
f=15; //focal length in cm
v=10; //image distance in cm
u=(150/5); //calculating u using (1/f)=(1/v)-(1/u)
disp(u,"Object Distance in cm = "); //displaying result |
0613d49f468d21f5a2d4969e945ff77c44082007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH8/EX8.7/8_7.sce | 208257740a0ebf4a492138359de00c7638c67fb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | 8_7.sce | clear; clc; close;
yos = 20*10^(-6);
Idss = 10*10^(-3);
Vp = -8;
Vgsq = -2;
Idq = 5.625*10^(-3);
Rg = 1*10^(6);
Rd = 2*10^(3);
gmo = 2*Idss/abs(Vp);
gm = gmo*(1-(Vgsq/Vp));
rd = 1/yos;
Zi = Rg;
Zo = Rd*rd/(Rd+rd);
Av = -gm*(Rd*rd/(Rd+rd));
Av2 = -gm*Rd;
disp(gm,'gm(S) = ');
disp(rd,'rd(ohms) = ');... |
c4a11760308ec354e41edf5854202acfdffb5e93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH5/EX5.19/ch5_19.sci | 0ddd488cad073b9fa182e82075d79140af8a296b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sci | ch5_19.sci | // to calculate amplitude of travelling wave mmf,peak value of air flux density, velocity of wave, current freq at some desired velocity
clc;
K_w=.925;
N_ph=48;
I=750/sqrt(2);
wndnglgth=2;
wavelgth=wndnglgth/0.5;
p=2*wavelgth;
F_peak=(3/2)*(4*sqrt(2)/%pi)*K_w*(N_ph/p)*I;
disp(F_peak,'F_peak(A/m)');
g=.01;
... |
e1c5fc97ac28bcdb2103778010cd14130ec505b5 | a30abbc00448cb5a15a3ef1c07b1ac14e3142ce8 | /src/library_apps/mpreduce/src/packages/redlog/ofsf/ofsf.tst | 420fb3311a1f3e49892058c3c6ab1dc2cedad081 | [] | no_license | geovas01/mathpiper | 692178b2d9647a8a99fe43db44a85d38cc9f7075 | a1fdacb1dc7155183974fa2ea5d92fba597f23fc | refs/heads/master | 2016-09-05T15:28:49.409648 | 2015-07-17T10:06:45 | 2015-07-17T10:06:45 | 39,245,684 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 42,650 | tst | ofsf.tst | load_package redlog;
rlset ofsf;
off rlverbose;
% all the qe and variants
phi := ex(x,a*x^2+b*x+c=0)$
rlqe phi;
rlgqe phi;
rlqea phi;
rlgqea phi;
rlposqe phi;
rlposqea phi;
rlcad phi;
rlgcad phi;
rlhqe phi;
rlghqe phi;
%%% Test rlqe (xopt-qe)
mtp2 := ex(x11,ex(x12,ex(x13,ex(x21,ex(x22,ex(x23,ex(x31,ex(x32,ex(x33,
x1... |
ef02cf85300d373f67771f770480c77705873c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH1/EX1.3/1_3.sce | 8f2ef28cd79694c7a0aa45a540891e14b5a362cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | 1_3.sce | clc
//Initialization of variables
m=10 //lbm
a=10 //ft/sec^2
g=32.1739
//calculations
F=m*a/g
//results
printf("Force required = %.3f lbf",F)
|
99bfe8919e031fb5e6dadb88f8b4ba3d50625c93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH11/EX11.1.1/Ex11_1_1.sce | d5d2e1f4ce981a93e6dad9b73dcd8343c95ac3a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_1_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 11.1.1
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given
R=0.85;//Responsivity of photodiode in A/W
P=1E-3;//Input power saturation in W
Ip=R*P;//The photocurrent in A
mprintf("The photocurrent =%.2f mA",... |
0511d66ba9de2927cad7b6dbacd66cfc0611c3cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH6/EX6.14/Ex6_14.sce | 00a1d237eaf78fd977be66011c02b6d59fa127f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex6_14.sce | // chapter 6 , Example6 14 , pg 178
T=300 //temperature (in K)
l=2 //length (in m)
R=0.02 //Resistance (in ohm)
u=4.3*10^-3 // (in m^2/(V*s))
I=15 //current (in A)
V=I*R //voltage drop across wire (in V )
E=V/l //electric field across wire (in V/m)
Vd=u*E //drift velocity ... |
1c1c0cbbaec941a10823e89b6c6b2acbd72c5d9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.16/EX4_16.sce | ee0844bf5421c2f791afd8f0ce8a9e092a5fe466 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | EX4_16.sce | //Calculating starting torque
//Chapter 4
//Example 4.16
//page 311
clear;
clc;
disp("Example 4.16")
f=50; //frequency in hertz
P=4; //number of poles
R2=0.04; //rotor resistance in ohms
Ns=(120*f)/P;
printf("Syncronous speed=%drpm",Ns);
Nr=1200; ... |
efcca8ac2f5c1b5a1667cd589d353616be86c1ad | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/nonlinear/scilab/nonlin_rn96_1/old/nonlin_rn96_1_.sce | 2fe128aa904894319990334360c45eeacf4651e6 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,024 | sce | nonlin_rn96_1_.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//Rao, R Ramesh, and Shankar Narasimhan. 1996.
//“Comparison of Techniques for Data Reconciliation of Multicomponent Processes.”
//Industrial & Enginee... |
620db88d67a96cef474414609fc8af9e87e31bf5 | 71f9235f1425237d3a4e24a6591c2481cb64ffda | /showcase/resources/clicktocall-environment.properties.tst | f3f6822bad5de4ccc6a9382e76a5f55417c8d3fd | [] | no_license | yoanes/component-clicktocall | 40266cfd56ad704faef0df6230399b49b061b3b4 | 72f4bf7f5eb0f2a05886fc2200d80310b3c6cfae | refs/heads/master | 2016-08-05T11:57:30.166981 | 2012-04-05T01:39:15 | 2012-04-05T01:39:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | tst | clicktocall-environment.properties.tst | ########################################################
## ENVIRONMENT : TST
########################################################
#Example (note the env prefix):
#env.clicktocallSampleProperty=clicktocall |
876083b597d205336d1e677df80dd9525f337300 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/xfarc.man.tst | ebc5e2a736d899c0beb6044cbe864d8333bce3fc | [
"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 | 147 | tst | xfarc.man.tst | clear;lines(0);
// isoview scaling
plot2d(0,0,-1,"031"," ",[-2,-2,2,2])
xfarc(-0.5,0.5,1,1,0,90*64)
xset("pattern",2)
xfarc(0.5,0.5,1,1,0,360*64)
|
dfd2fa8c7f60ac2cd4d9a914e9738be3fcd6c761 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%r_o_s.sci | 508b458024509407baa63691404604ab39168aaa | [
"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 | 193 | sci | %r_o_s.sci | function r=%r_o_s(l1,l2)
// l1==l2 with l1 rational and l2 constant
//!
// Copyright INRIA
r=degree(l1('num'))==0°ree(l1('den'))==0
if r then r=coeff(l1('num'))./coeff(l1('den'))==l2,end
|
470aa2b46e105f1df35e9148dc30d0be1f22e66f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH21/EX21.5/Ex21_5.sce | c0683f5c962852588ac84307b34e446be7458d04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Ex21_5.sce | clear
// Variable declaration
T_s=100// The temperature of steam in °C
T_d=21// The dry bulb temperature in °C
H=50// % saturation
x_ab=0.0079// Moisture content of air before in kg/kg
x_a=0.0067// Moisture added in kg/kg
C_ps=1.972// The specific heat capacity of the steam in kJ/kg°C
C_pa=1.006// The specific heat ca... |
a8c03a360e325a00a256c21068c928787af99c6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH8/EX8.3/Ex_8_3.sce | 5b316637fa15b2cbd5f0ace66a4df959e9adfc53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_8_3.sce | // Example 8.3;//power coupled
clc;
clear;
close;
n1=1.48;//core refractive index
n2=1.46;//cladiing refractive index
Po=150;//output power in micro watt
NA=sqrt(n1^2-n2^2);//numerical aperture
Pin=Po*NA^2;
disp(Pin,"Power couled in micro watt")
|
3d5ef27125c79600e02124d6e71c71cee3138026 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH16/EX16.1/ex16_1.sce | e1e0ab1fffba8c9bda05e05a3142b13e0167ed0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex16_1.sce | //Exam:16.1
clc;
clear;
close;
T_c=4.2;//critical temperature of mercury
k=1.4*10^(-23);//
E_g=3*k*T_c;//energy gap (in Joule)
e=1.6*10^(-19);//charge on the electron
E=E_g/e;//energy gap (in electron volt)
h=6.6*10^(-34)// in J-s
c=3*10^8;//in m/s
wavelength=h*c/E_g;//wavelength of a photon (in m)
disp(E,... |
c5a906b93fa217005089e22d12a15e9b7afe2f0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.6/2_6.sce | 8d28a39063a4317300b0d512ed4dfea9306be537 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 2_6.sce | //Converting Voltage source with series resistance to current source
I=1/(1/4)
//KCL at nodes 1,2,3 using conductances
A=[11,-3,-4;-3,6,-2;-4,-2,11]
V=inv(A)*[5;-7;6]
disp(V) |
a76e33a91201ca1c3910dc3a8de8cb4397f0b83f | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH4/EX4.5/Example_4_5.sce | 7243137accc3f8a7558165a5bcd5797046aea4b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,114 | sce | Example_4_5.sce | //Caption: Latin Square Design
//Example4.5
//Page89
clear;
clc;
A1 =23;
A2 =34;
A3 = 45;
A4 = 34;
B1 = 30;
B2 = 20;
B3 = 30;
B4 = 20;
C1 = 35;
C2 = 29;
C3 = 25;
C4 = 45;
D1 = 28;
D2 = 40;
D3 = 40;
D4 = 34;
Yij = [23,40,30,35;20,45,34,40;25,45,34,20;28,30,29,34];
disp(Yij,'Yij=')
[m,n] = size(Yij... |
0fbe4477c8038ebcaa192d061f01d3798ae0aeda | 20479ef6060920bd3d37ae74ecd2129f8ba8f29e | /fx.sce | 79d6c97f2ee41575b2e4567679a28a828a20df9e | [] | no_license | andersonvalentim/Atividade-Denilson-Scilab-UFERSA- | db4b58fc082bd80f076e67908435674f49ce45e4 | 4d02ddd342681165028ea6b4ebc7ec6d8bb7d9a9 | refs/heads/master | 2021-09-12T15:30:30.076790 | 2018-04-18T01:58:47 | 2018-04-18T01:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | fx.sce | valor = input("Digite os 3 ultimos digitos da sua matricula")
M=valor/100
aux=modulo(valor,100)
MM= aux/10
MMM= modulo(aux,10)
x = input("Digite o valor de x para calcular F(x)")
if x<=1 then
printf("F(X)= 1")
end
if x>1 & x<=2 then
printf("F(X)= 2")
end
if x>2 & x<=3 then
resultado = (x^2)*MM
printf("... |
0dd43dbcaa2627d6f087488026dfacfa4fc383e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH4/EX4.16/4_16.sce | 8c9a68af0ab2e303f243217f9bdfc4802d0ce248 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | 4_16.sce | clc;
clear;
//Example 4.16
//In steady state,we can write:
//Qcd=Qdb
//sigma(Tc^4-Td^4)*/(1/ec+1/ed-1)=sigma(Td^4-Tb^4)/(1/ed+1/eb-1)
// i.e Td^4=0.5*(Tc^4-Tb^4)
//Given:
Ta=600 //[K]
eA=0.8;
eC=0.5;
eD=0.4;
sigma=5.67*10^-8 //For air
//(600^4-Tc^4)/2.25=(Tc^4-Td^4)/3.5
//1.56*(600^4-Tc^4)=Tc^4-Td... |
01f49c3a1affd06f9c6a721b6892f3c80c207a6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.19/ex12_19.sce | 2b5671f045138cd6fae8cc4fb502dac9caa856ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | ex12_19.sce | //Chapter-12, Example 12.19, Page 367
//=============================================================================
clc
clear
//INPUT DATA
Rh=200;//Hall-coefficient in cubiccentimeter/C
a=10;//conductivity in s/m
//CALCULATIONS
un=a*Rh;//electron mobility in cm^2/V-s
mprintf("electron mobility is %d cm^2/V-s... |
712085d8a4cb63a663e51b79808562d56c02d650 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/root_newton/plotroot.sci | 85f3d9969d3a6a0cdd8c1e192de461d50e1fef93 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 995 | sci | plotroot.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// This is an example use of the plot function
// used in association with the finding of a root
// problem solved earlier.
// % a is the lower value of the range
// b is the upper value of the range
a = 0;fa = -%inf;
x = 3;fb = %inf... |
1a411adfa636691cd40a00043972e0efd1f421cd | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/056, Jивой Jурнал/test1.tst | 9017955673b9fb5bdefccab5f410dda42b4c5154 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | tst | test1.tst | 0
0
~~~~~~~~~~~~~~~~~~~~~
Friends:
Mutual Friends:
Also Friend of:
|
d0fade3884d52afc0d6d396ee55c01a136235bbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH5/EX5.5/5_5.sce | ca8cb54572a898a43a1b2aea3787fdc34caae9ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | 5_5.sce | //example:-5.5,page no.-226.
//program to determine the reciprccity and lossless of two port network and find return loss.
syms S Rl tao;
S=[0.1 0.8*%i;0.8*%i 0.2]; // s-parameter matrix.
if (S(1,2)==S(2,1))
disp("the network is reciprocal.")
else
disp("the network is not reciprocal.")
end
if (S(1,1)^2+S(1... |
1b37944fc2671853089dd07fdae3588e3479b59f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH9/EX9.14.2/ex_9_14_2.sce | d34b3079f99ea48e3763a64ef0ebbd1f405db8dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | ex_9_14_2.sce | //Example 9.14.2 // time interval
clc;
clear;
close;
format('v',7)
vdv=2;//volts per division in micro seconds/div
n=2;//no. of divisions
Tint=vdv*n;//peak to peak voltage in volts
disp(Tint,"time interval in micro seconds is")
|
e9a62eefaba1933fcd87b30b6fa8a346cb8c3d59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH1/EX1.12/Ex1_12.sce | 065bae10d6b7fe6f44d685e5ef1412d62e5c403f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex1_12.sce |
//circuit has 4 nodes, viz, A, B, C and D
//node D is taken as reference node
//voltages at A, B and C be Va, Vb and Vc respectively
//applying KCL
//at node A, 7*Va-Vb-Vc=25
//at node B, -4*Va+19*Vb-10*Vc=0
//at node C, -4*Va-10*Vb+19*Vc=-40
a=[7 -1 -1;-4 19 -10;-4 -10 19]
b=[25;0;-40]
v=inv(a)*b
Va=v(1,1)... |
168727e05bc907b225e2573023f61eeb07697436 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH7/EX7.5/Ex7_5.sce | 1efe69c70889c5ed9460b29b69a947d0475e7940 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_5.sce | // Exa 7.5
clc;
clear;
// Given
L = 0.1 ; // Initial length of wire in m
R = 120; // Initial resistance of wire in ohms
delta_L = 0.1*10^-3;// change in length of wire in m
delta_R = 0.21; // change in resistance of wire in ohms
// Solution
e = delta_L/L;
G = (delta_R/R)/e;
printf(' The gauge fa... |
bb274db59ada6bd2dde16423794ff7456a47cae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH2/EX2.01.09/Exp_Inc.sce | 93c60d13f3d088bb3ec366df1e21e5bb9e192bbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | Exp_Inc.sce | //Graphical//
//Implementation of Equation 2.01.09b in Chapter 2
//Digital Signal Processing by Proakis, Third Edition, PHI
//Page 46
// a < 0
clear;
clc;
close;
a =-1.5;
n = 0:10;
x = (a)^n;
a=gca();
a.thickness = 2;
a.x_location = "origin";
a.y_location = "origin";
plot2d3('gnn',n,x)
xtitle('Grap... |
fef54c7ba7706a3292b1aaf4ecb5b4f14c82d69f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH2/EX2.14/exa_2_14.sce | 4cf82a68c1f5f5126bb3c580a67bca176b917e16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | exa_2_14.sce | // Exa 2.14
clc;
clear;
close;
// Given data
format('v',9)
V_PP= 3;// in volt
delta_t= 4;// in micro sec
// delta_V= 90% of V_PP - 10% of V_PP = (90%-10%)*V_PP
delta_V= 0.8*V_PP;
SR= delta_V/delta_t;// in V/micro sec
disp(SR,"Required slew rate in V/micro second")
|
75c7e59f83487cdabe668511dd0bf291dcad28cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.4/Example_14_4.sce | 883ee4d4573c628490b8b64e0aa41779d63cc753 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,896 | sce | Example_14_4.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.4
clear;
clc;
//Given
//Basis: 1Kgmole of C0
//CO + (1/2)O2 - CO2
//Whem mixture entered,their compositions are given as:
n_CO = 1;//Kgmole
del_H = -67636;//Standard heat of reaction in Kcal/Kgmole at 2... |
9fd704d834fa2525817528a3b536450511f6295e | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH4/EX4.4.52/Ch4_4_52.sce | ce8e1966e1d16b194204ab1c609608a45dcb9048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ch4_4_52.sce | clc
disp("Example 4.52")
printf("\n")
disp("Determine the minimum & maximum values of VEB1 for a UJT")
printf("Given\n")
Vbb=15
//intrinsic ratios
nmin=0.68
nmax=0.82
V=0.7
//mini triggering voltage is
Vpmini=nmin*Vbb+Vd
//max triggering voltage is
Vpmax=nmax*Vbb+Vd
printf("minimum triggering voltage \n%f... |
86c49d3c344d0434b5d1247c30a0a6797c81deed | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/sgolayfilt.sci | 8f58f5f1f3ef1f54517cb7ad9e72ada8b3198b40 | [] | 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,570 | sci | sgolayfilt.sci | function y = sgolayfilt (x, p, n, m, ts)
//This function applies a Savitzky-Golay FIR smoothing filter to the data
//Calling Sequence
//y = sgolayfilt (x)
//y = sgolayfilt (x, p)
//y = sgolayfilt (x, p, n)
//y = sgolayfilt (x, p, n, m)
//y = sgolayfilt (x, p, n, m, ts)
//Parameters
//x: vector or matrix of real or co... |
3a1138c3f632bacbe5b7c9d415d287f01cc598a3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.38/ex_3_38.sce | 616540cf815da5668de5547f561b12b8e32cc0d5 | [] | 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 | 290 | sce | ex_3_38.sce | errcatch(-1,"stop");mode(2);//Example 3.38:resistance and inductance
;
;
r2=400;//ohms
r3=400;//ohms
r4=400;//ohms
r=500;//ohms
c=2;//micro farads
rX=((r2*r3)/r4);//ohms
l=(((c*10^-6*r2)/r4)*((r*(r3+r4))+(r3*r4)));//H
disp(rX,"resistance is ,(ohm)=")
disp(l,"inductance is,(H)=")
exit();
|
dcb64482f9f9f9e037a915f74205aaaed54ce444 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/msgboxinauthor.tst | 98af2489deaba79b1c0b8dd83d521216688f608f | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 530 | tst | msgboxinauthor.tst | ## Test msgin adding author to commit
# Export to msgbox format, add Author: and Author-Date: headers, and
# re-import.
read <min.fi
@min(=C) msgout >/tmp/rsmsgboxout$$$$
shell sed \
'/^Committer:/{p;s/.*/Author: Eric Sunshine <sunshine@sunshineco.com>/;};\
/^Committer-Date:/{p;s/Committer/Author/;}'\
</tmp/rsms... |
99cab8850a1a6cdf4194e11e0fe0ef51c314e95b | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.11/11.sci | 68d38f47d1986e6344525becc9d203604328032a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sci | 11.sci | clc;
clear all;
disp("Local HT coefficient")
U=5;//m/s velocity of air
rho=0.815;//kg/m^3 density of air
k=0.0364;// W/(m.C)
mu=24.5*10^(-6);//Ns/m^2 viscosity of air
Pr=0.7;// Prandlt number
Ts=200;// degree C
Ta=120;// degree C
x=0.5;//m width of plate
v=mu/rho;
Rex=U*x/v;// Reynold's number
Rex
delt... |
ae41ea9146ed7a6125878f179a3f4711b45f209c | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.31/example2_31.sce | 21909f6bb9496df96c3a715188e833451eec7839 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | example2_31.sce | // Maximum and minimum Zener currents
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-31 in page 110
clear; clc; close;
// Given data
V_z=10; // Zener voltage in V
R_s=1*10^3; // Shunt resistance in K-ohm
R_l=10*10^3; // Load resistance in K... |
219a233c0932556145652ee57f2da4338096d947 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /[MCA-5] Auto Balanced Long Strafes Thin.sce | d7e49dd26f368fba9d23697119f0fa4f1d455728 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 81,803 | sce | [MCA-5] Auto Balanced Long Strafes Thin.sce | Name=[MCA-5] Auto Balanced Long Strafes Thin
PlayerCharacters=ABLS Challenger
BotCharacters=ABLS Bot Rotation.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=ABLS Challenger
AddedBots=ABLS Bot Rotation.rot
PlayerMaxLives=0
BotMaxLives=21
PlayerTeam=1
BotTeams=2
MapName=fanwise_field.map
MapScale=1.0
BlockProjectilePr... |
ecb4cad46e9db0404d1dae320dea04adb774b5ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH7/EX7.2/example2.sce | 8d5bee5bbd4584148608b11529ad6b09cbfaf5c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | example2.sce | //Chapter-7 example 2
//=============================================================================
clc;
clear;
//input data
BW = 1*10^9;//bandwidth of pulsed radar in hz
//Calculations
Tint = 1/BW;//radar integration time in sec
//Output
mprintf('Radar integration time is %g nsec',Tint*10^9);
//===... |
4908f0bdd769127a84ddaabf11f65c3db78512a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH7/EX7.2/EX7_2.sce | eb4bec7fe4525c7dc1ba0108e60350568f210298 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | EX7_2.sce | //Example7.2 // Design active low filter with cut-off frequency 15 KHz
clc;
clear;
close;
fc = 15*10^3 ; // Hz
C = 0.1*10^-6 ; //F // we assume
// the cut-off frequency of active low pass filter is defined as
// fc = (1/2*%pi*R3*C);
// R3 can be calculated as
R3 = (1/(2*%pi*fc*C));
disp('The resistor va... |
30fb8227f6687e2ef4bb86dd98c48cedc2879c84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH9/EX9.1/EX9_1.sce | 5d555344c3329ddbb6004dcb0ceb9412fd196702 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | EX9_1.sce | //Example9.1 // to find output voltage for a constant input signal frequency of 200 KHz
clc;
clear;
close;
fo = 2*%pi*1*10^3 ; // KHz/V // VCO sensitivity range 4.1
fc = 500 ; // Hz a free running frequency
f1 = 200 ; // Hz input frequency
f2 = 2*10^3 ; // Hz input frequency
// the output voltage of PLL ... |
797ff69a18252b5d6e64c070f62c3275666a34e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH17/EX17.2/Ex17_2.sce | 6fd4923cd804bda7cadb30e6221da6814ec434a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 705 | sce | Ex17_2.sce | b=300//width, in mm
d=1010//effective depth, in mm
l=7//span, in m
Ast=round(6*0.785*22^2)//six 22 mm dia bars, in sq mm
fck=15//in MPa
fy=250//in MPa
W=45//in kN/m
Wu=1.5*W//factored load, in kN/m
Vu=Wu*l/2//in kN
Tv=Vu*10^3/b/d//in MPa
//Tv<Tcmax, hence OK
p=Ast/b/d*100//p=0.75, approximately
//for p=0.75... |
18e069842e2b535a88b3e3812717256e11f0967d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%srp.sci | 733b207478c9be6a6e7297467e6d01c497c5e48a | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sci | %srp.sci | function [f]=%srp(m,p)
//f=M/p M:scalar matrix p=polynomial
//!
if prod(size(p)) <> 1 then f=m*invr(p),return,end
[l,c]=size(m)
f=simp(tlist('r',m,p*ones(l,c),[]))
|
63b89c91c64cd4b4032c6d98d264451ac80d3be8 | 24fb1e72f2244733455f40fda1ae95423110e82a | /ee182_aspe.sce | f8a851ab7cf221c1a4404d67166ada96746dbb69 | [] | no_license | Aie-Aie/scilab | a4cbed5b58134009de1c084950a45da1e2b6f2db | 616568e7589f61dcda425410fbedc943b238f11b | refs/heads/master | 2021-09-11T20:42:55.522610 | 2018-04-12T05:29:52 | 2018-04-12T05:29:52 | 106,638,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | ee182_aspe.sce |
t=[0:100]
for i=1:10
v=((2/%pi)-(4*cos(2*%pi*t/60)))/(%pi*i*(i+2))
plot(v)
end
|
24624ed552ab85fb59f14024a75cc3f0b5854370 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH25/EX25.7/Chapter25_example7.sce | 9d3a1bcfce4c1a26e09f806ad68ae974308ca3cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,118 | sce | Chapter25_example7.sce | clc
clear
//Input data
pt1=[1,15+273]//Pressure and temperature at the inlet of compressor in kg/cm^2 and K respectively
pt3=[4,650+273]//Pressure and temperature at the inlet of turbine in kg/cm^2 and K respectively
n=[85,80]//Isentropic efficiencies of turbine and compressor respectively in percent
g=1.4//Ratio... |
c259a738679de591dd39bb7911db35238adff5ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH9/EX9.2/example9_2.sce | f718ceab946526e9453c2fc6109b5ffebb165454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | example9_2.sce | disp('chapter 9 ex9.2')
disp('given')
disp('for circuit designed in ex 9.1 estimate minimum op-amp slew rate to give a reasonably undistorted output')
disp('Vcc=12volt,Vee=12volt and Vosat=1volt')
disp('t=500*10^(-6)s')
disp('R1=120kohm and C1=0.015*10^(-6)F')
Vcc=12
Vee=-12
Vosat=1
t=500*10^(-6)
R1=120000
C... |
ce7d613bb15712a322e6da1075e26f72e3669f0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH17/EX17.8/17_8.sce | 7b568100a7cbab6e9e4a120c782d04a84f34ee56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 17_8.sce | ////
//Variable Declaration
eta = 0.891 //Viscosity of hemoglobin in water, cP
T = 298.0 //Temperature, K
k = 1.3806488e-23 //Boltzmanconstant,J K^-1
R = 8.314 //Molar Gas constant, mol^-1 K^-1
D = 6.9e-11 //Diffusion coefficient, m2/s... |
4485264abdaec4c066384aa1fa9b370a63d743aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH1/EX1.10.1/Example_1_10_1.sce | 9b613e7564321ccdb0333d66c7fe37453cf80ee0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Example_1_10_1.sce | // Example 1.10.1 page 1.19
clc;
clear;
Bandwidth = 2d6; //Bandwidth of channel
Signal_to_Noise_ratio = 1; //Signal to Noise ratio of channel
Capacity = Bandwidth * log2(1 + Signal_to_Noise_ratio); //computing capacity
Capacity=Capacity/10^6;
printf("Maximum capacity of channel is %d Mb... |
41a7e60946cf1a780bb75e3e3db9acd2ea10fa2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH25/EX25.9/ex_25_9.sce | 1644f74b91a8f05cd75eb621fd0f3f7137d0280b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,603 | sce | ex_25_9.sce | //find..
clc
//solution
//given
d=450//mm
r=225//mm
Tb=225*1000//N-mm
OB=100//mm
u=0.25
ft=70//N/mm^2
fc=70//N/mm^2
t=56//N/mm^2
pb=8//N/mm^2
//let P be operating force
//ref fig 25.17
q=4.713//rad
//log(T1/T2)=u*q
//T1/T2=3.25 ...eq1
//let Tb be breaking torque
//ref fig 25.17
//(T1-T2)*r=Tb//N-mm
... |
9c4ac83b421fcea6897c727011fb301486ea1f58 | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/pt/order_lemm.sce | 51491f8127a761a8f98506213475fb8443a27863 | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,967 | sce | order_lemm.sce | // Below are local functions for order.sce
//=================================================
// lsupLemm2: extends poss-dist p1 when supp(p1)=S1 is included into supp(p2)=S2
// (case A1 of Supremum procedure) (local function!)
// IN: poss-dist vectors p1,p2, their supports S1,S2
// OUT: modified p1
//==============... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.