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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ad81b3d44b578ad11592ae605e6d5af0a3cd71e5 | b68ae1fc3cd37c85031f69e42d92903b7f1a90ab | /projects/07/MemoryAccess/PointerTest/PointerTest.tst | 694d50e68ae7bc921014eb37b92516deccaefd88 | [] | no_license | bricef/The-Elements-of-Computing-Systems | fb3aa100c18176ccfc876e9d30319c0b8a5c7635 | 6be81eacaa30ad57b06f018c0aecbcf7e04841bc | refs/heads/master | 2021-01-18T13:43:02.653913 | 2011-04-06T19:23:52 | 2011-04-06T19:23:52 | 1,578,790 | 5 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | tst | PointerTest.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/07/MemoryAccess/PointerTest/PointerTest.tst
load PointerTest.asm,
output-file PointerTest.out,
compare-to PointerTest.cmp... |
6fc74232d0ef406ac1bef05898b16d81eccf696a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH9/EX9.8/Ex9_8.sce | bd25455ef79cfeda6b8894a07d93c1292b272a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Ex9_8.sce |
//Chapter 9
//page no 304
//given
clc;
clear all;
L=850; //in nm
L1=0.850; //converted L in micrometer for using in given formula
A=0.5; //in dB/km
d=8; //in micrometer
Bw=1; //in Gz
Po=4.4*10^-3*A*Bw*L1^2*d^2;
printf(" \n Po(Th) = %0.3f W",Po);
printf... |
df60bf4871fdcef2f46fd01e1d9387b0bd251857 | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /spai.sci | f7253090e1cc688141f9ca8cdcc05ebf6fe457f1 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sci | spai.sci | sample_rate=1000;
t = 0:1/sample_rate:0.6;
N=size(t,'*'); //number of samples
s=sin(2*%pi*50*t)+sin(2*%pi*70*t+%pi/4)+grand(1,N,'nor',0,1);
y=fft(s);
|
aa80332356426bf4f04499ab0ce560375e4a7a8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH16/EX16.8/16_08.sce | eaa0ffa95f32df1a41bf6004f49671db5037e819 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | 16_08.sce | //Chapter 16, Problem 8
clc;
L=150e-3; //inductance in henry
C=40e-6; //capacitance in farad
V=50; //voltage
fr=(2*%pi)^-1*sqrt(1/(L*C)); //resonant frequency
Xc=1/(2*%pi*fr*C); //capacitive reactance
Icir=V/Xc; /... |
a7c662b8086d04de4250ad71c435d15acd3d2b04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH6/EX6.1/6_1.sce | a256603fea36c7825f88a0d67a3799a730be71e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 977 | sce | 6_1.sce | MW=249.6;//molecular weight of CuSO4.5H2O in grams//
w=0.3120;//weight of CuSO4.5H2O in grams//
V=0.25;//volume of the solution in litres//
printf('From Equation (a) 2 mol of CuSO4.5H2O liberates 1 mol of I2,i.e. 2 equivalents.\nHence the equlivalent weight of CuSO4.5H2O=mol.wt/1.');
printf('\nFrom equation (b) the... |
6242cd266a5010e9ccef4c00d2adc1182d55a9ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.45/Example1_45.sce | eb624a1b81047036cc4ea87e9e509e8a9bd4d056 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_45.sce | //Example 1.45
//
clear;
clc ;
close ;
t=0:0.01:10;
x=2*cos(5*t)+cos(300*t);
x1=2*cos(5*t);
b=[0.05 0.05];
a=[1 -0.9];
y=filter(b,a,x);
subplot(2,1,1);
plot(t,x);
xlabel('Time in Sec');
ylabel('Amplitude');
subplot(2,1,2);
plot(t,y);
subplot(2,1,2);
plot(t,x1,':');
title('x:SIGNAL WITHOUT NOISE y:S... |
583e2f7ea528fc683e6917c5560f8df7f50c557c | 09697f1820407362408542dc147b6c5a0281dd5a | /7(E).sce | c04ea1babd9bcad0267a36387df5fe3a6b0862e0 | [] | no_license | muitnet/DISCRETE-MATHEMATICS | f326ee3cc12958cee3100473c3cccd9c908c314f | 4598a406de5e29190ac04d1f3a722452494403cc | refs/heads/master | 2020-06-11T20:49:50.821691 | 2016-12-05T12:53:32 | 2016-12-05T12:53:32 | 75,624,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | 7(E).sce | x= poly(0,'x');
g =3*x^2-7*x+5
m=horner(g,2)// value of polynomial at 2
n= horner (g ,8) // value of polynomial at 8
j=m-n
disp(n,"for n=")
if( modulo (j ,6) ==0) then
mprintf ( '%i is congruent to %i(mod 6)',m,n)
end
|
5d4911a494cf52c6b356e38cd417c7c734fa3f3b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elementary_Principles_Of_Chemical_Processes_R._M._Felder_And_R._W._Rousseau_575.zip/Elementary_Principles_Of_Chemical_Processes_R._M._Felder_And_R._W._Rousseau_575/CH3/EX3.4.1/3_4_1.sce | e4ddde5328e9f54a3595fff8bca306263a6ceec0 | [] | 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 | 220 | sce | 3_4_1.sce | errcatch(-1,"stop");mode(2);
pathname=get_absolute_file_path('3_4_1.sce')
filename=pathname+filesep()+'3_4_1.sci'
exec(filename)
Pressure=Pressure*1000/(13600*9.807)
printf("Pressure =%E mm of Hg",Pressure)
exit();
|
20c55b734fccb04ea85ee5b578c438b8b6bd1cf2 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testwhereami.sce | 464cf5517d2b052f204a9560f15553110e51457c | [] | 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 | 121 | sce | testwhereami.sce | function y=foo1(x)
y=foo2(x)
endfunction
function y=foo2(x)
y=1+x^2
whereami()
endfunction
foo1(2)
foo2(2)
|
b5c3b9e52f625a0060918c49a087402ddded12fe | d56141249002a5da7c4a2641dbdfc609809046a8 | /w2k/w2k_dm_read.sce | c7ad10ff3c8bec8fbac6e13ab9603251078f0bf7 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,515 | sce | w2k_dm_read.sce | // This code read the density matrix in wien2k
// To use it, download the file case.dmatup and case.dmatdn or case.dmat for non-spin
clear; clc; exec(PiLib);
// Parameter ============================================
project_name='LDAUJ'
spin_deg='on'
// Main ===============================================
select spin_... |
9eb70e7e0cb85c8b3101496da569d139d00516aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.12/ex_3_12.sce | e8e29a7f3d50e34eb20d1dcc85387331bca9bce1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | ex_3_12.sce | // Example 3.12 : the percent second harmonic distortion
clc, clear;
Vcc=50; // voltage in volts
Vmin=5; // minimum voltage in volts
pi=3.142857;
Pd=40; // total power dissipation in watt
Icmax=Pd/(((2*Vcc)/pi)-((Vcc-Vmin)/2));
Pin=(2/pi)*(Vcc*Icmax);
Pout=((Icmax/2)*(Vcc-Vmin));
eta=(Pout/Pin)*100;
disp(Icm... |
16614e5e9962fe6b07497930aa9bdb233d1a2965 | ae04c56a04befaa02df7b98f8c38159cc1ca6ca4 | /lorentz diagram.sce | e8bf587007f4b793886d224daaaaac4934e8d173 | [] | no_license | suryaputra59/lorentz-_attractor | 14aed583a0d564a61af7785e20fc7af90dd2f7ba | ec6f3b6dd5f7b45e27022a3dbfb1394835ee3da5 | refs/heads/main | 2023-09-01T20:43:23.929652 | 2021-10-08T18:23:43 | 2021-10-08T18:23:43 | 415,085,164 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | lorentz diagram.sce | function ldot = f(t,l)
ldot = [sigma*(l(2,1)-l(1,1));
(r-l(3,1))*l(1,1)-l(2,1);
l(1,1)*l(2,1)-b*l(3,1)];
endfunction
/*x = l(1,1);
y = l(2,1);
z = l(3,1);*/
sigma = 10;
r = 28;
b = 2.66;
t = [0:0.001:20];
t0 = 0;
l0 = [0;1;1];
ls = ode(l0,t0,t,f);
param3d1(ls(1,:),ls(2,:),ls(3,:),90,80);
ti... |
3829c39459565317e08828b90acfad47895aee0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH18/EX18.11/Ex18_11.sce | 8cd28c3800b0e2ffa63cf606c62883812039753b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Ex18_11.sce | clc
d1 = 2 // Diameter of steel rod in cm
d2 = 16 // Diameter of cylindrical furnace in cm
e1 = 0.6 // emissivity of inner surface
e2 = 0.85 // emissivity of rod surface
T = 1093 // Inner surface temperature of furncae in degree celcius
Tr1 = 427 // Initial temperature of rod in degree celcius
Tr2 = 538 // Initi... |
4755bdc3bf0a2d8ef3d78ad038c81ed8f5e21158 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.2_8.tst | 81855bbc88116ea6712990d30df52f1ed5ec6cf7 | [] | 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 | 39,289 | tst | bow.2_8.tst | 2 10:0.3333333333333333 17:1.0 18:0.25 19:1.0 30:0.1875 39:0.6666666666666666 43:0.2 53:0.6666666666666666 56:0.0625 59:0.6666666666666666 63:0.2 68:0.09090909090909091 69:1.0 88:1.0 100:0.25 126:0.25 187:1.0 247:1.0 326:0.125 327:1.0 370:1.0 402:1.0 545:0.25 806:1.0 888:0.5 1093:1.0 1175:1.0 1248:1.0 1652:1.0 2012:1.0... |
64d9ec94490d442d1576f406c03e1242e26c0504 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/scripts/mpinsp/matu-nompi.sce | 72b62641ea30bbfeadf1e861c4adef036127c4a8 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | matu-nompi.sce | t=cputime();
Nt= 60;
result=[];
Maturities = linspace(1. /12,5,Nt);
for Maturity=Maturities
exec ('premia.sce');
result= [result; Maturity,L(1)(3)];
end
t=cputime() - t;
save('matu-nompi.bin',result,CPU=t);
|
64c4976001f724fc97afd78593ce33947c2471a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.14/1_14.sce | 0afbd5551f879f23dcdcf1f29399bae1243cc5c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 1_14.sce | //pathname=get_absolute_file_path('1.14.sce')
//filename=pathname+filesep()+'1.14-data.sci'
//exec(filename)
//Initial pressure(in Pa):
p1=750*10^3
//Initial temperature(in K):
t1=600
//Initial volume(in m^3):
v1=0.2
//Final pressure(in Pa):
p2=2*10^5
//Final volume(in m^3):
v2=0.5
//Final temperature(in K... |
bf95368609a12f921e17c833423d9b5cb18d505f | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH3/EX3.1/example3_1.sce | 12226fa408021512fe1450776461a86413b5795c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | example3_1.sce | clear;
clc;
//Example 3.1 [Heat Loss through a Wall]
//assumptions:-
//1)Heat transfer through the wall is steady
//2)Heat transfer is one-imensional
//Properties:
k=0.9;//[W/m.K]
disp("W/m.K",k,"The thermal conductivity is given to be")
//Heat transfer through the wall is by conduction
A=(3*5);//[m^2]
... |
e213091d1410f6eccc56be41c198b6292803c5ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH8/EX8.5/Ex8_5.sce | 2b6bc712d00c755a301d1887279e50f044f03daa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,132 | sce | Ex8_5.sce | // exa 8.5 Pg 231
clc;clear;close;
// Given Data
p=125;// MPa
dv=60;// mm
del1=40;// mm
del2=20;// mm
tau_max=600;// MPa
G=85;// kN/mm.sq.
C=6;// spring index
Fv=(%pi/4)*dv**2*p/100;// N (Force on the valve)
del_max=del1+del2;// mm (Max. deflection)
Fmax=Fv*dv/del1;// N (Max. force)
Kw=(4*C-1)/(4*C-4)+0.615/C;// Wahl... |
ffccecc605293cf2c259e74df233a13e4f373163 | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/HDF5Examples-0.1.1-Source/FORTRAN/H5T/testfiles/h5ex_t_opaqueatt_F03.tst | 503efd2aaa07226f5df493e1c390f2d96539163b | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | tst | h5ex_t_opaqueatt_F03.tst | Datatype tag for A1 is: "Character array"
A1[0]: OPAQUE0
A1[1]: OPAQUE1
A1[2]: OPAQUE2
A1[3]: OPAQUE3
|
d6cf90ebf646abee9d5347a2c61363d559cffb70 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/dc/adit/NRZ-L.sce | 3c28b40681b375b71c6f6bc5004e9c02f8fd16bf | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | NRZ-L.sce | a=[0 1 0 0 1 1 1 0]
xtitle('Plotting Graph According To Input')
y=-3:3;
plot(10,y)
//figure;
n=length(a)
for k=1:n
if(a(k)==0) then
plot((k*10):(k*10)+10,1,"X")
if(a(k+1)==1) then
for j=1:20
plot((k*10)+10,-1+j/10,"*")
end
end
... |
423f96bc708ce048f7826c8bd331d44ee9e72b5f | 3aecc0a856e5ab896077f26d338574613e42a223 | /src/23.variabili_antitetiche.sci | 06537203c600885cc4c7d8ae107f31e5a3db81af | [] | no_license | wmotti/simulation | 9ebed2818f83a1ba864399ee3dc664e5303e3983 | ec4cce2ce180f947edf0ed9f501799d06b8a0416 | refs/heads/master | 2020-03-28T08:10:23.668854 | 2018-09-08T16:14:42 | 2018-09-08T16:14:42 | 147,949,219 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sci | 23.variabili_antitetiche.sci | function [y]=stima()
u=grand(1,1,'def');
y=exp(u);
endfunction
function [y]=stimaVA()
u=grand(1,1,'def');
y=(exp(u)+exp(1-u))/2;
endfunction
function [y]=repeat(n,g)
for i=[1:n]
y($+1)=g();
end
endfunction
m=100;
dati=repeat(2*m,stima);
datiVA=repeat(2*m,stimaVA);
mean(dati)
mean(datiVA)
variance(da... |
8a6898724e5ca2216523f4dac94074e60cb3266a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.8/Ex1_8.sce | 99e20a38aa52c28e99d8f2902e17ed2289d7ee3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | Ex1_8.sce | clear
//
//
//
//Variable declaration
n=10
lamda=5460*10**-10 //wavelength(m)
d=0.1*10**-3 //distance between slits(m)
D=2 //distance of screen from slits(m)
//Calculation
x10=n*lamda*D/d //distance from centre where 10th maximum is obtained(m)
t... |
3354d3e82e9e73957efeee8200519ebf074d9d9c | 8aff21ee3944bdacbff38a386556c89c38377c6a | /dare.sci | bef39737c44254ec47d3f6c35310cffa7d7003dd | [] | no_license | rutup1595/control-system | bd4704a4aa437a66260301a22adb5e55b49c5c84 | b30d559d8835cd278cc6d6bb81f821cdfcc9ee55 | refs/heads/master | 2021-01-17T10:17:03.192056 | 2019-10-10T05:28:46 | 2019-10-10T05:28:46 | 59,283,553 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,516 | sci | dare.sci | function [varargout]=dare(A,B,Q,varargin)
//
//Calling Sequence
//function[X L G]=dare(A,B,Q,R) --- for discrete time systems
//Parameters
//A - Real matrix (n-by-n).
//B - Real symmetric matrix (n-by-m).
//Q - Real symmetric matrix (n-by-n).
//R - Real matrix (m-by-m).
/... |
4d18f8ef202de2c607e3d49d5610883955b21f1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH6/EX6.8/Ch06Ex8.sce | de85e3e51547e24af906e124b6066a27d5409004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch06Ex8.sce | // Scilab Code Ex6.8: Page-372 (2011)
clc;clear;
phi = %pi/2; // Scattering angle, radian
m0 = 9.1e-031;....// Rest mass of the electron, kg
h = 6.62e-034;....// Planck's constant, J-s
c = 3e+008;....// Speed of light in vacuum, m/s
lambda = 1.00 ;....// Wavelength of incident photon,in angstrom
del_lambda ... |
8d1c717821e6019f5f45053f732acac4e3c96d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH3/EX3.1/1.sce | 3c31733fd08c98e051dc5bc0dd4457197efaea53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | 1.sce |
//Variable declaration
lamda=0.071*10**-9; //wavelength(m)
a=0.28*10**-9; //lattice constant(m)
h=1;
k=1;
l=0;
n=2; //order of diffraction
//Calculation
d=a/sqrt(h**2+k**2+l**2);
x=n*lamda/(2*d);
theta=asin(x); //angle(radian)
theta=theta*180/%pi; //glancing angle(degrees)
//Resu... |
50a7c10c184c9e005db81f0b617322cddaa627ed | 0df913971c869b6b32c3ae37149015f99dd1b66b | /builtin/builder.sce | 9ff0c74f4c498d56c0958d6d2a8f3c14a482c21e | [
"Apache-2.0"
] | permissive | NelsonModules/cserial | b6b668c144eef9e21fb3e6ff233bdabfa388c383 | 877e050927d7f6a67802b2fae0fb2bae6f776f1e | refs/heads/master | 2022-11-12T19:15:04.414954 | 2020-06-30T19:25:47 | 2020-06-30T19:25:47 | 273,571,809 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,066 | sce | builder.sce | //=============================================================================
// Copyright 2020 Allan CORNET (Nelson)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www... |
ea521e06ae90620f4bd0d78cfe98e371c1c718f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.2/ex9_2.sce | 923e4acd2cfe6d57ca178a983ab3e8dadde57b9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | ex9_2.sce | clc;
clear all;
h = 6.62e-34; // Planck's constant J.s
v = 440e3; // Operating frequency of radio in Hertz
P = 20e3 ; // Power of radio transmitter in Watts
n = P/(h*v);// Let n be the number of photons emitted per second
disp('',n,'Number of photon emitted per second is ');
|
e6986a18bd7b9656a9c8e46efa60386e82f0f3e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH11/EX11.5/11_5.sce | 1584c255626520620312e29f976fc9fe6310ed6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,076 | sce | 11_5.sce | printf("\t example 11.5 \n");
printf("\t approximate values are mentioned in the book \n");
T1=250; // inlet hot fluid,F
T2=125; // outlet hot fluid,F
t1=80; // inlet cold fluid,F
t2=100; // outlet cold fluid,F
W=41300; // lb/hr
w=64500; // lb/hr
printf("\t 1.for heat balance \n");
printf("\t for gas \n");
c=... |
3e475352b5b007933dd247b48a8beda290211177 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%r_v_lss.sci | 8f99fa6614d092dbc86be9418f10150e9c78e133 | [
"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 | 154 | sci | %r_v_lss.sci | function s=%r_v_lss(s1,s2)
//s=%r_v_lss(s1,s2) <=> s= s1/.s2
//!
// origine s. steer inria 1988
//
// Copyright INRIA
[s1,s2]=sysconv(s1,s2);s=s1/.s2;
|
42b49ad75b5252b00d9582bed831c1468e408b1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH4/EX4.13/exa_4_13.sce | 0ca64a9f54ee0eb495fef66eff2328d43af17f4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 896 | sce | exa_4_13.sce | // Exa 4.13
clc;
clear;
close;
// Given data
Vtp= -0.8;// in V
KpWL= 3.5;// in mA/V^2
I=0.7;// in mA
I=I*10^-3;// in A
R_D= 2;// in kΩ
R_D=R_D*10^3;// in Ω
KpWL=KpWL*10^-3;//in A/V^2
v_G1= 0;// in V
v_G2=v_G1;// in V
VSS= 2.5;// in V
VDD=VSS;// in V
VCS= 0.5;// in V
// Part (a)
V_OV= -sqrt(I/KpWL);//... |
5baefa99ad2a3b16e8a82713ec545187dd81146b | 1f8b897a5270714eec09922f6ef6ffbe110a16f6 | /Loophole PIMRC simulation/points generator/randomPoints.sci | 1073cb4ada9f51791bfe4731fdecd2205c055d2f | [] | no_license | utkarshyadavin/Wireless-Net | 59698699e2be0826f71ceb55fff2b0fee1a1f58c | a296eb86bfb914b7144d99dd3df1e163395c67f9 | refs/heads/master | 2020-06-27T00:33:35.828019 | 2019-10-09T19:34:55 | 2019-10-09T19:34:55 | 199,795,336 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sci | randomPoints.sci | function getDist(iter)
for i = 1:iter
genPoints(600, 50, 10, i)
end
endfunction
function genPoints(R, UE, FAP, i)
area = %pi * R/1000 * R/1000;
r1 = R*sqrt(rand(UE * area,1));
theta1 = 2*%pi*rand(UE * area,1);
x1 = r1.*cos(theta1);
y1 = r1.*sin(theta1);
r2 = R*sqrt(ra... |
cb33af3882bc20815cc4b6a4c0121ad7f24b903a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH8/EX8.3/Example_3.sce | 6c3156976ba16af9e33ac11c30f33a6e5954c6ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Example_3.sce | //Chapter-8,Example 3,Page 195
clc();
close();
//solution for (a) part
conc1=1*10^-8 //concentration of HCl solution
//let [H+] concentration from water = x
//so, [H+] of solution = conc1*x an [OH-] = x
//......Kw = [H+]*[OH-] = 10^-14
//......x^2 +(10^-8)*x -(10^-14)=0
x = (-10^-8 + sqrt((10^-8)^2 + 4... |
c71a7a2f480733bfa293b676945190ebbf126d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.8/Ex5_8.sce | 4f771671f168aa749cce40c2df2225cc412c1e2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Ex5_8.sce | clear;
clc;
B = 5;// inches
D = 12;// inches
t1 = 0.55;// inches
t2 = 0.35;// inches
f = 15/2;// tons/in^2
l = 16;// feet
b = B-t2;// inches
d = D-2*t1;// inches
I_xx = (B*D^3 - b*d^3)/12;// in^4
Z = I_xx/6;// in^3
M_r = f*Z;// ton-inches
W = M_r/(l*12/8);// tons
w = W/l;// ton per foot run
printf('W = %... |
57162bbc5b2d5c8ab2ae54d93287a13c7cb38a1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH7/EX7.5/7_5.sce | 4702618841b36e2fb557218216952b0c182671b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 7_5.sce | clc;
//page no 295
// prob no 7.5
// in the given problem
fs=40; m=14;
// the minimum data rate needed to transmit audio is given by
D=fs*m;
disp('Kb/s',D,'The minimum data rate needed to transmit audio is '); |
c49427ed60b603f4ac1f3b66ce78f52156b9b4aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.a.9/Example_a_2_9.sce | 8c7713a70b73c665ca6314817fb252b4ced695f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_2_9.sce | //Example 2_9 page no:94
clc;
R5=5;
A=[0.42,-0.167,-0.25,
-0.42,0.5,0.45,
0,-1,1]
B=[18,
-15,
20];
X=inv(A)*B;
V1=X(1);
V2=X(2);
V3=X(3);
I5=V3/5;
P=I5^2*R5;
disp(P,"the power absorbed by 5 ohm resistor is (in W)");
//in text book value of I5^2 is rounded up so result vary slightly
|
07f556ceed7d5b8f93e1d300e8173e9a9c7f0ab2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.16/Ex1_16.sce | 3c32b09ea058791c25aac441797e7457ddba6f6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | Ex1_16.sce | clc,clear
//Example 1.16
// To determine the radius of sun
angle_AEB =0 +(32/60)+ (4/60)/60//converting to degrees
//Triangle BES and AES are similar
//BS=AS as they are radius
//ES is common to both triangles
//angle_EBS=angle_ABS =90 as tangents are perpendicualar to radius
// angle_AES = angle_BES
angle... |
6be6198e239a40286231a6d076bdf9d3ed22005a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%r_f_p.sci | 0c3b9a17847e4834b109bf67d0565c09070ba678 | [
"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 | 112 | sci | %r_f_p.sci | function [f]=%r_f_p(f,p)
// f=%r_f_p(f,p) <=>f=[f;p]
//!
// Copyright INRIA
f(3)=[f(3);ones(p)]
f(2)=[f(2);p]
|
94c95f3388b319290872b98e1950479f9b01129b | 87c44ec1efbe56db44f605543d30b0ea701dca89 | /GenerateTypescriptInterface.tst | 708e14c09ad21093040ebb7d59558c5a285db8a1 | [] | no_license | blahDL/core-deputy-ui | da07b4180ab3e33881afe57815f851ecfac21b1d | ade49a9a66ef37f81570b653b9a69035bb162070 | refs/heads/master | 2021-04-05T23:45:37.784131 | 2018-10-02T10:37:18 | 2018-10-02T10:37:18 | 124,726,153 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,836 | tst | GenerateTypescriptInterface.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
// Uncomment the constructor to change template settings.
Template(Settings settings)
{
settings.IncludeCurrentProject();
settings.OutputExtension = ".d.ts";
settings.OutputFilenam... |
595a03afacf04f22b1d70cc85ba7335c79c21358 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.9/2_9.sce | f1b7b6c58a805cb88a78918972496295b262cf5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_9.sce | //Network Theorem 1
//page no-2.18
//example2.9
disp("Applying KVL to mesh 1");
disp("10*I1-3*I2-6*I3=0");....//equation 1
disp("Applying KVL to mesh 2");
disp("-3*I1+10*I2=-5");....//equation 2
disp("Applying KVL to mesh 3");
disp("-6*I1+10*I3=25");....//equation 3
disp("Solving the three equations");
A=[10 ... |
6c19888833d84c74b6b1b144b28198c2711cfc2c | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PF10.prev.tst | a8bcc77e25ecbdb449579b5b154e90149848a142 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | tst | PF10.prev.tst | result postfix=[1, x, 4, ^, +, 5, x, 8, ^, *, -, 1, x, 4, ^, -, 2, ^, /]
(x - 5*x^2 + 1) / ( - 2*x + x^2 + 1)
vectors: [1,1,-5],[1,-2,1]
coefficients: [1,3,0,-3,-6,-9,-12,-15,-18,-21,-24,-27,-30,-33,-36,-39]
|
210c21095c745a73987ecb292e9215162602ba32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.36/7_36.sce | 07eabaa1cc45b9f88f3162185f13e256b9ed934e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,175 | sce | 7_36.sce | clear;
clc;
//Example - 7.36
//Page number - 270
printf("Example - 7.36 and Page number - 270\n\n");
//Given
T_1 = 100 + 273.15;//[K]
P_1 = 1.01325;//[bar]
T_2 = 98 + 273.15;//[K]
P_2 = 0.943;//[bar]
V_vap = 1.789;//[m^(3)] - Volume in vapour phase
vessel_vol = 1.673;//[m^(3)] - Volume of the vessel
R =... |
006d53b97dc69bdee131d043e7607787ffda94da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.15.1/ex1_15_1.sce | 643777b6506bad8cbc8d94819da6aa92cf46c36b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | ex1_15_1.sce | //Chapter-1,Example1_15_1,pg 1-68
d=4.255*10^-10 //interplaner spacing
l=1.549*10^-10 //wavelength of x ray
//part 1: for smallest glancing angle(n=1)
n1=1
//using Bragg's law n*l=2*d*sin(q)
q=asind(n1*l/(2*d))
printf(" 1)glancing angle=")
... |
88f383f4505845b592c7cb284be4a802da2231c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.23.3/Ch04Ex23_3a.sce | d2376b4748d41e519446d5c45e365e877ea10dd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | Ch04Ex23_3a.sce | // Scilab Code Ex4.3a: Page-139 (2006)
clc; clear;
E_F = 10; // Fermi energy of electron in metal, eV
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
m = 9.1e-031; // Mass of an electron, kg
E_av = 3/5*E_F; // Average energy of free electron in metal at 0 K, eV
V_F = sqrt(2*E_av*e/m); // Speed of fre... |
9e1ff5b6eeaa010f0e5b2d5975bcb8d2bf962cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH2/EX2.2/Ex2_2.sce | d6f77b67df5a3c05ecef8df5678aa79bb5909b7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | Ex2_2.sce |
// Variable Declaration
MVA_base = 5.0 //Base MVA on both sides
hv_base = 11.0 //Line to line base voltages in kV on h.v side
lv_base = 0.4 //Line to line base voltages in kV on l.v side
Z = 5.0/100 //Impedance of 5%
// Calculation Section
Z_base_hv = (hv_base)**2/MVA_base //Base impedance on h.v side(... |
1aacffd59b122fb71827cd52653da7e83d4ec895 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba5.sce | 0d7727ab7d214dbfaad9346e22e972a03ba033af | [] | 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 | 768 | sce | laba5.sce | //лаба5
clc
disp('_________5.1_________')
disp('аргумент: функция:')
for x=1:2:11;
disp([x,sin(x^3)])
end
disp('_________5.2_________')
s=0;
for x=2:0.5:8;
s=s+x^2+cos(x)
end
disp('cумма='), disp(s)
disp('_________5.3_________')
s=0; j=0;
for x= 1:0.4:5;
y=0.03*x^2-sin(x)*cos(5*x)
if y<0 s=s+y, j=j+1; en... |
c26a634cf6992d74de2bdccf3613de84b12849e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.16/16.sce | 74fa681271b8b703297286d9b13052618901ab70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 16.sce | clc; funcprot(0);
//Example 8.16 Center of Pressure
// Initialisation of variables
CMo = -0.27;
alpha = 6;
Cl = 0.84;
Cd = 0.06;
// Calculations
CP_approx = -CMo/Cl;
CP_exact = -CMo/(Cl*cosd(alpha)+Cd*sind(alpha));
//Results
disp(CP_exact*100,"Exact CP (%chord length) :",CP_approx*100,"Approximate C... |
7cd8af8cdc80ef5858e534728d27984a327a4390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.2/Ex34_2.sce | d21e0d829b77a5ab85e3b9b05372aed1705f6f82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex34_2.sce | // Example 34_2
clc;funcprot(0);
//Given data
P=12000;//The cost of a small preheater in rupees
r=5/100;// Interest
n=16;// Expected life in years
A=425;//The cost of the equipment in rupees
//Calculation
S=round(P-((A)/(r/(((1+r)^n)-1))));// The salvage value of the preheater in rupees
printf('\nThe salva... |
0a961c7d7af3fd83b1e421f7abd3ccdde8280560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH11/EX11.1/11_1.sce | c64990b38a99259b682d0feee8f0cfa8ff158212 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | 11_1.sce | clc;
clear;
D=4;//in
T1=540;//degree R
p1=100;//psia
T2=453;//degree R
p2=18.4;//psia
k=1.4;
R=1716/32.174;//ft*lb/(lbm*(degree R))
cv=R/(k-1);//ft*lb/(lbm*(degree R))
udiff=cv*(T2-T1);//ft*lb/lbm; change in internal energy
disp("ft*lb/lbm",udiff,"a)The change in internal energy between (1) and (2)=")
cp=k*... |
3bd3e0f8d185b17b4890c2da3f1881bbfec9f424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.9/Ex1_9.sce | 5ca3a7246d10a462e24151f25fd1db2894a9eda0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | Ex1_9.sce | clc;
P=10000; //rated power of transformer
E1=2500; // rated primary side voltage
E2=250; // rated secondary side voltage
// initialising primary side parameters
r1=4.8; // primary resistance in ohm
x1=11.2; // primary leakage reactance in ohm
//initialising secondary side parameters
r2=0.048; // secondary resi... |
84390a64e14442839a872770f92d33abeb1bb766 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.33/Example6_33.sce | 61d56f2162c4daa3524c3dcaad0638fce53e4094 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,406 | sce | Example6_33.sce | //Example 6.33. refer from fig.6.31.
clc
VCC=22
RC=2*10^3
beta=60
VBE=0.6
R1=100*10^3
R2=5*10^3
RE=100
disp("For the given circuit")
disp(" VCC = R1*(I1+IB) + I1*R2")
disp(" I1 = (VCC - IB*R1) / (R1 + R2) Eq.1")
disp("Further, VCC = R1*[I1+IB] + VBE + IE*RE")
disp("As, ... |
520870a85e24879f4d702d5d810e18885895063f | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH4/EX4.1/Example4_1.sce | 68cec8dfb6c082d50a26df9f8520af3822dbab48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | Example4_1.sce | //Example 4.1
clc
s=%s;
num=poly(1,'s','coeff');
den=s*poly([1 3 3 1],'s','coeff');
xs=num/den;
disp(xs,'xs=')
syms s;
xt=limit(s*xs,s,0);//final value theorem
disp(xt,'x(t)=') |
e0e5ae58b9d41d98a1cf721e45cb2ffb8c4181e2 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/gen_blocks.sci | 44efe408098ccdd2aec403beb63bc51f0b6e4130 | [] | 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 | 2,464 | sci | gen_blocks.sci |
//==========================================================================
//Generates Code for dynamically linked Fortran and C Blocks
// Original file from Project Metalau - INRIA
// Modified for RT purposes by Roberto Bucher - RTAI Team
// roberto.bucher@supsi.ch
function [CCode,FCode]=gen_blocks()
CCode=[]
... |
f710f35ed8741dab6c63ea607176b14403ddeb47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.26/EX3_26.sce | 6c3d046bec785a1eee000899e197960eef04252e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | EX3_26.sce | Vab=200+%i*0;
Vbc=-100-%i*173.20;
Vca=-100+%i*173.20;
Zac=31+%i*59;
Zcb=30-%i*40;
Zba=80+%i*60;
Iab=Vab/Zac;
disp('i) CURRENT (Iac) is in rectangular form = '+string (Iab) +' A ');
Ibc=Vbc/Zcb;
disp('i) CURRENT (Icb) is in rectangular form = '+string (Ibc) +' A ');
Ica=Vca/Zba;
disp('i) CURRENT (Iba... |
cdd82faa1e185438ad5c1935a913294854f8b59c | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH12/EX12.2/Ex12_2.sce | 11b246788350774ecb2668351de5ad93eac5f9c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | Ex12_2.sce | //Ex:12.2
clc;
clear;
close;
C=100*10^-6;
t_on=60;
R=(t_on/(1.1*C))/1000;
printf("R= %f kohm",R); |
78673850e56d98ec7d50aafb6c53718533a5a37d | 324dc87b9a2e1a396a5dcba3b76f05ae4a9031cb | /reddit_code.tst | a6d5e4bc2c3b5bc8f446a12c8f18f7e030436940 | [] | no_license | pinkMoneyKing/car_talk_reddit | c791ad86837074ab428f73b0cf0891f4f541a6bb | 91b7e665ec27479d09c39d8b3c3442e268fff2ab | refs/heads/master | 2020-12-31T22:56:47.426130 | 2020-02-08T03:43:35 | 2020-02-08T03:43:35 | 239,063,986 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,490 | tst | reddit_code.tst | // Im using ImmutableJS.
// Function that fires with onClick in the child compoent and updates two values on the backend.
const handleModalSave = async() => {
// first save the notes
// then save the updated value
setSaving(true);
// first save the notes, then save the updated value
const dependenc... |
8e341f2e1ba94702845491ac432c279fcc8f5fb9 | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /gfrepcov/gfrepcov.sci | cb23fe83e4a214b40543df63f331da77d43d765c | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,119 | sci | gfrepcov.sci | function q = gfrepcov(p)
// GFREPCOV represents a binary polynomial in standard ascending order format.
// Q = GFREPCOV(P) converts vector (P) to standard ascending
// order format vector (Q), which is a vector that lists the coefficients in
// order of ascending exponents, if P represents a binary polynomia... |
dfe739ddb266cbb992d9248f4037113c4d0fc351 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH25/EX25.3/25_3.sce | 7cf519d87cecad021f1440c829bf50705aa4f6f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | 25_3.sce | //clc()
//dy/dx = -2*x^3 + 12*x^2 - 20*x + 8.5
//therefore, y = -0.5*x^4 + 4*x^3 - 10*x^2 + 8.5 + c
x1 = 0;
y1 = 1;
h = 0.25;
c =-(-0.5*x1^4 + 4*x1^3 - 10*x1^2 + 8.5*x1 - y1);
x = 0:h:4;
disp(x,"x = ")
y = -0.5*x^4 + 4*x^3 - 10*x^2 + 8.5*x + c;
disp(y,"true values of y = ")
fxy = -2*x^3 + 12*x^2 - 20*x + 8.5... |
da2d8dad9a37a76e291b0e75a71a44947b92eb40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH2/EX2.1/Ex2_1.sce | b72688bc0a6a254c40a87d9c41c06ee114bc542a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex2_1.sce | //example-2.1
//page no-28
//given
//atomic no. of gold
Z=79
//kinetic energy of alpha particle
E=7.68*1.6*(10)^(-13) //J because [1MeV=1.6*(10)^(-13)]
e=1.6*10^(-19) //C
E0=8.854*10^(-12) //F/m
//the distance of closest approach is given by:
d0=2*e*Z*e/(4*(%pi)*E0*E) //m
printf ("the closest approach of... |
5fa9357c3bfbf1e995e829b5fff3a2e32f4ee12a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.2/example2_sce.sce | 147242efed3cd3585143c2560494df5dc4a71ca5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | example2_sce.sce | //chapter 19
//example 19.2
//page 814
printf("\n")
printf("given")
Vcc=13;Icq=5*10^-3;Vceq=8;Vp=Vceq;Ip=Icq;nt=.8;
Pi=Vcc*Icq
Po=.5*Vp*Ip
P0=nt*Po
n=(P0/Pi)*100;
printf(" maximum efficiency is %3.2f percentage\n",n) |
ab7305b645bfc70a0e94730a73ed659a89003977 | ca10ed224d8cd7295e60f1c02ea92a812038e28e | /func.sci | 309621a3dd92e227308c31e2e89db46bf2d811c7 | [] | no_license | Winchester12/matlab | f0a77c5eeaabe17b2f699468e8b4229ee71789c4 | 662098338d7b0f1a7a9ed9908202ef36c9d7bcbe | refs/heads/master | 2021-05-15T13:51:23.852649 | 2017-10-17T07:44:47 | 2017-10-17T07:44:47 | 107,234,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | func.sci | function y=mysum(x)
arr(1:x) = x
arr2 = 1:x
arr3(1:x) = x
disp(arr)
disp(arr2)
disp(arr3)
arr3 = arr.^arr2
y = sum(arr3)
return y
endfunction
|
de94d42e5c126a91b64e4ba87b388fcf5e9d2f86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.23/10_23.sce | b008cf84805487219e5f7895292671c72e9890dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | 10_23.sce | n1=1200
Rfcrit=260/4
n2=1600
Vfactor=n2/n2
Vnl=395
disp(Vnl)
|
0dddf0d560cd5bf1fc6aceb825c6f28c96115527 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH25/EX25.8/Ex25_8.sce | f79441888df505d64f026664e35ff2fe52687af7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex25_8.sce | //Example 25.8
d_o=7.5*10^-2;//Object distance (m)
f=-10*10^-2;//Focal distance (m)
d_i=1/(1/f-1/d_o);//Image distance (m)
m=-d_i/d_o;//Magnification
printf('Magnification produced by concave lens = %0.3f',m)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
3dd7b87fe4bd44545f080e480b20bf3858d4893d | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.5/ex4_5.sce | d4679a38b2df16d326517bd62ac85f71860c7f6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | ex4_5.sce | //Example 4.5
clc
printf("Enter value for Item, partno, cost : ");
printf("\n [Enter values in single line seperated by spaces]) ");
[Item, partno,cost]=scanf("%11s %d %f");;
printf("Item = %11s, partno = %d, cost = %f ", Item, partno,cost);
|
5e76d33a493f5d49d5022c75f4b64af204e3a8d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.19/3_19.sce | ceff1ab648f91cc7d3de12505c06ce5a1e1453fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_19.sce | //Network Theorem 2
//pg no 3.22
//example 3.19
disp("removing the 3 Ohm resistor from the network");
disp("Applying KVL to mesh 1");
disp("I1=6");....//equation 1
disp("Applying KVL to mesh 2");
disp("-12*I1+18*I2=42");....//equation 2
A=[1 0;-12 18];//solving the equations in matrix form
B=[6 42]'
X=inv(A)... |
6cc0b6f275a9ffa78e92b989805a4a9444891330 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/指数関数.sce | f2e54dc184b427e6f57941da424752a19ca9771b | [] | 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 | 108 | sce | 指数関数.sce | c=1; r=0.8; cr = c*r;
t=0:0.1:5;
yi=(1/cr)*exp(-t/cr); ys=1-exp(-t/cr);
clf(); plot2d(t',[yi' ys'],[-1,-5])
|
7cc81fd611d6eebe44914edd61beb2666f05ca78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.13/EX_7_13.sce | 54102e4e739fb222a8cecb6f489a9e6ad2c671ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX_7_13.sce | // Example 7.12:quality factor
clc;
clear;
close;
f=450;//resonant frequency in killo hertz
L=4.2;//inductnace in henry
R=600;//resistance in ohms
Q= round((2*%pi*f*10^3*L)/R);//quality factor
disp(Q,"quality factor is")
|
1fe03324af32c6bdf4da66cb49f7ef2a34fe944f | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH14/EX14.6/Example_14_6.sci | 4e641f6e28779d2de562bc2b74f852c9ff5dace8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sci | Example_14_6.sci | clear;
clc;
printf("\n Example 14.6");
//(a) Diesel engine
printf("\n (a) Diesel engine");
printf("\n For 1 kg evaporation, ammonia circulated = 2.28 kg");
printf("\n Work done in compressing the ammonia = %d MJ/kg",150*2.28);
printf("\n For an output of 1 MJ, the engine consumes 0.4 kg fuel.");
printf("\n fu... |
a69cd1ff8128c4dec97cd847e33f5321bcd322e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH6/EX6.9/Fig6_9.sce | b6acb5a48c2183ca16e9fdbd718d584c5bb13533 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sce | Fig6_9.sce | //Caption:Scilab code performs Pseudo inverse filtering
//Degrade the image by means of a known blur and white noise
//The image is degraded as well as corrupted by noise
//Apply Pseudo inverse filter to restore the image
//Fig6.9
//page 333
clc;
close;
x =imread('E:\DIP_JAYARAMAN\Chapter6\flower2.jpg');
x=d... |
d3341269259fd6d30ce7cd4062db6aa41a11c30e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.39/ex39.sce | 801d005c1c64706190caef1e9f5a4e33f77a20bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | ex39.sce | clear
clc
A=[-2/3 1/3 2/3;2/3 2/3 1/3;1/3 -2/3 2/3]
disp("A transpose is equal to ")
A'
disp("A*(transpose of A)=")
A*A'
disp("hence,A is orthogonal ") |
cfff359d921cd8e43ab29a0628310d2dcae1572b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.20/EX_2_20.SCE | 4a477ae1a8771a6b88692b7ba1fccd7e097d585c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | EX_2_20.SCE | // Example 2.20: Base Resistance , stability factor
clc;
clear;
close;
Vcc=20;// Colector voltage in volts
Beta=100;//Common emitter D.C. Current gain
Rc=1;// Collector resistance in killo ohms
Vce=4;// Collector to emitter voltage in volts
Ic= ((Vcc-Vce)/Rc); //in milli amperes
Ib=Ic/Beta;//in milli ampere
R... |
7974ef629f83c771ca8085cf016b9d739428b593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH5/EX5.6/5_6.sce | 87d9d58c879846e9f84afdd5dba0111b81ee045f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | 5_6.sce | //Example 5.6
clear;
clc ;
close ;
x = [1,2,2,1,1,2,1,1];
w=(sqrt(2)-%i*sqrt(2))/2;
//split input into four 2-point sequences
a=[x(1) x(5)]
b=[x(3) x(7)]
c=[x(2) x(6)]
d=[x(4) x(8)]
//1st iteration======2 point DFT
y1(1)=a(1)+a(2);
y1(2)=a(1)-a(2);
y1(3)=[b(1)+b(2)]*(w^0);
y1(4)=[b(1)-b(2)]*(w^2);
... |
b28918d42f726cb06b2c35d6435ecbd33fb93496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.52/ques52.sce | a4128a8bc94aa8ead144ae0eb5d1bb98e600153d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | ques52.sce | //error
//ques52
disp('To find the maxima and minima of given function put f1(x)=0');
syms x
//x=poly(0,'x');
f=3*x^4-2*x^3-6*x^2+6*x+1;
k=diff(f,x);
x=poly(0,'x');
k=eval(k);
|
cabf20951c0822139e8c638a170b6a07a4b4d188 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.14/Chapter5_Example14.sce | 2c8ee6c02ea801c9e70ca1bd514cb272c51bf285 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Chapter5_Example14.sce | clc
clear
//Input data
R=8.32;//Universal gas constant in joules/mole-K
t=727;//The given temperature in degree centigrade
N=6.06*10^23;//The Avogadro number
//Calculations
T=273+t;//The given temperature in K
k=R/N;//Boltzmann constant in joules/mol-K
E=(3/2)*k*T;//Mean translational kinetic energy pe... |
60e20d3d73be05037c91579547e0b5f73f455557 | e770dc26235168913bdcd5b2332f3a38a95a8bc7 | /Toolbox Test/ac2poly/ac2poly1.sce | 2bf70682a24c23cfb6fe7336e1a35b1a230aa8ae | [] | no_license | deecube/majorTom | f00eca4e2effff2c5eba746878f2c0842fe14680 | 84365fc032fc0ca44abac8330ec4ac6d85a85b3f | refs/heads/master | 2021-01-21T14:04:23.323717 | 2016-05-23T06:05:31 | 2016-05-23T06:05:31 | 51,731,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | ac2poly1.sce | //ac2poly
r = [5.0000 -1.5450 -3.9547 3.9331 1.4681 -4.7500];
[a,efinal] = ac2poly(r);
disp(a);
disp(efinal);
//Output
//
|
5c835afc138f32a3be1df5b34ecf17321cb682b3 | cfadc8057fba63a7793bcee7ce8e2e8c3e5dc359 | /solvers/APESolver/Tests/APE_2DPulseAdv_WeakDG_MODIFIED.tst | 8fed15db78efc5751c05307117f6cf168dc06d51 | [
"MIT"
] | permissive | DarkOfTheMoon/nektar | a5132b836f9fb0894ec54c1f373c08df947dd5ca | b36f4214c0907f877fed8dfc08e53bd607eaea24 | refs/heads/master | 2021-01-20T03:59:10.430634 | 2017-04-27T11:50:26 | 2017-04-27T11:50:26 | 89,609,337 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | tst | APE_2DPulseAdv_WeakDG_MODIFIED.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>desc P=10</description>
<executable>APESolver</executable>
<parameters>APE_2DPulseAdv_WeakDG_MODIFIED.xml</parameters>
<files>
<file description="Session File">APE_2DPulseAdv_WeakDG_MODIFIED.xml</file>
</files>
<metrics>
... |
4c162b1f131f0c3e1b4a37376a951e6596432e7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH6/EX6.2/ex6_2.sce | 4593b901e3ec5b1fef5c38577e7f7a7290a63fe8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | ex6_2.sce | // Exa 6.2
clc;
clear;
close;
format('v',6)
// Given data
del_V = 20;//change in voltage in V
del_t = 4;//change in time in µS
SR = del_V/del_t;//slew rate in V/µS
disp(SR,"The slew rate in V/µS is");
|
5ce67541fec91ab47f721a6f8c861501ef05a0b9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/delete_unconnected.sci | c0a041ea683f15c00e42a174637bcc6a497c6cb9 | [
"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 | 1,301 | sci | delete_unconnected.sci | function scs_m=delete_unconnected(scs_m);
//delete unconnected blocks and all relevant parts of a diagram
//may be used before compilation
//scs_m_s=scs_m
// Copyright INRIA
n=size(scs_m)
DEL=[]
DELL=[]
for k=2:n //loop on scs_m objects
if scs_m(k)(1)=='Block' then
if scs_m(k)(3)(1)(1)<>'sum' then
if find(s... |
a6479932c706416df77c1c4c6f4354017dbad00e | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.29/Example6_29.sce | 21e00b41cbab33a4cd33a7e694d5ac0442eadf2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example6_29.sce | //Example 6.29.
clc
format(6)
VCC=12
RC=250
IB=0.25*10^-3
beta=100
VCEQ=8
RB=VCEQ/IB
RB1=RB*10^-3
disp(RB1,"RB(k-ohm) = VCEQ / IB = ")
S=(1+beta)/(1+(beta*(RC/(RC+RB))))
disp(S,"Stability factor, S = (1+beta) / 1 + (beta*(RC/RC+RB)) = ") |
6e11b870b5dd881046bb934e97c98154cdd66ec5 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/examples/led_button_script_demo.sce | ffffb83b3d904078a9d97a8141674eb5f7450d65 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 305 | sce | led_button_script_demo.sce | // Press F1 button to turn on LED1
// Press F2 button to stop demo
linkID = mdaqOpen(); // for better performance
while mdaqKeyRead(linkID, 2) == %F
buttonState = mdaqKeyRead(linkID, 1);
mdaqLEDWrite(linkID, 1, buttonState);
sleep(50);
end
mdaqClose();
disp("Demo has been stopped.");
|
39c54fc0eef85ce04c5a125c29cc8453a99bd1c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH3/EX3.4/ex3_4.sce | 1a4e9bfcd43ec80e62156f58364bc0225d0bb751 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | ex3_4.sce | clc;
clear;
m1=0.3;
m2=0.4;
m3=0.5;
m4=0.6; //modulation indices
Pc=150;//power of carrier in Watts
mt=sqrt(m1^2+m2^2+m3^2+m4^2); //total modulation index
Pt=Pc*(1+mt^2/2);//Total transmitted power in Watts
Ps=(mt^2)*Pc/4; //Sideband Power in Watts
disp(mt,"Total Modulation index");
disp(Pt,"Total ... |
d3ae575d72ccee3eb45db208d94916334b2127e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH2/EX2.3/Example2_3.sce | c621d0f8cd344e44f457d4f3eb0ef0204885d0ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 956 | sce | Example2_3.sce | //Example 2.3
//Program to Calculate Current in a Branch by Using Current Source Representation
//Verify the Circuit's Result for its equivalence with Voltage Source Representation
clear;
clc ;
close ;
//Given Circuit Data
Is=1.5*10^(-3);//Amperes
Zs=2*10^3;//Ohms
Z1=10*10^3;//Ohms
Z2=40*10^3;//Ohms
//Calcu... |
9571002b242303150f870484c1397e9ee457f7b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH11/EX11.14/Ex11_14.sce | fe62a34c3d214f3a60545b4af0649413e0601d9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | Ex11_14.sce | // Calculating the flux per pole and length and width of pole and winding height and pole height
clc;
disp('Example 11.14, Page No. = 11.40')
// Given Data
// 3 phase star connected selient pole alternator
Q = 2500;// kVA rating
E = 2400;// Voltage rating (in kV)
f = 60;// Frequency (in Hz)
rpm = 225;// R.p.m.
... |
b03668342cb95de64c7340f7204df645a7a210ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH1/EX1.6.2/1_6_2.sce | b5a315da61beb39221ff6cf3138052a69567311e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | 1_6_2.sce | //Transport Processes and Seperation Process Principles
//Chapter 1
//Example 1.6-2
//Introduction to engineering principles and units
//given data
//Avg Cp of cows milk is 3.85 kJ/kg K
//heat reqd= mCp)(delta T)
m=4536; //in kg/h
delT=54.4-4.4;//Temp diff
Cp=3.85;
H=(m*Cp*delT)/3600;//heat reqd in kW
mprint... |
f9a70235569f0622cc6f14cd8d4d545b3809e477 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH9/EX9.3/ex9_3.sce | b746ed91171f52ebd833ab23306c4471b169590b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | ex9_3.sce | //Wired Digital Communications : example 9-3 : (pg 407)
Tb=1/9600;//bit frequency
Pt=0.8;//transmit power
Eb=Pt*Tb;//energy per bit
printf("\nbit frequency = %.7f",Tb);
printf("\nEb = Pt.Tb =%.8f J",Eb); |
a143e514ed49c43620728382e5d6d1872358ad0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.6/example2_6.sce | c2a6c168dc00262bf5adf4d4f364e145a2ddacb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,059 | sce | example2_6.sce |
clear;
clc;
printf("\t Example 2.6\n");
T=298; //temperature in kelvin
pt=1*1.013*10^5; //total pressure in pascal
ID=25*10^-3; //internal diameter in m of unvulcanised rubber in m
OD=50*10^-3; //internal diameter in m of unvulcanised ... |
506dc8189d20d3dd4383ecee7ad622a304b420a1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/AR50EVK/ATWM1_Working_Memory_MEG_AR50EVK_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | ccf29fbc88b3e55bb5dd4c8a0eb2637e3be76466 | [] | 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 | 49,386 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_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_monitor... |
17cea8413333129a35fd293f8d144f1bff011997 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/demos/fft_demo.dem.sce | 4dc53e945de9f0bb2a94013ca49466c69b11d5c9 | [
"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 | 274 | sce | fft_demo.dem.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
demopath = get_absolute_file_path("fft_demo.dem.sce");
xcos(demopath+filesep()+".."+filesep()+"examples"+filesep()+"fft_demo.zcos")
|
ac7c36f6ebbf84282da13b246a351216af1c8398 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH2/EX2.4/C2P4.sce | 0965e1178d722aee1bdf509294e092b31169c191 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,040 | sce | C2P4.sce |
clear
clc
//to find magnitude of position,velocity and acceleration
// GIVEN::
//time
t = 3//in seconds
//coefficients
A = 1.00//in m/s^2
B = -32.0//in m/s
C = 5.0//in m/s^2
D = 12.0//in m
// SOLUTION:
//for position vector
//coefficient in x direction for resultant vector
rx = A*t^3 + B*t
//... |
df0e2a4c0281a167f221aac107b3d237d4e68f15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH13/EX13.4/S_13_4.sce | 7db5e7cdf139fc02fa80c8a13cdb1e50cedc3298 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | S_13_4.sce | clc;
//Force exerted by track at point 2
//kinetic energy
T1=0;//J
//T2=1/2*m*v2^2 m/s
//Work
//U12=W*12m;//J
m=1000;//kg mass of car
//principle of work and energy we get v2^2=24*g
g=9.81;//m/s^2
W=m*g;//N, weight of car
v2=sqrt(24*g);// m/s
//Newtons second law at point 2
p=6;//m radius of curvature ... |
4ee7ba1b23dbf42d427a5cd25dc9cdfc1b7f8ba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH2/EX2.2/ch2_2.sce | a4dcbbe4c93f86596959aae78aa52d18c5ab039a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,420 | sce | ch2_2.sce | clc;
clear;
printf("\t\t\tChapter2_example2\n\n\n");
// determination of heat transfer through composite wall for materials in parallel
// values of thermal conductivities in W/(m.K) from appendix table B3
k1=0.45;// thermal conductivity of brick
k2a=0.15; // thermal conductivity of pine
k3=0.814; // thermal conductivi... |
c243b5034597e7f9100c8e01505801f56bce4372 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLModEuclideanDist-NZ-01.tst | e4fa9810b6512915d7e44a5eefa88dd2b4306448 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,726 | tst | FLModEuclideanDist-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
4d5a277ab7a4e877b2f88fe98668e81007e964ba | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH2/EX2.17/Ex2_17.sce | cee755950690a3ca6a5e7a339f9714632322389b | [] | 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,186 | sce | Ex2_17.sce | clc;
//calculate emmiter resistance
R2=2.2*1e3 //in ohm
R1=10*1e3 //in ohm
Vcc=10 //in volt
V_B=1.8 //in volt
V_BE=0.7 //in volt
R_E=1*1e3 //in ohm
V_s=2*1e-3 //in volt
R_S=1*1e3 //in ohm
V_B=(R2*Vcc)/(R1+R2); //in volt
I_E=(V_B-V_BE)/R_E; //in ampere
r1=(25*1e-3)/I_E; //in ohm
//caculate input pmpedence s... |
db6da4e7b87cf42818635cd6ec683564a06b9d0b | 27e7499ddd3bb1d3c73a575f3555bac816e2c2b1 | /testovac/task_data/order/06.tst | 6b0a6593c1856bb48f4feab505809b045ad040b7 | [] | no_license | mirelon/ksp-editor | eeccf1ca22e6808cf10d49d03a2bbef53ab5b305 | c750d25154a6b8cb7e765ce17e9bc5ccfdc9bfd8 | refs/heads/master | 2019-01-02T08:32:00.363803 | 2014-09-23T14:02:06 | 2014-09-23T14:02:06 | 33,381,936 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,481 | tst | 06.tst | 396409
(
340217
(
413969
(
613867
(
123073
(
770688
(
0
(
)
(
)
)
(
143512
(
899649
(
)
(
)
)
(
)
)
)
(
98849
(
)
(
964018
(
)
(
)
)
)
)
(
387748
(
892601
(
)
(
862064
(
)
(
)
)
)
(
520486
(
81563
(
)
(
)
)
(
)
)
)
)
(
975347
(
575630
(
318712
(
473268
(
)
(
)
)
(
)
)
(
717027
(
)
(
4007
(
)
(
)
)
)
)
(
691174
(
174527... |
1c935ab6b6b8b8974d10e02b55bce17549dde011 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH3/EX3.6/Example3_6.sce | 0fc3a3b9804f28f85ca2f972979242ef570d0469 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | Example3_6.sce | //Chapter-3,Example3_6,pg 3_15
Tc=9*10^-6
n=8
fmax=1/(2*%pi*Tc*(2^n))
printf("maximum input frequency\n")
printf("fmax=%.2f Hz",fmax)
|
0b39dd5f7dbf3d1f7e89b5690ecccf2659ba20e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH7/EX7.11/example_11.sce | cb3e0db5c031c6bbc3c7e5aad3479f61940a31a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | example_11.sce | clc
clear
printf("example 7.11 page number 316\n\n")
//to find the product concentration
printf("this is a theoritical question, book shall be referred for solution")
|
84bdd853dbc583d7d1b60b878c212d2371cd4207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3422/CH7/EX7.1/Ex7_1.sce | 009bb0c8fa62c66546bad7e1561d058997214d44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | Ex7_1.sce | //Example 7.1, page 147
clc
G=500//in kg
h=700// in j/kg/c
s_lambda=%pi*.7*1*12.5
h=(G*h)/s_lambda
//disp(h)
L=((10*1000)/.9)-10000
w=1111
T=w/s_lambda
printf("Final tempearture rise is %f k",T)
|
122d6a973182ff3289916ab4c2eb4c6966d18914 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH4/EX4.6/example4_6.sce | 1f12157e44fc42a9a2354d672e32a81d97f64b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | example4_6.sce | //clc()
Vper1 = 70;//% ( 1 = HCl)
Vper2 = 20;//% ( 2 = Cl2)
Vper3 = 10;//% ( 3 = CCl4)
M1 = 36.45;
M2 = 70.90;
M3 = 153.8;
m1 = Vper1 * M1;
m2 = Vper2 * M2;
m3 = Vper3 * M3;
mper1 = m1 * 100/(m1+ m2 + m3);
mper2 = m2 * 100/(m1+ m2 + m3);
mper3 = m3 * 100/(m1+ m2 + m3);
disp(mper1," (a) weight percent of HC... |
bde5cdf2515c94d8bfcea8090c082f9009ef02b2 | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/.svn/pristine/bd/bde5cdf2515c94d8bfcea8090c082f9009ef02b2.svn-base | cc0c6e4ed9f45a1f668f6abb46c3176829520b3b | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | bde5cdf2515c94d8bfcea8090c082f9009ef02b2.svn-base | DS1[0]:
-> /DS2: hdf5
DS1[1]:
-> /DS2: Therowthedog
| |
6eaf0c5f97c229b60bc87f98637837d84d9d2d33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.58/EX_2_58.SCE | 81acf1fb39523134369123cc6783ab87a9655f36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | EX_2_58.SCE | // Example 2.58:ressitive paramters
clc;
clear;
close;
Ic= 2.6; //in milli amperes
Vt=26;//volatge
ft=500;//frequency in mega hertz
Cbc=3;//in pico farad
rbb=100;//in ohms
rbe=1;//IN KILLO OHMS
gm=Ic/Vt;//transconductance
Beta= gm*rbe*10^3;//
Cbe= (((gm)/(2*%pi*ft*10^6))-Cbc*10^-12)*10^12;//in pico farad
... |
da54f94589e0c81b85405f101c75f71ad91e76bb | c206d6bebc9882f7e3a903cab8d9ebfaeae31917 | /Scilab/myfunc.sce | a5a93601641a91b2dab92dd385aa85498bac4ea7 | [] | no_license | Rstarlindev/Detecteur-de-mouvement | 1d720477632c64dffd642b7a0b337afa6a2bf9cc | 441c4af99b01bc44c8ff78371e2b68adcc0231c9 | refs/heads/master | 2020-04-05T00:01:48.840912 | 2018-11-06T12:32:24 | 2018-11-06T12:32:24 | 156,380,663 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | myfunc.sce | global x1
global y1
global tt
x1=1;
y1 =1;
tt = 0;
function [x,y,t]=myfct(a,b)
aa= a;
bb=b;
ims = imsubtract(bb,aa);
// ims = im2bw(imss,0.5);
ims1 = imresize(ims,[300,300])
[c,l]= size(ims1);
for i= 1:c
for j = 1:l
if ims1(i,j) ~= 0
y1 = j;
break;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.