blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
366e1d7ad4f6566c30b308d7ea38e2f63e6c887a | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH19/EX19.1/19_1.sce | 058b6e3d4c50cefb19246c61911b09ef3eab5f45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,416 | sce | 19_1.sce | pathname=get_absolute_file_path('19_1.sce')
filename=pathname+filesep()+'19_1data.sci'
exec(filename)
clear
Yc=(2*L45^2 +L12^2)/(4*L12 +4*L45);
Ixx=((2*L12 +L45)*t*Yc^2) +(L45*t*(L45-Yc)^2)+ (2*t/3)*((2*Yc^3) -((Yc-L45)^3) -((Yc-L12)^3));
P=-Sy/Ixx;
function[q1]=q12(s1),
q1=P*t*(Yc-L12)*s1 +P*t*0.5*s1^2;
e... |
8aa0f0d38c1f524433620381900a0bc682c2b1ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.2.c/EX3_2_C.sce | 34a02be95c70f36134c1ab6f5ebf7e6827f59339 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | EX3_2_C.sce | //EXAMPLE 3.2.C
clc;
Syms s t
w=2;
laplace(cosh(w*t),t,s)
|
21a047e24b73411e9726226c0fd1642b9e0835d2 | b9522ba921a1ec0c09ce20a1ad2425852a7b0a86 | /test/Or16Way.tst | 3314d6d76ff118ff9b5395406b6a852a8b12ac8b | [
"MIT"
] | permissive | lambdart/nand2tetris | 81b0b34fe517246e51b83ff01730e550422c43b2 | 38c7b088a98138149018bb4bc5d35123e500e3fb | refs/heads/master | 2022-11-25T06:18:03.225391 | 2020-07-30T15:43:23 | 2020-07-30T15:43:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | tst | Or16Way.tst | load Or16Way.hdl,
output-file Or16Way.out,
compare-to Or16Way.cmp,
output-list in%B2.16.2 out%B2.1.2;
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
set in %B1010101010101010,
eval,
output;
set in %B0011110011000011,
eval,
output;
set in %B0001001000110100,
eval,
output; |
4c8de59682c6691e7ad2e016c9e6c5d29839afc9 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/hxphasechange.tst | 96efef7fbeb5c5633a97eb2d44f8127acb837451 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 2,471 | tst | hxphasechange.tst | units SI
/LiquidPhases = 2
/RecycleDetails = 1
displayproperties
commonproperties VapFrac T P MoleFlow MassFlow VolumeFlow StdLiqVolumeFlow Energy H S MolecularWeight MassDensity Cp ThermalConductivity Viscosity molarV ZFactor SurfaceTension StdLiqMolarVol
displayproperties VapFrac T P MoleFlow MassFlow VolumeF... |
ae842e9dbca044013fdbd0d2d96bffc25b9884ca | b12941be3faf1fd1024c2c0437aa3a4ddcbbfd67 | /normal/fase_7.tst | e9dd3847e1ca5787e7da1ddd818b51447216e148 | [] | no_license | JanWielemaker/optica | 950bd860825ab753236ce1daa399ee7a0b31b3ee | 3a378df314b5a60926b325089edac89c00cc8c6d | refs/heads/master | 2020-06-12T14:22:46.567191 | 2019-06-21T11:24:41 | 2019-06-21T11:24:41 | 194,328,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,061 | tst | fase_7.tst | /* Questionaire created by optica toolkit
Date: Tue Mar 04 16:13:41 1997
*/
question(1, 'item 7-1',
'Hoe kan in deze situatie het onscherpe beeld
gecorrigeerd worden?',
[ 'Door een sterke, negatieve lens tussen het
voorwerp en de lens te plaatsen',
'Door een sterke, positieve lens tussen het
voorwerp en d... |
69471a902add666ac6309de679ebaa284cb6c3d1 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/get_ejercicio.tst | e121fc333b87cb29f7113f192cb2d15944954dfa | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 170 | tst | get_ejercicio.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := get_ejercicio(pejercicio_id => :pejercicio_id);
end;
2
result
1
Yoga
5
pejercicio_id
1
1
4
0
|
96b465197e01124a6a41f195aaf6a9bad01d2798 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH10/EX10.3/10_3_Condensation_Chimney.sce | 1153e9ae834231a8126dc1447378dd60534b86ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,417 | sce | 10_3_Condensation_Chimney.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 10.3 Page 648 \n'); //Example 10.3
// Heat Transfer and Condensation Rates
//Operating Conditions
Ts = 50+273 ;//[K] Surface Temperature
Tsat = 100+273 ;//[K] Saturated Temperature
D = .08 ... |
5772e9922d5102e95d1e63b7ba696b3de1b83fc3 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/common_source.sce | 5836718a1d3d98b5b50d2d52c9b1eb1ac5e5d1b7 | [] | 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 | 95 | sce | common_source.sce | style.displayedLabel="common_source";
pal1_1=xcosPalAddBlock(pal1_1,"common_source",[],style);
|
8083a740447eaf8ed3c66a1a4f39dfafd37862cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.40/ex_3_40.sce | 202804161ce449e42c115bb88002c73ca00de8fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_3_40.sce | //Example 3.40:resistance and capacitance
clc;
clear;
close;
r2=1000;//ohms
r4=100;//ohms
c4=0.1;//micro farads
c3=1000;//pF
rs=((c4/(c3*10^-6))*r2);//M-ohm
cs=((r4/r2)*(c3*10^-6));//micro farads
disp(rs*10^-7,"resistance is,(M-ohm)=")
disp(cs*10^6,"capacitance is,(micro-F)")
|
18d65783e5ef1064621f56c984296ffbc8e03530 | 98292921e8ce25fd18b4384ee133b7cbbfdf1024 | /code/Octave/tpunc.sce | 081419d89e084502ce112532f9d8fb0bbee8e990 | [] | no_license | nilqed/qmtrans | 933c25bae83543e1bc3a683dfbec3c00c77d3704 | 8ed33640c608d322be54fac1fe3eb73762957a4c | refs/heads/master | 2020-03-22T00:42:32.780858 | 2018-08-22T16:54:58 | 2018-08-22T16:55:09 | 139,260,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,264 | sce | tpunc.sce | //
//
//
//
//
clear all;
M = 100;
H = @(x,k) x^2*k^2;
function [N,L,x,k,dx,dk] = setup_grid(M)
//
N = 2*M+1;
L = sqrt(2*pi*N);
dx = L/N;
dk = 2*pi/L;
x = (-M:1:M)*dx; //x = linspace(-M,M,N)*dx
k = (-M:1:M)*dk; //k = linspace(-M,M,N)*dk
endfunction
function rv = dimGetAndC... |
c5004d7899d60bd4f37b5ea888fbbcfba780cade | 52bc9d4a4a76ae754ef5ed1e1bfaa3734778e40b | /lab7/lab7.sce | a3ad3494865697a9ed1a102597cadd8d9643ae12 | [] | no_license | DavidShagabaev/mathmod-labs | 4850686841cac662c49350dad6fd1a3e2a02d4a7 | 8832962a354e40b0860e45c440d962727ad53871 | refs/heads/main | 2023-08-30T19:20:26.965258 | 2021-11-14T17:02:40 | 2021-11-14T17:02:40 | 427,987,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | lab7.sce | N=1420;
x0=12;
t=0:0.1:30;
function g=k(t);
//g=0.7;//(первый случай)
//g=0.00003;//(второй случай)
g=0.57*sin(t);//(третий случай)
endfunction
function v=p(t);
//v=0.000012;//(первый случай)
//v=0.5;//(второй случай)
v=0.38*cos(13*t);//(третий случай)
endfunction
function xd=f(t,x);
xd=(k... |
60f6c924d9bfbb302c7ed6e498dca4bb3c8bb3c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.19.a/data7_19.sci | 917efb6b03f171d1b8887b50cbda608649c99a6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sci | data7_19.sci |
//(Threaded Joints) Example 7.19
//Maximum external force Pmax (kN)
Pmax = 10
//Minimum external force Pmin (kN)
Pmin = 0
//Assume the stiffness of the bolts to be 1N/mm kb
kb = 1
//Calculate the stiffness of the parts kc
kc = 3 * kb
//Overload percentage load (%)
load = 50
//Yield tensile strength of 50C4... |
f051a629f268dc904c4686e7286c9c4f05344bf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH7/EX7.5/Ex7_5.sce | 4f86b2abd2f886d30b5c0988d936c2f8d7132553 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex7_5.sce | clc;
//A circuit is midpoint bised when the Q-point value of Vce is one half of Vcc.
//from example and 7.3
Vcc=8; //volt
Vbe=0.7; //volt
Rb=360000; //ohm
Ib=(Vcc-Vbe)/Rb; //Ampere
Hfe=100;
Ic=Hfe*Ib;//Ampere
Rc=2000; //ohm
Vce=Vcc-Ic*Rc; //volt
disp('V',Vce,"Vce=");//The answers vary due to round off error... |
3b24bde094ce67cb363f34e9061fe0f11e8fec5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH10/EX10.3/10_3.sce | d2f17fa8502e6439a40fd80024542ebe1639d38c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 10_3.sce | clc
//initialisation of variables
P= 200 //mm
t= 30 //min
k= 2.5*10^-4 //sec^-1
//CALCULATIONS
P0= P/(10^(k*t*60/2.303))
P1= P-P0
//RESULTS
printf (' Partial Pressure of reactant= %.f mm',P1)
|
a2bebd28df27e8c3159f9e10f6fd7aa50132d100 | b3fbe9bda16ce383718ae9fd21ec3e67e7e19471 | /src/projects/07/MemoryAccess/BasicTest/BasicTest.tst | daaa91a38bb24c9d06bc439009eb5e1a5aa6c71e | [
"MIT"
] | permissive | stesta/ComputingSystem | b1703bf52e7ed6e133a21a392d10732158c5aa92 | 0f0010c7d2919f6d6891bd43d315d7d03c115db2 | refs/heads/main | 2022-01-03T20:33:15.143761 | 2022-01-03T17:46:43 | 2022-01-03T17:46:43 | 26,368,783 | 0 | 0 | MIT | 2022-01-03T17:46:43 | 2014-11-08T17:46:04 | Assembly | UTF-8 | Scilab | false | false | 858 | tst | BasicTest.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/07/MemoryAccess/BasicTest/BasicTest.tst
load BasicTest.asm,
output-file BasicTest.out,
compare-to BasicTest.cmp,
output-list RAM[256]%D1.6.1 RAM[300]%D1.6.1 RAM[40... |
273bc0c60d206007979fb5f57d1066c84978c546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH4/EX4.12/4_12.sce | 3b0f635e06e70871a461379cbfe1844d7a0f15cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | 4_12.sce | //4.12
clc;
V=100;
R=0.2;
L=0.8*10^-3;
T=2.4*10^-3;
Duty_cycle=1/2.4;
E=0;
Imax=V/R*((1-exp(-Duty_cycle*T*R/L))/(1-exp(-T*R/L)))-E/R;
printf("\nImax = %.2f A", Imax)
Imin=V/R*((exp(Duty_cycle*T*R/L)-1)/(exp(T*R/L)-1))-E/R;
printf("\nImin = %.2f A", Imin)
Vavg=Duty_cycle*V;
printf("\nAverage output Voltage ... |
5aa5be2f156340ef5017198d1123973d93722d60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH13/EX13.1.1/Ex13_1.sce | 74da46e468b98bfd3a4b5df78ac8beb884373faf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | Ex13_1.sce | clc
clear
N1=250;
D1=53;
D2=32;
N2=N1*(D1/D2);
printf('Speed of shaft: %2.2f RPM',N2);
printf('\n');
|
6b0c2c11d2a7786af8d24fb56b9d119d8d9eba42 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/bug.tst | f9c31e680e8cdf3bb9898b906f10b2d770482d43 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | tst | bug.tst | (batch "dftmpcmd.tst")
(clear)
(batch "dfgblcmd.tst")
(clear)
(batch "memrycmd.tst")
(clear)
(batch "miscfnx.tst")
(clear)
(batch "dfrulcmd.tst")
(clear)
(batch "seqop.tst")
(clear)
(batch "tceplace.tst")
|
e1de404ff40acf0604e8889e38c8885294d95776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2288/CH1/EX1.22.6/ex1_22_6.sce | 48157ccb4d761315522a75538a60b4bb6a9e84a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | ex1_22_6.sce | // Exa 1.22.6
clc;
clear;
close;
// Given data
d = 5.2;// in gm/cc
n = 2;
M = 120;
N_A = 6.023*10^23;
m = M/N_A;//mass of 1 atom in gm
m = n*m;//mass of unit cell in gm
g = 20;// in gm
m = g/m;// in unit cells
disp(m,"The number of unit cell in its 20 gm is : ");
|
43b7b3f8c59c523dd3f7ed3153a2417cb4dbb9cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH14/EX14.1/14_01.sce | 1c1cc15f228e2df752b1fc4be88a739ad2793a41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | 14_01.sce | clear
clc
//Original and new length(m)
L1=32;L2=50;
sigma1=8;
// For small deviaqtion from plug flow,sigma_sqr is directly proportional to L
sigma2=sigma1*sqrt(L2/L1);
printf("\n No of bottles of rose expected is %f",sigma2) |
dce9a240aa3eda3c6c6aff69a182539e83a3bf82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.11/Exa_8_11.sce | 77698dfeaacfc44280b103019470349929496094 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Exa_8_11.sce | //Effects of leakage
n1=0:0.005:0.1;
n2=0:0.005:0.125;
n3=0:0.005:1.125;
xt1=(2*cos(20*%pi*n1')+5*cos(100*%pi*n1'));
xt2=(2*cos(20*%pi*n2')+5*cos(100*%pi*n2'));
xt3=(2*cos(20*%pi*n3')+5*cos(100*%pi*n3'));
XDFS1=abs(fft(xt1,-1))/20;
XDFS2=abs(fft(xt2,-1))/25;
XDFS3=abs(fft(xt3,-1))/225;
f1=0:5:100;
f2=0:4:100;
f3=0:100/... |
3c72532fc7f07885e9d6e28b4671253f40e636ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH19/EX19.2/19_2.sce | 96fb9fc911bd102c2631b337e5c68c56c26f5ccd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | 19_2.sce | //Car on road
//refer fig. 19.8
//Consider dynamic equilibrium of car
v=sqrt(0.4*9.81*50)*((60*60)/(1000)) //kmph
//Limiting speed from the consideration of preventing overturning
//Taking moment about point of contact of outer wheel with road and noting that R1=0 when the vehicle is about to overturn
//Limiting... |
8c1862d6c8c37be57a23d7759f9276153ae1a6bf | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH4/EX4.3/ex4_3.sce | 69893b0bc2ddd782396350e7ebdfb98eaef990d8 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | ex4_3.sce | errcatch(-1,"stop");mode(2);// Example 4.3, page no-210
m=0.005
c=0.7
y=-log(0.01)
//printf("y=%.2f",y)
t=y*2*m/c
printf("t=%.4f Secs",t)
exit();
|
233b6fc0ea36a457f18ac8f665118426b67927fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH7/EX7.10/ex7_10.sce | 57671a1b6909f09ed287087ad9b698be7a13dc57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | ex7_10.sce | clc;
clear all;
lambda = 5206e-10; // Wavelength of ight in meters
d = 0.02603e-3; // Distance moved
n = (2*d)/lambda; // Condition for interference is
disp(' ',n,'The number of fringes shifted across wire is')
|
ee2bbc094151c6189c911def0cd315b0c58bc817 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.23/Ch2_2_23.sce | b29d15885f4fc205889a335f2df24c9b4d3dded9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Ch2_2_23.sce | clc
disp("Example 2.23")
printf("\n")
disp("Calculate Average voltage, rectification efficiency & percentage regulation")
printf("Given\n")
V2=30
RL=100
Rf=10
Vm=sqrt(2)*V2
//Average output voltage
Vdc=(((2*Vm)/(%pi))/(1+(Rf/RL)))
//Rectification effeiciency
nr=0.812/(1+(Rf/RL))
//percentage regulation
PR... |
9196b191927ab8426bc09f233e9c959543f63a42 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_16.tst | dfa81e953691bba76887b9a0ccd34c017572ceac | [] | 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 | 518,124 | tst | 5.7_16.tst | 7 318:1 379:1 534:1 1239:1 1523:1 1711:1 1904:1 2039:1 2235:1 2260:1 2298:1 2401:1 2405:1 2543:1 2867:1 2965:1 2983:1 3150:2 3517:1 3593:1 3606:1 4063:1 4133:1 4592:1 4601:1 4978:1 4991:1 5267:1 5422:1 5447:1 5448:1 5817:1 6492:1 6866:1 6892:1 7165:2 7653:1 8217:1 8301:1 8320:2 8750:1 8774:1 8802:2 9289:1 9487:1 9542:2... |
af4b4587782807defee49d50ff59c2fb8e694943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.3/3.sce | e251cfca090c406b633b4b3c226be25520ac7e69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3.sce | clc
C=0.85; //Weight of Carbon present
H2=0.06; //Weight of Hydrogen present
O2=0.06; //Weight of Oxygen present
w_required=C*8/3 + H2*8; //Weight of O2 required
w_needed=w_required-O2; //Weight of O2 to be supplied
w_air=w_needed*100/23;
disp("Weight of air needed=")
disp(w_air)
disp("kg") |
55620f42574302561d0f6859f9def1a5271e36df | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/metanet/find_path.sci | bb17a3e32f548e1cd84634bb5a883b5ee3f18dc0 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 560 | sci | find_path.sci | function p=find_path(i,j,g)
[lhs,rhs]=argn(0)
if rhs<>3 then error(39), end
// check i and j
if prod(size(i))<>1 then
error('find_path: first argument must be a scalar')
end
if prod(size(j))<>1 then
error('find_path: second argument must be a scalar')
end
// check g
check_graph(g)
// compute lp, la and ls
n=g('node... |
c757a1822f58cc8e280229ef80d6101ea91d6cf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH1/EX1.1/1.sce | d3705bbfa7f1c7ebeeacaf94494a4b080b3ad4c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 1.sce | // Caption: Finding reluctances and flux
clear;
close;
clc;
U_r=70000;
U_o=4*%pi*10^-7;
function [R_c]=reluctance_core(l,A)
R_c=l/(U_r*U_o*A);
endfunction
disp(reluctance_core(.3,9*10^-4),'Reluctance of the core=')
function [R_g]=reluctance_gap(g,A)
R_g=g/(U_o*A);
endfunction
disp(reluctance_gap(... |
ae58c3eba30b8c1a2ed49d61005d4f363b89c36d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/idst1.sci | 98fc87461abbb7b8b7dbaa400a96b8eb8f591a5f | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sci | idst1.sci | function y = idst1(x,varargin)
//This function computes the inverse type I discrete sine transform.
//Calling Sequence
//Y = idst(X)
//Y = idst(X, N)
//Parameters
//X: Matrix or integer
//N: If N is given, then X is padded or trimmed to length N before computing the transform.
//Description
//This function computes the... |
db9583e421ae642d8ed38aa4550d2c2e187749d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH24/EX24.5/24_5.sce | e461dadaba40cd762b6daabec99401fca3d227aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | 24_5.sce |
clc
//initialisation of variables
in=630//pound/min
T0=460+60//R
cp=0.24
J=778
g=32.2//ft/sec^2
g1=1.4
T1=450//R
ar=0.262//ft^2
nT1=498//ft/sec
R=53.3
nT1=489//R
//CALCULATIONS
W=in/60
v1=sqrt((T0-T1)*2*g*J*cp)
p1=W*R*T1/(144*ar*v1)
nv1=sqrt((T0-nT1)*2*g*J*cp)
np1=W*R*nT1/(144*ar*nv1)
//RESULTS
pr... |
598cc9f83eac331a62cf0439a3d186ce1764bd13 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/SxP_InteViewer/SxP_InteViewer_MainGUI_v1.1.sci | fef617d26c22d0689728e909dfc2aa35084995f9 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,411 | sci | SxP_InteViewer_MainGUI_v1.1.sci | // ====================== S-params Converter ====================
//
// (Semi)Intelligent Differential S-param Viewer
//
// Main GUI controls
//
// (c)2014 L. Rayzman
//
// GUI interface based on UICONTROL2 GUI demo
//
// Created : 02/25/2014
// Last Update : 06/23/2014 - Separated GUI control... |
68c8323f35ab56ae89a0ddd4fd93709e75e26515 | b07438143759654d68984cb489f480e39485180b | /zadanie3.sce | 6317664f57e4dfff9f025d570a06fa94185c6b7d | [] | no_license | BartusZak/histogramPrzedzialy | a214788a450613167409ba9f5f3f6515a3ee6598 | b5d98b4a08f53862996ff8fe483dce8d6ca0ca6c | refs/heads/master | 2021-07-15T17:35:07.515816 | 2017-10-21T20:58:50 | 2017-10-21T20:58:50 | 107,815,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | zadanie3.sce | function histogramPrzedzialy(img,ilosc_przedzialow)
[h w] = size(img);
H = zeros(ilosc_przedzialow,1);
Y = zeros(2*ilosc_przedzialow+2,1);
dlugoscStopnia = ceil(256/ilosc_przedzialow);
pom = [0:dlugoscStopnia:255];
pom = [pom;pom];
X = matrix(pom,1,-1);
X = [X 255 255];
... |
6ea900f5cc790588d44ae383ae1b414dedd49484 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.vowel-10-1tra/result4s0.tst | 413f38381d9005add5334d32bd68489dd10833e0 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | tst | result4s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute ... |
3b8966994e822b09640525542983c05cb4c0aa45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.3.11/Example5_11.sce | fed16281f6863fc49347df045b2349ade5462fa9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,030 | sce | Example5_11.sce | //Chapter-5,Example5_3_11,pg 5-11
//a proton and alpha particle are accelerated by the same potential difference
m_p=1.67*10^-27 //mass of proton
m_a=4*m_p //mass of alpha particle (assume mass of alpha particle to be 4 time... |
8e23aa16fa9a7036cf3ff5dc2ad9ff89976ed69c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.2/Ex7_2.sce | e877b831095bf89b0d916aefa9ba608c577bf881 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Ex7_2.sce | clc
T2=300
T1=1400
Eta=1-(T2/T1)
mprintf("Eta=%f\n",Eta)//ans vary due to roundoff error
Q1=65 //in kJ/min
W=60 //in kJ/min
mprintf("efficiency claimed by inventor=%f",W/Q1)//ans vary due to roundoff error
|
f12a7329cae425ee21a5cba4011e5c0a4bddff50 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0088.tst | 1c1f7ffe21123152e57c51f03f169e35ac4e4976 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 652 | tst | 0088.tst | spLITTer p {}
FiLter X { bitAnd ( m, ) OR hM ( ) Not Wmtg << ef }
FiLTeR u {nOt Hf Lp }
W -> r
groUPer a {aGgReGATE KO.W }
UNgrOuPEr Im { }
gRoUPFiLtEr Q {not bitAND ( 51.122.4.2/25, ) or not bitand ( ) nOT BItor (zC, C, ) bITANd ( 7.2.177.6, ) oR Not 46.183.248.252 Not In lW ( BitANd ( ), ) oR Bit... |
24b2c2f0ab221a5e5745114c61a0850c17f52660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.28/21_28.sce | e83d362b5e67d369555b1e2959f76f1d5bc70e6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | 21_28.sce | //Chapter 21, Problem 28
clc;
n1=500; //primary turns
n2=50; //secondary turns
v1=2.4e3; //supply voltage
Vp=v1/sqrt(3); //primary phase voltage
Vp2=Vp*(n2/n1); //secondary phase voltage
Vp... |
afa400a7b4b7577a6c159a6622f786301aa23cfe | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH2/EX2.1/Ex2_1.sci | 20cd6dcefc3523f3e619e79fd08b57303c4d6e8d | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sci | Ex2_1.sci | clear all
t=0:1/120:6
x1=exp(-t).*sin(20*%pi*t)+exp(-t/2).*sin(19*%pi*t)
subplot(2,1,1)
plot(t,x1)
xlabel('t')
ylabel('x_1(t)')
a=gca();
t2=-4:1/120:4
x2=sinc(t2).*cos(20*%pi*t2)
subplot(2,1,2)
plot(t2,x2)
xlabel('t2')
ylabel('x_2(t2)')
a=gca();
|
d0172de19db6fc835a380d6788bccd9a92ce6682 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH4/EX4.8/Example4_8.sce | 49ef517df702a28bd67723b6262bce93603dc7d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Example4_8.sce | //chapter-4,Example4_8,pg 490
//enter binary 1-bit values only
printf("RS flip-flop truth table\n")
S=input("enter value of S")
R=input("enter value of R")
Qn=input("Enter previous value of Q")
En=input("enter enable value")
if En==0 then
op=Qn
printf("op=%.f",op)
else if S==0&R==0 then
... |
e4b065e51dfe628dc311e10d06a70d7233019bd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH12/EX12.5/eg_12_5.sce | d137fbed7e866e3665511a6a52a16b874792d251 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | eg_12_5.sce | clc;
clear;
disp("For the 4 state machine M4 in PG 397");
disp("IF the four states A,B,C,D are assigned as 00,01,10,11(ta={(AC)(BD)}) and 00,01,11,10(tb={(AD)(BC)})");
disp("And if the output,next state functions of both the assignments are calculated we can find that ");
disp("For first assignment ");
disp("Y1=x^y1+x... |
ea37dcb8b7a88f88ac52d55023a2fd6148d6dddc | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/cercle.sce | 92db05c06e3036c6c72e5d742e6cc17e8e9e9217 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,735 | sce | cercle.sce |
function C = cercle(x,y,r)
// trace un cercle de centre (x,y) et de rayon r
cpt1 = 1
cpt2 = 1
D = 2*r
step = D/100
for i = x-r:step:x+r
ind_i = i/step-(x-r)/step+1
C1(ind_i) = sqrt(r^2-(i-x)^2)+y
C2(ind_i) = -sqrt(r^2-(i-x)^2)+y
if imag(C1(ind_i)) == 0 then //on slct... |
865059349ae95384f025be3202b5529732363829 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.28/Ex7_28.sce | 0eb5dcba499ea0a6a9c924910cfbb277b82f9ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | Ex7_28.sce | clc
//to calculate energy of a neutron
//consider nucleus as a cubical box of size 10^-14m
//x=y=z=a=10^-14=l
//for neutron to be in the lowest energy state nx=ny=nz=1
//formula is E=(%pi^2*h^2/8*%pi^2*m)*((nx/lx)^2+(ny/ly)^2+(nz/lz)^2)
h=6.626*10^-34 //planck's constant in Js
m=1.6*10^-27 //mass in kg
l=10^-1... |
b2cde02592cb94a049a65a7f807e9df9d8d89465 | 22bd6c89dcdc417a9dca420462ab79dcba3d9bd2 | /Chapter1/PriorityEncoder83.tst | ca7f2b7329a4495c74977b33e2e50b652edafc90 | [] | no_license | johnbmerry/Nor2Tetris | b4f1b1387a50560adde600f22cdd357722b7eab0 | 61e06d77c4a5942d9f7931d8218d8a3b1a6932c6 | refs/heads/main | 2023-01-12T09:56:57.004111 | 2020-11-15T17:39:26 | 2020-11-15T17:39:26 | 309,255,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | tst | PriorityEncoder83.tst | // File name: projects/01/PriorityEncoder83.tst
load PriorityEncoder83.hdl,
output-file PriorityEncoder83.out,
compare-to PriorityEncoder83.cmp,
output-list a%B1.8.1 out%B1.3.1 idle%B1.3.1;
// example tst command given
set a %B00000000,
eval,
output;
set a %B00000001,
eval,
output;
set a %B00000010,... |
b16afa4ae34b917248ec657082c1c468008f455c | c5f124f3f31b29a0c7f7dfac02f417eb2e3e69fd | /grafico_funcao1.sce | 96de33f2f64e7ed4018c47dd8ccb87bb908b067c | [] | no_license | leonardbarreto/ProbInversos | 537a31158bd3022482f83a1889cc0b4bd932b5f5 | dcd682a29fd900036bd44217b21aebf9e5042727 | refs/heads/master | 2021-01-15T11:49:03.863602 | 2012-09-11T20:01:54 | 2012-09-11T20:01:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sce | grafico_funcao1.sce | function[z]=fx(x,y)
z=((x-1)^2)+((y-1)^2)-x*y
endfunction
x=[6:0.1:6];
y=x;
w=feval(x,y,fx);
plot3d(x,x,w) |
7796361dec79e2bd0c0abaefed035a120dcdce24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.14/Example2_14.sce | 1caa5d045fe74e1c417faa6e974b03154e3ce9d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | Example2_14.sce | //Example 2.14
clear;
clc;
//2.14(a)
Rs=120;
Vref=15;
imax=20*10^(-3);
Vb=2*Rs*imax;
Vtap=Vb/2;
Vtapch=0.01*Vtap;
v1=Vtap+Vtapch;
v2=Vtap-Vtapch;
v1ch=v1-v2;
i=v1ch/((Rs*Rs)/(Rs+Rs));
R1=(Vtap/i)-630;
R2=1000;
i3=2*imax+(4.8/R2);
R3=(2/i3)+6-0.642857 ;
R4=((Vref-(R3... |
d2967a757cfe6d854597845303f50f359feec24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH2/EX2.11/Ch02Ex11.sce | 53ffffef046d561d8ebb01b4e6d60742341a9b35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Ch02Ex11.sce | // Scilab Code Ex2.11: Page:83 (2011)
clc;clear;
m0 = 1.67e-27;....// Rest mass,in kg
a = 1e-14;....// Size of the box
h = 6.63e-34;....// Planck's constant,in J-s
n = 1; // Quantum number for lowest energy state
E_n = n^2*h^2/(8*m0*a^2);
printf("\nThe lowest energy of the neutron confined to the nucleus = %4.... |
89b86f50a89f1e6acfa4cfcf8d58a58059421923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH2/EX2.3.5/2_3_5.sce | 20641cd63520ba8d15d6802b080b8891e698b014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 2_3_5.sce | clc
//initialisation of variables
F= 100 //tonf
p= 2000 //lbf/in^2
x= 12 //in
x1= 48 //in
p1= 40 //lbf/in^2
//CALCULATIONS
A3= (F/p)*2240
A2= A3*x/x1
A1= A2*p/p1
//RESULTS
printf (' Piston area= %.f in^2',A2)
printf (' \n ram area= %.f in^2',A1)
|
e29811da7b50ccf9b982b35eaeee04f9819f818f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH6/EX6.18/6_18.sce | cbb4b2e5e2838c404329c12230dc819a463b94d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 6_18.sce | clc
//initialisation of variables
b1= 3.2 //ft
b2= 1.3 //ft
h1= 1.86 //ft
h2= 1.63 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
a1= b1*h1
a2= b2*h2
Q= a1*a2*sqrt(2*g)*sqrt(h1-h2)/(sqrt(a1^2-a2^2))
//RESULTS
printf ('Discharge = %.1f cuses ',Q)
|
b4f4a5708aeba678405a5cbc93224babbd09b681 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH14/EX14.7/14_7.sce | 1c3456b76c4a760616343d0d7eb25e27b09eca25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 14_7.sce | clear
clc
disp('Ex-14.7');
mpc2=938; //rest energy of proton
Q=mpc2+mpc2-(4*mpc2); //Q value of reaction
Kth=(-Q)*(6*mpc2/(2*mpc2)); // thershold kinetic energy
printf('The threshold kinetic energy is %.2f MeV',Kth); |
3e924b260db47a872b00038fa8e1c4f73e96d75a | 46c2ffc0a7d0219a5dfeab726da94f2cacde4212 | /Scicos/lectures/motor-system-lecture-frequency.sce | fa4aced45ee8a22e11f11d5bb192596c9f618967 | [] | no_license | pcarcereri/Laboratory-of-Embedded-Control-Systems | b51e98223e8b614ebcf4835d7a45287e8fce651a | c5df61d28b97c0ae467b31ed0086e466c51506b3 | refs/heads/master | 2021-01-19T19:35:31.964162 | 2012-04-02T09:08:54 | 2012-04-02T09:08:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | motor-system-lecture-frequency.sce | clc;
// Simply copy&pasted from professor lol
// Motor parameters (change at your will)
K = 2;
Omega_n = 10;
Csi = 0.5;
// Transfer function
s = poly(0, 's');
G = K / (s^2 / Omega_n^2 + 2 * Csi / Omega_n * s + 1);
G = syslin('c', G);
Dt = 0.1;
t = [0:Dt:10];
// Amplitude:
A = 2.5;
u = [zeros(1, round(1/Dt)), A * o... |
168e8e14dcaddb585d140b4b2eca95863a82fc44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH18/EX18.6/Ex18_6.sce | b0e8c4a81d65c94cd0c2e98bf16f816ee7e3c940 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Ex18_6.sce | //example-18.6
//page no-550
//given
//resistivity of copper , nickel and silver are
rhoCu=0.015*10^-6 //ohm m
rhoNi=0.012*10^-6 //ohm m
rhoAg=0.016*10^-6 //ohm m
//atomic percent of nickle and silver
CNi=0.25
CAg=0.40
//the resistivity of Cu-Ni-Ag alloy at 300 K
rho=rhoCu+(rhoNi*CNi)+(rhoAg*CAg) //ohm m... |
54fbba5203b5dba41b39eb6fe755f37df9dc27f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH8/EX8.12.2/ex_8_12_2.sce | 763c4c70b86245481033f51fa788852920f9a004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | ex_8_12_2.sce | //Example 8.12.2: the field current,Evaluation of alfa,Evaluation of power factor
clc;
clear;
close;
//given data :
format('v',7)
TL=50;// in N-M
N=1000;//in rpm
Rf=150;//in ohm
Ra=.25;// in ohm
Kv=0.7032;
alfa=0;
Vm=230;// in volts
Ef=((Vm*sqrt(2))/%pi)*(1+cosd(alfa));
If=Ef/Rf;
disp("part (a)")
disp(If,"Field current... |
674dc70d63e6b33ec9815235f432757e843e6c66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH11/EX11.7/11_7.sce | 7a2e321ad9b56eb892866c0e64f9312af847a960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 839 | sce | 11_7.sce | //chapter 11
//example 11.7
//page 328
clear all;
clc ;
//given
Rl=40;//load resistance in kohm
Vcc=14;//supply voltage V
Ve1=5;Vce1=3;Vce2=3;
Vc1=Ve1+Vce1;
Vb2=Vc1;
Ve2=Vb2-0.7;
VR5=Vcc-Ve2-Vce2;
R5=Rl/10;
printf("\nR5=%d kohm,use standard value 3.9 kohm ",R5);R5=3.9;
Ic2=1000*VR5/R5;
R6=1000*Ve2/Ic2;
... |
c0e0fdd3b9d89d441eaf66d629162f07a8c5cf93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH6/EX6.11/6Ex11.sce | ac0dfaa360f216f37ea03df5d5ba1b8083e45d18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 6Ex11.sce | //chapter 6 Ex 11
clc;
clear;
close;
n=39; avg39=15;//average of 39 students
inc=3/12; //months converted to years
avg40=avg39+inc;
Sum39=avg39*n;
Sum40=avg40*(n+1);
teacherAge=Sum40-Sum39;
mprintf("The age of teacher is %d years",teacherAge);
|
c0d65cef650c9d896e0fed4d87e0b0b957017838 | 10b625bb4f968cf83298dd40b285b6f15ab4354f | /MP2_Valaquio/Valaquio_MP2.sce | bbc18dc565173017384e64dc54a0461765def3db | [] | no_license | edvalaquio/SciLabProjects | 885b1493b1368bbdccd671a58fba6ead6da9bca1 | aa8efd42ca65d4779376e2ccaf132fd75713fe7f | refs/heads/master | 2021-09-14T20:03:14.736024 | 2018-05-18T10:42:59 | 2018-05-18T10:42:59 | 131,813,353 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,278 | sce | Valaquio_MP2.sce | curDir = get_absolute_file_path('Valaquio_MP2.sce')
getd(curDir + '/functions')
//============================= Number 1
function item = number1()
num = [100.0 154.2349 -12.32157 -(2/3)]
for i = 1:1:size(num, 2)
disp('==========================');
printf("Input: %f\n\n", num(i))
printf("Double Precision: \n")... |
c03417cf2eff6832deadcef4de2b577584f7fcb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.3.2/ex1_3_2.sce | 9d70954f851fcc40c2ca82d3472ffa72bfd505dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 923 | sce | ex1_3_2.sce | //Chapter-1,Example1_3_2,pg 1-15
As=28.1 //atomic weight of Si
Ag=69.7 //atomic weight of Ga
Aa=74.9 //atomic weight of As
as=5.43*10^-8 //lattice constant of Si
aga=5.65*10^-8 ... |
c8a5e841363b4f5a277b7d55b70a9724b9e1ecc0 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab05/q03.sce | 288f49d38b1d5d40d6239eb34c26f7bdc6628e44 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | q03.sce | //solve ODE
clc;
clear;
function t=f(x,y)
t=(sin(x) - 2*y*tan(x));
endfunction
x0=%pi/3;
y0=0;
x=%pi;
y=ode(y0,x0,x,f)
//for graph
x=[%pi/2:0.1:2*%pi];
y=ode(y0,x0,x,f);
plot2d(x,y);
xlabel("X Axis")
ylabel("Y Axis")
title("Solution to ODE")
|
5cbf4f2282a54c86161fcfc21ca8c35bd154a899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH9/EX9.7/9_7.sce | 09d20eb93891276979062b97c6a6ebb553f5898c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | 9_7.sce | clc
//initialisation of variables
m=1//kg
c=1000
T1=273//k
T2=50+273//k
l=571700//cal/kg
//CALCULATIONS
ds=m*c*log(T2/T1)+m*l/T2
//results
printf(' difference in entropy = % 1f cal per degree c',ds)
|
89ed1648f34ddc1f189329c1625d3401fa0eb383 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH11/EX11.12/11_12.sci | 65eb55cadc4850604abda6b489a40728054c8b01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sci | 11_12.sci | clc();
clear;
//To determine the magnetic field
k=1.5; //maximum kinetic energy in MeV
m=1.67*10^-27; //mass of proton in kg
q=1.6*(10^-19); //charge of particle
r=0.35; ... |
2def5939abf7fd616279a731240c9c12911280f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH5/EX5.13/ex5_13.sce | e4bb60aac1d5234b2177913379b33ff58d22873d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | ex5_13.sce | clc;
V=20; //voltage in Volts
R1=2; //resisitance in Ohm
R2=4; //resistance in Ohm
R3=5; //resistance in Ohm
Rp=(1/R1)+(1/R2)+(1/R3); //calculating parallel resistance
R=1/Rp; //Parallel
disp(R,"(a)Equivalent Resisitance in Ohm = "); //displaying result
I1=V/R1; //calculating current through R1
... |
e7eaa4ae7cbc1f7584b3dabed97db8265471c900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH7/EX7.1.c/Example7_1_c.sce | af6d77a4804f7533f4ee8b856b3f72df838a3812 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Example7_1_c.sce | //Example 7.1(c)
clear;
clc;
fL=0.1;
fH=1*10^6;
enw=20*10^(-9);
fce=200;
En=enw*sqrt((fce*log(fH/fL))+fH-fL);
printf("Estimated RMS input voltage=%.1f uV",En*10^6); |
20102a04ab71148373711a33f3334286219b0729 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/upsample.sci | 98a9e6d4421235fac9ce8b142bdbe2d25fbc0dc2 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,565 | sci | upsample.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
3e4705e5cc20c225981cd5ec7afafb12e294461c | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-HypothesisTesting/SP_FLADTest-TD-02.tst | b0de572e26f5f6e441220aa0a7df58bc01ada047 | [] | 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 | 4,694 | tst | SP_FLADTest-TD-02.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- 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.
... |
a1d1e99d5cb4155ca4603b1bc29f11a9d21b5222 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%ros.sci | 1e3ff55156fc18832834450334818d9f4d7c5044 | [
"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 | 227 | sci | %ros.sci | //[r]=%ros(l1,l2)
//%ros(l1,l2) correspond a l'operation l1==l2 ou l1 est une fraction
// rationnelle et l2 une matrice de scalaire
//!
r=degree(l1(2))==0°ree(l1(3))==0
if r then r=coeff(l1(2))./coeff(l1(3))==l2,end
//end
|
b306e78fbe2702abd50ab3f75c879d14b4609ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH20/EX20.6/FBELT_6.sce | 9fc856d4fc91bd538ac43d0ceda8738aa1306140 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | FBELT_6.sce | // sum 20-6
clc;
clear;
i=2.5;
C=4500;
N=960;
P=20*10^3;
Ks=1.15;
Kf=1.10;
t=8;
//let weight density be w
w=0.110*10^5;
m=w*t/10^6;
Fa=8.75;
d=200;
D=i*d;
u=0.4;
V=2*%pi*N*d/(2*60*1000);
Pd=P*Ks*Kf;
Cp=1;
Cv=0.6;
//to find b
T1=Fa*t*Cp*Cv;
Tc=m*V^2/9.81;
theta=180-(2*asind((D-d)/(2*C)));
theta=... |
78910323c1623d8bad1e785a051e5a3133cd85db | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_randi.sci | fd86bab5eba56ef2948e7550ac395f56e24100a2 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,572 | sci | moc_randi.sci | function ri = moc_randi (bounds, varargin)
// Return random integers in a given range
// Calling Sequence
// ri = moc_randi(imax)
// ri = moc_randi(imax,n)
// ri = moc_randi(imax,m,n,...)
// ri = moc_randi([imin,imax],...)
// Description
// Additional arguments determine the shape of the return matrix. When no
// argu... |
e275fd489e32bb5beba3048ea6a1ac1b9263f892 | 2d52e11c7b61898224f065e3bbf4433c814c9fe1 | /measurement/array-operations/vdiv3.sci | ca4f4b643f1d5fa1d7500bef69eb2d2aa1b226be | [
"MIT"
] | permissive | quepas/performance-estimation-array-operations | b6954d753c83d235f12c5d97fa82bcc38656cf5e | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | refs/heads/master | 2021-01-24T13:24:52.734940 | 2018-05-12T15:18:20 | 2018-05-12T15:18:20 | 123,173,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sci | vdiv3.sci | // Element-wise division of threea vectors
function vdiv3(V1, V2, V3)
R = (V1 ./ V2) ./ V3;
endfunction |
4ce2e37ea0f10075440ef93798e49ac83c39ecd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH13/EX13.8/Example13_8.sce | ef84c3a4ca7da78bb6164ddcdca8f8218fe0b4b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,325 | sce | Example13_8.sce | clear ;
clc;
//Page No. 419
// Example 13.8
printf('Example 13.8\n\n');
// Solution fig E13.8
T1c = 15 ;// Temperature of F & P -[degree C]
T1 = 273 + T1c ;// Temperature of F & P -[K]
P1 = 105 ;// Pressure of F & P -[kPa]
// F analysis
F_CO2 = 1.2/100 ;// Volume fraction
F_odr = 98.8/100 ;// Volume fraction
... |
fc55c144665ba38b9f4ed4cbbe82f9544bbe6efe | 09697f1820407362408542dc147b6c5a0281dd5a | /7(F).sce | 6d96a2553cfa7ca8c287f2695d0c42d1713a34db | [] | 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 | 493 | sce | 7(F).sce | disp( 'solving for the congruence equation 8x @ 12(mod28),where @ is the sign for congruence')
a =8;
b =12;
m =28;
V= int32([a,m]);
d= gcd(V);
a1= a/d;
b1= b/d;
m1= m/d;
function yd=f(x)
yd=(a1*x)-b1
endfunction
disp ('k is the unique solution of the equation')
for i=0:m1
x=i;
p=f(x);
if(modulo(p,m1)==0... |
84ea45884aa69d1519a87f6d93b1c62c7f49b7e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH2/EX2.6/Ex2_6.sce | b94e01698c63231185d8ca8d8ac027b6d8f13719 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex2_6.sce | clc;
g=0.003; // gap length
wp=0.006; // pole width
B=0.8; // flux density in air gap
uo=4*%pi*10^-7; // free space permeability
// after the derivation of expression
fe=(B^2*wp*g)/(2*uo);
printf('Force tending to bring electromagnets into axial alignment is %f N',fe);
|
dee4e17acedc8097423b42a0871eeb31c947b902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH13/EX1.3/Ex13_4.sce | 7b6d1f5479bc6a5423dd9b282b9a832b6caabedf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex13_4.sce |
clc
//initialisation of variables
v=20//cu ft
a=14.7//ft
v1=200//psi
t=500//F
n=30//cu ft
n1=120//psi
t1=300//F
p=12//cu ft
t2=200//F
B=1545//F
p=538//psia
//CALCULATIONS
O=144*(a+v1)*v/(B*(t+460))//mol
N=144*(a+n1)*n/(B*(t1+460))//mol
T=(O+N)*B*(v1+460)/12//lb per sq abs
P=p*(O/(O+N))//psia
P1=p*(N... |
66954ffc122f441cf6c87534632f8fb82766d3ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH11/EX11.2/11_2.sce | fca66f2a5ea285bcae8e8c90032c60f70a522a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 11_2.sce | disp("Vbi=(K*T/q)*log(Na*Nd/ni^2)");
k=0.026; //say a=K*T/q
Na=10^16;
Nd=10^19;
ni=1.5*10^10;
Vbi=k*log(Na*Nd/ni^2);
printf('\n The value of built-in-voltage is %fV',Vbi);
disp("Vp=q*Nd*a^2/(2*Єs)");
q=1.6*10^-19;
a=10^-8;
b=11.9*8.854*10^-14; //say b=Єs
Vp=q*Nd*a^2/(2*b);
printf('\n The value of pinch-of... |
a250980d4f77811937829d64c860253f06f35040 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH12/EX12.9/12_9.sce | e123781c8e02f664047e79dd1ee43698b3d020e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | 12_9.sce | clc
//initialisation of variables
p1=140000//Btu per gal
h=0.75//percent
p2=40000//Btu per gal
h1=4.3//ft
h2=0.746//ft
p3=1.25//ft
f=10//cents a gal
//CALCULATIONS
H=h1*h2*p3//cents per hr
B=p2/(p1*h)*f//cents per lb
//RESULTS
printf('the cost of operating the heat pump is=% f cents per hr',H)
printf('the... |
8346770d0809bfe61a8d08265b77b3a8b8921aa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH5/EX5.1/Example5_1.sce | 2377d89fa6d4d0bdd93109291ea7af4a3591308a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | Example5_1.sce | //Scilab Code for Example 5.1 of Signals and systems by
//P.Ramakrishna Rao
//Discrete Time Fourier Transform of
//x[n]= (a^abs(n)) 0<a<1
clear;
clc;
close;
// DTS Signal
a = 0.5; //0<a<1
max_limit = 10;
n = -max_limit+1:max_limit-1;
x = a^abs(n);
// Discrete-time Fourier Transform
Wmax = 2*%pi; ... |
ac70b319565957bc30492f721be96d812d17d403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.18/Ex12_18.sce | d7bcc56ae60af5578c1409f9d7d588d1991bdddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex12_18.sce | //Chapter 12
//page no 486
//given
clc;
clear all;
CSO=-59.8; //in dB
y=10^(CSO/10);
mprintf("AM modulation depth (m) = %e\n",y);
asq=3.6*10^-3;
Ncso=50;
msq=(y/Ncso/asq/asq);
mprintf("\n m^2 = %e\n",msq);
printf("\n Decrease of AM modulation depth decrease the CSO distortion by = %0.0f percent",sqrt(msq... |
2439515211c770e9ebe825bb439aaf25e872fc50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.3/Ex3_3.sce | ec9bc1e3b5538ff2791647329ce2838d00531de7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Ex3_3.sce | clc;
//ex3.3
Vsrms=25; //volt
Vspk=Vsrms/0.707; //volt
Vf=0.7; //volt
VLpk=Vspk-Vf; //volt
disp('V',Vspk,"Vspk="); //The answers vary due to round off error
disp('V',VLpk,"VLpk="); //The answers vary due to round off error
|
fcc2cddc3e28a26f7a83a0b0c8055432e0d28c12 | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/genf.tst | 0c13bc7b78f293ade82d1d0468637bd391fe54e0 | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 4,567 | tst | genf.tst |
Madrasi paralysis even if rebirth square is occupied
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 -P . . . . . . . 7
| |
6 . P . . . . . . 6... |
3ad1fcb285eaad6855a9b77c984b2f41a0c63112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH8/EX8.6/Ex8_6.sce | a3e02a64c52a013f33584cea46be5db56d3d03fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,070 | sce | Ex8_6.sce |
// Given:-
// Analysis
// State 1 is the same as in Example 8.3, so
h1 = 3348.4 // in kj/kg
s1 = 6.6586 // in kj/kg.k
// State 2 is fixed by p2 2.0 MPa and the specific entropy s2, ... |
483fdcf8d8e47e659366e6448e4863b5d68ac2c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.4/6_4.sce | 6afb5f6901f3d7490667ef0081b77fb502a5b17a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_4.sce | clear
clc
//initialisation of variables
l= 1.5 //miles
d= 18 //in
Q= 12.4 ///cusecs
h= 130 //ft
r= 169
r1= 338
w= 62.4 //lb/ft^3
g= 32.2 //ft/sec^2
//CALCULATIONS
f= h*10*l^5/(l*5280*Q^2)
R= sqrt(1.5*r1-r)
d= sqrt(l^2/R*144)
v= sqrt(h*g*2/(r/R^2+1))
HP= w*0.25*%pi*(d/12)^2*v^3/(550*2*g)
//RESULTS
prin... |
e0372044400d23dcead25b5fb78dc2f5582d6f03 | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/Fourier-reihe plotten.sci | 2e9f3a3b17d9d0aef949f33554b53e46e7100595 | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 477 | sci | Fourier-reihe plotten.sci | //bin aufgabe 3
T = 2;
t = linspace(0,2*T);
a0 = 1;
w = 2*%pi/T;
p = a0/2;
for k = 1:10
p = p + ((1-(-1)^k)/k)*cos(k*w*t)
end
figure(1);
clf();
subplot(2,2,1);
plot(t, p, 'black')
for k= 1:10
a(k) = sum((1-(-1)^k)/k);
b(k) = sum(1/k^2);
end
c = [a0/2;(a - %i*b)/2];
s... |
bec95c370b33cd3c2ea8f29d47ffabeb5600f2b7 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latc2tf/latc2tf11.sce | 1595c447b417fedcbc936f05b621a5d1db96f1ee | [] | 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 | 209 | sce | latc2tf11.sce | //i/p args contain negative values
k=[0 0 0 0 0];
v=[0 0 0 0 0];
[num,den] = latc2tf(k,v);
disp(num);
disp(den);
//output
// 0. 0. 0. 0. 0. 0.
//
// 1. 0. 0. 0. 0. 0.
//
|
13fb653f5177f54c5b1ea6c9aa576d665ef02103 | fc8df434ad0d41a6af96fd01e5123a5d303327af | /state_eq02.sce | 7955836b7bc8e6aaef52a6a64350e6e52329f76d | [] | no_license | Itolab2016/drone_regurator | 262f351c1f01b2c5c6daa05ecd3f9c73b7f4536a | fc3039a6107f4ff33f01f7095a061098538a219b | refs/heads/master | 2021-01-12T10:04:11.802552 | 2016-12-14T15:08:49 | 2016-12-14T15:08:49 | 76,348,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,661 | sce | state_eq02.sce |
g= 9.80665
Ixx = 0.082
Iyy = 0.083
Izz = 0.062
Ixz = 0.000
mass = 0.712
l = 0.137
den = (Ixx*Izz - Ixz^2)
ApL = Izz/den
ApN = Ixz/den
AqM = 1/Iyy
ArL = Ixz/den
ArN = Ixx/den
K1 = 3.321*g
K2 = 3.426*g
K3 = 3.622*g
K4 = 3.454*g
KT1 = 0.06329
KT2 = 0.04349
KT3 = 0.02104
KT4 = 0.05735
B31 = -K1/mass
B32 = -K2/mass
B... |
7cf1ee03a85125d4ba707893d06867110c5fd035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.71/71.sci | 846fe0ce6d69fc85d54ff25534e85736fc4c588e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sci | 71.sci | clc;
clear all;
disp("Critical radius of insulation")
k=0.155;// W/(m*C)
t1=65;//degree C
tair=20;//degree C
r1=10/2;//mm
ho=8.5;// W/(m^2*K)
rc=1000*k/ho;//mm
t=rc-r1;
disp("mm",rc,"critical radius of insulation =")
disp("mm",t,"thickness upto which rubber insulation is effective in heat dissipation t =") ... |
f556a42dd429ea5f66d3ede2c2075f1f883c8a8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH9/EX9.10/Ch09Ex10.sce | c7876fd099c3ce8dfe372ba130df26598111ba1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | Ch09Ex10.sce | // Scilab Code Ex9.10: Page-467 (2011)
clc;clear;
mu1 = 1.52;....// Refractive index of core
a = 14.5e-006;....// Radius of the fibre core, m
del = 0.0007;....// Fractional index difference
lambda = 1.3e-006;....// Operating wavelength of optical fibre, m
mu2 = mu1*(1-del); // Refractive index of cladding
v... |
9a6689d56de04c4fae386feb092d65db7afd6299 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH3/EX3.18/3_18.sce | 502dff3d4179154d376d0758aa4721b90b93df9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | 3_18.sce | //Chapter 3, Prblem 18,
clc
funcprot(0)
// A = p2z(R,Theta) - Convert from polar to rectangular form.
// R is a matrix containing the magnitudes
// Theta is a matrix containing the phase angles (in degrees).
function [A] = p2z(R,Theta)
A = R*exp(%i*%pi*Theta/180);
endfunction
// [R1, Theta1] = z2p(A1)... |
bc681e8e648b1d81fe16f0adcfffd11e0fd141ec | b3a9b289e5f7ef0e6a266cfb5f070b2bcd360fc2 | /CartCyl.sci | 66b7c9550afa83c665a4ba2b8ee06dd5e198c777 | [] | no_license | nicoinsatoulouse/Projet | 7cc0c49e8c8d760a3a804fdc91e549240a6439b3 | 6817a37657ebbf9f74d4d24dbde199bb25fb7597 | refs/heads/main | 2023-05-05T18:59:31.953083 | 2021-05-25T08:18:56 | 2021-05-25T08:18:56 | 345,955,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sci | CartCyl.sci | function rtheta=CartToCyl(xy)
// Cartésiennes à polaires
theta = atan(xy(2), xy(1))
r = norm(xy)
rtheta = [r, theta]
endfunction
function xy=CylToCart(rtheta)
// Polaires à cartésiennes
x = rtheta(1)*cos(rtheta(2))
y = rtheta(1)*sin(rtheta(2))
xy = [x, y]
endfunction
|
6102c280be8cf4207df3a2778febdd006336bd2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH11/EX11.2/11Q2.sce | 26bf3e6ae3e4ed0e635d1a2356a7d3e512c6aa2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | 11Q2.sce | clc
// one value of e is done
Gs=2.75
A=30.68
Ms=128
p=1
Hs=Ms/(A*Gs*p)
H=2.540
Hv=H-Hs
e=Hv/Hs
printf('the value of e for give values = %f',e)
|
0f7f8c9c3d56f5c254c6a81fde5be92850589b33 | 37ae73a0d143e6fc539c6ff34ace9e46e0982654 | /Tutorial/TestEnv/Tutorial/environment/TEMPLATE_EXAMPLE/TEMPLATE_EXAMPLE.tst | ba9306eb24699c6a6be8354c34c8ae602c6b1496 | [] | no_license | vjtkmg/vcast-workarea | 7441ca0ac1eb05ab41c388b5c6fd502277fc4ac9 | 6ecfc99f4b1b68707e4debb8c5b213a467326c2c | refs/heads/main | 2023-08-23T13:26:38.279532 | 2021-11-04T09:12:34 | 2021-11-04T09:12:34 | 422,165,203 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,013 | tst | TEMPLATE_EXAMPLE.tst | -- VectorCAST 21.sp3 (08/04/21)
-- Test Case Script
--
-- Environment : TEMPLATE_EXAMPLE
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.S... |
37f1d333187befa160939fff771a8d954307fbb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.61/1_61.sce | c82dd9707ca80f779afb9d91aa0468a75a0010b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | 1_61.sce | //water//
//page 1.87 example 1//
clc
W1=7.3;//Mg(HCO3)2 in water in mg/L//
W2=9.5;//MgCl2 in water in mg/L//
W3=16.2;//Ca(HCO3)2 in water in mg/L//
W4=13.6;//CaSO4 in water in mg/L//
M1=100/146;//multiplication factor of Mg(HCO3)2//
M2=100/95;//multiplication factor of MgCl2//
M3=100/162;//multiplication fact... |
3f6a5fe74ee84fc5e3a5008673708798b58c5ec1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH3/EX3.3/example3_3.sce | 613bc2edb448840913c7040fcf50f61cdca47fa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | example3_3.sce | i=5*10^(-3);
v=12;
r=v/i;
disp("the resistance value (in kΩ) is"); disp(r*10^(-3)); |
f31453af933324df4253f9720bd2d557a5cfe87c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH1/EX1.6/Ch01Ex6.sce | 418836dd5f94c82d947ebd31ec63afbc8ae791ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Ch01Ex6.sce | // Scilab code Ex1.6: Pg 25 (2005)
clc; clear;
// For simplification assume velocity of light equal to unity
c = 1 // Velocity of light, m/s
lamda_obs = 474e-09; // Wavelength measured by observer, m
lamda_source = 394e-09; // Wavelength measured in the source's rest frame, m
v = (... |
faf735c3eeacf6ba69eec75ecd12a6269eada808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH7/EX7.9/9.sce | af6f6dc9860fde0eca20c420bde2445800890afd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9.sce | clc
H=0.07; // average head
rate=-0.02/600; // (dH/dt)
H1=0.08; // m
H2=0.01; // m
k=-rate/H^(3/2);
t=integrate('-1/k*H^(-3/2)', 'H', H1, H2);
disp("Time taken =")
disp(t)
disp("s") |
0485caaa7a8bb5e4e7115de42cde98dc726f5a51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH3/EX3.3/Example3_3.sce | 7f1a273abbe87183da159afe3fd6740a333cc4c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Example3_3.sce | //Example 3.3
clc
s=%s;
syms t;
xs=2/(s*(s^2+2*s+2));
disp(xs,'x(s)=')
[A]=pfss(xs)
F1=ilaplace(A(1),s,t);
F2=ilaplace(A(2),s,t);
xt=F1+F2;
disp(xt,'x(t)=')
|
26720212e6b3c69b1b12031282cc645d88d449a2 | 92074377d2c131cb9b55fc3babf541cab2c3c38b | /Statistika/Peluang Kejadian X/PelaungKejadianX.sce | a4bd732822aedcccf47ccd28f8610d6e4d8ab4f4 | [] | no_license | LinggaWahyu/BelajarScilab | 05f6173e0cad24d3d13bb324c6470bd87a4269cf | ea45563c3048f4f4f229ad1306245591fcb83e52 | refs/heads/master | 2020-07-31T10:41:28.629143 | 2019-10-24T23:12:17 | 2019-10-24T23:12:17 | 210,577,295 | 3 | 3 | null | 2019-10-24T23:12:18 | 2019-09-24T10:38:10 | Scilab | UTF-8 | Scilab | false | false | 414 | sce | PelaungKejadianX.sce | function[fx] = fungsiNormal(mu,sigma,x)
konst = 1 / (sigma * sqrt(2 * %pi))
fx = konst * exp(-0.5 * (((x-mu)/sigma)^2))
endfunction
function[P_Normal] = PNormal(mu,sigma,a,b)
n = 1000
h = (b-a) / n
fa = fungsiNormal(mu,sigma,a)
fb = fungsiNormal(mu,sigma,b)
jum = 0
for i = 1 : (n-1)
a = a + h
fa1n = fungsiNor... |
89765b2f6ad963dcb7f991ef292a7c68314f3b25 | d4433dc5a6e90f6a26a4c5d9dee686eade240b25 | /ASM.TST | 27ec04776a2a20c8faf31e0a32db471d7212ed1c | [] | no_license | qb40/all | 6e2149ef3c6151717e468ca236840de622cf7d2a | e168acb64fbde09277b04515574507dcbe35161c | refs/heads/master | 2022-02-05T17:58:39.207269 | 2014-01-19T13:28:41 | 2014-01-19T13:28:41 | 106,962,623 | 5 | 0 | null | 2017-10-14T21:02:04 | 2017-10-14T21:02:03 | null | UTF-8 | Scilab | false | false | 229 | tst | ASM.TST | 'successful test
OPEN "B", #1, "mouse.dll"
FOR i = 1 TO LOF(1)
SEEK #1, i
k$ = INPUT$(1, #1)
mouse$ = mouse$ + k$
NEXT
CLOSE #1
DEF SEG = VARSEG(mouse$)
a% = SADD(mouse$)
CALL absolute(a%)
DEF SEG = &H100
PRINT PEEK(0), PEEK(1)
|
6b6dcf07f0044865eb63b3bd6768bdd5bc265a43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH17/EX17.14/17_14.sci | 72f9d6ea53a301a292e9821c16ee405fe020f02b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sci | 17_14.sci | //function//
A=[-2 1;0 -3]
B=[4;1]
C=[1 0]
[O]=obsv_mat(A,C);
disp(O,"Observability Matrix=")
//To Check Whether the matrix(Cc)is singular i.e determint of Cc=0
if determ(O)==0;
printf("Since the matrix is Singular, the system is not Observable \n");
else;
printf("The system is Observable \n")
end;
|
25b5f51905c14a797ec29804ef96bf109767867b | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH25/EX25.2/Example25_2.sce | 3b3a81ce1361c4ba56fd704825dd5cf9eebe84d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Example25_2.sce | clear ;
clc;
// Example 25.2
printf('Example 25.2\n\n');
//page no. 767
// Solution
// Given
// The main reaction is (1/2)*H2(g) +(1/2)* Cl2(g) --> HCl(g) (A)
// Look in Appendix F for heat of formation of H2 ,Cl2 and HCl
H_H2 = 0 ;// Standard heat of formation of H2 -[kJ/ g mol H2]
... |
ddbbe964226b6f76c8ed608f7f849bd553598ece | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.28/ch12_28.sce | 9966cda6479574ac05c89650be20f25b3dbd4ef2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | ch12_28.sce | clear;
clc;
V=400;
V_ph=V/sqrt(3);
N_s=1000;
N=800;
a=.7;
I_d=110;
R=2;
k=1-((1-N/N_s)*(2.339*a*V_ph)/(I_d*R)); printf("value of duty cycle=%.3f",k);
P=I_d^2*R*(1-k);
I1=a*I_d*sqrt(2/3);
r1=.1;
r2=.08;
Pr=3*I1^2*(r1+r2);
P_o=20000;
P_i=P_o+Pr+P;
eff=P_o/P_i*100; printf("\nefficiency=%.2f",eff);
... |
ef8119b8b447bf77c718024d78221dba6d3f0aab | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH3/EX3.3/Ex3_3.sci | 724522ec4cee657f6701566dd49488f6bc8138b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,352 | sci | Ex3_3.sci | clc();
clear;
// To study the effect of adding fins to the cylindrical barrel of an air cooled engine
l1= 3/12; // Length of fins in ft
l2 = 4/12;
h = 50; // Heat transfer coefficient in Btu/hr-ft-F
k = 28; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.