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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9204b54c4719c9d5c255dc966ebcbd26eba0f9c | 151e9d9a47b8c4098e67f5ecc974b3a811d91a95 | /brofist/scicos_32/bro_comm_controller.sci | 14c0a3695004d70730e309f82198775c5ed080c8 | [] | no_license | AliaksandrSiarohin/AppliedRobotics | a81c568be77962723b6b17394d1a42a4e76d8a69 | 5d79e537dd6926738ffc59eff18a78fd42c44417 | refs/heads/master | 2021-01-13T00:49:45.571990 | 2016-01-26T22:22:40 | 2016-01-26T22:22:40 | 45,112,715 | 2 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,047 | sci | bro_comm_controller.sci | function [x,y,typ] = BRO_Controller(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
exprs=arg1.graphics.exprs;
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'get... |
4d37c1368effccc6a20534481d601d840e8d40f5 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 22/Bathy.sce | 67a3dd7bb7b74751868fa32255b74dff726bc264 | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,241 | sce | Bathy.sce | //==================================
// Bathymetry map for Exercise 22
//==================================
f = gcf(); f.pixmap='on';
// reverse grayscale map
map = 1-graycolormap(64);
f.color_map = map;
f.figure_size = [1000,500]; // set size of graphic window
// read bathymetry data
h1=read("topo.d... |
599492e4f57a26f1d9a7e51ac9d534b688a0ab2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH6/EX6.1/Ex6_1.sce | a84d2c0814810680cb2b76ba72fd89022f480ce9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | Ex6_1.sce | //Example 6.1, Page 208
clc
m=4*10^-14//in kg
v=10^-2//in m/s
KE=(0.5*m*v^2)
h=10^-34
printf("\n Kinetic energy(Vo-E) at %e Joule",KE)
delta_x=(h)/sqrt(2*m*KE)
printf("\n Value of penetration distance is %e m ",delta_x)
|
ea5a69bb62695dd903d59fb9d319da1bbf7942f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH14/EX14.1/Ex14_1.sce | 7a9426659fbcb320f9667c4769f32a23a6bd8f1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | Ex14_1.sce | //=====================================================================================
//Chapter 14 example 1
clc;
clear all;
//variable declaration
VREF =10; //reference voltage in V
//calculations
W1 = VREF/2; //the second MSB weight in V
W2 = VREF/4; //the third MSB weig... |
d35148bc92554a2fa403a08998df179eddc4bca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH5/EX5.1/1.sce | 6f7d7512cffc9bcb1acd657f7401be44b307f144 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 1.sce | clc
//Example 5.1
//Calculate the increase in temperature due to falling water of waterfall
g=9.81;//m/s^2 acc. due to gravity
dz=100;//m Height of waterfall
du=g*dz;//J/kg Change in internal energy
Cv=4184;//J/kg/K;
dT=du/Cv//K Change in temperature
printf("Change in temperature is %f K or degree centigrade",d... |
59bd8c1c7edf125b53d531b35bfda062a7d36b67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH2/EX2.2/Ex2_2.sce | c00b37c4778cf90d281235d6bda7549af8c8f0ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | Ex2_2.sce | //Chapter 2: Antenna Basics
//Example 2-3.2
clc;
//Variable Initialization
e_half_power = 1/sqrt(2) //E(theta) at half power(unitless)
e_null = 0 //E(theta) = 0 at null points (unitless)
theta_1 = 0 //theta' (degrees)
theta = 1 //theta (degrees)
//Calculation
for x=0:2 //loop untill theta = i
th... |
4c971ecc1acb24460b247b64d4a7929cf70d6f96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH3/EX3.18/exa_3_18.sce | bd20ae97c5dc08c4f2f2c10629c8072eb2a73b9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | exa_3_18.sce | // Exa 3.18
clc;
clear;
close;
// Given data
R_f=10;// in k ohm
R1=1;// in k ohm
V_d= 5;// in mV
v_cm= 2;// in mV
A_d= -R_f/R1;
Vout= A_d*V_d;// in mV
disp(abs(Vout),"Output voltage in mV : ")
CMRR_dB= 90;// in dB
CMRR= 10^(CMRR_dB/20);
A_cm= abs(A_d)/CMRR
Mag= A_cm*v_cm;// magnitude of the induced 60 Hz... |
d04a8e124391e60680e2c02604269199afbe69ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.23/example_7_23.sce | c84912b9d855d90b20f72d7211ce0e04456760d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | example_7_23.sce | q=poly([0 10 1],'s','coeff');
G=k/q
H=1
T=G/(1+G*H)
zeta=0.5
k=100/(4*zeta^2)
disp(k," k = ")
omegaN=sqrt(k)
disp(omegaN,"omegaN = ")
Ts=4/(zeta*omegaN)
disp(Ts," Ts = ")
omegaD=omegaN*(sqrt(1-zeta^2))
Tp=%pi/omegaD
disp(Tp," Tp = ")
disp(%e^(-%pi*zeta/sqrt(1-zeta^2))," Mp = ") |
0770e3a005e16d954640066bf170482bf65406f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH3/EX3.33/exa_3_33.sce | 5ec777d41b756f01d36da391029ba312d42beb3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,387 | sce | exa_3_33.sce | // Exa 3.33
clc;
clear;
close;
// Given data
V_T= 0.025;// in V
// Part(a)
disp("Part (a)")
V_BE= 690;// in mV
V_BE=V_BE*10^-3;// in V
I_C= 1;// in mA
I_B= 50;// in µA
I_C=I_C*10^-3;// in A
I_B=I_B*10^-6;// in A
bita= I_C/I_B;
alpha= bita/(1+bita);
I_E= I_C/alpha;// in A
// I_C= I_S*%e^(V_BE/V_T)
I_S=... |
7ffec1a0c25055001a96b832f13f53a717212e0e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/poly2rc.sci | cfdbec63369cb59c683bd5d0753c438b07fad2ab | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,862 | sci | poly2rc.sci | function [kr, R0]=poly2rc(a, efinal)
//poly2rc function convert prediction polynomial to reflection coefficients.
// Calling Sequence
// kr = poly2rc(a)
// [kr, R0] = rc2poly(a, efinal)
// Parameters
// a: prediction polynomial.
// efinal: final prediction error.
// kr: Return refelection coefficient.
// R0: Re... |
deda25121d1c17abb647d0152fca345ee6bb7642 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Anti-Vertical Fast Strafes.sce | 4783632e34ca87e0a915af5affc2ea54efd9e717 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51,739 | sce | Anti-Vertical Fast Strafes.sce | Name=Anti-Vertical Fast Strafes
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=avertfs.map
MapScale=3.5
BlockProjectilePredictors=true
BlockCheats=... |
1b35e140caeff36b791a62fd319856d47af107e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH9/EX9.12/Exa12.sce | 8584d6c4731799fed819c73467ec9cf5851f2f0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Exa12.sce | //Exa 12
clc;
clear;
close;
// given data :
ST=10;//in hours
AT=8;//in hours
SR=9;//in Rs/Hour
AR=10;//in Rs/Hour
//Labour Cost variance
LCV=(ST*SR)-(AT*AR)
//Labour Efficiency variance
LEV=SR*(ST-AT);// in Rs
//Labour Rate variance
LRV=AT*(SR-AR);// in Rs
disp(LCV,"Labour Cost variance : ")
disp(LEV,"L... |
84903abb3927d21efc6f4d67dcf646d43273fad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.17/6_17.sce | a747fbade2fd96fb82adc50768a2dfa079fe449b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | 6_17.sce | // example 6.17
// error estimate in evaluation of the integral
// page 236
clc;clear;close;
deff('z=f(a,b)','z=cos(a)+4*cos((a+b)/2)+cos(b)')
a=0,b=%pi/2,c=%pi/4;
I(1)=(f(a,b)*((b-a)/2)/3)
I(2)=(f(a,c)*((c-a)/2)/3)
I(3)=(f(c,b)*((b-c)/2)/3)
Area=I(2)+I(3);
Error_estimate=((I(1)-I(2)-I(3))/15);
Actual_area=i... |
42fc4d66ba947a95076a49d271a53a867ce198ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH3/EX3.3/Ex3_3.sce | d12133c46a7c930c0ef254099e2accba07334358 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | Ex3_3.sce | clc
clear
printf("Example 3.3 | Page number 74 \n\n");
//find temperature in °C
T = 250 //K
t = T - 273.15 //°C
printf("Temperature in °C = %.2f °C",t)
|
97f921dddeb49b24389c32be8bacdf6a774f8827 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH11/EX11.9/Ex11_9.sce | 1d9f63b6a700cda5fbe8773acc0cc62fa23b9ccb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | Ex11_9.sce | // Exa 11.9
clc;
clear all;
// Given data
// Refering Fig. 11.26(page no.328) - an AC bridge(SCHERING'S BRIDGE)
R1= 1; // k Ohms
C1=0.5; // micro farads
R2=2; // k Ohms
C3=0.5; // micro farads
f= 1000; // Hz
// Solution
// Using Equations 11.20(a) and 11.20(b) given on page no. 328 we get value Rx... |
1dcb072f5ab8a64e94eb18d0431e2bfce494ad88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH19/EX19.4/Example19_4.sce | 9a51f1ad393d701c207634bbf8965c760979241d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Example19_4.sce | //Given that
Mc = 75 //in g
To = 312 //in degree C
Mw = 220 //in g
Cb = 45 //in cal/K
Ti = 12 //in degree C
Sc = 0.0923 //in cal/g.K
Cb = 45 //in cal/K
Sw = 1 //in cal/g.K
//Sample Problem 19-4
printf("**Sample Problem 19-4**\n")
Tf = (Sc*Mc*To + Cb*Ti + Sw*Mw*Ti)/(Sw*Mw + Cb + Sc*Mc)
printf("The final tempratu... |
cc9bb7f3c04003e3aad3c39765451019af52f3df | de14a6897d4397228a52bacb8905b8807370ef4b | /koch_recursif.sce | 7b11173956e4219f29153dd5ee477afb117862b6 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | koch_recursif.sce | //utile pour le calcul de e (troisieme point)
function K=rotation(theta)
K=[cos(theta), -sin(theta)
sin(theta), cos(theta)];
endfunction
function koch(n,a,b)
if n<1
plot([a(1),b(1)],[a(2),b(2)]);
else
//calcul des nouveaux points
c=a+(b-a)/3;
d=b-(b-a)/3;
e=c+... |
f092c687f29f9c8f679a3ae10945e7e391fae1e6 | b1b2e80029cc5546ff903cab102cf2f635407fda | /cavite/cavite.sci | a8e17ad9d79585f76b5be0781005fd1b9297fa1a | [
"MIT"
] | permissive | walidzbiri/zip-code-classification | abc3f0e84400b66ea1e13304ef6353e683e085e5 | f46b4196ba87afc9eff3ad598a40657999860bf4 | refs/heads/main | 2023-03-22T22:56:10.434583 | 2021-03-20T21:22:51 | 2021-03-20T21:22:51 | 349,837,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,553 | sci | cavite.sci | function [surface_central_normalise,surface_ouest_normalise,surface_est_normalise,surface_sud_normalise,surface_nord_normalise]=cavite(Image)
A1=Image;
A2=Image;
A3=Image;
A4=Image;
[row, column] = size(Image);
for i=1:row
for j=1:column
if A1(i,j) == %T then
A1(i,1:j) = %T;
end
... |
d4b9e04d91aecf7d4a3bd62a7e28fa49a99c0657 | 74084a1c6ef810ee05785941963c7dc1725783cf | /test/CT1.prev.tst | 38d1b87d63844025a0cd097f23247f92b8b2f6ee | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/common | 338d245dc6a1ef093748fa577129ac30822ec70b | da1e36931decdbdfe201d88207d5a01c207f8c5a | refs/heads/master | 2022-03-21T14:56:42.582874 | 2022-02-07T10:39:22 | 2022-02-07T10:39:22 | 59,970,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | tst | CT1.prev.tst | token 0 = "call"
token 1 = "my.pr1"
token 2 = "-in"
token 3 = "2 double quoted"
token 4 = "-in:int"
token 5 = "29647"
token 6 = "-in"
token 7 = "2 single quoted"
token 8 = ";"
Number of tokens: 9
|
7b905e651c0e8d7b733f19b0ccbfd744755c2a3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH8/EX8.13/ExA_13.sce | 0c47fce1afa379b3448052a5ace9be644b244fbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | ExA_13.sce | clc;
// data taken from Ex A.7, fig A.16
N1=200; // number of turns in coil 1
f1=53.97*10^-3; // flux in outer limb containing coil 1
m1=5000; // mmf for coil 1
I1=m1/N1; // current in coil 1
N2=100; // number of turns in coil 2
f2=43.97*10^-3; // flux in outer limb containing coil 2
m2=1102; // mmf for coil 2
... |
01ad445f184b7c049d37ea06c43d4a14fa7a8f3c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_7.tst | 45278fb2233b8144a6984ca874e6f17fcf8e8b55 | [] | 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 | 23,729 | tst | bow.12_7.tst | 12 4:0.1 12:0.3333333333333333 21:0.3333333333333333 34:1.0 44:1.0 46:0.024390243902439025 65:0.037037037037037035 270:0.3333333333333333 637:0.3333333333333333 2373:1.0 3228:1.0 3855:1.0 3886:1.0 5993:1.0
12 8:1.0 32:0.3333333333333333 43:1.0 46:0.024390243902439025 65:0.037037037037037035 124:1.0 158:1.0 178:1.0 198:... |
61ce6f1441fb40043bda28fd4a53b5aed1188a95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH9/EX9.2/Ex9_2.sce | e9998ee9f36c977e7928b0cffd2060b2b9e019da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Ex9_2.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex9_2.sce
clc;
clear;
V=3.6e3;
phase=3
f=50;
N=500;
m=3;
c=10;
printf("\n (a)")
p=(120*f)/N;
printf("\n The number of poles=%d",p)
printf("\n (b)")
slo... |
81ffadca21eb557e3ab780398f0caccd50f3c535 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/demos/anim/anim6.sci | 5ec3911c7e430deaa3919c5161c3f2b2ca4387e9 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | sci | anim6.sci |
function []=chaina(yt)
th=xget("thickness");
[n1,n2]=size(yt);
x=ones(n1/2,n2);
y=ones(n1/2,n2);
x(1,:)=2*r(1)*cos(yt(1,:));
y(1,:)=2*r(1)*sin(yt(1,:));
for i=2:n1/2,
x(i,:)=x(i-1,:)+2*r(i)*cos(yt(i,:));
y(i,:)=y(i-1,:)+2*r(i)*sin(yt(i,:));
end
x=[0*ones(1,n2);x];
y=[0*ones(1,n2);y];
rr=r(1)/(n1+1);
rect=2*[... |
bb41314357be2f45184271861dc561ddba632266 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH4/EX4.5/Ex4_5.sce | 8ca1a121e55c76d1cb16f7d0596d613b2b0c951a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,457 | sce | Ex4_5.sce |
// Variable Declaration
r = 1.5 //Radius of each conductor(cm)
D_a1a2 = 0.3 //Distance b/w conductor a1 & a2(m)
D_a2a1 = 0.3 //Distance b/w conductor a2 & a1(m)
D_a1b1 = 15.3 //Distance b/w conductor a1 & b1(m)
D_a1b2 = 15.6 //Distance b/w conductor a1 & b2(m)
D_a2b1 = 15.0 //Distance b/w conductor a2 & ... |
30cf3e7f112d4e584da4f60a13c532773ac0239a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH4/EX4.3/Ex4_3.sce | 926399fb9919e264be3372f0743adc6a8b211c4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex4_3.sce | //Example 4.3
F_floor=150;//Backward force exerted (N)
f=24;//Net opposing force (N)
m=65+12+7;//Total mass of System 1, mass of professor+mass of cart+mass of equipment, (kg)
F_net=F_floor-f;//Net force (N)
a=F_net/m;//Acceleration (m/s^2)
printf('Acceleration = %0.1f m/s^2',a)
//Openstax - College Physics
//D... |
f544590148bba1c5dd9adc18c67fc2278ead585e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.24/Ex10_24.sce | bfedc791fcb7e943ac96f4d7f530ad48d08348b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex10_24.sce | clear
//Given
a=45 //Degree
b=60 //Degree
//Calculation
//
A=tan(a*3.14/180.0)/(cos(b*3.14/180.0))
a=atan(A)*180/3.14
//Result
printf("\n Apparant dip is %0.1f Degree",a)
|
c432002839cbd7910b5ca197528cba9853608851 | 047d952507eb3b9d71fac69ec3332225f17f53ef | /main/out/main/testfiles/test10.tst | a9590ecdf8302b38f914c92635595eec17c6b40b | [] | no_license | patrick-nanys/project-laboratories-hw | 89ab8f366219f491e6feba5558bf41ef8205dda1 | ba57a9d5e4ca33a3cc1be3cdb4fe679fe0149f93 | refs/heads/master | 2022-08-09T14:14:31.220503 | 2020-05-18T11:20:03 | 2020-05-18T11:20:03 | 250,313,203 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 49 | tst | test10.tst | 1;e;0
5;t
p1;-;-;-;2;1;-
usePlayerItem 1 t
status |
ad3db044bec57f9472060755487c97019a8164ce | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/undistortImage.sci | 3a77b28c1384a01195248490b0397f9e60046338 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 2,376 | sci | undistortImage.sci | // Copyright (C) 2015 - 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_... |
59a9efa18e9d2dc4ece0b6ecd76906e3953e0fe6 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Counter-Striker Test.sce | 2366a7770b8702f095e1b05c6606e9ebffe592d6 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 130,506 | sce | Counter-Striker Test.sce | Name=Counter-Striker Test
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot.bot;Counter-Striker Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=2
BotTeams=1;1
MapName=dust2-A.map
MapScale=4.0... |
702a03caeaf36a42111ceee098cd148855161ba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH23/EX23.6/C23P6.sce | 511b75351f0a74408a0230ea1852804aa5ebe0a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,094 | sce | C23P6.sce | clear
clc
//to find time required for room temperature to be 21 degree celsius
//Given:
//room temperature
T = 0//in degree celsius
//length of room
l = 6//in meters
//breadth of room
b = 4//in meters
//height of room
h = 3//in meters
//power of heater
p = 2//in KW
//final air temperature
T1 = 21//in d... |
c1112c239da39626b547968f6741d99edfb8a161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH2/EX2.12/example2_12.sce | ba2f0137a8e603d2d5e1c1c710901876b34c14b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | example2_12.sce | //Chapter 2
//Example 2_12
//Page 25
clear;clc;
md=10;
h=20;
n_overall=0.8;
lf=0.4;
//river discharge
ugpw=md*lf*24*7*1e3;
printf("(i) Units generated per week =%.1f kWh \n\n", ugpw);
app=1e3*9.81*h*n_overall/1000;
upw=app*24*7;
q=ugpw/upw;
printf("\t River dishcharge required = %.2f m^3/sec", q);
//load factor
fl... |
88e370a99f447e0f83cb201fc6cc6601988892c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH14/EX14.5/Ex14_5.sce | 32edabbad4399f6401d58d4a0087195d8c8c56e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_5.sce | //example 14.5 PG-14.38
clc
clear
printf(" Given=> ABCD+ABD = ABD(C+1)..... Distributive property\n\n")
printf(" ABCD+ABD = ABD.1........ Since A+1=1\n\n")
printf(" ABCD+ABD = ABD ......... Since A.1=A")
|
baa2edd8686f90bc92220789088a5198e84777f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.6/Ex3_6.sce | 324527de4cfc6b8a1751b10110e1ae5b4c7b405f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Ex3_6.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.6
//Data given in the Problem
b=4
h=4
A=b*h/2
SG=0.9
g=9.81
dens=SG*1000
//Calculations
H=1/3*h //Distance of CG from the free surface of the oil
F=dens*g*A*H
,printf("Th... |
31aade6149c7dd874abd69b40588e2c7a261ec6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.34/example34.sce | 1bffac088bbbccc5b2704f039a3fd21b8bf369ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example34.sce | clc
A=[-3 6 9;1/6 1/2 1/3]
disp('first row of A displays the value of x')
disp('the second row of x displays the probability of corresponding to x')
disp('E(x)=')
c=A(1,1)*A(2,1)+A(1,2)*A(2,2)+A(1,3)*A(2,3)
disp('E(x)^2=')
b=A(1,1)^2*A(2,1)+A(1,2)^2*A(2,2)+A(1,3)^2*A(2,3)
disp('E(2*x+1)^2=E(4*x^2+4*x+1)')
4*b+4*c+1 |
fbbce47ef73ee9da3ad338b38d002e45ad16edcb | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Shifty's QC warmup mode.sce | 0ea444b0384bb6688c649643b968f42643091a39 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58,700 | sce | Shifty's QC warmup mode.sce | Name=Shifty's QC warmup mode
PlayerCharacters=my QC Quaker
BotCharacters=Random Quaker Bot.rot
IsChallenge=true
Timelimit=180.0
PlayerProfile=my QC Quaker
AddedBots=Random Quaker Bot.rot
PlayerMaxLives=3
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=kovaim1.map
MapScale=4.5
BlockProjectilePredictors=true
... |
252490d6afe3eca3ddac497ed8a4e0bf5873366b | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.13.a/Example3_13_a.sce | bf10c55f4cf0af59dfdb3b9ecc587977fb9e83c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Example3_13_a.sce | //Example 3.13(a)
clear;
clc;
C=10*10^(-9);//Assumed
C1=C;
C2=C;
f0=1*10^3;
BW=100;
R=(2^(1/2))/(2*%pi*f0*C);
R1=R;
R2=R;
R3=R;
Q=f0/BW;
K=4-((2^(1/2))/Q);
RA=10*10^3;
RB=(K-1)*RA;
RG=K/(4-K);
printf("Designed KRC Second Order Band Pass filter");
printf("\nR1=R2=R3=... |
274f49b99f05b9078e22a77a3ad5d9ad5d5664cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH19/EX19.29.2/Ex19_2.sce | 2894fae55f2bf13b4764fd9ce561be5526fef9d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Ex19_2.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 19 VLSI Technology and Circuits
clc
clear
ID=50*10^-6//ID=drain current in amperes
k=25*10^-6//k=ue/D in A/V^2
VDEP=3
l=(k*((-VDEP)^2))/(2*ID)//l=(L/W)=aspect ratio of the pull-up
disp(l,"Pull-up (L/W)=")
VGS=5//VGS=gate-to-source voltage
VTH=1//VTH=thres... |
c55b8c8474bd58d079f2de66dad45c4a1573dee5 | 05d972abeab11d213913aa6124e6a2104d859132 | /etc/McpOperationalOn.tst | afa470bae66401188db0d73af695d106bb4a57da | [] | no_license | LivTel/sdb_puller | 50ac8289d57c4927245ca70c4809cf2b9c807e82 | 9e573ee4d20035f846cb010a02099b9a25dc4e76 | refs/heads/master | 2022-06-24T04:59:10.771334 | 2019-12-18T19:10:47 | 2019-12-18T19:10:47 | 179,494,067 | 0 | 0 | null | 2020-07-01T23:30:44 | 2019-04-04T12:34:54 | C | UTF-8 | Scilab | false | false | 35 | tst | McpOperationalOn.tst | sysreq, SYSREQ_REQ_OPERATIONAL_ON
|
063e45cb8dd71a3fb1a29a643b0a490cb7a6ea8b | ab5ea127e50a95f36b0e30edcbc79a2952c91858 | /Igor_Yoshimitsu_trab2_script.sce | 914b74b588d5ae0e66d2c87550bee5f79ff9a2d2 | [] | no_license | igoride/Calculo_Numerico | 165580305214ac34f3fe1e00eb53eca1a6588afa | 9d43be899d7ae44adc08f48dbfc76fed10e09e93 | refs/heads/main | 2023-06-02T05:30:04.542633 | 2021-06-21T16:18:57 | 2021-06-21T16:18:57 | 378,991,891 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,617 | sce | Igor_Yoshimitsu_trab2_script.sce | function[f] = f1(x)
f = 2*x*sin(x)-1
endfunction
count = 1;
for i=-2:50
//printf("%f = %f\n", i, f1(i));
if f1(i)<0 && f1(i+1)>0 then
vaux(count)=i;
count = count + 1;
vaux(count)=i+1;
count = count + 1;
else if f1(i)>0 && f1(i+1)<0 then
... |
a8cae2b4aee747781d1d141e1a3936cad2a57b59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH14/EX14.14/14_14.sce | 628e79ca1b9c8eea3d1283f6b577d09c6b81a957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | 14_14.sce | clear;
clc;
f1=12000;f2=16000;Rk=600;
C1=(f2-f1)/(4*%pi*Rk*f1*f2);
L1=Rk/(%pi*(f2-f1));
C2=1/(%pi*Rk*(f2-f1));
L2=Rk*(f2-f1)/(4*%pi*f1*f2);
printf("The elements of the prototype band pass filter are:\n");
printf(" L1 = %f mH\n",round(L1*(10^5))/100);
printf(" C1 = %f picofarads\n",round(C1*(10^12)));
printf... |
c3838afab3e9dbbe8863519e56e9eac1d63899ce | 1485852dd59aafc286600126cf832a32e10f117f | /macros/pencilSketch.sci | c9691f48d739d84cb7231eb0843a7cd8eb602e63 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 2,607 | sci | pencilSketch.sci | // Copyright (C) 2015 - 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_... |
6393f8f531d15bc4a7a5650d1270d15333d3c48e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH8/EX8.5/85.sce | 9ec0fd71c5834887ccbe78d3ea50d229b8fe5a48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | 85.sce | clc;
//Example 8.5
//page no 81 fig 8.3
printf(" Example 8.5 page no 81 fig 8.3\n\n\n");
//a cylindrical tank filled with water
//applying bernoulli equation
z1=9//elevation head at section 1
h2=1//height at section 2
D1=3//diameter of cylindrical tank
D2=.3//diameter of outlet hole of tank
g=9.807//gravitat... |
a1aeb68f20f98da8ca9995e251372c8fc01facca | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/FR48XHW/ATWM1_Localizer_MRI_FR48XHW/ATWM1_Localizer_MRI.sce | 5cc864f848e8646a5007bd60e22de6e744b9792c | [] | 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 | 40,042 | sce | ATWM1_Localizer_MRI.sce | # ATWM1_MRI_Localizer
scenario = "ATWM1_Localizer_MRI";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons ... |
a1b1db2646ded1cbc620cc6b89363e1894cdc71b | 743962f1d0e2d5a341cf583d6c7888e219f4ea1f | /RBF/RBF_Interpolation_Scilab/point_distance_vector.sce | e48adc97787de690ab96e845abc8d0c9f26cbb26 | [] | no_license | addNaNs/NA_seminarski | 7a17cf8ff2fc2aedaaa5658ce13c6ce4f4a5f4fa | 28f667703f599fc0e041398312a884efd7cd1e75 | refs/heads/master | 2020-12-22T17:48:18.517965 | 2020-01-29T01:16:43 | 2020-01-29T01:16:43 | 236,879,155 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | point_distance_vector.sce | function W1 = point_distance_vector(A, X, r0)
[xrows,xcols] = size(X);
[arows,acols] = size(A);
W1 = zeros(arows, xrows);
for i = 1:arows
for j = 1:xrows
W1(i,j) = radial_distance(A(i,:), X(j,:));
end
end
W1 = multiquadratic(W1, r0);
endfunction
|
bbfa839eb3f0fe855ee753252bd1a2084f89bf7d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_B._S._Narang_3622.zip/Material_Science_B._S._Narang_3622/CH9/EX9.2/Ex9_2.sce | aeb763b600d3adc71eea56248579db3633acfc41 | [] | 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 | 225 | sce | Ex9_2.sce | errcatch(-1,"stop");mode(2);//Initialisation of variables
m=9e-31//mass of electron
e=1.6e-19//charge of electron
V=5000//volts
v=sqrt(2*V*e/m)
printf('maximum speed of electron is %e metre per second \n',v)
exit();
|
2a978e8c21292ec599a09ac51314627f19f1bed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH19/EX19.14/Ex19_14.sce | 9affb4883980e1856475b3c1c752fa789222063c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Ex19_14.sce | clc
// Given that
p1 = 1.013 // Inlet pressure in bar
r = 1.5 // Pressure ratio
Vs = 0.03 // Induce volume of air in m^3/rev
gama = 1.4
printf("\n Example 19.14\n")
p2 = p1*r
W = (p2-p1)*Vs*100
pi = (p1+p2)/2
A_A = (gama/(gama-1))*(p1*Vs)*((pi/p1)^((gama-1)/gama)-1)*100
Vb = Vs *((p1/pi)^(1/gama))
A_B = (p... |
b4fe3ddbaf7e031576d648a62176d4c3022a078d | fe12be33b783b1c97dc63b619d60d64fb004c2d4 | /Cálculo-II/paraquedas.sce | 345c68592a8fe58f1e335284f9b8df6ee2bf64b0 | [] | no_license | josecleiton/scilab | 6b0c86068807596cd3852824de92d13f1a81f7b8 | 5ac1eaffb57fd7508024674fb5481a7c568d1069 | refs/heads/master | 2020-03-30T08:30:20.827333 | 2018-12-15T11:59:29 | 2018-12-15T11:59:29 | 151,020,551 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | paraquedas.sce | function paraquedas() // skydiving
p=800 // Peso em Newton
g=9.8 // Aceleração da gravidade m/s2
k=13 // Coeficiente de atrito viscoso
dt=0.1 // intervalo de tempo em segundos
m=p/g // massa
v(1)=0 // Condições iniciais
t(1)=0 // T inicial
h(1)=1400 // Altura inicial em metros
... |
5e06a19542bc475db97789c274ba7d4302f5a393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.a.07/Ex3a_a_7.sce | aaa1f806feb17f640f5b176b589e27902ede6e4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 772 | sce | Ex3a_a_7.sce | // Scilab Code Ex3a.a.7:Page-136 (2008)
clc; clear;
phi1 = 0; // Phase of the first SHM, degree
phi2 = 45; // Phase of the second SHM, degree
a1 = 0.005; // Amplitude of the first SHM, m
a2 = 0.002; // Amplitude of the second SHM, m
A = sqrt((a1 + a2*cosd(phi2))^2 + (a2*sind(phi2))^2); // Resultant... |
e3c8ac206d76b910d6e5e297c06f988071908cc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH6/EX6.26/Example_6_26.sce | f1b6b764763ae51930c0ebecb48d0f64375fe12d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | Example_6_26.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 26
clear;
clc;
//Given:
T = 623; //temperature in K
//Data from steam tables:
H = 3159; //enthalpy at 1000 kPa and 623 K (kJ/kg)
S = 7.3; //entropy at 1000 kPa and 623 K (kJ/kg K)
Ho ... |
6adb7839b39d7f8a65f202496177042932ecdadb | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/multiplicationImage.sci | 920c3f5305e6df5f5ff4934a3d986249165953cd | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sci | multiplicationImage.sci | //Multiplication Image
function image_out=multiplicationImage(img1,img2)
img1SizeX = size(img1,1);
img1SizeY = size(img1,2);
img2SizeX = size(img2,1);
img2SizeY = size(img2,2);
image_out = zeros(img1SizeX,img1SizeY); //On crée une matrice nulle de même dimension que la première image.
... |
4a0b04fe180e5e1131d776cd59b96797ab49775e | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.1/exa12_1.sce | 93f4c7aaec7c1132b2afb1f4c675b263dc13df27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | exa12_1.sce | //Caption:transfer_function
// example 12.1
//page 515
// we are solving this problem from signal flow graph approach
syms G H;
// forward path denoted by P1,P2 and so on and loop by L1,L2 and so on
//path factor by D1,D2 and so on and graph determinant by D
P1=1*G*1
P2=1;
L1=-G;
L2=-G*H;
L3=G*H;
D1=1;
D2... |
ea220970ea3f238a55a099e2424dff415e9cde4e | 16152b808456a98fcb2d4303d5622c225109bcda | /hilbert.sce | 9260c4af69b79fa074156932225d2c3995753a5d | [] | no_license | conradolega/131 | b1bcdc7097b661dcc0c503118ec199adffaabfc9 | fa0773433f66f485bf96a8adee35f00a1207861a | refs/heads/master | 2016-09-05T13:42:37.104466 | 2013-10-11T14:30:59 | 2013-10-11T14:30:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | hilbert.sce | function h = hilbert(n)
h = zeros(n, n)
for i = 1:n
for j = 1:n
h(i, j) = 1/(i + j - 1)
end
end
endfunction |
300f4f96598d5f81f96a47f22296726f7ed66bd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH3/EX3.1/Example3_1.sce | 82fa13885dfa3f6107266cfffcab09280b35e486 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,050 | sce | Example3_1.sce | clear;
clc;
// Illustration 3.1
// Page: 53
printf('Illustration 3.1 - Page: 53\n\n');
// solution
//****Data*****//
// a = CO2 b = H2O
Ca0 = 0;//[kmol/cubic m]
Cai = 0.0336;//[kmol/cubic m]
Dab = 1.96*10^(-9);// [square m/s]
//*******//
density = 998;// [kg/cubic m]
viscosity = 8.94*10^(-4);//[k... |
c9bca9e1ddf59e97ecbe30a680e1b1a6bcd1febf | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH4/EX4.7/example4_7.sce | 0c0de9831f2ca0986ce4964a532f4a754c248e6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | example4_7.sce |
// example 4-7 in page 107
clc;
// Given data
Iav=1e-3;//for, FSD the average meter current is 1 mA
Rm=1.2e+3;// coil resistance 1.2 K-ohm
E=100e-3;// ac input rms voltage=100 mV
//calculations
Ip=(2/0.637)*Iav;// peak current for half wave rectifier
Ep=E/0.707;// input peak voltage
R3=Ep/Ip;
printf("R3=%d ohm\n\n",R3... |
5321e1ef9f07a2891a0f837f68442c3c12ed2be9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH10/EX10.2/10_2.sce | e639b50f2e8280ca6b85dfcc38371050c85c14e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_2.sce | //To find pitch diameter and the circular pitch
clc
//given
T=48//teeth
pd=4//diametral pitch
D=T/pd//pitch diameter
p=%pi/pd//the circular pitch
printf("\nThe pitch diameter = %.f in\nThe circular pitch = %.4f in\n",D,p)
|
edb00023f9ef3b23b1f8350751d61e3921b2e9f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH3/EX3.13/Example_3_13.sce | 7bb3f27c222c59d2db9bc9df761b21935fcafb86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Example_3_13.sce | //Example 3.13
clear;
clc;
//Given
delHfNaOH = -470.7;//heat of formation in kJ of NaOH
delHfOH = -228.8;//heat of formation of OH- ions in kJ
//To determine the heat of formation of sodium ions
delHNa = delHfNaOH-delHfOH;//heat of formation of sodium ions in kJ
mprintf('heat of formation of sodium ions =... |
611f7898cf208a821669f4ff9fc24d4f80ecc108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH1/EX1.10/Ex1_10.sce | 12708807ba1ab8c00cdb7b13a07de8e507d2f197 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Ex1_10.sce | clc;clear;
//Example 1.10
//constants used
g=9.81;//acceleration due to gravity in m/s^2;
//given values
p=1040;
h1=0.8;
H=4;
x0=0;
x1=4;// x0 & x1 are limits of integration
//calculation
P1=p*g*h1/1000;//standard pressure determination formula
P2=integrate('p*g*(sqrt(1+(tan(3.14*z/4/H)^2)))','z',x0,... |
c6a4ef61705535ca6df40a7655548d7c6704bb6a | 31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2 | /Raízes (zero de funções reais)/Taxa de juros/juros_secante.sce | ceb412b4289848e2a8790d390d31c6babf6b5e12 | [] | no_license | PierreVieira/Scilab_Programs | 2205084b7356cf9ab68e8b04525e55fd7e29636c | 63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c | refs/heads/master | 2020-09-09T00:59:34.924700 | 2020-03-17T18:46:50 | 2020-03-17T18:46:50 | 221,296,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | juros_secante.sce | /*
Objetivo: Avaliar qual será o melhor plano de financiamento analisando a taxa de juros de cada um
Autor: Pierre Vieira
*/
exec('juros_secante.sci');
a = 0.05;
b = 1;
Toler = 0.01;
IterMax = 100;
printf("\n==================================================== PLANO 1 ===========================================... |
22d9faca6eb1d23055a3a9e896ea9113c4bf15b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.5/exa_1_5.sce | 7a9a6e85b8edb2dba35312fdfbcea2381408c33d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | exa_1_5.sce | // Exa 1.5
clc;
clear;
close;
// Given data
format('v',13)
e= 1.6*10^-19;// in C
ni= 1.5*10^16;
miu_n= 0.13;
miu_p= 0.05;
atomicDensity= 5*10^28;//atomic density of Si in /m^3
C= 1/(2*10^8);// concentration
N_D= atomicDensity*C;// in /m^3
n=N_D;
p= ni^2/N_D;// in /m^3
sigma= e*(n*miu_n+p*miu_p);// in s... |
d78172ef03b63ced1261121cdae2da3a023023d8 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/probes/watch5.tst | 6e56c4f0b21bb0ff39e13429985cf21b47c862e8 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | tst | watch5.tst | # @Harness: probes
# @Result:
# @Program: array.asm
# @Purpose: Tests whether probe inserted from within watch (on same instruction) works correctly
watch A { insert B 0x08; | | | }
probe B { | }
main {
insert A 0x10e;
}
result {
102 A.beforeRead;
102 A.afterRead;
109 B.before;
111 B.after;
}
|
903326533c4a926ad5c25bdc8867e579d3b45913 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH14/EX14.6/Ex14_6.sce | 3bb0a918792e2cfa1314112b1a198aba4904d31a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex14_6.sce |
//Variable Declaration
CNR=87.3 //Downlink Carrier to noise ratio(dBHz)
BER=10**-5 //Bit Error Rate Required
R=0.2 //Roll off factor
EbN0R=9.5 //Eb/N0 ratio(dB)
//Calculation
Rb=CNR-EbN0R //Maximum Transmission Rate(dBb/s)
Rb1=10**(Rb/10) //Maximum Transmission Rate(b/s)
BIF=Rb1*1.2*10**-6/2 //IF Bandwith r... |
d46e76bfeea003974303f23177b1fcf5f469fa96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.18/example2_18.sce | 5c27a5ff0268ac3af2e28a6a44c1ba1dbd9f4de2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 879 | sce | example2_18.sce |
clear;
clc;
printf("\t Example 2.18\n");
pa1=0.418*10^5; //partial pressure initially
pa2=0; //partial pressure of pure air
r=10/2; //radius of tank in which benzene is stored
T=(350); //temperature in kelvin
pt=1*1.013*10^5; ... |
3abec3eb524eff9ee2f13d746005841c87724d03 | 8a13c34cfdbdcbc5b8122af70a216bb1079ba147 | /config/packages/tests/broadlink_climate.yaml.tst | 369ba316cb1e45d0a3c9ef5ef2bbe4d3f2d2d6f8 | [] | no_license | maattdiy/home-assistant-config | 71edeebaacbce846fd92509440c63c8281897f24 | 033d71fe96504e0ad1db8ff3cd22ef60ea39f0c3 | refs/heads/master | 2022-02-05T12:07:20.861234 | 2022-01-23T19:10:33 | 2022-01-23T19:10:33 | 109,337,011 | 127 | 20 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | tst | broadlink_climate.yaml.tst | ## Broadlink Climate HASS Module
## Original forum thread: https://github.com/vpnmaster/homeassistant-custom-components
## Official repo: https://community.home-assistant.io/t/broadlink-ir-climate-component/27406
##################################################
## Component
##########################################... |
6048978ae9b709d4bcaf68d79af1fc47cfbf811e | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_setdiod.sci | 6a6af14a395fd1ccd01d59674201b93fcdf277f3 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,921 | sci | kiks_setdiod.sci | function [] = kiks_setdiod(id,dnr,status)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
g... |
2e7957a6feb7c84e8ea21ac744fb5142c396832c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH7/EX7.6/Example7_6.sce | 50799022daa6630988ee89bb2d781e29b2d45bf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,118 | sce | Example7_6.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 7 : TRANSIENT OVERVOLTAGES AND INSULATION COORDINATION
// EXAMPLE : 7.6 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
v = 1000 ; // ideal dc voltage ... |
e55c8cfff67085fdfa6bf593d029506bdd359977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH6/EX6.6/EX6_6.sce | 3e5901737304971ad6cd64faceee435541e319d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 931 | sce | EX6_6.sce | //Chapter 6, Example 6.6
clc
//Initialisation
C=3*10**-8 //capacitance in farad
pi=3.14 //pi
f=10**3 //frequency in hertz
V=10 //voltage
R=10**4 //resistance in ohm
i=5 ... |
cf6d97943dee2a8254ad6c960382e65598dbf317 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH8/EX8.4/Example_8_4.sce | 2863c9809b157a50629d67e59fe4d0defe981ad9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Example_8_4.sce | // Chapter8
// Page.No-335, Figure.No-8.14(a)
// Example_8_4
// Output voltage
// Given
clear;clc;
Vo=2.8; // At Finmax of 10kHz
Vo1=Vo/10; // Output voltage at Fin=1kHz
printf("\n Output voltage is = %.2f V \n",Vo1) // Result
|
c7d9ac108a5f037442404bcd35fb5d106cbd4cbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.8/ex4_8.sce | d1322017ce8f55b1cd8f13cf016baf9bf39b8fc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | ex4_8.sce | //Example 4.8
clc;
Ifsd=50*10^-6; //Full Scale Current
S=1/Ifsd; //Sensitivity
Rm=1000; //Internal resistance of movement
disp(S,'Sensitivity of 50 uA meter')
//Case I: For Range 0-5 V
V=5; //Full range voltage of the instrument
Rs=S*V-Rm; //Multiplier resistence
disp(Rs,'V... |
090d792999974e7974fe4cd9ebe9586d154c6923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.2/ex_4_2.sce | ed7bf09bc188f8189357dc9bd38c3c8d61d81810 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | ex_4_2.sce | // Example 4.2
clc;
clear;
close;
// Given data
alpha= 0.97;
I_E=1;// in mA
// Formula alpha = I_C/I_E;
I_C= alpha*I_E;// in mA
// Formula I_E= I_B+I_C
I_B= I_E-I_C;// in mA
disp(I_B,"The base current in mA is : ")
|
f17705ae2cfde7ca77f7388448a759d88437f5fc | 0027a3de9d3e2b6b1672bf2ca2037940eabfc9ae | /Tasks/basicScilab/hello.sce | f0cd7c75578cbed1a080c1194f86f6207bb596ab | [] | no_license | SvichkarevAnatoly/Course-Control-Theory | 6c7fecc01821b21f8084fbd3f432537d61a80cb2 | f09d24212cf0940f1dd7ba0decb62d16d40b092b | refs/heads/master | 2021-01-02T22:17:04.361009 | 2014-04-11T17:18:19 | 2014-04-11T17:18:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25 | sce | hello.sce | printf( "Hello,Tolik" );
|
5a8135043aadcf65dc603f297328fe3ef021d3cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH10/EX10.1/ex10_1.sce | 86bfd14b3654817e9e764af00fa3303a41dedd90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | ex10_1.sce | // Example 10.1
format('v',6)
clc;
clear;
close;
// given data
V_CEQ= 7.5;// in V
R_L= 50;// in Ω
I_Csat= V_CEQ/R_L;// in A
I_CQ= 0.01*I_Csat;// in A
P_DQ= V_CEQ*I_CQ;// in W
PP= 2*V_CEQ;// in V
P_Dmax= PP^2/(40*R_L);// in W
P_Lmax= PP^2/(8*R_L);// in W
// The value of P_DQ
P_DQ= P_DQ*10^3;// in mW
// ... |
f967411c5fe20c5a99121fd2a4ee7f11e4223612 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.10/ex_5_10.sce | 1c13b6a14f4a691b0d7d5ab365a7d36a988854bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | ex_5_10.sce | clear;
close;
clc;
T0=4;
t=-7.99:0.01:8;
t_temp=0.01:0.01:T0;
s=length(t)/length(t_temp);
dx=[];
x=[];
for i=1:s
x=[x 0.5*t_temp($:-1:1)];
end
for i=1:length(t)
if modulo(t(i),T0)==0 then
dx(i)=1;
else
dx(i)=0;
end
end
dx1=-1/T0;
figure
a=gca();
plot2d(t,x,6)
poly... |
cb2ad2548887691c4d9500e257c23d526a26608a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.8/Example11_8.sce | 8bf400f804b1beef1c55f28d6edcbfc97eda4904 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,878 | sce | Example11_8.sce | ///Chapter No 11 Steam Boilers
////Example 11.8 Page No 236
///Find Equivalent mass evaporation
//Input data
clc;
clear;
ms=6000; //Steam generated in Kg/h
mf=700; //Coal burnt in Kg/h
CV=31500; //Cv of coal in KJ/Kg
x=0.92; ... |
e3ac8dc42c138119017992d2f0895f483adfddc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.4/ex_4.sce | 261e94b031f140510c523d22716af118baa60a8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | ex_4.sce | //Example 4 //equation of wave propogation
clc;
clear;
close;
amp=0.02;//m
fr=110;//Hz
v=330;//m/s
w=2*%pi*fr;//s^-1
k=w/v;//constant
//y=a*sin(w*t-k*x);//refrence equation
disp("equation of wave is "+string(amp)+"*sin("+string(w)+"*t-"+string(k)+"*x)")
|
e5be24a7855616aad6fd2b5b38958e069b57b85f | ac717936dd571d8c25bf302308d8ad59dc34321f | /src/testControlSystem/valueByRequest.sce | c754b771c06c192f87cb2d861a360349c8e409f6 | [] | no_license | MhDelt/diplom | df6e5b2a3941563719d05b9bbc1dac2b6c8b0b28 | d27a26fdc5f12481a1f6f63612f46d7b49bfe845 | refs/heads/master | 2021-01-18T21:57:15.082025 | 2016-06-07T10:10:11 | 2016-06-07T10:10:11 | 54,836,786 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | valueByRequest.sce | function [res]=valueByRequest(handle, chanelName, t,u1)
SOCKET_write(handle, chanelName);
res= SOCKET_read(handle);
res=strtod(res(1));
endfunction
|
872f7913859c1a14b271362c7dae3122dab11688 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/examples/pid_controller_demo.sce | fde6857c265d8b1dfe9d9a41548101a77044984c | [
"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 | 3,740 | sce | pid_controller_demo.sce | // This demo show how to use MicroDAQ macros to access
// MicroDAQ peripherals. This example uses PID algorithm
// to control DC motor. The DC motor is driven by H-bridge
// which is controlled by PWM and DIO.
//
// MicroDAQ DIO15, DIO16 are used to control H-bridge
// enable and direction pins. MicroDAQ PWM is us... |
1287cabad2349657f70f9bfd32aad8b00b641d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.11/Ex7_11.sce | e1ad0bce1b4f76fbfc0697a1be8bcc6c5de16a2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,409 | sce | Ex7_11.sce | //Example 7.11
//Poles and Zeros of Tape Drive System.
//Also, Transform the system into modal form
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space matrices of Tape Drive System
F=[0 2 0 0 0;
-0.1 -0.35 0.1 0.1 0.75;
0 0 0 2 0;... |
7e8ea88f5e2625c4824922408ca7acc166b2ed4b | aebd99e326c0b4c836cc47c6d7e29211f44530e2 | /atari source/AHDI/TTDRIVER/INSTALL.TST | ad167f1371b540d96f1128ded709ecabfc0a22cd | [] | no_license | ysei/Atari_ST_Sources | fdabfbf455cb6bb9f0b3227efbc88f2724e132b3 | 2c04b9050ea289a46e87fff265a1ff782d795982 | refs/heads/master | 2021-01-18T20:53:19.113971 | 2014-03-14T11:51:06 | 2014-03-14T11:51:06 | 18,726,399 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20,731 | tst | INSTALL.TST | ;+
; 06-Jun-1989 ml Created this.
;
; 19-Jul-1989 ml Added in check for existence of SCSI on system.
; If SCSI doesn't exist, don't look for SCSI drives.
; This enable a TT bootable cartridge bootable on an
; ST also.
;
; Added in check for existence of cache on CPU.
; If cache doesn't exist, don't need to fl... |
d7e78fd69eb64f5e2b5eadb042d93dffe8bf697a | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.59/ex2_59.sci | bbda7e198b0188752201696e2dbb15e5c427171a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sci | ex2_59.sci | //Chapter 2,Ex2.59,Pg2.75
clc;
disp("Refer to the diagram shown in the figure")
A=[70 -20;-20 20]
B=[40;0]
I=A\B
printf("\n I1=%.0f A \n",I(1))
printf("\n I2 =%.1f A \n",I(2))
printf("\n In = %.1f A \n",I(2))
//Calculation of Rn
Rn=(50*20/(50+20)) //Resistance of 40 ohms gets shorted because it is connected a... |
da66856f52ebdb16d540747cf62b90b27a78f706 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH9/EX9.5/Ex9_5.sce | 3effbe0efe543766d0097e3d419454fc57c59a3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Ex9_5.sce | clc
//initialisation of variables
v=105//
T1=210//F
T2=100//F
//CALCULATIONS
T=T2-T1//F
//RESULTS
printf('The high value of the viscosity in the temperature is=% f F',T)
|
726d9b3ee4f0974444acbee12c08a71b844cf6f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.9/9.sce | 6e1681a690ada917f0000278a3a4ed762bd62eae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | 9.sce | clc; funcprot(0);
//Example 8.9 Polar Curve
// Initialisation of variables
Cl_clark = 0.43; //Values from fig 8.18
Cd_clark = 0.020; //Values from fig 8.18
Cl_USA = 0.55; //Values from fig 8.19
Cd_USA = 0.03; //Values from fig 8.19
// Calculations
LbyD_clark = Cl_clark/Cd_clark;
... |
5350403ba4cf022eb3c999ce44e4fbae2589fa2d | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0056.tst | 241dfe13e036fe5494d987d5345857350741af06 | [] | 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 | 345 | tst | 0056.tst | splitTEr cPT {}
FIlTEr FW { }
fIlter Xv {nOt Dc oR mt or Ntp NOT Nn Or not qeX or Mm Or p oR NoT r OR Not s or not d }
X -> t -> i
gRouper KO {aGGrEGaTe CouNt(dJe.k) aS L }
UNGrOuPeR c { }
grouPFilteR gm {NoT bitor (::c:fb:f:d:d:B0aa:0, ) o << ::eD3:c/2 Or 231.5.8.53 >> 50.235.227.155 oR NoT Z >> XtOr ( ) ... |
e1feb0930c2b680ba30ddc91f878474adb101226 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH6/EX6.5/example6_5.sce | a3c2644be1ca7c52c024f27f41723aebbf0f5330 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | example6_5.sce | //Chapter 6
//Example 6_5
//Page 111
clear;clc;
f=50;
v=400;
op=74.6;
pf1=0.75;
n=0.93;
pf2=0.95;
nc=4;
vc=100;
p=op/n;
phi1=acos(pf1);
phi2=acos(pf2);
lead=p*(tan(phi1)-tan(phi2));
lead_each=lead/3;
icp=2*%pi*f*v;
kvar=v*icp/1000;
c=lead_each/kvar;
c_each=c*nc;
printf("Leading kVAR taken by the condensor bank = %.... |
06af8235fb299f19c5877f1f087cbabd3be2d6d8 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/findChessboardCorners/test2.sce~ | 4997ed4f1af0846c49b2f150c6a24c30f1cce5d9 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | test2.sce~ | //Checking if error message pops up when wrong number of arguments are entered
inImage = imread("chessboard3.png");
[found coordinates ] = findChessboardCorners(inImage,12,"CV_CALIB_CB_ADAPTIVE_THRESH");
//output->
//!--error 77
//findChessboardCorners: Wrong number of input argument(s): 4 expected.
| |
305792f1dac6d5235b4c75aa5d28ae0305c752d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH25/EX25.12/example25_12.sce | 33abe224d2692461017dba0fae6da4e8b9a8e5bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | example25_12.sce | z1=4+%i*2;
z2=-%i*3;
z=z1*z2/(z1+z2);
disp("the total impedance (in Ω) is"); disp(z); |
cdad450be088077c1896117fc7bfe3c599673590 | ad83b0d5959ff5ccc6ccffe929c9c007345d02c0 | /tabelaComPosicoesDeCadaEsfera.sce | 9cc7f952f06771ebd1cd771eb7575fc21071d173 | [] | no_license | rodolfostark/Experimento3CN | 5146116b866a7e110ccef5ccff918730683f569a | 8253245c50d76917d8442481b40fb039789d8aef | refs/heads/master | 2020-03-28T21:16:03.786439 | 2018-09-30T23:01:32 | 2018-09-30T23:01:32 | 149,142,776 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | tabelaComPosicoesDeCadaEsfera.sce |
clc
//Cada esfera terá dois arrays com as coordenadas x e y de suas posições. E vão ser separadas pela cor.
x_azul = [708 574 571 570]
y_azul = [528 520 520 519]
x_vermelha = [603 423 417 396]
y_vermelha = [481 394 394 385]
x_verde = [636 1225 1242 1273]
y_verde = [468 420 426 438]
tempo = [2.008 2.976 3.013 3.095... |
4f4576f654834a266ff1e7f9619eada229a03399 | ea619b33cae5a486fb22da8bdcfe0bc7d81c3032 | /test/testcases/directed/rred5.tst | d1234727210e6e6dfedceea699c6714409236be4 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexvonduar/optimized-routines | 714ab0a7b8d7d28fc689b0bae1e7a885fd461a69 | f59c54e97e2023a5981679b14637d8ee2abe2d2d | refs/heads/master | 2020-03-08T14:07:45.302916 | 2018-11-27T09:34:42 | 2018-11-27T09:34:42 | 128,176,402 | 0 | 0 | Apache-2.0 | 2018-11-27T09:34:43 | 2018-04-05T08:05:10 | C | UTF-8 | Scilab | false | false | 46,400 | tst | rred5.tst | ; rred5.tst
;
; Copyright (c) 1999-2018, Arm Limited.
; SPDX-License-Identifier: MIT
func=rred op1=6e8a55a8.e86a3a97 result=3cc88942.65ed745f.705 res2=00000001 errno=0
func=rred op1=6e8d9233.0c3288a5 result=bc97e750.acd8c3df.9e9 res2=00000003 errno=0
func=rred op1=6e95c615.04acdcba result=3c93315f.f3cbf3e7.5a8 res2=00... |
eb7db7cffd7acc82d257579fbdc2420d5b8b62f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH9/EX9.7/Ex9_7.sce | dcbd64e78ce04de70d00c58df59f960376f58424 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Ex9_7.sce | clc
bs = 100 // basic size in mm
s1 = 120// diameter of step1 in mm
s2 = 80 // diameter of step2 in mm
d = (s1*s2)^(1/2) // mm
d = ceil(d)
i = (0.45*(d)^(1/3)+0.001*d)/10^3 // mm
t1 = 16*i // tolerence for hole in mm
t2 = 25*i // tolerence for shaft in mm
G = (2.5*(d)^0.34)/10^3 // fundamental deviation for ho... |
04ede981748e9dc9d6514031c29f9f5b194f9c8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH3/EX3.6/Exa_3_6.sce | 207538a4c9a12747ac1d02b6ff04aa7a5d585002 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Exa_3_6.sce | //Exa 3.6
clc;
clear;
close;
format('v',6);
//Given Data :
T1=23+273;//K
COP_HP=2.5;
HeatLost=60000;//KJ/hr
HeatGenerated=4000;//KJ/hr
Q1=HeatLost-HeatGenerated;//KJ/hr
W=Q1/COP_HP;//KJ/hr
W=W/3600;//KJ/s or KW
disp(W,"Power input in KW : ");
|
142f92cb7d4d7e8bcc7fe10934222ce1b3e75359 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/DEPENDENCIES/Aliasfrequency.sci | 1fcc781bf7c2e0d1f58fdec5615509b079319a1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sci | Aliasfrequency.sci | function[F]=aliasfrequency(f,s,s1)
if (s>2*f) then
disp("alias has not occured")
else
disp("alias has occured")
end
F=f/s;
for i=1:100
if (abs(F)>0.5)
F=F-i;
end
end
fa=F*s1;
disp(fa,"frequency of reconstructed signal is")
endfunction |
6592793cb87028bfadc3f1e5357faa1aa65aa3f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.32/ch7_ex_32.sce | 5d5a8be929a42a792ea85204b166b7051747070d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,399 | sce | ch7_ex_32.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 32
disp("CHAPTER 7");
disp("EXAMPLE 32");
//VARIABLE INITIALIZATION
va=50000;
v1=4400; //primary voltage in Volts
v2=220; //secondary voltage in Volts
f=50;
R1=3.45;
X1=5.2;
R2=0.0009;
X2=0.015;
//SOLUTION
// ... |
78ef5bbfdf7eebb3f22c185b86f8b32006fe058c | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH13/EX13.5/ex_13_5.sce | 715fa5fcf3b73af6f9cb3b8ce7f8ed3c077b7894 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sce | ex_13_5.sce |
warning('off');
//Input numbers in values.dat file
fp=mopen('values.dat','w');
printf("Enter Numbers:")
for k=1:5
n=scanf("%f");
mfprintf(fp,'%f\n',n );
end
mclose(fp);
//Calculate the average of numbers of values.dat file
fpin=mopen('values.dat','r');
if(fp>0) ,
sum1=0;count=0;
... |
99ae4a5897e9587531b3dfed5f8d37ad4fc88aa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.32/10_32.sce | 89669811af22c6c00827c4f62efe9d7ed690197b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | 10_32.sce | //To find axial force and face width
clc
//Given:
P=45*1000 //W
N=1000 //rpm
alpha=12.5 //degrees
D=500/1000, R=D/2 //m
mu=0.2
pn=0.1 //N/mm^2
//Solution:
//Calculating the angular speed of the shaft
omega=2*%pi*N/60 //rad/s
//Calculating the torque developed by the clutch
T=P/omega //N-m
//Calculating th... |
4c23048e7306997a9aa3a53c89a46e745708757a | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm10.sci | 92ce445f7ed37808126f8aa3b97fa1220f4ffd4c | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sci | pgm10.sci | function [A, B] = pgm10()
i=1;
A(1) = 1;
B(i) = 1.25;
while(A(i) < B(i))
A(i+1) = 1.06 * A(i);
B(i+1) = 1.02 * B(i);
i = i + 1;
end
endfunction
|
c09a146e9ae5ac6fab7111cbfe92fbc6b4b94ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH7/EX7.3/7_03.sce | f4385c1a21fa377d6d9d67e4c0c31ef0aacbfa0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | 7_03.sce | //Chapter 7, Problem 3
clc;
H=8000; //Magnetic field strength
d=30*10^-2; //Diameter of coil
l=%pi*d; //Length
N=750; //No of turns
I=(H*l)/N; //Calculating current in the coil
printf("Curren... |
aef69b88a9e7a73c9dbd48e0a81f3df2421f9133 | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/44.tst | a0d8ed68b5d41969e6d73b44967d5e92cd8d80ec | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,194 | tst | 44.tst | 1000 1000
100
739 549 28
483 677 22
707 325 16
579 837 19
131 389 27
195 581 24
131 773 24
771 645 28
291 101 29
291 229 17
387 517 30
547 869 27
643 389 23
579 325 16
739 421 19
67 837 27
67 709 27
643 517 27
803 869 19
611 933 26
419 357 23
35 101 17
867 37 29
515 901 16
739 293 23
67 325 2... |
6fdba045ea5df5dfddd910ab8b6cbf997389a313 | d69d240db53a578e6b6b760893e99bd6c13a49a8 | /PR Regelungsrechnik - Versuch 2a/Scilab/dio_s.sci | de8b9c89f1b21daf16bb78bec47490c81042628e | [] | no_license | unizeug/PR_Regelungsrechnik_-_Versuch_2a | 108c030a5827d89b741c31c9a977a541360c567d | 9439ea75680d347b935ea9f9602af80c88af1e0c | refs/heads/master | 2021-01-18T14:01:34.861516 | 2012-06-18T14:49:34 | 2012-06-18T14:49:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,238 | sci | dio_s.sci | function [R,S] = dio_s(B,A,Ac,I)
// Löser für die Diophantische Gleichung
// Löst: R*A+B*S=Ac (I=0) oder
// R*A*s+B*S=Ac (I=1)
//
// Ohne Integrator I=0; degree Acl: 2*degree A -1
// Mit Integrator I=1; degree Acl: 2*degree A
// Der resultierende Regler hat gleichen Zähler und Nennergrad!!!
R=[];
S=[];
ieee... |
4e8cc426f0ad6496633b6ab1ab8e7c09f2713d5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3827/CH2/EX2.3/EX2_3.sce | f0f11903ca2c27f282eee3d101b78ee32595cf36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | EX2_3.sce | //EX2_3 Simplify Z = (AB + C)(B'D + C'E') + (AB + C)'
//clears the screen
clc
//clears already existing variables
clear
disp('Z = (AB + C)(B''D + C''E'') + (AB + C)''')
disp('Let X = (AB + C)'' X'' = AB + C')
disp('and Y = B''D + C''E''')
disp('Z = X''Y + X')
//By the elimination theorem i.e. X + X'Y ... |
0d3054baff749de35e4ffbb849f1f65ef1557fd4 | 06b39a12c3fb0c4ff6cf9c538ec9e44a7db515ae | /trzecie.sce | 283df890978803a73162ae92009285a1eef77848 | [] | no_license | szczygielskipatryk/EMN | 1bb300f293d0a704ee4316145c8c0d331987e7b6 | 98903729a60b22edaf8890dfaa4a525a49c5826b | refs/heads/master | 2020-09-09T16:30:44.386075 | 2019-11-14T18:31:12 | 2019-11-14T18:31:12 | 221,497,151 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | trzecie.sce | clear;
clc;
n=3;
a=-0.5;
b=2*%pi;
X=[0;%pi/4;%pi/2;3/2*%pi];
x_bar=9/10*%pi;
r=2;
function y=f(X);
y=sin(X);
endfunction
for i=0:n
Y(i+1)=f(X(i+1));
end
function y=phi(j,x,X,n);
for i=0:(j-1)
L(i+1)=x-X(i+1);
end;
for i=(j+1):n
L(i)=x-X(i+1);
end;
... |
59686626a16bb3072a6525aab4b0dc42c08a6a4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH5/EX5.4/5s4.sce | fa64e1aa492bd066dc2d4ee52d22c42cd3a77d57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,309 | sce | 5s4.sce | function[tree1]=binary(tree,x)
p=1;
while(tree(p)~=-1&tree(p)~=-2)
q=p;
if(tree(p)>x)
p=2*p;
else
p=2*p+1;
end
end
if(tree(q)>x)
if(tree(2*q)==-2)
tree(2*q)=x;
tree(2*q+1)=-2;
else
tree(2*q)=x;
end
else
if(tree(2*q+1)==-2)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.