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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d0eb843183c125d466e0b65770e415267db4528c | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.5/EX5_5.sce | 539eceb1e2546a75159655bf7fbec1e695133f2c | [] | 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 | 734 | sce | EX5_5.sce | clc;funcprot(0);//Example 5.5
//Initilisation of Variables
x1=0.3;....//distance 1 in m
x2=0.5;....//distance 2 in m
L=1;...//Length of the flat plate in m
T=300;...//Temperature of air in K
p=1;.....//Air pressure in bar
v=5;...//Velocity of air in m/s
mu=1.85*10^-5;...//Viscosity of air in kg/m s
R=0.287;..... |
92460d1b3298359a020f53d6468ca6744380f678 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH6/EX6.2/6_2.sci | 19eef8ecca0bd3b6839572c680f80608e8c4b26e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sci | 6_2.sci | // 6.2
clc;
Vcc=4.76;
t=50*10^-6;
R=0.2*10^3;
C=0.2*10^-6;
tc=R*C;
Vo=Vcc*[exp(-t/tc)];
printf("\nvoltage across the capacitor after 50 microsecond=%.2f V",Vo)
|
367e840bd68557ed919c78cc9e7ab3aca6a58b8f | 3283519dac9c1e61d043b013149244a630700610 | /Problem Set 2/Pset2-Item1/1ANewtonRaphson-3.sce | 2b3d47b427ccff159f1e9b3c7dbbff74cb4ad183 | [] | no_license | PascuaPrimrose/CS-131---Numerical-Methods | c9496ecc37100ef3f9175f3cbc4eb2b745f8fa1c | 69db2c5b6794e6af748991b6995172d59c65de50 | refs/heads/master | 2020-04-24T16:23:00.646776 | 2019-02-22T17:13:03 | 2019-02-22T17:13:03 | 172,104,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 1ANewtonRaphson-3.sce | clc
clear
//1iii
function [f,df]= newtonraphsonFunc(x)
f = (x^3)-(x)-3;
df =(3*x^2)-1;
endfunction
//main
x=[0.0];
maxIteration = 100;
Iteration=[0];
tolerance = 0.000001;
large = 10^200;
difference = 1;
while(1)
if ((Iteration($)== maxIteration)||(difference<tolerance)||(abs(x($))>large)) th... |
574a025bb723d689300e31e24decd2026ffbca30 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/pade.sce | 22205f80bd4015a5cc7de9d920b94a2f42e76a14 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 150 | sce | pade.sce | s=%s;
L=0.5;
G0=1/((s+1)*(s+4));
DelayN=1-(L/2)*s+(1/10)*(L*s)^2-(1/120)*(L*s)^3;
DelayD=1+(L/2)*s+(1/10)*(L*s)^2+(1/120)*(L*s)^3;
Delay=DelayN/DelayD |
8a83017876d0804ff71fec265d2a3155f0fe7da2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.27/25_27.sce | 5c7bb7e00f6851cda087015ab350ac15a84afeb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | 25_27.sce | //ques-25.27
//Calculating coefficient of viscosity of benzene
clc
t1=46;//time taken by benzene (in s)
t2=68;//time taken by water (in s)
den1=0.8;//density of benzene (in g/mL)
den2=0.998;//density of water (in g/mL)
visc2=1.008;//coefficient of viscosity of water (in centipoise)
visc1=(den1*t1*visc2)/(den2*t... |
d1313896f1d7f059a3a7593f3974000e302c5eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.23/2_23.sce | 2a7ab78aeb7c6101dbf1217a3f22ec28648aece4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,075 | sce | 2_23.sce | clear; clc; close;
f = 1000;
T = 1/f;
C = 0.1*10^(-6);
R = 100*10^(3);
Vk = 0.7;
//between t1-->t2
vo_1 = 4.3;
Vc = 25-0.7;
//between t2-->t3
Rth = 0;
Eth = 4.3;
vo_2 =34.3;
tau = R*C;
discharge_time = 5*tau;
//between t3-->t4
vo_3 = 5;
disp(vo_1,'output voltage during t1-->t2 : ');
disp(vo_2,'out... |
09b2bf43506b82d091635fb330f75e6eed47c286 | 52cbfb547384bc9612dc59f5280971ed5a701a9d | /Continuous Sine Signal.sce | ae4c62b2e13b1631bf3b5715b72221c82eb24fd7 | [] | no_license | allenbenny419/Scilab-Codes | efa5402bea6d03088f77dafcf9ed87bd1f93e915 | 48109cd70c8a66a56e87f88152e866565dd52362 | refs/heads/main | 2023-06-23T21:10:24.227426 | 2021-07-21T11:09:15 | 2021-07-21T11:09:15 | 388,086,261 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | Continuous Sine Signal.sce | clear;
clc;
x=0:.1:11
f=0.2;
plot(x,sin(2*%pi*x*f));
xtitle('Continuous Sine Signal')
xlabel('x')
ylabel('sin(x)')
|
f22a44c2a3db7d8acdce00ff3088da3edb0167eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH2/EX2.4.4/Example2_11.sce | a906e196a8c7515a718670bd9cb6cfeae45b5ab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Example2_11.sce | //Chapter-2,Example2_4_4,pg 2-25
wavelength=6328*10^-10 //wavelength of light
m1=1 //for first order
m2=2 //for second order
N= 6000*10^2 //Number of lines per unit lengt... |
855bc175f407e60174869eaa2df6ee90fc1c62d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH8/EX8.2/Example8_2.sce | 287a6ab01a8a6cfefded6789557e0039bf2211a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example8_2.sce | //Example 8.2
clear;
clc;
R=159*10^3;
C=10*10^(-9);
f0=1/(2*%pi*R*C);
ft=10^6;
fx=sqrt(f0*ft);
Q=sqrt(ft/f0);
d=-90-((180/%pi)*atan(fx/f0));
pm=180+d;
printf("fx=%.2f kHz",fx*10^(-3));
printf("\nQ=%.f",Q);
printf("\nPhase Margin (PM)=%.1f degrees",pm); |
a16aeebe08f92130902f7ddb45141ad243fcbaec | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/calpol/l2r.sci | 5a0aaa40f05a93bbc0795c5f6c94946528ddf891 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 31 | sci | l2r.sci | function [w]=l2r(x)
w=r2l(x')'
|
eb5601fe2a782356f893dcc9777aaf67f309b847 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH7/EX7.17/17.sce | 576a8bd09f236ae7c9d9dd937b01b9c5f7339f2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | 17.sce | clc
clear
//INPUT DATA
x=6.40*10^7//electrical conductivity in mho m^-1
t=300//temperature of copper in k
L=2.44*10^-8//Lorentz number in W ohm K^-2
//CALCULATION
K=x*t*L//thermal conductivity of copper in W m^-1 K^-1
//OUTPUT
printf('The thermal conductivity of copper is %3.2f W.m^-1.K^-1',K)
|
f5fd9e2686a0fa96ca3b051dd341e075e5589127 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A6/correlation/correlation.sce | 4b67d6f163d0d06f352da16a7ffd72b1baad0e46 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | correlation.sce | A = imread("C:\Users\ADMIN\Documents\PHYSICS\6thYear\186\AP186\186A6\correlation\A.png");
A = rgb2gray(double(A));
B = imread("C:\Users\ADMIN\Documents\PHYSICS\6thYear\186\AP186\186A6\correlation\phrase.png");
B = rgb2gray(double(B));
//get FT of A & B
ftA = fft2(A);
f=scf();
imshow(fftshift(uint8(imnorm(abs(ftA))*25... |
ef26931366125856e14ea31982c91f1ebbb5cb04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH6/EX6.4/exmaple6_4.sce | 419748ffc58c1f923848b9463264dacad53da828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sce | exmaple6_4.sce | //example6.4
clc
disp("a) The drop across the shunt is same as drop across the coil.")
disp("Therefore, [(I_sh)*(R_sh)]=400 mV")
i=(400*10^-3)/0.01
disp(i,"Therefore, I_sh(in A)=(400*10^-3)/0.01= ")
disp("b) The voltage across shunt for shunted current of 50 A is,")
v=50*0.01
disp(v,"V_sh(in V)=[(I_sh)*(R_sh)]=... |
4bec69f113f7dcf6c4aa51ba36c6dc8592375f25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH4/EX4.16/Example_4_16.sce | 683f52859f616408e50d0516949da944ccb1f769 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Example_4_16.sce | //Example 4.16 A random sample of 10 students of class II was selected from schools in a certain region
clc;
clear;
x=[38 46 45 40 35 39 44 45 33 37];
n=10;
m=sum(x)/n;
s=sqrt(18.96);
disp((m+2.26*(s/3)),"to",(m-2.26*(s/3)),"The 95% confidence limits for mean weight are "),
|
322dff2e90a7c9a86ac7146c39b38038c53c7a8d | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 8/Lista Barão/verifica.sci | 13bba50d29158fd075fadf52ad3eae954fd94324 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sci | verifica.sci | function precisao = verifica(A,p)
[l,c] = size(A)
precisao = 0 //supoe verdadeira para dps verificar se é realmente ;)
for i = 1 : l
for j = 1 : c
if (i > j) then //para elementos abaixo da diag
if (abs(A(i,j)) > p) then
precisao = 1 //nao atingiu o valor d... |
42a1e0b8852693c73bbe9a6db081613f6350384c | 319e18105d3bb4e50502225693804b3a76b29ac3 | /OTHER_FISTA/OTHER_numerical_tour/numerical-tour/toolbox_general/set_linewidth.sci | 3b5e8943659b24677530d22a530f1414ef1b63cb | [
"BSD-2-Clause"
] | permissive | Venergon/Extrapolated-Bregman-Proximal-DC-method | 0c5e5184b9f04cedec38c4bd28bc066cce6e1be2 | 031bd9fb1a441af325a4aacc194433aa9e781950 | refs/heads/master | 2023-01-25T03:02:44.822773 | 2020-11-17T09:56:40 | 2020-11-17T09:56:40 | 275,793,157 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | sci | set_linewidth.sci | function set_linewidth(h,lw)
// Does nothing
endfunction |
0de12aa3e23f4f88c01769788674034f33d63976 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/bool2s.man.tst | 584fab2546597a051d01f480c9d4777602f89582 | [
"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 | 60 | tst | bool2s.man.tst | clear;lines(0);
bool2s([%t %t %f %t])
bool2s([2.3 0 10 -1])
|
173fdf36a803e2e51cd3b2b824ff639978e7b6a4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Chemical_Reaction_Engineering_O._Levenspiel_249.zip/Chemical_Reaction_Engineering_O._Levenspiel_249/CH8/EX8.2/8_02.sce | be3f1fe2950f2f9e3783bf124175f9901713a6df | [] | 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 | 90 | sce | 8_02.sce | errcatch(-1,"stop");mode(2);
disp('Data is not provided,only graph is provided')
exit();
|
fe126a355b3d45a4a3b9a4ec879924c65f1bb831 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH4/EX4.1/ex4_1.sce | c7973f6af3cb08430f3f9a7b8275d366a4f69695 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | ex4_1.sce | // Example 4.1, page no-209
clear
clc
//(a)
k=50
m=0.005
wn=sqrt(k/m)
printf("(a)\nNatural frequency(wn)= %d rad/s",wn)
//(b)
Cc=2*sqrt(m*k)
printf("\n(b)\nCc=%d",Cc)
|
b682d5445f334fc1bef9bec4d517e177baa78bdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH14/EX14.9/example14_9.sce | f5be518eb18f5c9df6164214f867a490270ef7ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | example14_9.sce | clear
clc
//Example 14.9 CENTRIFUGAL COMPRESSOR
p1=100; //pressure [kPa]
p2=200; //[kPa]
k=1.4;
Q1=1;//discharge [m^3/s]
eta=0.65; //efficiency
//Theoretical power
Ptheo=(k/(k-1))*Q1*p1*[(p2/p1)^((k-1)/k)-1] //[kW]
//Shaft power
Pshaft=Ptheo/eta //[kW]
printf("\nThe shaft power required to operate the compr... |
968175be75af069a6611a089be7573ad63a19a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.12/Ex19_12.sce | 2f804b54f9582653a03488cc2b6591a4bd77d787 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_12.sce | //Ex19_12 Pg-962
clc
oct='257'; //binary input
dec=oct2dec(oct) //decimal output
disp("The decimal equivalent of 257 is")
disp(dec)
|
1d732549489bb4204d392df92d7763790621ecaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.34/EX6_34.sce | 0769e3434b6ccfe7e6cc0596c8c7eca15fdbe41f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | EX6_34.sce | //Example6_34 // To design a phase shifter
clc;
clear;
close;
f = 2*10^3 ;
PS = -135 ;
// the phase shift
// PS = -2*atand(2*%pi*R*C);
//RC = 192.1*10^-6 ;
C = 0.1*10^-6 ;
R = (192.1*10^-6)/C
disp('The value of resistance is = '+string(R)+ ' ohm');
|
4f1b2a6194b97e2107d5804e929f5aabf6c6619f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Mechanical_Engineering_S._Chandra_And_O._Singh__2267.zip/Introduction_To_Mechanical_Engineering_S._Chandra_And_O._Singh__2267/CH12/EX4.9/Ex12_9.sce | c42873dec6a7d7904a1b224db23f90393c9acff4 | [] | 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 | 281 | sce | Ex12_9.sce | errcatch(-1,"stop");mode(2);//Part B Chapter 4 Example 9
;
;
d=120;//mm
D1=120;//mm
D2=60;//mm
ThBYTs=(D1^4-D2^4)/d^4;
WhBYWs=%pi/4*((D1^2-D2^2)/(%pi/4)/d^2);
disp("Strength ratio, Th/Ts is "+string(ThBYTs));
disp("Weight ratio, Wh/Ws is "+string(WhBYWs));
exit();
|
522ef4c4c49d2ff6f903150ae0a51219bbe7910e | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/foot11.tst | d673b20e9bb14252d76d460f068857169570bf3b | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | tst | foot11.tst | argc:7
Dataset: ../datasets/converted/football.net
Nodes Edges Com Mod NMI Time
seq async 115 1226 9 0.602529 -1 0.000248959
par async 115 1226 13 0.50171 -1 0.071628
|
2bd870d5c34c20df954884efcdd353f27138e15e | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH18/EX18.5/ex_18_5.sce | f3a85c3e62b7e2095ecc3579c81075061d0fed7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | ex_18_5.sce | //find..
clc
//soltuion
//given
d1=400//mm
r1=200//mm
d2=1600//mm
r2=800//mm
q1=2.5//rad
q2=3.78//rad
u1=0.3
u2=0.25
N1=700//rpm
P=22.5*10^3//W
t=0.005//mm
f=2.3*10^6//N/m^2
//ref fig 18.19
v=%pi*N1*d1/60//m/s
//let T1 and T2 be tneion on tight and slag side
printf("the vel of belt is,%f m/s\n",v)
... |
32508f28ac96f97dfb8e1731408b59940ce03700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH11/EX11.6/11_6.sce | 9d7e61b4fc0a3a83437ee2621e5a842491d00733 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,445 | sce | 11_6.sce | clear
clc
//Example 11.6
disp('Example 11.6')
//Drawing on example 11.4
s=%s;
theta=1;tau=100;K=100;
delay=(1-theta/2*s+theta^2/10*s^2-theta^3/120*s^3)/(1+theta/2*s+theta^2/10*s^2+theta^3/120*s^3);//Third order pade approx
G=K*delay/(tau*s+1);
Kc=0.556;taui=5;
Gc=Kc.*(1+(1)./([taui]*s))
G_CL=syslin('c',Gc*G./(1+Gc*... |
b43f8665a2bfa36c2562dcadb6c91311e4632017 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/percent/%ras.sci | 4bc00e2d1834eda0971400d2617226e2b731ac4c | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 166 | sci | %ras.sci | function [f]=%ras(f,m)
// f=%ras(f,m) <=> f = f+m
//!
[p,q]=size(m);
if p+q=-2 then m=m*eye(f(3)); end;
if p*q=1 then f(2)=f(2)+m*f(3);return;end
f(2)=f(2)+m.*f(3)
|
c0a696e911ac0b93861b3138c2d8a363f1e76de0 | 59ca8642f974b397e1747edc1015fce8b8e6c59f | /horner.sce | 84d24244e8329d6ea5d31ec5c80955e8d53bdc1c | [] | no_license | mcortex/scilab-code | c6a367b216e531d0ebe3cda5d4a84156b23d2085 | 2709299d60d9e72294b274773bdadb4126a25ba9 | refs/heads/master | 2020-05-26T05:49:42.441734 | 2019-12-06T02:06:49 | 2019-12-06T02:06:49 | 188,126,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | horner.sce | //COMO USAR:
//A=[x0 x1 x2 ... xN]
//D=[f[x0] f[x0 x1] ... f[x0...xN]]
//N=grado del polinomio
//horner(A,D,N,x)
//Grafico f(x)
//x=-10:0.1:10;
//plot2d(x, f(x));
//xgrid(3,1,7); //muestra grilla
function horner(X,d,N,x) // X=vector de raices, d=diferencias divididas, N=grado(P(x))
p=d(N+1); // es N+1 porque lo... |
07eb019a008b1a6372e8822301eb22196f43353c | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH41/EX41.6/Example41_6.sce | f6ff6277d1ab70d2ea723c1013aa5da39abba536 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | Example41_6.sce | //Given that
lambda = 550*10^-9 //in m
T = 300 //in K room temprature
h = 6.62*10^-34 //in J-s
c = 3*10^8 //in m/s
e = 1.6*10^-19
K = 8.62*10^-5*e
//Sample Problem 41-6a
printf("**Sample Problem 41-6a**\n")
deltaE = h*c/lambda
ratio = %e^(-(deltaE)/(K*T))
printf("The ratio is equal to %e\n", ratio)
... |
8a9e05de4fafe565ff8b1d9dec74a94d980469e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/ext.sci | 469e68f2a59574dbb65f6e89678e745f2a657578 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sci | ext.sci | // function [B,degB] = ext(A,degA,k,l)
// EXTRACTS THE (k,l) ELEMENT OF A polynomial matrix A into B
function [B,degB] = ext(A,degA,k,l)
[rA,cA] = polsize(A,degA);
degB = degA;
B = zeros(1,degB+1);
for m = 0:degB
B(1,m+1) = A(k,(m*cA)+l);
end
[B,degB] = clcoef(B,degB);
endfunction;
|
79d25c421a2d5f3b9367eba2a83c524fc5198eed | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_High_Voltage_Engineering_Theory_And_Practice_M._Khalifa_3369.zip/High_Voltage_Engineering_Theory_And_Practice_M._Khalifa_3369/CH19/EX19.2/Ex19_2.sce | 01c55e94708cd04c2ee92753ba857453d6a5a067 | [] | 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 | 246 | sce | Ex19_2.sce | errcatch(-1,"stop");mode(2);//Chapter 19,Example 2,page 667
//Determine the pumping pressure
p0 = 30*10^-3 // C/m^3
V = 30*10^3 // V
P = p0*V
printf("\n The pumping pressure P = %f N/m^2",P)
// Answers may vary due to round off error
exit();
|
9c6c1f6f7e882855163cb5fd2d41427f825c07c0 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/Min_detect.sce | 09f69e8ffbe8c67d6f29701e5703d0f9fc02668c | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,371 | sce | Min_detect.sce | //**************************** Min_detect **********************************
if (blk_name.entries(bl) == "Min_detect") then
mputl("#Min_detect",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
Min_detect_str= '.subckt Min_detect'+' in[0]=net'+string(blk(blk_objs(bl),2))+'_'+string(ss)+' out[0]=net'+string(b... |
d60d052b52cf10ac34f8a19e36a34998ccb20dde | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH9/EX9.19/Ex9_19.sce | d79e99a17dcdc9d93386714ca64504ccc6761f1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | Ex9_19.sce | //Initilization of variables
L=1000 //lb
P=10 //lb
//Calculations
mu=log(L/P)/(4*2*%pi)
//Result
clc
printf('The coefficient of friction is %f',mu)
|
30bd7470c4c654e18a7c28da8870c3f7920b3ee3 | 430dbe3d1e055ef1ba68148cfda4e8798774dfe9 | /bitseal.tst | 9935c720d953c0e388a870f6ac19c6b9c169523e | [] | no_license | campassi/bitseal | bff7817b2e393d961c19028871d47c9d793a8d33 | 477e363f9f91b1d23cc1a80792f188e1f64ca7b7 | refs/heads/master | 2021-01-17T15:11:46.907004 | 2018-06-28T14:36:19 | 2018-06-28T14:36:19 | 20,122,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,310 | tst | bitseal.tst | :::::::::::::::::::::::::::
::deep SHA256 round testing
bitseal 64-bit Debian 7 vps
passwd: 'Satoshi Nakamoto'
sharnd: '0x93a4bfec9','39632764617'
calctm: '17674 secs'
prvkey: '26f8f2f71b246d21bf292d724648ff00452e32060c0ed8b7811f3817886d04c2'
prvb58: '5J7T5dUirMX2LLJVoVy3gxxVBUFNrifK7hRaUbwvK89QxeAvNj5'
pubb58: '1Dx6nf... |
49f2f47900404fcbd8c0ee99018a1d3b2a0428aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH4/EX4.20/20.sce | 6e78d3f9afc25e31c7066a29db03180da8225910 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | 20.sce | clc
// Given that
theta = 13 // rotation of plane of polarization in degree
s = 65 // specific rotation of sugar solution in degree per decimeter per unit concentration
l = 2 // length of Polari meter in decimeter
// Sample Problem 20 on page no. 221
printf("\n # PROBLEM 20 # \n")
c = theta / (s * l) // calculation fo... |
2e554e45080be298aa478dd7beaa17ae0b704ede | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/transpose-023.tst | aa1bedf980b94782e7fb6992540b7f518fe4abb9 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23 | tst | transpose-023.tst | ../inputs/sep-4x3.nosep |
02c4b1ddcb1fb1fd988c0cc4cf4fa95ffeb197c9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Electric_Drives_J._S._Katre_2207.zip/Introduction_To_Electric_Drives_J._S._Katre_2207/CH1/EX1.18.1/ex_1_18_1.sce | ea8a197f77d69590c94afa4199432abe80d241b7 | [] | 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 | 404 | sce | ex_1_18_1.sce | errcatch(-1,"stop");mode(2);//Example 1.18.1: voltage of the capacitor
;
;
format('v',7)
r=10;//in ohms
l=10;///inductance in mH
c=10;//capacitance in micro farads
v=100;//in volts
t=((%pi)/(sqrt((1/(l*10^-3*c*10^-6))-(r^2/(4*(l*10^-3)^2)))));// time in seconds
vc= v*(1-cosd(t/(sqrt(l*10^-3*c*10^-6))));//in volts
disp... |
b0e1173d7491e19f50f0ba92a499d682863c5581 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH11/EX11.6/85ex1.sce | 0348aef5f4b19d092670405d723d263394024b16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | 85ex1.sce |
//x+2*y=5, 3*x-2*y=7
clear;
clc;
close;
x=poly(0,'x');
//graph of x+2*y=5
x=[0 -1 2 5];
y=(5-x)/2;
x_vs_y=[x;y];
plot(x,y,'b--.x')
//graph of 3*x-2*y=7
x=[0 -1 7/8 4];
y=(3*x-7)/2;
plot(x,y,'b--.o')
for x=1:100
if((5-x)/2==(3*x-7)/2)
break
end
end
mprintf("the solution of the equation is")... |
2924667550d81a67d39256e7ab29e721ded6f611 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH6/EX6.3/ex6_3.sce | 8253067ec18a12a66347135fecb0deaff000bf45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | ex6_3.sce | clc;
// Air conditioning unit
TL=278; // Operating temperature in kelvin
TH=318; // Operating temperature in kelvin
COP1=TL/(TH-TL); // COP of Air conditioning unit
QL=1; // For some calculation purpose
W1=QL/COP1; // Work input of Air conditioning unit
// Food refrigeration unit
TL=258; // Operating temperatur... |
71c3693bae5ff077f3bc1fe82222d6f6436dd3c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH15/EX15.3/114ex3.sce | 14445826053b60a453532cc50ce95c3008aae466 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | 114ex3.sce |
//simplify 3a(a^2-4ab+4b^2)/6a(a^2+3ab-10b^2)
clear;
clc;
close;
//the factors 3a(a-2b) are common to numerator & denominator.
mprintf("\n the fraction is :\n")
string('(a-2b)/(2a(a+5b))')
|
dd4ee447d2cc4fedb11f0131fe6b2ccd13f5a77d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.43/Ex1_43.sce | 7effd027a2219de5ee94c644b2c6a81e69e2aa7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 897 | sce | Ex1_43.sce | clc;
E=400; // supply voltage
l1=200; // load connected across 75% tapping
l2=400; // load connected between 25% and 100% tapping
t1=25; // 25% tapping point
t2=50; // 50% tapping point
t3=75; // 75% tapping point
V2=(t3/100)*E; // voltage across 200 ohm load
I2=V2/l1; // current through 200 ohm load
I1=(V2*I2... |
45350b279f0c4e7cfdae1b43a976e955092af7d3 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_blocks/mdaq_dac.sci | 3441773209e99c48d75cc61b7a646ad6a8557cc8 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 4,679 | sci | mdaq_dac.sci | function [x,y,typ] = mdaq_dac(job,arg1,arg2)
dac_desc = ["This block sets MicroDAQ analog outputs (AO).";
"DAC block allows to set terminate voltage which will be set at";
"the end of simulation in Ext mode.";
"";
"User can use option Terminate all DACs with voltage to set";
"same voltage at al... |
de87ff8ac7f570594fb3e94c0005bd92dbc2d179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH3/EX3.11/Ex3_11.sce | 59debe696172e9f8963720c4c05640505e0a54e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex3_11.sce | //Variable declaration:
D = 5 //Diameter of pipe (ft)
V = 10 //Fluid velocity (ft/s)
p = 50 //Fluid density (lb/ft^3)
u = 0.65 //Fluid viscosity (lb/ft.s)
F = 1.0/12.0 //Feet in an inch
VCp = 6.72*10**-4 //Viscos... |
582f8a1b30a6021d474c34a8af95df92b0986dfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH3/EX3.2/Example3_2.sce | 08a57fc8b86c0be7d41797a10754b800908faa97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 875 | sce | Example3_2.sce | clear;
clc;
// Illustration 3.2
// Page: 56
printf('Illustration 3.2 - Page: 56\n\n');
// solution
//***Data****//
d = 0.025;// [m]
avg_velocity = 3;// [m/s]
viscosity = 8.937*10^(-4);// [kg/m.s]
density = 997;// [kg/m^3]
//*********//
kinematic_viscosity = viscosity/density;// [square m/s]
Re = ... |
f16bf191e2922e11a2bbd6b37274c3c90ea88655 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 1/M6/questao2_m6.sce | e27b53ddf2528a364871288f258cb74b6aa87e1c | [
"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 | 377 | sce | questao2_m6.sce | G = zeros(3,3)
d = [1 0 0]'
x0 = [1 0 0]'
for i=1:3
for j=1:3
if i==j then
G(i,j) = 1/2
end
if abs(i-j) == 1 then
G(i,j) = 1/4
end
end
end
cu = 0
x1 = 0
cont = 0
while cu~=69
x1 = G*x0+d
if norm((x0-x1),1) < 10^(-2) then
cu = 69... |
dac6caef2e77fa5b3cb9bea8c0036867d482f526 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0035.tst | 602ad96e7b372138d621085cb328d8931775a62a | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6 | tst | 0035.tst | ;-s
|
c345a44e2037aeb3b8cacd5c4e820cc0af39cbd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH12/EX12.6/ex12_6.sce | 4622b6986e3425cbc840849ce1d9d819b7aa823b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | ex12_6.sce | // Network Synthesis : example 12.6 : (pg 12.4)
s=poly(0,'s');
p1=((2*(s^4))+(6*(s)^2)+1);
p2=((5*(s^3))+(3*s));
[r,q]=pdiv(p1,p2);
[r1,q1]=pdiv(p2,r);
[r2,q2]=pdiv(r,r1);
[r3,q3]=pdiv(r1,r2);
printf("\nEven part of P(s) = ((2*s^4)+(6*(s)^2)+1)");
printf("\nOdd part of P(s) = ((5*s^3)+(3*s))");
printf("\nQ(s)... |
cc6e79ffed072ea5647788e2beab26de05f4586a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Juggling Aimer.sce | 616a085dc88950ca31d4df4e4b59f52b3fd97398 | [] | 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 | 161,354 | sce | Juggling Aimer.sce | Name=Juggling Aimer
PlayerCharacters=Juggler
BotCharacters=Juggling Ball.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Juggler
AddedBots=Juggling Ball.bot;Juggling Ball.bot;Juggling Ball.bot
PlayerMaxLives=1
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=juggling_arena.map
MapScale=1.0
BlockProjectilePredict... |
256077918879928362d2f0a2fadff3391769da53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH7/EX7.2/Ex7_2.sce | db0b90153ec60ee98934345d68078cb4e620bee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex7_2.sce | clc
//initialization of new variables
clear
u=12 //m/s
w=10 //m
L=4 //m
rho=1.22 //kg/m^3
mu=1.8*10^-5
//calculations
ReL=rho*u*L/mu
Cd=0.0032 //from figure
D=2*Cd*1/2*rho*u^2*(w*L)
//results
printf('Total drag on plates is %.2f N',D)
|
6c1e842ea5e007792415e471afc0d32fb5df17cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH23/EX23.2/Example23_2.sce | d152a1f94b4a9a995ae7bff76dbcf37192b0b73f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | Example23_2.sce | //calculation of nuclear binding energy
clear;
clc;
printf("\t Example 23.2\n");
NA=6.022*10^23;//avogadro number
c=3*10^8;//speed of light, m/s
p=1.007825;//mass of proton, amu
n=1.008665;//mass of neutron, amu
mI=126.9004;//atomic mass of I, amu
pI=53*p+74*n;//estimated mass of I, amu
deltam=mI-pI;//m... |
d59908fb245b81d596bb4a9fd236fea42f63a8f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH8/EX8.3/8_3.sce | 0ab7c9bee3824199ad71de2961c4424b96a00123 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 8_3.sce | //Eg-8.3
//pg-369
clear
clc
A = [2 3 1 4 5];
n = length(A);
for(i = 2:n)
t = A(i);
j = i;
while((j > 1) & (A(j-1) > t))
A(j) = A(j-1);
j = j-1;
end
A(j) = t;
end
printf('Using the insertion sort method the arranged form of the given array\n')
disp(A)
|
da5ba96d162aa1508ef8419f5bb919fd625db460 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH1/EX1.14/Ex1_14.sce | df18ae977fb931d382b4afef8125281fff15c958 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex1_14.sce | //Initilization of variables
P=[4.82, -2.33, 5.47] //N
Q=[-2.81,-6.09,1.12 ] //m
//Calculations
M=P*Q' //Nm
//Results
clc
printf('Result is:%f N.m',M) //N-m
|
7cc03811438393130d80b6363b22c884e631b08a | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.2/example_5_2.sce | 6972bf74587a608a577e4d68699a822393986d39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | example_5_2.sce | syms G1 G2 G3 G4 G5 H5
//with X(s)=0
a= G2/(G2+1)
b= a*G3*(G5/(1+G5*H5)) //G5 and H5 are in a loop
c= b/(1+b) //unity feedback
Y= G1*c
disp(Y,"R/S=")
//with R(s)=0
x=G2/(1+G2)
y=G5/(1+G5*H5)
z=x*(-G3)
Y2=y/(1-(z))
disp(Y2,"X/C = ")
|
bfd72983dbabf1f8893a798ee05ef0e97d2ba774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH11/EX11.8/11_8.sce | 659a9eba1293e817116c026511595cb0cad76792 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 11_8.sce | clear;
clc;
//Example - 11.8
//Page number - 394
printf("Example - 11.8 and Page number - 394\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 11.8 on page number 394 of the book.
printf(" This problem involves provi... |
c377ec3c338faf89f1a8ef395c4143e6eb99c631 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.14_16.tst | f2f9578027e2d3b79a31396a44e3088dfd4060e0 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 43,648 | tst | bow.14_16.tst | 14 10:0.08333333333333333 13:0.06666666666666667 15:1.0 51:0.14285714285714285 56:0.3333333333333333 83:0.034482758620689655 96:0.09090909090909091 104:0.09090909090909091 105:1.0 144:1.0 160:0.25 171:0.5 288:1.0 300:1.0 435:1.0 535:0.25 710:1.0 751:1.0 979:1.0 1414:1.0 2965:1.0
14 3:2.0 6:0.25 7:1.0 10:0.1666666666666... |
bdb43c4149ddabc6cd7f5ff8f909b5e917a8b499 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH1/EX1.14/1_14.sce | 6843936c9a7a186a7e27b63a7c0c98d2f2c11012 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 1_14.sce | clc();
clear;
// To calculate the wavelength of an electron
V=10; //potential in kV
V=V*10^3; //potential in V
lamda=12.26/sqrt(V); //wavelength
printf("The wavelength is %f Armstrong",lamda);
|
15e9c3b57fb7dfd160933e18ed91908c83efd86c | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH7/EX7.5.3/exa7_5_3.sce | 4f01a06712baf2128ef619a47b994da91030a01e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa7_5_3.sce | //caption:stability_using_Routh-hurwitz_criterion
//example 7.5.3
//page 203
s=%s;
A=s^5+4*1.5*s^4+4*s^3+4*s^2+5*s+10;
C=2*s+5;
CL=A/C;
disp(CL,"C(s)/R(s)=");
disp('=0',A,"characteristics eq is:")
b=coeff(A)
n=length(b)
B=routh_t(A)
disp(B,"routh table:");
c=0;
r=1;
for(i=1:n)
if(B(i,1)<0)
c=c+1;... |
f50ec759dbc6a2bb8df1ecc1f567ef1385f93d43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH7/EX7.18/7_18.sce | 21c35fbc10592dcc5acffb62bd59e86d814eb0b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | 7_18.sce | clc
//Initialization of variables
Q=0.6 //m^3/s
l1=1200 //m
l2=800 //m
d1=0.3 //m
//calculations
V1=1.02 //m/s
d5= d1*l2*4^2 *Q^2 /(l1*%pi^2 *V1^2)
d=d5^(1/5)
//results
printf("diameter of the single pipe = %.2f m",d)
|
f7e510578ab93afd23b9b074a292d44accad5fb6 | 8b33899f15bd0509e32f6c06319b7b1557c745f5 | /a19.sci | 1a1692e6dd5d40afc8e9bd3c3d1dc1e6adc8131e | [] | no_license | c00kiemon5ter/NumericalAnalysis | fd162663f6a9a4cc6c648e41a1412fa71e83a75c | 1ff51ff805017100ebb87a98b5fef7acca3d0692 | refs/heads/master | 2021-01-01T19:15:21.559444 | 2014-06-25T09:39:25 | 2014-06-25T09:39:25 | 8,290,126 | 1 | 1 | null | 2014-06-25T09:39:25 | 2013-02-19T12:51:16 | Scilab | UTF-8 | Scilab | false | false | 3,538 | sci | a19.sci | // Exercise A19
// ------------
// Find the relative and absolute error of
// n! ~ sqrt(2·Pi·n)·(n/e)^n
// for n = 1, ..., 10
MIN = 1
MAX = 10
STEP = 1
for n = MIN : STEP : MAX
orig_val = factorial(n)
appr_val = sqrt(2 * %pi * n) * (n / %e)^n
abs_err = abs(orig_val - appr_val)
rel_err = abs(abs_err / orig_val)... |
2788d77a192f96e13f29b1fc4c148c5a37e0cacb | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ci_usi/~BivLCM-SR-bfas_ci_usi-PLin-VLin.tst | 4004a6e122769425e5ef761d2a14c985de36d8f0 | [] | 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-bfas_ci_usi-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.341965D+00
... |
b4e41814fa7173ef42b6e4eeb701535bc8baf042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH5/EX5.5/5_5.sce | 2611b65e8e347274ba857b18ec511108f13829dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | 5_5.sce | clear//
//Variables
VS1 = 5 //Voltage source 1 (in volts)
VS2 = 3 //Voltage source 2 (in volts)
V6 = 0 //Voltage drop across 6 ohm resistor when AB is open (in volts)
R1 = 6 //Resistor (in ohm)
R2 = 4 //Resistor (in ohm)
//Calculation
I = 5.0/4 ... |
4ff8d51e097153ab5970a743358c285d301fa3db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH11/EX11.7/Ex11_7.sce | b7148f9193590e8f351651534dada25ea310c1eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,100 | sce | Ex11_7.sce |
//Ex11_7
clc;
//Given:
density1=11.35;// density of copper
l=6.022*10^23;// avogadro constant
ue=0.211;// electron absorption coefficent in barn per electron
// 1 b=10^(-24) cm^2
//solution:
uPb=ue*82;//atomic absorbtion coefficient in b/atom
umPb=(6.022*10^23*uPb*10^-24)/207.2; // mass absorbtion co... |
81ceab9b9e815541169c415d8c0adb2f0b63d866 | 699bbb1f6c4a720a48f3844d3ee3cff329d417cd | /LU.sci | 18142b4664073e5a723d0637db9349ed7c0c54f1 | [] | no_license | bruna-prog/Scilab | a665405577f57c2de1117bbc8d2f4457ebefe753 | a5c8786130310258cf3a108f5f8f7759115f79e5 | refs/heads/main | 2023-01-05T19:48:25.264773 | 2020-10-31T01:52:19 | 2020-10-31T01:52:19 | 308,180,244 | 0 | 0 | null | 2020-10-31T01:52:20 | 2020-10-29T01:02:27 | Scilab | UTF-8 | Scilab | false | false | 270 | sci | LU.sci | function LU(a,n)
n = input('nº de equações' )
//matriz
for k = 1,n - 1
for i = k + 1,n
fator = a(i,k),k/a(k,k)
a(i,k) = fator
for j = k + 1,n
a(i,j) = a(i,j) - fator * a(k,j)
end
endfunction
|
9ad1c4fea0d1bb80cc7ae57842befad846765572 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.21/ex9_21.sce | 6a133b71bc045b4424df8a4e0aa87afb17eb7c38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 949 | sce | ex9_21.sce | // Exa 9.21
clc;
clear;
close;
format('v',8)
// Given data
VA = 400*10^3;// in Mean
Eta_fl = 98.77/100;// in %
phi1= acosd(0.8);// in °
phi2= acosd(1);// in °
Eta_hl = 99.13/100;// in %
n = 1/2;
//For full load, Eta_f1 = ((VA*cosd(phi1))/( VA*cosd(phi1) + Pi + Pcu_f1 )) or Pi+Pcu_f1 = VA*cosd(phi1)*(1-Eta_... |
502f03b47725b60267e961d6cacdca10b26177bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH7/EX7.7/Ex7_7.sce | 6d26984d16275166cf4a3f011bac89c6d0826343 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Ex7_7.sce | //Chapter 07: Discrete Probability
clc;
clear;
max_integers=100
E1=100/2 //event that random integer is divisible by 2
E2=100/5 //event that random integer is divisible by 5
E1IE2=100/(5*2) //event that random integer is divisible by 5 and 2
pE1=E1/max_integers //probability of event E1
pE2=E2... |
9db791a430af653b843332f6a201d48a58608412 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.19_5.tst | afcb712dfb711446bd779c6e4880bfbf26a8641a | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,781 | tst | bow.19_5.tst | 19 55:1.0 253:0.125 343:1.0 1195:1.0
19 1:0.0625 3:0.018867924528301886 1205:1.0
19 43:0.25 55:1.0 122:1.0 1482:1.0
19 1:0.0625 3:0.018867924528301886 109:1.0 1125:1.0 1205:1.0
19 55:1.0 57:0.125
19 1:0.0625 3:0.018867924528301886 57:0.125 154:1.0 253:0.125
19 55:1.0 57:0.125
19 1:0.0625 3:0.018867924528301886 253:0.12... |
be98ae2311a2eb1901ab31101a8b98000845f6d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH11/EX11.1/Ch11Ex1.sce | 332edce9870cd90075943d59bb91d3fecdecc5bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | Ch11Ex1.sce | // Scilab code Ex11.1: Pg 380 (2005)
clc; clear;
// Part (a)
f = 1.15e+11; // Frequency of transitions, Hz
omega = 2*(%pi)*f; // Angular frequency of absorbed radiations, Hz
h_cross = 1.055e-34; // Reduced planks constant, J-s
// Since E = (h_cross)^2/I_CM = h_cross*omega, solving for I_CM
I_CM = h_cross/... |
1b40439ab32b6ac7520d370296645da854938007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.42/ex5_42.sce | 9f804085fc3b37df963a8c603cdf46e3ab7577f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | ex5_42.sce | //Chapter-5, Example 5.42, Page 209
//=============================================================================
clc
clear
//INPUT DATA
V1=400;//voltage in volts
Z1=(3+((%i)*4));//impedance in ohms
//CALCULATIONS
//in star connected system,phase voltage=(line voltage)
Ep=V1/(sqrt(3));//voltage in volts
Ip=... |
1a840be29b54c820a9c958523c46181fc535b33b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.14/2_14.sce | 8503a6ce11cfde420ecf1b2c84e323d13dbd228d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | 2_14.sce | //example 2.14
//aitken's process
//page 36
clc,clear,close
deff('x=f(x)','x=(3+cos(x))/2');
x0=1.5;
y=0;
e=0.0001;
c=0;
printf('successive iterations \tx0\t x1\t x2\t x3\t y\n')
for i=1:10
x1=f(x0),x2=f(x1),x3=f(x2);
y=x3-((x3-x2)^2)/(x3-2*x2+x1);
d=y-x0;
x0=y;
if ... |
3a1fa25cda3a76c91f2bd2b8b7489f122fc914a7 | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/jacobi.sce | 274287316298b9d37e2e2e39ed4f38cace02c278 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | jacobi.sce | //Rodríguez Montiel Moises Ulises
//2MN51
function X = jacobi(A, B, fx)
[m,n] = size(A)
iter = 0
if (m <> n) then
error("La matriz no es cuadrada.")
end
e = 5*10^-fx
X = zeros(n, 1);
y=[];
fin=%F;
while fin==%F
fin=%T;
for i=1:1:n
y(i)=B(i);
... |
4152a88a0ebed0f86c8fd20d7b9f7be66a18e8b1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/EVTGEN_f.sci | 08ab9d6356b228da01a40a6b816e1ae18cf9c219 | [
"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,106 | sci | EVTGEN_f.sci | function [x,y,typ]=EVTGEN_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz,label]=graphics([1:2 4])
model=arg1(3);tt=model(11)
xstringb(orig(1),orig(2),['Event at';'time '+string(tt)],sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inp... |
10022613e98b48b23a07e1cb3508ddd0532ccc3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH23/EX23.22/ex_23_22.sce | 2c6358851333efed23b7d5ea9af2a15a955b3ed0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_23_22.sce | //find
clc
//solution
//given
b=6//mm
t1=0.25//mm
l=2500//mm
t=800//N/mm^2
E=200*1000//N/mm^2
M=t*b*t1^2/(12)//N-mm
printf("bending moment is,%f N-mm\n",M)
q=12*M*l/(E*b*t1^2)//rad
printf("angular def is,%f rad\n",q)
U=0.5*M*q
printf("energy stored is,%f N-mm",U) |
b9e632f37bd40d5b4effdc64eb644c892568acb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH4/EX4.26/ch4_26.sce | 497433665239cf8817892f5ef369807594013132 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | ch4_26.sce | clear;
clc;
V_p=18;
n=.72;
V_BB=V_p/n;
I_p=.6*10^-3;
I_v=2.5*10^-3;
V_v=1;
R_max=V_BB*(1-n)/I_p; printf("R_max=%.2f kilo-ohm",R_max/1000);
R_min=(V_BB-V_v)/I_v; printf("\nR_min=%.2f kilo-ohm",R_min/1000);
C=.04*10^-6;
f_min=1/(R_max*C*log(1/(1-n))); printf("\nf_min=%.3f kHz",f_min/1000);
f_max=1/... |
e412bb9e30803e26cc812db79ff26dfc73507a5d | db47620eb918b5ba167a04b7de7005091a4f6402 | /S1/AN_TP/trigGauss.sce | da6a82c24b80894cb8ea0b15b134915a38702a1c | [] | no_license | ZeyuC/ENSIIE | 04d13b3919084cac12d74dc9ca0fc7bd8bbb7d46 | c628c467de1ed91bf9eeb850b67717e5eb2697eb | refs/heads/master | 2021-04-15T08:15:16.823938 | 2019-04-09T08:06:39 | 2019-04-09T08:06:39 | 126,695,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | trigGauss.sce | //fonction : 'triGauss'
//paremetre : A une matrcie ,b,un vecteur de reel
//retour ; A un vecteur TS, b un vecteur de reel
function [At,bt]=trigGauss(A,b)
n = length(b);
for k = 1:n-1
if A(k,k)=0
printf("erreur");
return 1;
else
for i = k+1:n
... |
100cc2c1cbf39694bf5a6370574aba1f715800c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH9/EX9.6/chapter9_ex6.sce | a62fe5be923e4d79794c51856a394020e12c69b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | chapter9_ex6.sce | clc
clear
//input
vp=440;//primary voltage in volts
vs=240;//secondary voltage in volts
f=50;//supply voltage in hertz
i0=0.5;//no load current in amperes
pf=0.3;//lagging power factor
//calculations
ii=i0*pf;//in phase component in amperes
r0=vp/(ii*1000);//resistance in ohms
iq=((i0^2)-(ii^2))^0.5;//qu... |
d23737d1126a3e087c92afa13b0d999150a4593d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.17/Ex4_17.sce | dd1e0a4df0c46c1a4cac497eb9c401383be70a92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | Ex4_17.sce | clc
// Given that
B = 20 // Width of the cut in mm
Z = 10 // No of teeth in milling cutter
D = 75 // Diameter of the milling cutter in mm
alpha = 10 // Radial rake angle in Degree
f = 25 // Feed velocity of the table in mm/min
N =60 // Rpm of the cutter
t = 5 // Depth of cut in mm
mu = 0.5 // Cofficient of friction
T_... |
548b98cb64039db6a0995b5058137e7969962f0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH13/EX13.1/13_01.sce | 732cf94e662ca4f9382b64e0d143b12c261bdc17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | 13_01.sce | //Chapter 13, Problem 1, Figure 13.3,
clc;
//branch currents in figure 13.3 (a)
I1=50-20;
I2=20+15;
I3=I1-120;
I4=15-I3;
I5=120-40;
disp("(a) from Fig. 13.3(a).");
disp("For junction B:");
printf("I1 = %d A",I1);
disp("For junction C:");
printf("I2 = %d A",I2);
disp("For junction D:");
printf("I3 = %d ... |
5e747bb37776d6a193889ff30e3140da131b317d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH9/EX9.16/Ex9_16.sce | 5cf138d0e29dafc01ab29f29903e68664f1be10b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | Ex9_16.sce | // Example 9_16
clc;funcprot(0);
// Given data
T_3=-10+273;// K
T_2=-40+273;// K
r=10;// The compression ratio
c_p=1.00// kJ/kg.K
k=1.4;// The specific heat ratio
// Calculation
T_4=T_3*(r)^((k-1)/k);// K
T_5=T_3;// K
T_6=T_2;// K
T_1=T_6*(1/r)^((k-1)/k);// K
T_1C=T_1-273;// The minimum cycle temperature... |
57d48797c83365ed34aafee433bbf6c73573bf17 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/authorswrite.tst | 57d4215b89f000d04f2ddb729f305264e63da788 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | tst | authorswrite.tst | ## Regression test authors write format
# Expected format: USER = Name <USER@DOMAIN>
read <authorswrite.fi
authors write
|
65778df0df3239e92ee3010fd5d279b47b02860a | 65a7d82662b27e0f753f5125002922a6fe14d001 | /BIND_scripts/import/Training/scenarios/natio2.sce | c3ca5b2008cf5a54df991bf34c30b8ea8f138205 | [] | no_license | Anais-Hoarau/BING_GUI_Plugins | 12f6308cad028e338022ce658e2d12d61115d412 | 59f50d7e990dc8a19173652f52831785a0848b91 | refs/heads/master | 2023-05-13T05:22:44.647105 | 2021-06-02T16:00:31 | 2021-06-02T16:00:31 | 360,511,786 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 34,913 | sce | natio2.sce | V4.6
français
commentaireManip= Manip training1 2010 rédigé par Joceline !! TACHE DE DETECTION NATIO2
nbreCoups= 251
numeroVhSujet= 0
autoriserHyperDepSgi= oui
lancerMdv= non
sautAleatoire= Oui
INSTRUCTION_VARIABLES()
DECLARE(dist,ENTIER)
AFFECTE(dist,0)
FIN
INSTRUCTION(0,0,FAUX,FAUX,VRAI,VRAI)
SI Immediate()
... |
cd46efccce816a493669cd1bbfab6980a9f82ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.18/2_18.sce | 549e445ea4a1daf75df2d38b5451b92a73e3fbf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | 2_18.sce | clear; clc; close;
amp = 20;
vi_t = -5;//transition voltage
t = 0:0.1:2*%pi;
vi = amp*sin(t);
vo = vi+5; //output voltage
disp(vi_t,'transition voltage : ');
for i = 1:length(t)
if(vo(i)<=0)
vo(i)=0;
end
end
plot(t,vo);
xtitle('Ouptut voltage','t','vo'); |
cb5ef1a651338855e911af756eb496504ac84123 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.16/ex13_16.sce | b8a97445f2fb1691b1aa78d6bf91786efde69bbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | ex13_16.sce | //Chapter-13, Example 13.16, Page 391
//=============================================================================
clc
clear
//INPUT DATA
deltaIe=1*10^-3;//change in emitter current in A
deltaIc=0.995*10^-3;//change in collector current in A
//CALCULATIONS
a=deltaIc/deltaIe;//common-base DC current gain
b=a... |
7ce07152d893dd537b8c6c334f0ca9670f3864dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH4/EX4.15/Ex4_15.sce | e704f461eb4388486fc27d6c77fed76ac7744a42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex4_15.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 4 Example 15")
T1=(500+273);//temperature of source in K
T2=(200+273);//temperature of sink in K
T3=(450+273);//temperature of body in K
disp("let the output of... |
6406f0433a6fe7021e7c445625faf234192759b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH2/EX2.21/Ex2_21.sce | 5e2fcafa40925b72cf1060a41ff742dcbaca565f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | Ex2_21.sce |
//Variable Declaration
rI=-4685.3 //I component of radius vector from Example 2.16(km)
rJ=5047.7 //J component of radius vector from Example 2.16(km)
rK=-3289.1 //K component of radius vector from Example 2.16(km)
aE=6378.1414 //Semimajor axis (km)
eE=0.08182 //Eccentricity
//Calculation
r=sqrt(rI**2+rJ**2+rK... |
f7bb94368f1801d2dfe8bd373021068146670e03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH16/EX16.9/EX16_9.sce | 46b838f9f346954589028bf602e5230f273593d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | EX16_9.sce | //Example 16.9
clc
k=3.7
e0=8.85*10^-12//in c2/N.m2
A=6*10^-4//in m2
d=1*10^-3//in m
c=(k*e0*A)/d
disp("solution a")
disp(c,"Capacitance in farad=")
disp("solution b")
E_max=16*10^6//in v/m
delta_v_max=E_max*d
disp(delta_v_max,"Voltage in volt")
Q_max=delta_v_max*c
disp(Q_max,"Maximum charge in columb=") |
d54849b55fdb1a18243dec4ce00042b390d29131 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/143.ted.sci | 0dbd720bfc6dbd398d0a6d133f426441046cf62a | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 17,435 | sci | 143.ted.sci | so i want to talk to you today about aids in sub saharan africa and this is a pretty well educated audience so i imagine you all know something about aids you probably know that roughly 25 million people in africa are infected with the virus that aids is a disease of poverty and that if we can bring africa out of pover... |
15e1e74d9f509bb29e188e63e5dc2e72fad89be2 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_sublat_list.sci | f86e8046049456071c4885ef64c6a3a3364f650c | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,058 | sci | PIL_sublat_list.sci | // **** Purpose ****
// This function lists all the sublattices within the assigned unit cell
// range.
// **** Variables ****
// [lat_vec]: 3x3, real
// <= lattice row vectors
// [sublat]: nx3, real
// <= cartisian row vectors of each sublattice
// [vec_order]: 1x1, integer
// <= the unit cell range: n1*a1+n2*a2+n3*... |
ad046302b32842689342ec8920bc4d87e2af4e5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.17/Ex3_17.sce | 252ebf52db9eb6c639f07a5fd3a0aa829c2d8ce2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | Ex3_17.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.17
//Data given in the Problem
l=5
w=2
theta=60
g=9.81
W=5000*g
dens=1000
//Calculations
h=poly(0,"h") //depth of the CG of the body
AD=h/sin (theta*%pi/180)
A=AD*... |
f9f9707e1fe5bfd2ba365cc815ebcdc7cc7457b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH6/EX6.11/6_11.sce | 429a4fbeeb23b0616e8b7c84bd1fa9edc271d5b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_11.sce | //Problem 6.11:
//initializing the variables:
T1 = 540; // in deg F
T0 = 300; // in deg F
T2 = 300; // in deg F
T3 = 60; // in deg F
TDDF = 0;
m = 1;
Cp = 1;
//calculation:
dShc = m*Cp*log((T0 + 460)/(T1 + 460))
dScc = m*Cp*log((T2 + 460)/(T3 + 460))
//for one exchanger
dSc = dShc + dScc
//exchanger D... |
6844d3d9f17d9df2c9f1b242ef9ca2cc84e51e38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH3/EX3.17.1/ex_3_17_1.sce | 87002e576e7a62c4d3d48164b765187073d406ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | ex_3_17_1.sce | //Chapter-3,Example3_17_1,pg 3-35
A=650*10^-6 //area
d=4*10^-3 //seperation of plate
Q=2*10^-10 //charge
er=3.5 //relative permitivity
e0=8.85*10^-12 //absolute... |
6b210a555ae6918c37ef24c3db000d3ef7dff102 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH5/EX5.2/Ex5_2.sce | 41f63e657c14965c02e009f2b74d1eab0b9b99aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex5_2.sce | clc;
//page 229
n=3; // no of segment
L=[600,650,250];//mm, Lengths of segment AB , BC and CA respectively
x=[300,300,0];//mm, x components of centroids of segment AB , BC and CA respectively
y=[0,125,125];//mm, y components of centroids of segment AB , BC and CA respectively
sumL=0;
sumxL=0;
sumyL=0;
for(... |
cc58a3c7d95d7478a2324bbdb7e7faf36e98ef4b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peak2peak/peak2peak4.sce | faeebed70a343d05f7235a47c0106a2aa1a933d7 | [] | 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 | 84 | sce | peak2peak4.sce | a=[1 2 3;1 2 34;2 3 54];
y=peak2peak(a,1);
disp(y);
//output
// 1. 1. 51.
|
4df42a18d244b57c0c0bccb5eed4bb6497ea5bb3 | 8f6e75c4b76c4849ce20caab04ece14855e3ddfe | /SQL/Цфт/(3)/SQL/task_5_доработка.tst | da330347931955c2ce7956c2395fc8e3050d308b | [] | no_license | scorpion235/Archive | f13dca77c542a1d6fea8c92afd2ccf6b4a98b75b | dde5675175a8a50abe8850db7ae15621345bf140 | refs/heads/master | 2022-12-22T23:38:54.614524 | 2022-12-13T19:38:01 | 2022-12-13T19:38:01 | 39,003,632 | 1 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 1,739 | tst | task_5_доработка.tst | PL/SQL Developer Test script 3.0
47
declare
dateb date;
datee date;
start_weekb date;
start_weeke date;
holiday_count integer;
week_days_count integer;
days_count integer;
begin
--минимальная дата
dateb := least(:date1, :date2);
--максимальная дата
datee := g... |
f7f357f7914e5ad6b503673977feb4caee261aab | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos_blocks/INTRPLBLK_f.sci | 2c5d5819f02336341e63eadd6d2f1f65deca8c8d | [
"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,105 | sci | INTRPLBLK_f.sci | function [x,y,typ]=INTRPLBLK_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg... |
4af1241789ba605ba1d9edfd3dfac9b134d091ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.22/EX3_22.sce | 157ac8fc100431c87341c549609f29888b51ca4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | EX3_22.sce | //Calculate efficiency //Chapter 3
//Example 3.22
//page 231
clear;
clc;
disp("Example 3.22")
kVA=200; //Rating of the transformer
Pin=3.4; //power input to two transformer in watt
Pin2=5.2;
coreloss=Pin; //core loss of two transformers
phi=acosd(0.8);
printf("\nCore l... |
0d07eb821cad438f40381df5bf9d769cbb3e603a | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH3/EX3.16/3_16.sce | cb31d0299492f88578b411fae3280fcd83099760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | 3_16.sce | //pathname=get_absolute_file_path('3.16.sce')
//filename=pathname+filesep()+'3.16-data.sci'
//exec(filename)
//Initial pressure(in MPa):
pi=0.5
//Initial volume(in m^3):
vi=0.5
//Final pressure(in MPa):
pf=1
//Atmospheric pressure(in Pa):
patm=1.013*10^5
//Final volume(in m^3):
vf=3*vi
//Work done(in J):
... |
dbbc6b5eb4ff1e3e94c8fe238231b59bdd754e5a | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2mb/test_12.sce | 1293c475484e6d1d09018a2ab245d7b1d1581798 | [] | 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 | 878 | sce | test_12.sce | // Test #12 : For complex vector inputs including flag
exec('./zpklp2mb.sci',-1);
[z,p,k,n,d]=zpklp2mb([%i,4*%i],[3*%i,7*%i],4,0.6,[0.1 0.6],'stop');
disp(d);
disp(n);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//d=1. - 0.5403505 - 0.1583844
//n=- 0.1583844 - 0.5403505 1.
//k=0.7650736 - 0.0932510i
//p=0... |
97fe98eaa1954ccc9a33827269c8572e961a2d49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH3/EX3.11/Chapter3_Example11.sce | 38f96d9c7a9fa03b102fc78b7ed2ef283bc35308 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,858 | sce | Chapter3_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-3, Illustration 11, Page 63
//Title: Calculation of volume change with change in composition
//====================================... |
b606d803a793493012daf645dfa0f7cbfd5912f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.7/Ex5_7.sce | d74e6e6652c90dd587e71ba22f2cb2f98aa3dab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sce | Ex5_7.sce | clc;
v=2300; // rated voltage of motor
xs=12 ; // per phase synchronous reactance
p=200000; // VA rating of motor
l1=120000; // initial load
l2=60000; // final load
vt=v/sqrt(3); // rated per phase voltage
ia=l1/(3*vt); // minimum armature current
ia1=1.5*ia; // armature current at reduced load (50% increment)
... |
e52e467c2a5866fdd5fa5af73459428f609d6cd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.92/Ex92.sce | f627005a4b18db3b007f38596f9a324989e03519 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 842 | sce | Ex92.sce | //Ex:92
clc;
clear;
close;
b_c=72;//carrier BW in MHz
f_c=1190;//Center freq in MHz
f_i=140;// first intermediate freq in MHz
f_smx=14500;//max uplink freq spectrum in MHz
f_smn=14000;//min uplink freq spectrum in MHz
f_l1=f_c-f_i;// in MHz;
f_l1=f_c-f_i;// in MHz
f_l2mx=f_smx-f_c;// in MHz
f_l2mn=f_smn-f_c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.