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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f4f69202e288c56a8813a409c1446a0bae48f0c4 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/eng.tst | 8639d1a73b55c68706523906a86ef1efe881a657 | [] | 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 | 633,835 | tst | eng.tst | realter realtered V.PTCP;PST
realter realter V;NFIN
realter realters V;SG;3;PRS
realter realtering V.PTCP;PRS
realter realtered V;PST
birl birls V;SG;3;PRS
birl birled V.PTCP;PST
birl birling V.PTCP;PRS
birl birl V;NFIN
birl birled V;PST
abscond absconds V;SG;3;PRS
abscond absconding V.PTCP;PRS
abscond abscond V;NFIN
a... |
26917553a1708353d78af50dcaa97650e2daf27d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH19/EX19.8/19_8.sce | 6d44c5615bf71fb90791899e1f9e93242b0ab8fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | 19_8.sce | clc
//initialisation of variables
T= 120 //F
T1= 1500 //F
A= 64/144
F= 0.86
Fe= 1
s= 0.173 //BTU s^-1 in^-2 R^-4
//CALCULATIONS
q= (A/10^6)*F*Fe*s*(((T1+460)^4/100)-((T+460)^4/100))
//RESULTS
printf ('Heat loss= %.f Btu/hr',q)
|
084335077340df42646686f0f838546023058040 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.26/4Ex26.sce | 3401536ecc36f0b60e191058a3033c3856361f39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 4Ex26.sce | //chapter 4 Ex 23
clc;
clear;
close;
bruised=1/30;
unsalable=3/4;
unsalableMangoes=12;
totalMangoes=unsalableMangoes/(unsalable*bruised);
mprintf("The total number of mangoes are %0.0f",totalMangoes);
|
a81755a168dc9315775b051e05667ba887accdda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.8/ex6_8.sce | 821236c78f607677d51ef6c75a65fe8487d35fef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | ex6_8.sce | // Exa 6.8
clc;
clear;
close;
// Given data
x = 0.88;// dryness fraction
h_fg = 2392.7;// in kJ/kg
H_wet = x * h_fg;// in kJ/kg
Vs = 14.67;// Specific volume in m^3/kg
V_wet = x * Vs;// in m^3/kg
Q = H_wet/V_wet;// in kJ/m^3
disp(Q,"Heat to be extracted in kJ/m^3 is");
|
de0d179afa46ac1dd66f8fcf12bd602c2b86090c | 13f35c5eacaef0a8dc56549edd994a09b21e886a | /normir.sci | e845f1a6d4928d12e008144dbee3e3e8e2fa1c02 | [] | no_license | Ivanradist/Neural_Net_Milk | 8a940b7f4f501e95cce04580b5cdfe5f86c0ba51 | 3e2de45a109031f2cb9c54ca9299dc95617f5afc | refs/heads/master | 2020-09-12T03:55:59.241356 | 2019-11-22T20:26:54 | 2019-11-22T20:26:54 | 222,295,885 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sci | normir.sci | function N=normir(s)
//Функция номирует входной массив
//s - входной массив
//N - нормированный массив
N = s/max(s);
endfunction
|
c1512314193a4a03eb36609f5fbf66faaa297aea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH7/EX7.6/ex7_6.sce | 0ea13c554964305e7afed188af1621c0dca1a2be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | ex7_6.sce | clc;
m=0.934; //v=(v/c)^2 (given)
v=2.9*10^8; //velocity in m/sec
t0=2.2*10^-6; //initial velocity in m/sec
t=t0/sqrt(1-m); //calculating t using t=t0/sqrt(1-(v/c)^2)
disp(t,"Time in sec = "); //displaying result |
95deb88efb2d816300747dfa9e83e7974cc64ab7 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.11/EX9_11.sce | 64a4a8f691fbce414cfd90489f2e97f655502788 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 569 | sce | EX9_11.sce | clc;funcprot(0);//Example 9.11
//Initilisation of Variables
dA1=4*(10^-4);.....//Area of 1st small surface in m^2
dA2=8*(10^-4);.....//Area of 2nd small surface in m^2
r=1;.....//Distance between dA1 and dA2 in m
teta1=60;...//
teta2=30;....//
dFA1_2=(cos(teta1*(%pi/180))*cos(teta2*(%pi/180))*dA2)/(%pi*(r^2));..... |
62b8075edef937f0355461187cfb0e9757eadbfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.10.1/Ex8_10_1.sce | 616f55943d468f705d1e9c7d5a281f7f041300ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | Ex8_10_1.sce | clear
clc
RT_F=0.05915;//in V
Ecell=0.0295;//in V
A=0.1;//
B=0.01;//
n=(RT_F/Ecell)*(log10(A/B));//
printf('n=%.1f',n)
//page 459
|
be25f402f0a8d676715885d61cf35f8f32612c92 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pchip/pchip1.sce | f7a0387542eebabec320412b36a5eec3183fd909 | [] | 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 | 297 | sce | pchip1.sce | x = [-3 -2 -1 0 1 2 4];
y = [-1 -1 -1 0 1 1 1];
t = -3:.01:3;
p = pchip(x,y,t);
disp(p);
//output
//!--error 15
//Submatrix incorrectly defined.
//at line 46 of function pchip called by :
//p = pchip(x,y,t);
//corresponding MATLAB o/p
// MATLAB returns p as a vector of dimensions 1X601
|
3674931c1ccee231bb9f8eb3bbaa169d34764dd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/4_8_4.sci | 4ab21bdf20f12632d4fc7c2c94f5898803682dc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sci | 4_8_4.sci | basis=100 //mol pf product gas
xCO=0.015
xCO2=0.060
xO2=0.082
xN2=0.843 |
3cce36faafe86eed7ec846e5d484b0cc8ef0e891 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH8/EX8.1/Example81.sce | 95c580820a44d7707f4270775bc989fc01df38c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,110 | sce | Example81.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 8 Example # 8.1 ")
//Outer dia in m
d = 0.0254;
//mass flow rate of hot fluid in kg/s
mh = 6.93;
//Specific heat of hot fluid n J/kgK
ch = ... |
d1aa08738555c012e6d8bf747b696556ad64e0b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH8/EX8.5/Ex_8_5.sce | 4b1067a89f713b712b3068f897cd0a078ba57b64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Ex_8_5.sce | //Example 8.5
clc;clear;close;
s=poly(0,'s');
z=poly(0,'z');
T=1;
Hs=1/(s+1)/(s+2);
Hz=horner(Hs,(1-1/z)/T);
disp('Using Impulse Invariant Technique:')
disp(Hs,'H(s)=');
disp(Hz,'H(z)='); |
ae4532bd185a6268afbe42bb2660a5c8a8b34838 | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /TP4/exo3.sce | 17e53d7bb87518a76b5d4fd3c33154cccd4056df | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | exo3.sce | function rst = a(t)
rst = sin(t);
endfunction
function rst = b(t)
rst = cos(t);
endfunction
function rst = c(t)
rst = -cos(t);
endfunction
function rst = d(t)
rst = sin(t);
endfunction
function m = A(t)
m = [a(t),b(t);c(t),d(t)];
endfunction
|
044875d50d19896691c7b42cdd552b60c7711e02 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/util/%lss_size.sci | 08ed541b34bc4217bf2cfef60fe01afd4fa06218 | [
"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 | 439 | sci | %lss_size.sci | function [m,n,nx]=%lss_size(x,flag)
// only to be called by size function for dynamical systems
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
[a,b,c,d]=x(2:5);[m,w]=size([c,d]),[w,n]=size([b;d]);
if lhs==1
if rhs==1 then
m=[m,n]
elseif flag==1|part(flag,1)=='r' then
m=m
elseif flag==2|part(flag,1)=='2' then ... |
f30d95de3bac3ad8eeabe17465f720d48ed40eb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH9/EX9.6/Ex9_6.sce | a1a1ec7bc83c17f439b609618ca0dc1431ff7c79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,240 | sce | Ex9_6.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 9 : SYNCHRONOUS GENERATOR
// Example : 9.6
clc;clear; // clears the console and command history
// Given data
P = 4 // number of poles
m = 3 // number of phase
f = 50 // fr... |
b1933ef21d2dbb375dc38bbc030a47cf98f2ad7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH7/EX7.2/ch7_2.sce | 223b4a7df2ddf293bb32e9d5344641e9bcd40b07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | ch7_2.sce | // To calculate the maximum Sag
clear
clc;
D=1.95 + 2.6;// overall diameter(cm)
A=4.55*(10^-2);// area(m_2)
d=19.5;//diameter of conductor(mm)
r=d/2;//radius of conductor(mm)
Wp=A*39;//wind pressure(kg/m_2)
t=13;//ice coating(mm)
US=8000;// ultimate strength(kg)
Aice=%pi*(10^-6)*((r+t)^2 - r^2);//area section... |
051b470b198b05b47625f8fbbc3827b10da0d51a | aff46b76a63ef72594e71ad416ae8874689839ba | /aa.sce | c8fcff2ca63ac49e4865a93974c5a6f715475adf | [] | no_license | bitz1119/scilab_code | 1ad6d800661d50975219325083f1dad6232ce51b | fa8501bc0f9527e776510fc2ecf04b351f4c067f | refs/heads/master | 2021-05-09T19:15:18.261766 | 2018-04-13T19:03:00 | 2018-04-13T19:03:00 | 118,636,227 | 0 | 1 | null | 2020-09-30T19:32:49 | 2018-01-23T16:21:04 | Scilab | UTF-8 | Scilab | false | false | 386 | sce | aa.sce | clc;
m = input('enter row');
n = input('enter col');
a = zeros(m,n);
b = zeros(m,n);
c = zeros(m,n);
disp('enter elements');
for i = 1:m
for j = 1:n
a(i,j) = input('');
end
end
disp('enter elements');
for i = 1:m
for j = 1:n
b(i,j) = input('');
end
end
for i = 1:n
for j = 1:m
... |
a4486e70ee12e5dcb439e036a844c9762b4ba8f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH7/EX7.2/eg_7_2.sce | dde6168a1823e08a82a0bed28ef06396256cbc65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,295 | sce | eg_7_2.sce | clc;
clear;
y='y';
i=1;
//Takes the equivalent decimal value of the min terms for eg: x^yz=011=3
while(y=='y')
disp("enter the minterm of a 3 variable function");
x(i)=input(": ");
while(x(i)>7)
disp("enter a valid minterm");
end
disp("press y if you want to enter more min terms e... |
599dee04fc03fe421a3811f95d09cd0cc6258748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH6/EX6.1/EX6_1.sce | a1318dcda98e6bba07dd79ffbf6b1a86a630d065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | EX6_1.sce | //Chapter 6, Example 6.1
clc
//Initialisation
w=1000 //angular frequency
L=10**-3 //inudctance in henry
//Calculation
Xl=w*L //reactance in ohm
//Results
printf("Reactance, Xl = %d Ohm",Xl)
|
39982d6c4d90f3ae78e186a39e96880e96f946a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH35/EX35.7/35_7.sce | ff76a153a11ee6c131311bcfdab5eadd17b63e44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | 35_7.sce | clear//
//Variables
R1 = 1.0 * 10**3 //Resistance (in volts)
R2 = 10.0 * 10**3 //Resistance (in volts)
vinmin = 0.1 //Input voltage minimum (in volts)
vinmax = 0.4 //Input voltage maximum (in volts)
//Calculation
ACL = R2 / R1 ... |
a630cb19ad2cedda09c9fd4d4b29e70146411685 | b73e9d989ebb6c74535238e10eede063a5d7e66b | /collocation_anal_least_galerkin_cubic.sce | 9d64cfccb09d1fa31a08c6273b82003fb021fd93 | [] | no_license | ParthaSurve/CODES_SEM_VI | 930a520ccdbc7cb389dac6b6f03900674b5e1a6b | 1f6afa9b92ad8263d0773ce0f90f9ffa5943b8e4 | refs/heads/master | 2021-01-21T05:13:44.089655 | 2017-02-25T17:46:44 | 2017-02-25T17:46:44 | 83,149,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,640 | sce | collocation_anal_least_galerkin_cubic.sce | //
// AEROSPACE STRUCTURES II
// Assignment 1
//--------------------------------------------------------//
// Created : 3-02-2017
// Weighted Residual Methods : Comparing Least-Square_Collocation_Galerkin_analytical
// Ref: P.Seshu
// Author: Partha Surve (SC14B036, Aerospace Engineering 3rd Year, IIST)
//analytic... |
2bd6941a3d620b6a3556d44be77a3d62f9deb054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH8/EX8.8/Ch08Ex8.sce | 6feb04824ec8188e46087ff2cf4cfeba596fac88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch08Ex8.sce | // Scilab code Ex8.8 Page:249 (2006)
clc; clear;
mu = 5.78e-005; // Bohr magneton, eV/T
NE_F = 0.826; // Density of states at fermi level, electrons/atom-J
chi_Pauli = mu^2*NE_F/1e-004; // Pauli diamagnetism, cgs units
chi_Core = -4.2e-06; // Core diamagnetism, cgs units
chi_Landau = -1/3*chi_Pauli; ... |
62406ff1c94e5c5aba574fa2ee32403a3018f79d | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH9/EX9.10/9_10.sce | 0aefe1076d7f3661fd9a74f9c08250e39919f70e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 9_10.sce | clc
S=5 //in
Al=6 //in
alphaS=6.5*10^(-6) //in/in/F
alphaAl=13.1*10^(-6) //in/in/F
Es=30*10^6 //psi
EAl=10*10^6 //psi
As=1 //in^2
AAl=2 //in^2
T=50 //F
dia=1 //in
disp("From the figure, it is evident that DeltaPs+DeltaPAl=DeltaTs+DeltaTAl")
P=(alphaS*S*12*T + alphaAl*Al*12*T)/(S*12/(Es*As) + Al*12/(EAl*AAl)... |
49e0ada92cd7f04672c9888f289e91a54461120f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.7/Example_7.sce | 256697d5e2715d7aa8e649c1e75107f089147d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Example_7.sce | //Chapter-3,Example 7,Page 58
clc;
close;
M = 214 // molecular mass of RaB
lamda= 4.31*10^-4
//for 1 rd activity (dN/dt) = 10^6 dis/sec
// -(dN/dt)= lamda*N
//N = m * 6.023*10^23/ M
m=(10^6)*214/(lamda*6.023*10^23)
printf('the mass of RaB is ')
disp(m)
printf(' gram')
|
fb36ebaae38c42bc3e3968cbe6d499b265edb3cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH9/EX9.7/Ex9_7.sce | 72116c301dcca09619edeb58e2f788dd99dbc264 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Ex9_7.sce | //Ex9_7
clc;
// Given:
k1=3.78;
k2=2.79;
t1=298;// in K
t2=353;// in K
R=8.314// Gas constant
// Formula: log(k1/k2)=(H/R)*((t2-t1)t1*t2)
// Solution:
H=R*log(k1/k2)/((t2-t1)/(t1*t2));
printf("The enthalpy for the exchange reaction is = %f J",H)
|
425570b18ebef27b9fdef54129063db10278e819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH5/EX5.02/5_02.sce | 3209722acc6ad3171cdb32dac4f427391810a8b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 5_02.sce | pathname=get_absolute_file_path('5_02.sce')
filename=pathname+filesep()+'5_02data.sci'
exec(filename)
printf("\Answer:\n")
printf("\n\angle of attack for 700 N lift: %f degree\n\n",a)
printf("\n\angle of attack for zero lift:: %f degree\n\n",a1)
|
95ab9f99dd8075d14d16feea770d4da5404d8d19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH6/EX6.5/Ex6_5.sce | f7d8deb017e4118334ca07da9b1e971f210a1777 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex6_5.sce | clc;
clear;
ni=1.5*10^10 //in cm^-3
epsilon_si=11.7 //in F/cm
epsilon_0=8.85*10^-14 //in F/cm
e=1.6*10^-19 //in J
Na=10^16 //in cm^-3
Nd=5*10^16 //in cm^-3
tau_p0=4*10^-7 //in s
tau_n0=2*10^-7 //in s
//Calculation
W=(((2*epsilon_si*epsilon_0)*(Na+Nd)*4)/(e*Na*Nd))^0.5 //in micro-m
tau_m=(tau_p0+tau_n0)/2... |
3f1ce4d99bcf5237f55da8af6b0b4203a3bc1f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH7/EX7.20/ch7_20.sce | 6dca8d20c4a460e273a3974342f36936412c19e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | ch7_20.sce | clear;
clc;
T_on=800*10^-6;
V_s=220;
I_o=80;
C=50*10^-6;
T=T_on+2*V_s*C/I_o; printf("effective on period=%.0f us",T*10^6);
L=20*10^-6;
C=50*10^-6;
i_T1=I_o+V_s*sqrt(C/L); printf("\npeak current through main thyristor=%.2f A",i_T1);
i_TA=I_o; printf("\npeak current through auxillery thyristor=%.0f A... |
93c1d403c1b9d26fa2d72466e33b968f26274769 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /xcos_blocks/newblock_c.sci | a3fac1c4e89c1e57d108b403178a7c6bfa981275 | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 472 | sci | newblock_c.sci | function block=newblock_c(block,flag)
if flag==1 //Output(s) of Block are updated
//Variables
block.outptr(1)(1)=block.inptr(1)*4;
elseif flag==0 //ODEs are detailed
//variables and ODE
//where abc is some index
//block.xd(abc)= something
end
endfunction
//Reference ... |
55f2440e06c2fd68c94bacc183cea6c9ac9cb7cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH2/EX2.4/2_4.sce | 9f06f98f4c6536d852f823b9a62a2327b8edf7ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 2_4.sce |
clc
//initialisation of variables
d= 6 //ft
l= 4 //ft
W= 2500 //lb
Wt= 500 //lb
cg= 1.5 //ft
d1= 64 //lb/ft^3
//CALCULATIONS
w1= W+Wt
V= w1/d1
D= V/(%pi*(d^2/4))
hb= D/2
BG= (%pi*d^4)/(64*V)
hg= BG+hb
x= ((w1*hg)-(W*cg))/Wt
//RESULTS
printf (' Maximum height c.g above the bottom= %.2f ft ',x)
|
e7c110d7413d9d97a83b47f847b4d52680150bf1 | 42d11b27aa17f58dc219f2ef3dbe47ce246ac7ab | /map411erroranalysis.sce | eb8a3d58c00bacaac1e549b3525a37dbed333b6a | [] | no_license | yujia21/MAP411projet | 23472dae62a23b1fe7e90d0d12371de0b930bc27 | 3987e227610b6a755a3caf4b760d4a587ec779cd | refs/heads/master | 2021-01-10T01:11:29.632911 | 2016-01-20T18:03:07 | 2016-01-20T18:03:07 | 48,615,265 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,633 | sce | map411erroranalysis.sce | //time spacing
T = 1 ; dt = 0.0000005; // dt à varier
Niter = T/dt ;
//space spacing
J = 60 ; dx = 1/J ; // J à varier
xx = linspace(dx,1,J) ;
// probabilities
alpha = 1; //coeff destruction
D = 1; //coeff diffusion
V = 1; //coeff advection
pdest = alpha*dt; //destruction
pminus = D*dt/dx/dx; //à j-1
pplus = V*dt/d... |
c236a32098ee42eb96dbb038c1bd4c7357ec2d72 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testascii.sce | 8342ba782c63f2d15cb3234d38e4a309a4dba40e | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | sce | testascii.sce | tab=ascii('Scilab-5.5.0')
str=ascii(tab)
|
c35b470548c7091f107f081e2af2442e15d8fc2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH3/EX3.3/Ex3_3.sce | 2620c936cc52539dbdf3255c6c70ee33508d4735 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex3_3.sce | clc
clear
//DATA GIVEN
m=0.3; //mass of nitrogen in kg
p1=0.1; //pressure in MPa
T1=40+273; //temperature before compression in K
p2=1; //pressure in MPa
T2=160+273; //temperature after compression... |
0fe8695d5a8cad2cf3855d608dffbf97414dd98d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.36.iii/Ex9_36iii.sce | 0be5ab0ad2c1868aed381efc72da770f2a4f55ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex9_36iii.sce | //Caption: SNR
//Example 9.36iii
//page no 427
//Find SNR
//assume that succeissive samples are statistically independent
clear;
clc;
C=8*10^4;
B=10^4;
SN=2^(C/B)-1;
SNR=10*log10(SN);//SNR
disp("dB",SNR,"SNR =");//required SNR is greater that 24.064
|
0343fe1ac0bb64d8cab3e52ff49ba0fb9006669f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.13/ex_2_13.sce | e988ecf192197461893d9e69502a7075527030e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | ex_2_13.sce | //Example 2.13://power factor and line current
clc;
clear;
close;
x=1;//
w2=2*x;//
w1=x;//
ph=atand((sqrt(3)*(w2-w1))/(w2+w1));//in degree
pf=cosd(ph);//power factor
disp(pf,"power factor is")
w=50;//kW
v=400;//volts
il=((w/(sqrt(3)*v*pf)))*10^3;//in amperes
disp(il,"line current is,(A)=")
|
66b54b105d18963a193c4418b3064cb0f71d5e36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH18/EX18.1/18_1.sce | d59260cd342aff4de17d376501020958fec7207f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | 18_1.sce | //clc()
//f1(x) = f0(x) +(f(x1) - f(x0) *(x - x0)/ (x1 - x0)
x = 2;
x0 = 1;
x1 = 6;
m = 1.791759;
n = 0;
r = log(2);
f = 0 + (m - n) * (x - x0) / (x1 - x0);
disp(f,"value of ln2 for interpolation region 1 to 6 =")
e = (r - f) * 100/r;
disp("%",e,"error by interpolation for interval[1,6] =")
x2 = 4;
p = 1.3... |
ffc5b2783af43aaf914ea04e371511ee3493fa3d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_exit.sci | 9b3b1fd4c6da38cd93b21b17d94c9c51442d03fb | [
"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 | 923 | sci | do_exit.sci | function do_exit()
// Copyright INRIA
r=0
if edited then
if ~super_block then
r=message(['Diagram has not been saved';
'Save it before leaving?'],['Save';'Exit'])
end
end
if r==1 then
ok=do_save()
if ~ok then do_SaveAs(),end
end
if ~super_block&~pal_mode then
if alreadyran then do_terminate(),end
end
... |
a6386a27a42beb4841f89c5afd6e65558a5f094b | d7652d3d679bb8e1f53c74064125010952bd2d06 | /test/detType/.t_t | e503cc06d100b4df1bb3e9ccdd311ffd2063eb9a | [] | no_license | Raidar/LuaFAR-context | 986e532d0845c7106317b9fb1c95c9f88fcd2c88 | 53eb61b02d950a974e8fd2b1ac4eb4de793b02e2 | refs/heads/master | 2021-01-17T14:06:57.417869 | 2020-04-28T21:23:50 | 2020-04-28T21:23:50 | 2,812,750 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | .t_t | Special first line #2 test text
Some text
Other text
| |
549b602ae13ee8a998f749d1d5333f2593c17a48 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/cuadraturaGauss.sce | 5def124f8605f750527ba0c98a15f6f8c9cdc914 | [] | 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 | 395 | sce | cuadraturaGauss.sce | function I = cuadraturaGauss(funcion,a,b)
// Cuadratura de gauss con seis puntos
c = [0.171324492379170 0.360761573048139 0.467913934572691 0.467913934572691 0.360761573048139 0.171324492379170];
xd = [-0.932469514203152 -0.661209386466265 -0.238619186083197 0.238619186083197 0.661209386466265 0.932469514203152];
x = (... |
9ef31e67f548aa052e17591492ee66d958251ab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH19/EX19.2/ex_19_2.sce | bb8d43393ed9bbbedde85408d1c2c8a23ce10bdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,697 | sce | ex_19_2.sce | // find..
clc
//solution
//given
P=35000//W
N=240//rpm
L=0.350//mm
u=0.25
t=10//mm
n=6
q=%pi
fts=80//N/mm^2
ftk=80//N/mm^2
ts=50//N/mm^2
tk=50//N/mm^2
f=2.5//N/mm^2
ft=4.5//N/mm^2
fb=15//N/mm^2
rho=7200//kg/m^3
//fb*10^6=rho*v^2
v=sqrt(ft*10^6/rho)//m/s
printf("the speed is,%f m/s\n",v)
D=(v*60)/(... |
863aa22ae18af5c3b25f579fddb197032b5209f7 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20150114_common_source/.test_20150114_common_source/char_diodeADC.sce | 3091f8d90290e478b8b8354abe6f77bb66e52423 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,208 | sce | char_diodeADC.sce | // Shift 2, 20th Jan
//vchar id i2vout adc
diode_ivdd25V=[
2.15 0.020e-9 0.760 hex2dec('0e26');
2.18 0.050e-9 0.850 hex2dec('10e2');
2.20 0.100e-9 0.890 hex2dec('11b8');
2.25 0.400e-9 1.020 hex2dec('1553');
2.30 2.900e-9 1.170 hex2dec('19b3');
2.35 13.00e-9 1.260 hex2dec('1bfb');
2.40 62.00e-9 1.360 hex2dec('1f3... |
877fead5abc23ba4cffb6297f753da883ccf66f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.53/EX2_53.sce | aa300731844caaa6307e034cf15ccef301b881d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | EX2_53.sce | //EXAMPLE 2-53 PG NO=97
R=15; //RESISTANCE
V=240+%i*0; //VOLTAGE
I=22.1;
Ir=V/R; //CURENT
disp('i) CURRENT (Ir) is = '+string (Ir) +' A ');
IL=[I^2-Ir^2]^0.5;
disp('i) CURRENT (IL) is = '+string (IL) +' A ');
XL=V/IL;
disp('i) INDUCTANCE (XL) is ... |
205b595aa9723e900f7126c60a9577dd8769c310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.12/ex3_12.sce | 21b9fa125044f3d84ef8d2813a4d29ca7075f665 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_12.sce | //Exam:3.12
clc;
clear;
close;
Density=2.7;//(in g/cm^3)
n=4;
m=26.98;//atomic weight of Al
N_a=6.023*10^(23);//avogadro number
a=((n*m/(Density*N_a))^(1/3));//Lattice parameter(in Cm)
A=a*10^(8);//Lattice parameter(in A)
disp(A,'radius(in A)=');
r=A/(2*1.414);//radius for fcp structure
disp(2*r,'Diameter(i... |
f25492ed5427b81a382188c2b271c8629f9ca216 | b667735486117d0c7bb30d616ee6ed37032e947d | /online/labca3_5/documentation/xmlhelp/en_US/lcaPutNoWait.sci | a087d5b1b14467c584f8df14f5808f4355a06f22 | [
"EPICS",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KIT-IBPT/MML | 6b8093aec421162c56ada56daa2d43a1b6977e62 | 4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26 | refs/heads/master | 2021-08-28T07:39:45.693497 | 2021-08-04T13:14:01 | 2021-08-04T13:14:01 | 226,303,582 | 0 | 0 | null | 2019-12-06T10:28:11 | 2019-12-06T10:28:11 | null | UTF-8 | Scilab | false | false | 844 | sci | lcaPutNoWait.sci | function lcaPutNoWait
// lcaPutNoWait is a variant of lcaPut that does not wait for the channel access put request to complete on the server prior to returning control to the command line.
//
// Calling Sequence
//
//lcaPutNoWait(pvs, value, type)
//
// Description
//
// lcaPutNoWait is a variant of lcaPut th... |
fa26d2c26d1d33839145b4b38f461af9e0c9c3b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH34/EX34.20/Ex34_20.sce | 6ba0960fd27c2b858f624c61b9afab685d26d7e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | Ex34_20.sce | clc;
R1=220;
R2=1500;
Vo=1.25*(1+(R2/R1));
disp('V',Vo*1,"Vo=");//answer given in book is wrong
|
f880d541bb55f1bea32eff18764c524691ce2ea6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH10/EX10.6/visc_imc1.sce | 1f896dc1e6d5d859cff1733f5a332b25a5d37bb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | visc_imc1.sce | // IMC design for viscosity control problem
// 10.6
exec('imc_stable1.sci',-1);
exec('zpowk.sci',-1);
exec('imcsplit.sci',-1);
exec('flip.sci',-1);
B = [0.51 1.21];
A = [1 -0.44];
k = 1;
alpha = 0.5;
[k,GiN,GiD] = imc_stable1(B,A,k,alpha);
[zk,dzk] = zpowk(k);
Bp = B; Ap = A;
Ts = 0.1; t0 = 0; tf ... |
bf256ac411d3fba3a39659b96198955f2b66ceef | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/AveragedModels/transferFon.sci | 383ed8ab341f0e5d06f0d1d862582a0bbdf81488 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,656 | sci | transferFon.sci | //Function to obtaint the transfer functions form a converter using the canonical model
// Pag 253 Maksimovic
//Hv is the control to output voltage transfer function, Hi the control to inductor current
//Vg input voltage, vo output voltage, Rl load, L and C reactives
//converterType is a string "buck","boost","buckbo... |
bcaf541da0f18066cc68de184c69d50ca89ea1e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH4/EX4.5/Ex4_5.sce | 91dfd1de82e5e219ebb8d7fdbf838ef84a40895d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | Ex4_5.sce | // exa 4.5 Pg 107
clc;clear;close;
// Given Data
Sut=650;//MPa
N=10**5;// cycles
Se_dash = 0.5*Sut;// MPa
of=5;// unit
ob=6;//unit
bf=ob-of;// unit
be=3;//unit
// calculating endurance section wise
OE=log10(Se_dash);
OA=log10(0.9*Sut);
AE=OA-OE;
//log10_Sf=OD=OE+ED=OE+FC
log10_Sf=OE+(bf/be)*AE;
Sf=10**log10_Sf; // (M... |
fa3770f6d58694420d818888264099cef64a21e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.23/Example_7_23.sce | 44dd336f5f53b2116631bdb1d36264a5f60793e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Example_7_23.sce | //Scilab Code for Example 7.23 of Signals and systems by
//P.Ramakrishna Rao
//Convolution of two signals
clc;
clear;
function [y]=u(t)
if t>=0
y=1
else y=0
end
endfunction
for n=0:10;
x(n+1)=(0.5)^n*u(n-2);
end
c = gca();
c.y_location = "origin";
c.x_location = "origin";
n=0:10;
plot2d3(n,x,-4);
title(... |
6aa3f3af55eb884ecabc464035d636304dbcca7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH15/EX15.2/Ex15_2.sce | 78686640d67139c039c67c142cfb0e514e4092b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,566 | sce | Ex15_2.sce | //Chapter 15: Antennas for Special Applications
//Example 15-4.1
clc;
//Variable Initialization
eps_r1 = 16 //Real part of relative permittivity of ground (unitless)
sigma = 1e-2 //conductivity of ground (mho per meter)
eps_0 = 8.85e-12 //Air permittivity (F/m)
f1 = 1e6 //Frequency (Hz)
f2 = 100e6 /... |
cac0d9af26a0673c41a413dcc9cd163cb556f96a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.43/Ex5_43.txt | 082ec0d8e8dd42e775f2c843dac3cfd102822c15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | txt | Ex5_43.txt | //Ex:5.43
clc;
clear;
close;
u=0.5;// refractive index
N=3.25*10^4;// electron/m^3
f=sqrt(81*N/(1-u^2));// frequency in Hz
printf("The frequency = %f KHz", f/1000); |
aaf0678a87971ca31b68221dc11fbfd1251d36ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH15/EX15.8/ex_15_8.sce | 5bf814ddf85babd8a311dbb0f90b0310a5d6ab48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,913 | sce | ex_15_8.sce |
clc
//solution
//given
//refer fig 15.17
x=190//mm
y=140//mm
m=2.7//kg
r2=170//mm=0.17//m
N2=300//rpm
h=12//mm
ft=80//N/nn^2
pb=8//N/mm^2
w2=(2*%pi*N2)/60//rad/s
w1=w2+(0.6/100)*w2//rad/s
r1=r2+(h*x/y)//mm
Fc1=m*w1^2*r1/1000
Fc2=m*w2^2*r2/1000
//s1 is spring force at max speed w1
//s2 is spring force at max speed w2
/... |
557c9809cd28625c998255639dbb12c5fbcc26e7 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH12/EX12.3/ex_12_3.sce | 35a9abcf06389d7d35dcda052cbd3cc114c67289 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 922 | sce | ex_12_3.sce | //desing joint
clc
//solution
//given
P=50*10^3//N
d=75//mm
ft=25//N/mm^2
t=20//N/mm^2
//let B1 be the width of strap
//B1=d
B1=75//mm
//t11=B1/4//mm
printf("the thickness is,%f mm\n",B1/4)
printf("the thickness can be taken as 20mm\n ")
t11=20//mm
//let t1 be thickness of strap at thnner side
//P=2*B1*... |
65962cc73d59091fb422dfbccb310c5a24faa4cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH15/EX6.3/Ex_B_6_3.sce | cc54abd4a8636225d29517eddc66750f20dfcc2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Ex_B_6_3.sce | //Ex 6.3
clc;clear;close;
format('v',6);
Asys=1520;//km^2
Ch=1140;//no. of channels
Acell=4;//km^2
i=3;j=2;//For hexagon cells
N=i^2+i*j+j^2;//cells in a cluster
disp(N,"(a) No. of cells in a cluster");
Acluster=N*Acell;//km^2
cluster=Asys/Acluster;//no. of clusters
disp(cluster,"(b) Number of clusters");
d... |
590943f4fb0acb32eb0b7cb6897c730da9530df7 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_usi_d/~BivLCM-SR-bfi_c_usi_d-PLin-VLin.tst | df3689e93386aab583e2007d1e83ab6241df74a6 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_c_usi_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.302581D+00
... |
1cab2171d505f7b3c8ee02817eba70cf07f76c42 | b846ffaa3e3e3311c37e95270bbe930fdf91a314 | /transpose.sci | c452100593745a7a3da79f88a51de3c3d729307f | [] | no_license | rahulgarg28071998/mathlab-practical-scilab | 100a15f74f94942d32a8be8125b4020a7e265ede | a83cc6b817fcca9268a59583eab372109552f2f8 | refs/heads/master | 2020-03-11T15:22:05.161498 | 2018-04-18T15:19:11 | 2018-04-18T15:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sci | transpose.sci | clc
clear
m=3
n=3
disp("Enter elements of first matrix:")
for i=1:3
for j=1:3
A(i,j)=input("\")
end
end
for i=1:3
for j=1:3
P(i,j)=A(i,j);
end
end
for i=1:3
for j=4:6
if(i==(j-3)) then
P(i,j)=1;
else P(i,j)=0;
end
end ... |
b98f2e5bdb80f81b977cde532b86a3e845b54fde | abde5210bd538a9873f628945f25c08a6711abd0 | /appTests/v0.1_single_invalid_file.tst | fb1998ece53ea6f9238cb84d4466131848ec4596 | [] | no_license | step-batch-7/jsTools-mildshower | 4ff0f8357dac1fbb1603f933d4a9b658aa9bf61f | 20444d5ca9540782b793270f9c5e2f138696b6d7 | refs/heads/master | 2023-01-12T06:32:14.662150 | 2020-01-09T06:10:28 | 2020-01-09T06:10:28 | 229,381,464 | 0 | 1 | null | 2022-12-30T19:21:29 | 2019-12-21T05:32:22 | JavaScript | UTF-8 | Scilab | false | false | 45 | tst | v0.1_single_invalid_file.tst | node sort too
sort: No such file or directory |
cc2b70077d9cdb5df7b6787f058f60e17b36374f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH10/EX10.4/Exa10_4.sce | e591734d41de6be1dadb0ac73faab445d18041e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | Exa10_4.sce | //Exa 10.4
clc;
clear;
close;
//given data :
H=200;//in Km
D=4000;//in Km
fc=5;//in MHz
f_muf=fc*sqrt(1+(D/(2*H))^2);//in MHz
disp(f_muf,"MUF for the given path in MHz : ");
//Note : Answer in the book is wrong. |
aeac386a9d39cdf1e9785a74667fa84c67b621a6 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/macros/codegen/EE_get_diagram_info.sci | 8223ab9e2084a1b19cce4f4dac2bfd185c2f2133 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,566 | sci | EE_get_diagram_info.sci | function EE_get_diagram_info(name,XX)
blocks_list = [];
symbols_list = [];
functions_list = [];
blocks_list_mk = [];
symbols_list_mk = [];
app_mk = [];
symbols_aux = [];
txt = ["Compilation optimization";
"Enjoy";
"";
"Current directory: " + pwd();
""];
FUNCS_DEP_DIR = SCI+'/contrib/s... |
e1ac68c23c13673361ff886da91dfa117da29141 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH3/EX3.16/EX3_16.sce | f2c503819ef19c964958ef5ea38e73a6cabf2284 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,125 | sce | EX3_16.sce | clc;funcprot(0);//Example 3.16
//Initilisation of Variables
Ti=30;...//Initial temparature of potato in degrees celcius
Ta=100;...//Temparature of boilled water in degrees celcius
ro=0.05;....//Radius of potato in m
h=6000;...//heat transfer coefficient on surface of the potato in W/m*degrees celcius
To=95;....//... |
22aeedbcefcc4da024e10863cda5f9d2b49b0ca6 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/kr1.sci | 8ab7f0c8211bcea792bb0b2da43582198022424c | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,051 | sci | kr1.sci | clc;
d=figure();//создаем окно
set(d,'position',[250,250,800,500]);//местоположение и размеры окна
set(d,'figure_name','Лабораторные работы по ПВИСУ');//заголовок окна
set(d,'BackgroundColor',[0.9,0.7,0.5]);//цвет окна
button1=uicontrol(d,'style','pushbutton','string','Лаб 1.','position',[100,300,100,40],'Backgrou... |
e74185f07e8a618a9d8643c456260a300d2957d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.1/7_1.sce | ef98c61e91f05b3c6f0e21b838410fd91d311944 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | 7_1.sce | clc,clear
printf('Example 7.1\n\n')
V_l=400
R_a=0.2,X_s=2 //armature resistance and synchronous reactance
I_L=25
I_aph=I_L
V_ph=V_l/sqrt(3)
Z_s=complex(R_a,X_s) //synchronous impedance
theta=(%pi/180)*phasemag(Z_s) //Phasemag returns the angle in degrees not radians
E_Rph=I_aph*abs(Z_s)
//case 1
phi=acos(0.8) //lagg... |
44a4f8b73dc21c7bb8043840512a96c5b557013d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/elem/integrate.sci | 356a6c66f40c0c03ff43fd65a788b97ee8a35b83 | [
"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 | 893 | sci | integrate.sci | function x=integrate(expr,var,x0,x1,ea,er)
// x=integrate(expr,v,x0,x1 [,ea [,er]]) computes
// /x1
// [
// x = I f(v)dv
// ]
// /x0
//
//
//examples:
//integrate('sin(x)','x',0,%pi)
//integrate(['if x==0 then 1,';
// ... |
24f0b2d1f2719c1def26e89be477610884526be4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/auto/bilin.sci | 8a6b9cd77c4d73f96c25c89cac0e98aa91e1f552 | [
"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 | 308 | sci | bilin.sci | function Sl2=bilin(Sl1,v)
// Copyright INRIA
[A,B,C,D]=abcd(Sl1);
dom=Sl1('dt');
[ra,ca] = size(A);
a=v(1);d=v(2);c=v(3);b=v(4);
i=inv(a*eye(ra,ra)-c*A);
AB=(b*A-d*eye(ra,ra))*i;
BB=(a*b-c*d)*i*B;
CB=C*i;
DB=D+c*C*i*B;
if dom=='c' then Sl2=syslin('d',AB,BB,CB,DB);
else Sl2=syslin('c',AB,BB,CB,DB);end
|
657e3f57977d9586f262744022a1134c4d897b13 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.8/6_8.sce | 3d4489ffcffa4c741667b0d9c248fdc949002c57 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | 6_8.sce | clc;
R=0.274;
T1=1000+273;
v1!v2=1/7;
n=1.25;
T2=T1*(v1!v2)^(n-1);
sA_s1=R*log(1/v1!v2);
cv=0.925;
sA_s2=cv*log(T1/T2);
disp("change of entropy of mixture is:");
disp("kJ/kg K",sA_s1-sA_s2);
|
eb3e85f57010d261ab2b872961c440a25ffb9962 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH2/EX2.2/Ex2_2.sce | 023554179c9d00faadcfd27ac6debd7023435052 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_2.sce | clc;
clear;
// r = p*a + q*b + s*c
p=1
q=2
s=3
//Calculation
LCM=lcm({p,q,s}) //LCM for computing miller indices
rx=1/p*LCM //reciprocals
ry=1/q*LCM
rz=1/s*LCM
mprintf("The plane depicted in the figure is denoted by (%i,%i,%i)",rx,ry,rz)
|
cb1511b523902140f895d23ec8bcfa5b145edea4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/25_8data.sci | b319f607a5c11f8534929571db1fc02c1ff25906 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sci | 25_8data.sci | T=10*10^3;//given,in N.mm
G1=20000;//laminate shear modulus of flanges,given,in N/mm^2
G2=15000;//laminate shear modulus of web,given,in N/mm^2
a=25;
b=50;
t1=1.5;
t2=2.5; |
2a0a85f3c942e954c41955e4d436d09ebd72a711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH6/EX6.3/Ex6_3.sce | 3d6cee14489d977302e35a9d93962281fb297ec7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,189 | sce | Ex6_3.sce | // Variable Declaration
d = 3.0 //Diameter of conductor(cm)
D = 8.5 //Sheath diameter(cm)
e_r1 = 5.0 //Permittivity of inner dielectric
e_r2 = 3.0 //Permittivity of outer dielectric
E_c = 30.0 //Safe working stress(kV/cm) rms
// Calculation Section
E_i = E_c
D_1 = e_r1/e_r2*d
thick_1 = (... |
974dc01c1137777edf75e17540fdb7a36323f01c | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH4/EX4.3/ex3.sce | e5e3f33f47baaaf42c162ab662f712af08e4b4a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | ex3.sce | //ques3
//Isothermal Compression of an Ideal Gas
clc
P1=100//Initial Pressure in kPa
V1=0.4;//Initial Volume in m^3
V2=0.1;//final Volume in m^3
w=P1*V1*log(V2/V1);//work done for Isothermal process in kJ
printf('Work done = %.1f kJ',w);
|
3e5f395e6bbf6e1b3ac0463e484ed888366e2145 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH5/EX5.15/5_15.sce | e01b0720802b6174a04c324bcebfae5b460f75f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | 5_15.sce | //Example 5_15
//Fourier Transform of x(t)=exp(-t)*sin(wc*t)*u(t)
clear;
clc;
wc=1;
Dt=0.005;
t=0:Dt:10;
xt=(exp(t*(-1+wc))-exp(t*(-1-wc)))/(2*%i);
Wmax=2*%pi*1;
K=4;
k=0:(K/1000):K;
W=k*Wmax/K;
XW=xt*exp(-sqrt(-1)*t'*W)*Dt;
XW_Mag=abs(XW);
W=[-mtlb_fliplr(W),W(2:1001)];
XW_Mag=[mtlb_fliplr(XW_Mag),XW_Ma... |
d6b50914cd2f7ebe7fbad9d24f5d4a39fecdec0f | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/ARDUINO_pre_simulate.sci | 436824eccebc14b93322a305875f1abe0c3118f3 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 5,068 | sci | ARDUINO_pre_simulate.sci | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The ter... |
8cf340a8ad505b00b4acafdb6732d0aa55733a82 | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /DEVELOPMENT-LANGUAGES/germanic/swe.tst | a200f11c95c6643555bc93213938a8fa66d35a48 | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 378,430 | tst | swe.tst | like N;NOM;INDF;PL
offra V;NFIN;ACT
posta V;NFIN;ACT
krater N;NOM;DEF;SG
subtil ADJ;DEF
köksö N;GEN;INDF;SG
städa V;NFIN;PASS
lagra V.CVB;ACT
kongruens N;GEN;INDF;PL
friktion N;NOM;DEF;SG
konselj N;NOM;DEF;PL
undgå V.PTCP;PRS
nalkas V;NFIN;ACT
statare N;NOM;DEF;PL
sädesblåsa N;GEN;DEF;PL
levnad N;NOM;IND... |
76ec16e9f376937b0237b188479d66e8f821733c | 22d9f9e36cc02d4358110e7dd63d91180334ff98 | /scripts/allvectors.sce | b720bafc02d4380b87f7f8ceafb3adc420127970 | [] | no_license | kalexal-kaa/ScilabScripts | ddd6be8dfb4f2820f2e6547be810e8b693781255 | 5b25138895e9a42893e0a88a94f414308203cd69 | refs/heads/main | 2023-06-01T08:55:32.806731 | 2021-07-03T02:24:54 | 2021-07-03T02:24:54 | 379,259,490 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | allvectors.sce | V = input("Введите номер вида: ")
disp("1."+string(V)+" = "+"0 + 1."+string(V - 1))
q = 2 .^(V - 2)
for i = 2:1:q
if modulo(i,2) ~= 0 then
G = i + 1
F = i - 1
else
G = i
F = i
end
M = F
n = 0
while modulo(M,2) == 0
M = M ./2
n = n + 1
end
f1 = (F + (2 .^n))./(2 .*(2 .^n))
v1... |
9274524080accae1fb839be87ad2de0bac7a1f41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH4/EX4.9/Ex4_9.sce | 31b57e94185e4a86d42cf6f1ccbbb30260eccd27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,169 | sce | Ex4_9.sce | clear
//given
//its a statistally indeterminant
//we will take of one of the support
//Given
T_ab = 0 //N.m - torsion in AB
T_bc = 150 //N.m - torsion in BC
T_cd = 150 //N.m - torsion in CD
T_de = 1150 //N.m - torsion in DE
l_ab = 250 //mm - length of AB
l_bc = 200 //mm - length of BC
l_cd = 300 //mm - length o... |
4a37fc68aabb9c06c3887f50ece728f1aaf0fb6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH7/EX7.23/exa_7_23.sce | 29b0eba9f58c730060dc6c1b8f0608942b203b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | exa_7_23.sce | // Exa 7.23
clc;
clear;
close;
// Given data
fr= 2;// in MHz
fr=fr*10^6;// in Hz
C=230+8;// in pF
C=C*10^-12;// in F
// Formula fr= 1/(2*%pi*sqrt(L*C))
L= 1/((2*%pi*fr)^2*C);// in H
disp(L*10^6,"Value of L in µH")
// From the first set of data
fr= 1;// in MHz
fr=fr*10^6;// in Hz\
C= 1/((2*%pi*fr)^2*L);//... |
fed8c9678b1a0db358695d8e41cfa57844c78f09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH7/EX7.4/example4.sce | 38fed5ca4a275603fe88570fbb770538c5478298 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | example4.sce | Syms s t
disp('given')
disp('i(s)=V/R/s+(1/RC) for t>=0')
z=ilt('(V/R*s^0+0)/(s+(1/RC))',s,t)
disp(z,"z(t)=")
|
61026cfe9f6ab4fd26f13369639ff6a8bbd85723 | ba5d14a99711f45c6f3d2d28e4e8c12c9120e536 | /menor elemento.sce | 1b182d1034ff4bf71ba505e1575a0ff6313ce6b6 | [] | no_license | RuanXavierSantos/Exercicios_Scilab | 0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b | 219c1609766e1ac1ad27f9469012d7f3bb6c8dea | refs/heads/main | 2023-09-03T00:50:12.356763 | 2021-10-20T13:29:22 | 2021-10-20T13:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | menor elemento.sce | x1=input("informe o primeiro valor: ");
x2=input("informe o segundo valor: ");
x3=input("informe o terceiro valor: ");
L=[];
L($+1)=x1;
L($+1)=x2;
L($+1)=x3;
disp(min(L))
|
76ebcdc5529622661115773fd4f73c99f7a83592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.74/EX2_74.sce | 2ac6c44c33b73d8ae09788b1918c64c33d40836a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | EX2_74.sce | //EXAMPLE 2-74 PG NO-112
ZA=10+%i*7.226; //IMPEDANCE
ZB=5+%i*10.99; //IMPEDANCE
V=200+%i*0; //VOLTAGE
IA=V/ZA; //CURRENT
disp('i) CURRENT (IA) is in polar form = '+string (IA) +' A ');
IB=V/ZB;
disp('ii) CURRENT (IB) i... |
91e2cf18e5e4a6c4b996e11739595064360c53c5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/addinter-tutorial/tutorial.tst | 49063707048bfa855b12c01be031f94d82bdcd0c | [
"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 | 320 | tst | tutorial.tst | scilab_functions =[...
"view";
"matmul";
];
auxiliary="";
files=G_make(["tutorial_gateway.o","tutorial.a", auxiliary],"void(Win)");
addinter(files,"tutorial_gateway",scilab_functions);
//same as "exec tutorial.sce"
A=ones(2,2);B=ones(2,2);
C=matmul(A,B);
if norm(A*B-matmul(A,B)) > %eps then pause,end
|
a73f3011035b508df75f738bbd4df1014fdb4040 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH11/EX11.8/11_8.sce | 6882cfeac3d645df9a752e72697910dfa7fbcf35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | 11_8.sce | clc
//initialisation of variables
h1= 238.431 //kJ/kg
h4= 109.777 //kJ/kg
Qc= 6 //kW
h2= 295.835 //kJ/kg
n= 0.88
Tin= 33 //C
Tout= 20 //C
cp= 4.186 //J/mol K
//CALCULATIONS
qc= h1-h4
m= Qc/qc
w= h2-h1
W= m*w/n
COP= Qc/W
qh= h2-h4
mcw= m*qh/(cp*(Tin-Tout))
//RESULTS
printf (' compressor power= %.2f kW... |
488ca2ceebcd18ad99961ff8aea3af90564236e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.7/Ex6_7.sce | 125d133f16f22bfa77ec39a6c5b368b7f86d16eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex6_7.sce | //calculating Kc
//Example 6.7
clc
clear
//E'cell=0.0591*logKc/n
Eag=0.8
Ecu=0.34
Ecell=Eag-Ecu
n=2
Kc=10^(n*Ecell/0.059)//equilibrium constant
printf('Thus the equilibrium constant for the reaction = %e',Kc)
|
051945613817049e8639f3e592e1ddab39ff4088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH22/EX21.4/EX21_4.sce | 7eb56c7e28f22685da248ed4e55f15b4027e071d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | EX21_4.sce | // Grob's Basic Electronics 11e
// Chapter No. 21
// Example No. 21_4
clc; clear;
// A 200 uH coil has a Q of 40 at 0.5 MHz. Find Re.
// Given data
L = 200*10^-6; // L of coil=200 uHenry
Q = 40; // Q=40
f = 0.5*10^6; // Frequency=0.5 MHz
pi = 3.14;
Xl = 2*pi*L*f;
Re = Xl/Q;
disp (Re,'The... |
dcd60e669b842743015e18814c69e1ad2eb6087a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH16/EX16.2/Ex16_2.sce | a3725604519327a206ae6408ba87c4c5d4bce2e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex16_2.sce | // Calculating the inductance
clc;
disp('Example 16.2, Page No. = 16.6')
// Given Data
N = 25;// Number of turns
Ac = 1;// Cross sectional area of the core (in cm square)
u0 = 4*%pi*10^(-7);// Permeability of free space
ur = 200;// Relative permeability
lc = 15;// (in cm)
// Calculation of the inductance
L = ... |
67080820a1b527fc55afdc0310c2688709e8314d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH27/EX27.11/27_11.sce | e1a7b7b658246bc1856f7617ab4467b33b8a63bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | 27_11.sce | clear//
//Variables
Ptrdc = 100.0 * 10**-3 //Maximum collector dissipated power (in watt)
VCC = 10.0 //Source voltage (in volts)
RL = 16.0 //Load resistance (in ohm)
no=0.5;nc=0.5;
//Calculation
Poac = no * Ptrdc //Maximum undistorted... |
211e04a4de55cd241fddc047bdcba23338b5cd68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH5/EX5.5/5_5.sce | 1b0dcdd0a3beb9d8b153313dbe44479a54da3b47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,415 | sce | 5_5.sce | printf("\t example 5.5 \n");
printf("\t approximate values are mentioned in the book \n");
printf("\t for inlet \n");
t1=99.1; // temperature of inlet,F
t2=129.2; // temperature of outlet,F
c=.478; // Btu/(hr)*(ft)*(F/ft)
mu=2.95*2.42; // lb/(ft)(hr)
k=0.078; // Btu/(hr)*(ft)*(F/ft)
G=854000; // mass velocity,l... |
3bffda807d84a081cd6abb631d46230bf3fca164 | 488671045d59079d7b3aa27dcecc04e73e9d90c2 | /cinematica/auladia2111.sce | 2ea91adc8692d092e0dbc83e5dbe0e0f7cad8ec8 | [] | no_license | marieediaas/Robotica | cd09b30629e9a090077e72556a3379af5877e9f2 | f4aaf15bd7f11b8a6f6a5f898305f5bdb483fdcf | refs/heads/master | 2022-04-10T06:48:10.906055 | 2020-02-22T16:14:45 | 2020-02-22T16:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | auladia2111.sce | t01 = [cosd(60) -sind(60) 0 10*cosd(60);
sind(60) cosd(60) 0 10*sind(60);
0 0 1 0;
0 0 0 1
];
t12 = [cosd(30) -sind(30) 0 5*cosd(30);
sind(30) cosd(30) 0 5*sind(30);
0 0 1 0;
0 0 0 ... |
9ad888998e14520709ac5806a8963210e8b1b401 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RC98DEQ/ATWM1_Working_Memory_MEG_RC98DEQ_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 98a9010ce83ca1e39b55f559a843d38ac89c03ea | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
25c0dbbbc0def4448b0ea5ac6c9060c2d227520a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH5/EX5.5/Exa5_5.sce | d17f7754783692eb4747cd574cda68d86744224d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa5_5.sce | //Exa 5.5
clc;
clear;
close;
// given data
P_e1=1600;// in watts
B_max1=1.2;// in T
f1=50;// in Hz
B_max2=1.5;// in T
f2=60;// in Hz
// P_e propotional to B_max^2*f^2, so
P_e2=P_e1*(B_max2/B_max1)^2*(f2/f1)^2
disp("Eddy current loss is : "+string(P_e2)+" watts");
|
703353fbf2d1dd477d5b7db24cfaa3df3a76925d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH14/EX14.4/Ex14_4.sce | 7337837da73fa81315012332e5b962cd6a3f4c95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | sce | Ex14_4.sce | //Chapter 14: Water Treatment
//Problem: 4
clc;
//Initialisation of Variables
i1 = 180 //in mg/L for CaCl2
i2 = 210 //in mg/L for Ca(NO3)2
i3 = 123 //in mg/L for MgSO4
i4 = 90 //in mg/L for Mg(HCO3)2
//Solution
i1_req = i1 * 100 / 111.
i2_req = i2 * 100 / 164.
i3_req = i3 * 100 / 120.
i... |
0d397b5c07c858dc68da752410ce81065349f245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.33/Ch01Ex33.sce | 290c984108cea67701519c77ab4746c5cc3cd839 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch01Ex33.sce | // Scilab Code Ex1.33:: Page-1.46 (2009)
clc; clear;
h = 6.6e-034; // Planck's constant, Js
m = 9.1e-031; // Electronic mass, kg
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
n = 1; // For simplicity assume principle quantum number to be unity
l = 2.1e-010; // Length of one dimensional potential box, m
... |
63bd3638adba622c9292a197400003bc7298e0d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.51/ex1_51.sce | e46de995d115bd81e957bd2188f7c0e48780c11d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | ex1_51.sce | //Chapter-1, Example 1.51, Page 56
//=============================================================================
clc;
clear;
//INPUT DATA
V1=100;//source1 voltage in volts
V2=50;//source2 voltage in volts
R1=10;//Resistance in ohms
R2=20;//resistance in ohms
R3=30;//resistance in ohms
R4=40;//resistance in ... |
ee0d43a511935e4daf62289745af062f7f28bbd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH22/EX22.16/2216.sce | 4ee19b4881255a28fcf7e7057172d41dd60899e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sce | 2216.sce | clc;
//Example 22.16
//page no 317
printf("\n Example 22.16 page no 317\n\n");
//a power plant employs steam to generate power
//adiabatic conditions
z1=0//steam vertical position at inlet,ft
z2=-20//steam vertical position at outlet,ft
v1=120//steam velocity at inlet,ft/s
v2=330//steam velocity at outlet,ft/... |
0f573e5a2fee058ff52e24d47fba99a93fecbe2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH4/EX4.31/ex4_31.sce | 129d0ee10637d2d1eb735c02c9214a31024163bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | ex4_31.sce | //Ex 4.31
clc;
fm=10*10^3;
df=100;
N=2*fm/df;
l=log2(N);
l1=ceil(l);
N1=2^l1;
fs=N1*df;
disp(fs,'Required Sampling Freq'); |
587184af8403081aab07097f414a41b34868d1a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH9/EX9.8/9_8.sce | d6c93ece68b72b0de60af63592a86df0ebf81650 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | 9_8.sce | clc
clear
//Initialization of variables
mdot=8000 //lb/min
A1=1 //sq ft
A2=3/4 //sq ft
P2=50 //psi
P1=10 //psi
gam=62.4 //lb/ft^3
y2=-2 //ft
y1=-4 //ft
g=32.2 //ft/s^2
eff=0.7
//calculations
v=1/gam
cap=mdot/8.33
V1=mdot*v/A1 /60
V2=mdot*v/A2 /60
ht= (y2-y1) + (V2^2 -V1^2)/(2*g) + (P2-P1)*144/gam
Hhp... |
c617d05b1a92e5c8620a0b470d2fe0835703c0bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH30/EX30.17/30_17.sce | 732655c598be320fd67ed488af36d2890669e290 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sce | 30_17.sce | clear//
//Variables
vin = 2.0 * 10**-3 //Input voltage (in volts)
gm = 5500.0 * 10**-6 //Transconductance (in Siemen)
R1=1.0*10**6;R2=1.0*10**6;
RS = 5.0 * 10**3 //Source resistance (in ohm)
RL = 2.0 * 10**3 //Load resistanc... |
82df13499de26f5529f57d49c42f5669391d4f55 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/machine-sliding-mode/jiyukaisou/疑似逆行列.sce | b9442603327c5c209c781f76fbf46d2f3a7870eb | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 疑似逆行列.sce | A=[2 0 3;0 0 1];
GA=A'*inv(A*A');
Ans=A*GA;
disp(A)
disp(GA)
disp(Ans)
//A=[2 0;1 0;1 1];
//GA=inv(A'*A)*A';
//Ans=A*GA;
//disp(A)
//disp(GA)
//disp(Ans)
|
977604ed25175f0cb2795cd6b419f02880fa51db | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/lorenz/tempwritexml.sce | 9a107f59d9f54ec4393c5fa3fc94d1ddbd392263 | [] | 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 | 237 | sce | tempwritexml.sce | //write xml
//functions for writing xml
function [xmlfile]=xmlfile(filename, schemaname, schemahyperlink)
xmlfile=mfopen(filename, 'w')
xmlfile
endfunction
function openxml(fd, )
mfprintf(fd, '<%s/>', elementname);
endfunction
|
1e81924573529def3418f9c1ec94c616454dbb8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH13/EX13.9/13_9.sce | 33bd15066950dc1e9d8b9dce341aee6195ec41e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,992 | sce | 13_9.sce | //Eg-13.9
//pg-546
clear
clc
close()
//Note that the subscripts of the variables y have been increased by 1 since the subscript 0 is not possible in scilab!
deff('out = f1(in1,in2,in3)','out = -0.08*in1^0.5 - 2*in1^0.2*in2')
deff('out = f2(in1,in2,in3)','out = -3.5*10^-6*in1^0.2*in2 + 1.6*10^-6*in3^0.3')... |
499f0ca7bbe0efe7d7dc9aabda16dc22f903a620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH12/EX12.5/prob_12_5.sce | 9fc87011ee9fb376552d7ad77f8cd789632f7ccf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | prob_12_5.sce | //page 550
//problem 12.5
// Sm(w)=k*e^(-w2/26^2) this is given
// let us the assume the value of constant 6^2/4(pi^2) =3
// thus the variance can be calculated as
clc;
f0=0;f1=15;
y=integrate('(f^2)*(%e^(-(f^2)/6))','f',f0,f1);
g=integrate('%e^(-(f^2)/6)','f',f0,f1);
v=y/g;
disp(v,'Bm2'); |
9ab061c936fc7f6663e8913ea247df20a5f36a5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.4/Ex6_4.sce | ce7f1f88084a14fa5d56a32d5a940efd5ba9b159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex6_4.sce | clear;
clc;
printf("\t\t\tProblem Number 6.4\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.4 (page no. 242)
// Solution
//If for this process T2=1.25*T1,
// T2/T1 = 1.25
//Therefore,
// p2/p1 = T2/T1 //Charles's law(volume constant)
//Thus,
printf("The absolute gas pressure increases by 25 percent\n")... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.