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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
39d95e4cb518ccbfec9a66efe00ed066f6a154e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH5/EX5.1/S_5_1.sce | 10c279bebcaddf4683e39fce4d2a90ffb6e5f44f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | S_5_1.sce | clc;
n=4; // no of component
A=[120*80,120*60/2,%pi*60*60/2,-%pi*40*40];//mm^2, Areas of Rectangle, triangle, Semicircle, and Circle respectively
x=[60,40,60,60];//mm, x components of centroids of Rectangle, triangle, Semicircle, and Circle respectively
y=[40,-20,105.46,80];//mm, y components of centroids of Rectan... |
6588cca282f683f511c88fdc3849389d0207eb42 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/TriQuadChannel.tst | 5d13318113e2c76360ff4d5d77dbc2f063600aba | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 848 | tst | TriQuadChannel.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Tri and Quad element channel Flow 2D</description>
<executable>IncNavierStokesSolver</executable>
<parameters>TriQuadChannel.xml</parameters>
<files>
<file description="Session File">TriQuadChannel.xml</file>
</files>
<metrics>
... |
b1c710fca6e69cc2ee0a02931df340e51c49392c | c67157a12058b6af9250654154c4cd14b7c0ece5 | /Documents/współczynniki PRT.sce | b57082788de8aee9abb6241feb38ca6f542bc641 | [
"Apache-2.0"
] | permissive | PeterPirog/PRT_calculations | 70c77dc52bb8f80ff952bd60e77578f9db88efb8 | 7e1e72173700fbfd624a67c7b6984256de878f42 | refs/heads/master | 2021-04-20T14:58:22.359411 | 2021-04-14T12:55:40 | 2021-04-14T12:55:40 | 249,693,308 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,005 | sce | współczynniki PRT.sce | clear
txt = ['Hg';'Ga';'In';'Sn';'Zn';'Al']
txt2=['W(n)','t(n)']
sig = x_mdialog('Wprowadz wartosci w punktach',txt,txt2,['0.84347','-38.8344';'1.118138893','29.7646';'1.60980184811','156.5985';'1.89259628','231.928';'2.56855103','419.527';'3.37543469','660.323'])
WHg =strtod(sig(1,1))
WGa =strtod(sig(2,1))
WIn=str... |
727203b48f03d7ab9a806a51d5f626372e8ae762 | aaf4b47c862ed2d0095735a8359cf26d35618188 | /chips/Gates/DMux/DMux.tst | dcfde6f03947659420c567151ff7d5b65c88aee7 | [] | no_license | DevCoop-code/ElementsOfComputingSystems | c838acd695ea84000a2f63d227ba8f5c979a1178 | 98e8a5b21371cb0c4b513445b3c27dd74692caa6 | refs/heads/master | 2023-06-11T19:07:36.378129 | 2021-07-07T16:12:56 | 2021-07-07T16:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | tst | DMux.tst | load DMux.hdl,
output-file DMux.out,
output-list in sel a b;
set in 0, set sel 0, eval, output;
set sel 1, eval, output;
set in 1, set sel 0, eval, output;
set sel 1, eval, output; |
8877dcb57c9889e54814ee613e93a50531663021 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH13/EX13.18/13_18.sce | 69fd040871082b9c4ac10743359a61596d3a9d60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,201 | sce | 13_18.sce | //Problem 13.18: (a) Convert the circuit to the left of terminals AB in Figure 13.45(a) to an equivalent Th´evenin circuit by initially converting to a Norton equivalent circuit. (b) Determine the current flowing in the 1.8 ohm resistor.
//initializing the variables:
E1 = 12; // in volts
E2 = 24; // in volts
R1 =... |
cab1ea451782b4e36aa066a3017c5df699477880 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.4/7_4.sce | 091f75785c34e2f57fca448de3aefd7434f166a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_4.sce | clc
clear
//Input data
n1=50.5;//Air standard efficiency in percentage
n2=50;//Brake thermal efficiency in percentage
N=3000;//Engine speed in rpm
H=10500;//Heating value of fuel in kcal/kg
T=7.2;//Torque developed in kgf*m
B=6.3;//Bore diameter in cm
S=0.095;//stroke in m
//Calculations
nbt=(n1/100)*(n2/1... |
da5a01d7fdf0a4a858e9ddebdd48635a522a94a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH4/EX4.3/Ex4_3.sce | d22e042ddab7aad51287fb2e159c2b9df589af27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_3.sce | //Chapter 4,Example 4.3 Page 145
clc
clear
d = 1 //mm
V = 10^3 // V
F = 5*10^-3 // pull between the plates in N
E = 1/(36) // epselon
A = 10^2/4 // Area of the plate
d1 = sqrt((1/(2*F))*E*10^-9*V^2*A*10^-4) // calculation done in the text is wrong
d21 = 1/(d1*10^4)
d22 = 1/(d1*10^4+d)
C = (V*E*10^-9*A*10^-4)*(d21-d22)... |
8559eee0c963538295bc6eae351e8fb459bec766 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 03/t1_kiu.sci | b645d7813be15e8da4d25b4c7665bcfdd6645c19 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,411 | sci | t1_kiu.sci | //Condições iniciais
alfa = -%pi/6;
s0 = 1;
v0 = -1;
dt = 0.1;
t = linspace(0,10,1000);
g = 9.8;
r = 0.001;
ro = 7850;
volume = 4*%pi*(r^3)/3;
m = ro*volume;
x0=1;
z0=2;
x = linspace(1,25,1000);
z = tan(alfa)*x - tan(alfa)*x0
funcprot(0);
s = s0 + v0*t + (1/2)*(g*sin(alfa))*(t^2);
v = v0 + g*sin(alfa)*t;
t1 = linspac... |
7a62a3b1254626c05c36d38c4ebd328310f083e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH6/EX6.1/Fig6_1.sce | 4506c995bb8b9c6c9f8f2d68d82de22194d6307e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | Fig6_1.sce | //Caption:Scilab code to create motion blur
//Fig6.1
//page 326
clc;
close;
a = imread('E:\DIP_JAYARAMAN\Chapter6\humm.jpg');//SIVP toolbox
//filter coefficients of fspecial('motion',10,25)
H =[0,0,0,0,0,0,0,0.0032,0.0449,0.0865,0.0072;...
0,0,0,0,0,0.0092,0.0509,0.0925,0.0629,0.0213,0;...
0,0,0,0.0152,0.0569,... |
0ea01fc6774e088fc43c29ec02edbe1ac120e6ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH2/EX2.3/2_3.sce | 654ced88157d9084e5acaca6660917c05d73b431 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | 2_3.sce | clc
//Initialization of variables
W=500 //lb
width=2 //ft
len=4 //ft
CGx=1.2 //ft
CGy=0.9 //ft
theta=30 //degrees
gam=62.4 //lb/ft^3
//Calculations
Fv=width*len //multiply by gam*x
F=width/(2*cosd(theta)) //multiply by gam*x*x
//function[y] =yp(x)
// y=x/(2*cosd(theta)) + width*(x/cosd(theta))/(12*(cosd... |
3a3736067458d74a22de095059c1cf5689a10710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH20/EX20.3.1/20_3_1.sce | 6ffdad162b928d230f9e30059d98f535070c4e12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 20_3_1.sce | clc;
//page no
//prob no. 20.3.1
//A silica fiber with
A_max=25;A1=2;A2=0.3;
//a)Determination of repeater dist at 0.9um wavelength
z1=A_max/A1;
disp('km',z1,'a)the repeater dist for 0.9um wavelength is');
//b)Determination of repeater dist at 1.5um wavelength
z2=A_max/A2;
disp('km',z2,'a)the repeater dist ... |
2b133f53f4fdbc68d2de0674c2793ce862a73c49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH1/EX1.2/2.sce | e1e4d95c0d7a0107387cc3b19b2407062b975915 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | 2.sce | clc
//Example 1.2
//Calculate the shear stress at the surface of the inner cylinder
D1=25.15//mm
D2=27.62//mm
dr=0.5*(D2-D1)//mm
f=10//rpm
Vo=(%pi)*D1*f/60//mm/s
//Let D denote d/dr
DV=Vo/dr//s^-1
tow=0.005//Nm
L=92.37//mm
s=2*tow/D1^2/(%pi)/L*10^6//N/m^2
printf("The stress at the surface of the inner cyli... |
b5bab6248a83542b183cd598b8994d3b2371e447 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH12/EX12.3/ex12_3.sce | 1d943f0f57dc64dd88ddd5265e3eb3b6203eae0f | [] | 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 | 134 | sce | ex12_3.sce | errcatch(-1,"stop");mode(2);//ex12.3
R_f=100*10^3;
R_i=4.7*10^3;
A_cl_NI=1+(R_f/R_i);
disp(A_cl_NI,'d loop voltage gain')
exit();
|
a9615c94c289993e7255ef76c43c2729de8f3004 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/out/curelation.sce | 118d720711d37bbcc17bc48dcf319a14f3e1c2e3 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,119 | sce | curelation.sce | function [cux, cuy, cuz]=curelation(nx,ny,nz,...
uxx,uxy,uxz,uyy,uyz,uzz,...
gxx,gxy,gxz,gyy,gyz,gzz,...
dxuxx,dxuxy,dxuxz,dxuyy,dxuyz,dxuzz,...
dyuxx,dyuxy,dyuxz,dyuyy,dyuyz,dyuzz,...
dzuxx,dzuxy,dzuxz,dzuyy,dzuyz,dzuzz... |
dab444b04ce2b1a3a24fcd593db6a22d68ae31b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH5/EX5.3/5_3.sce | 72a0c6f23b3306549a6dd0f6664b02d27d90e1bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | 5_3.sce | clc
clear
//Initialization of variables
x=0.97
hg=1187.2 //Btu/lb
hf=298.40 //Btu/lb
hfg=888.8 //Btu/lb
//calculations
hx1=x*hg+(1-x)*hf
hx2=hf+x*hfg
hx3=hg-(1-x)*hfg
//results
printf("\n In case 1, enthalpy = %.1f Btu/lb",hx1)
printf("\n In case 2, enthalpy = %.1f Btu/lb",hx2)
printf("\n In case 3, entha... |
25fd02ed5aa5383ec38ea4fe954e16cb0fcef6d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH3/EX3.6/Example_3_6.sce | f95d8e5f98fa41e6a2aef4b6d49d3f5d27eb5475 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_3_6.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.6
clear;
clc;
//Given
R = 1.98;//gas constant in kcal/Kgmole deg K
T = 293;//Temperature in K
M = 29;//Molecular weight of air
//To calculate the flow work per kg of air
//W=(P*V)=(R*T)
W = R*T;//Flow work in K... |
85f641f6c02861928a881d32f41cfbc143aa73bd | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /ManipulationPlanner/SCENARIO/ManipulationSAHandPlacemate.sce | fd6a67f8f9d88f0276c73f95e709e17436166f8c | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,202 | sce | ManipulationSAHandPlacemate.sce | #************************************************************
# Scenario of grande_salle
#
# date : Tue Nov 22 16:18:10 2011
#************************************************************
p3d_sel_desc_name P3D_ENV grande_salle
p3d_sel_desc_name P3D_ROBOT MOVING_BOX
p3d_set_robot_steering_method Linear
p3d_set_robo... |
98715aea5b5961fb1fdfb6bf899606fc9ea93ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH2/EX2.3/EX_2_3.sce | dbd35ac10e96a97c435e5ea38afc2213a2fa22ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | EX_2_3.sce | // Example 2.3:Numerical Aperture ,Acceptance Angle and criticle angke
clc;
clear;
close;
n1=1.46;//core Refractive Index
d=1;// refractive index differnce in percentage
NA=n1*(sqrt(2*(d/100)));// Numerical Aperture
Sa= %pi*(NA)^2;//solid accepance angle in strad
r=1-(d/100);//ratio of refractive index
Oc=asi... |
8d9c2c4546ccdae3c870f88b709ca385d2f090d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /644/CH1/EX1.4/p4.sce | d63e962de9267528e78a435d5b53a61336788d2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,435 | sce | p4.sce | // Example1.4 An aluminium wire 7.5 m long is connected in a parallel with a copper wire 6 m long. When a current of 5A is passed through the combination, it is found that the current in the aluminium wire is 3 A. The diameter of the aluminium wire is 1 mm. Determine the diameter of the copper wire. Resistivity of cop... |
d272bb4b9242d864cc5e22905dd4837d7bf224d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH6/EX6.11/Ex6_11.sce | f227b024f325b4aa01e4ec0f23ffe6b4a65fde98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | Ex6_11.sce |
// Theory and Problems of Thermodynamics
// Chapter 6
// Thermodynamic Potentials and Availability
// Example 11
clear ;clc;
//Given data
P1 = 1 // ideal gas pressure in MPa
T0 = 300 // ideal gas temperature
N = 1e3 // number of moles of ideal gas
P2 = 0.1 ... |
91d2a4454e763d5d9c6849508c75ea160f2bae62 | 0a1c3ed3b471bd0805778ea1f03dc265bd5ea963 | /test/ret.tst | 82c764964ff32145a0f547b16354626f57983ea8 | [] | no_license | goldenpartner/Assignment1 | 32aeb4bc435c840e930189fd62533b3710cbe490 | c13e732c338d1ca04abc2b355d8a48bd76907bcc | refs/heads/master | 2021-01-12T11:54:30.972457 | 2016-10-18T03:33:30 | 2016-10-18T03:33:30 | 69,310,866 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | tst | ret.tst | JUMP late
LOAD s0, s0
LOAD s0, s0
retk: LOAD&RETURN s0, 01
OUTPUT sF, 00
retz: ADD s6, s6
RETURN Z
late: CALL Z, retk
OUTPUT s0, 00
ADD s6, 01
CALL NZ, retz
OUTPUT s6, 00
CALL Z, retz
OUTPUT s6, 00
RETURN Z
death: JUMP death |
66f98e58a4d6424157795d7aeb3ed753061a2714 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/auto/specfact.sci | 83856f4e6ee63c67195ef904ae02615a18cab71e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 108 | sci | specfact.sci | function [w0,l]=specfact(a,b,c,d)
r=d+d',w0=sqrt(d),
p=ricc(a-b/r*c,b/r*b',-c'/r*c,'cont')
l=w0\(c+b'*p)
|
d7d2997adae3c5f212c8c8ce0ff73f38882e756c | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH11/EX11.3/EX3.sce | 608925adad0a35e418499ac9db0178dbb908ff40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | EX3.sce | // Example 11.3: (a) Output voltage
// (b) Input voltage
clc, clear
B1=36; // Fundamental output in volts
B2=7*B1/100; // Second-harmonic distortion in volts
Vs=0.028; // Input in volts
A=B1/Vs; // Gain
disp("Part (a)");
b=1.2/100; // Amount of feedback in volts
B1f=B1/(1+b*A); // Fundamental o... |
4313b10e301512408ad261413c6ea79c4ee6d22a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH19/EX19.10/Ex19_10.sce | c08d0de3f17fd2fe44f0fdc70c853d2e6fcfdd0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,370 | sce | Ex19_10.sce | clc
// Given that
N = 300 // Speed in RPM
// Intake condition of compressor
p1 = 0.98 // Pressure in bar
T1 = 305 // Temperature in K
p6 = 20// Delivery pressure in bar
p3 = 5 // Intermediate pressure in bar
C = .04 // Ratio of clearance volume to the stroke volume
v = 3 // Volume flow rate of compressure in... |
cf84897894b7fb57e714533bf6b7502d8c2fd382 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.17/Exa_5_17.sce | 19dc43bd944cdd4c3f94e0df2de81a39f997f5d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_5_17.sce | //Example No. 5.17
clc;
clear;
close;
format('v',7);
//Given Data :
V=220;//V
f=50;//Hz
L=0.012;//H
Ra=0.72;//ohm
K=2;//V/rad/s
T=60;//N-m
alfa=90;//degree
Va=3*sqrt(3)*V*sqrt(2)/2/%pi*(1+cosd(alfa));//V
Ia=5;//A
disp(Ia,"Armature Current in A : ");
T1=Ia*K;//N-m
disp(T1,"Torque in N-m : ");
Eb=Va-... |
db63c666daaf8582ddc555619d655f74bbcce85a | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH2/EX2.2/example2_2.sce | 35c7ffdc93abc2961142dc6d7bc17fb2968f4be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | example2_2.sce | q1=-1.6*10^(-19);
q2=29*1.6*10^(-19);
r=10^(-10);
k=9*10^9;
f=k*q1*q2/r^2;
disp("the force of attraction (in N) is"); disp(f); |
8711292a7b49d51a072b97533e8a2a002a713b28 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/cat.tst | 0fcd5c4b529cc3dee8d41f49a904e9b6c4f40283 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 530,277 | tst | cat.tst | canviar canvien V;IND;PL;3;PRS
canviar canviïs V;SBJV;SG;2;PRS
canviar canviaria V;COND;SG;1
canviar canviar V;NFIN
canviar canviés V;SBJV;SG;1;PST
canviar canviï V;IMP;SG;3;POS
canviar canviàreu V;PFV;IND;PL;2;PST
canviar canviarà V;IND;SG;3;FUT
canviar canviessis V;SBJV;SG;2;PST
canviar canviarien V;COND;PL;3
canviar... |
b53a74a98bbcdc7e49d64bf5a1c8ffe1b70cb4a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH8/EX8.3/ex8_3.sce | 19e92652b23b1962985578cce6482bd23b33cb27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | ex8_3.sce | //Example 8.3, page no-508
clear
clc
i1=37
i2=42
i3=13
i4=6.7
Imax=(i1+i2)+(i1+i2)*(3/100)+(i3+i4)+(i3+i4)*(1/100)
Imin=(i1+i2)-(i1+i2)*(3/100)+(i3+i4)-(i3+i4)*(1/100)
printf("Maximum level of total supply current = %.3f mA\nMinimum level of total supply current = %.3f mA",Imax,Imin)
|
f36593168506a45bd71cfb5ff8e276a0b66858ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH11/EX11.9/a_9.sce | 8a9f92fa332cced4191d0eeedcc1a8fea062867c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | a_9.sce | clc;
disp("Example A.9")
dratio=10
uratio=1/dratio
fratio=uratio*uratio*dratio*dratio
disp(fratio,"The ratio of model force to prototype force is ")
|
c73b851f8e552a916c11076899dc458036aa6d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.9/Ex6_9.sce | c478d444690ff5eb259b6999bce3e6157bcc3ea5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,199 | sce | Ex6_9.sce | //Chapter 6:Induction Motor Drives
//Example 9
clc;
clf();
//Variable Initialization
//Ratings of the star connected squirrel Induction motor
f=50 // frequency in HZ
Vl=400 // line voltage in V
P=4 // number of poles
N=1370 // rated speed
//Frequency variation is from 10 Hz to 50 ... |
b775dd2b28ed987aa8112da63ad158216391ff7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH8/EX8.11/example8_11.sce | 02952da4701d66729f3ee9fdf51536f1933d659b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | example8_11.sce | // to determine the Q factor
// example 8-11 in page 221
clc;
//Data given
E=100D-3; R=[5 10]; XC=100; XL=XC; // supply resistance, capacitive reactance and inductive reactance respectively for the fig 8-17, all in ohm
//calculation
for n=1:2
I=E/R(n);// current in ampere
V=I*XC;// VL=VC=V and XC=XL, vo... |
46045a7cdce09ecaf7f3688be2d40abf3296b2e4 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/trial_iirlp2mb.sci | 941918498c984b2ad2ff9f68c5fcb9570733141b | [] | 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 | 775 | sci | trial_iirlp2mb.sci | function [Num,Den,AllpassNum,AllpassDen] = iirlp2mb(varargin)
B = varargin(1)
A = varargin(2)
Wo = varargin(3)
Wt = varargin(4)
rhs = argn(2)
lhs = argn(1)
if(rhs < 4 | rhs > 5)
error("Wrong number of input arguments.")
end
if(rhs == 5)
Pass = varargin(5);
if(Pass == 'pass')
pass_stop = -1
elseif(Pass ... |
b2f6413aa1a28316eb55624898080ec6a019e3be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH3/EX3.20/Ex3_20.sce | 201b2eb5afa046816dc1766cfbe1f308054a9188 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Ex3_20.sce | // Example 3.20
// Computation of pulse power
// Page no 485
clc;
clear;
close;
// Given data
L=0.1; // Length of laser
R=0.8; // Mirror reflectance of end mirror
E=1.7; // Laser pulse energy
c=3*10^8; // Velocity of light
t=L/((1-R)*c); // Ca... |
e76b465c5193feb73b44aad050f31d135a45e2a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH20/EX20.3/Ex20_3.sce | 9f7664da38669eb1c161dba5437b7048cb23852f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | Ex20_3.sce | clc
clear
//Initalization of variables
p=40000 //kW
ef=0.98
rate=302000 //lb
s3=1.6001
h2=1490.1
loss=600
v=400 //ft/s
g=32.2 //ft/s^2
J=778
//calculations
out=p/(0.746*ef)
srate=rate/out
X=-(s3-1.9782)/1.8456
h3=1106 - X*1036.3
theoturb=h2-h3
intturb=(out+loss)*2544/rate
Ie=intturb/theoturb *100
h3... |
e5ba71cd83d5b0d8bcc81329ccde6096de9b81e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH14/EX14.4/ex14_4.sce | f0b3de3de6b22cf224bddc8652e585aabbe03527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex14_4.sce | clc;
clear all;
c = 3e8; // Velocity of light in air
m = 9.1e-31; // Mass of an atom in Kg
h = 6.626e-34; // Planck's constant
e = 1.6e-19; // Charge of an electron in culoumb
V = 125; // Potential Difference in volts
v = sqrt((2*e*V)/m); // Velocity of an electron
disp('m/s',v,'The velocity of an electron is... |
1cf26654b98cb75106ca21716db7117970d1c7aa | e806e966b06a53388fb300d89534354b222c2cad | /macros/FFT.sci | 3ada8748fdc557cab94940f7f608e618a786095c | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sci | FFT.sci | function fourierTransform=FFT(inputMatrix)
// This funtions returns discrete Fourier Transform of 2D input matrix
//
// Calling Sequence
// fourierTransform=FFT(inputMatrix);
//
// Parameters
// inputMatrix: Input matrix must be 2-D.
//
// Description
// It returns the 2D discrete Fourier transform of two dimensional i... |
398a7b09f824d9d68cea4210d83f39422271a326 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH12/EX12.1/Ex12_1.sce | e2cab9ad0a987772dc182afdee722c512646920a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex12_1.sce | // Chapter 12
// Resolution of System
// Page.No-445
// Example12_1
// Given
clear;clc;
V=2; //in V
Bits=12;
levels=2^Bits; //12 bit words
step=V/levels;
printf("\n The system can resolve = %.6f V\n",step); // Result
Drange=20*log10(levels);
printf("\n The Dynamic Range is = %.0f dB\n",Dran... |
e6fc78e8828b397310e7c1535f82b67d9887043f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.18/Ex3_18.sce | ec43f9247933d44c551de69b2a5d9d977204a784 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Ex3_18.sce | //EX3_18 PG-3.56
clc
Es=120;//rms value of input voltage
f=50;//frequency
Idc=50e-3;
C=100e-6;//filter capacitor
Esm=sqrt(2)*Es;
Edc=Esm-Idc/(4*f*C);
printf("\n DC output voltage is %.4f V \n",Edc)
Vr=Idc/(4*sqrt(3)*f*C);//rms value of ripple voltage
printf("\n rms value of ripple voltage is %.4f V \n ",Vr)
... |
3869635b8373c91c629bb6a245b4b6ca8146f572 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pow2db/pow2db4.sce | 5e44d934fa7e5761e5059b54c3104f42558f22ea | [] | 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 | 252 | sce | pow2db4.sce | //Checking the output of the function when more than one input argument is passed to the function
y=[1000 1000 123 1098 1233 1456];
y2=[1000 1000;123 1098;1233 1456];
y1=pow2db(y,y2);
disp(y1);
//Output
//Wrong number of input arguments.at line
|
64ac0e81b7d2a42d8b2ed544e6dd17fe590b1af8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.17/Ex11_17.sce | b453bf07b76e9a5a43d5ae78962f77072eb6e3fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,478 | sce | Ex11_17.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.17\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.17 (page no. 578)
// Solution
//The first step is to check Reynolds number.It will be recalled that the Reynolds number is given by (D*V*rho)/mu and is dimensionless.Therefore,we can use D, ... |
e9d644033b9c208359d65d71538f67ac9a20bd2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH5/EX5.2/Ex5_2.sce | 317127702ab32dd599a906d0fd057cf0252c1062 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Ex5_2.sce | ci=18
CI=10^((ci)/10)
q=(6*(CI))^0.25
K=ceil(q*q/3)//cluster size
disp(K,'minimum cluster size')
k=7
q1=sqrt(3*k)
c1i1=q1^4/6
C1I1=10*log10(c1i1)
if (C1I1<20) then
disp(,'cluster size cannot meet the desired C/I requirement')
C2I2=10^(20/10)
q2=(6*C2I2)^0.25
k1=ceil((q2)^2/3)
disp(k1,'nearest valid cluster size K')
els... |
e1d46bc378cc4fcd4707970385c49f40da403e95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.51/Ex4_51.sce | d2ea83beff3ba557ca14d1e5f6b7df997eaa3bfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,116 | sce | Ex4_51.sce | clc;
v=250; // rated voltage of dc shunt motor
n1=1200; // no load speed
N=1000; // turns per pole in shunt field winding
n2=900; // reduced speed
ia=100; // full load armature current
rf=0.2; // series field resistance
ra=0.1; // armature resistance
ar=0.04; // armature reaction as afraction of main field m.m... |
0cc025a16c3e47ea45a3730612a0a4c1d236fb28 | abf775fd9be933cc27debaf5379a939479e8e789 | /histo.sce | fbe6d2bb85c083101c061c3c4f0f11ee7d03c31b | [] | no_license | ece2lr/tp1 | 721bee4f8bc5a216d0668ebc7649f42b1858ef36 | 957ff893a0e184356f7c46993c5b95e6a862712e | refs/heads/master | 2021-06-29T00:30:26.131616 | 2017-09-19T05:54:18 | 2017-09-19T05:54:18 | 104,031,407 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | histo.sce | N = 10 // taille de l'échantillon
X = grand (1,N,"unf",50,86); // l'échantillon
histplot(5,X) // on fait l'histogramme
|
542b51fe3f6867e851611bebd0c7940e00617c5c | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /1-RDMP/RDMP-6.sce | e539e97862ebd65ea1e70ae828fb30f4d70791ff | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,863 | sce | RDMP-6.sce | clear; clc;
// RDMP-6.sce
// A <=> B
// Progresión óptima de temperatura
// (a)
// CONSTANTES
kd0 = 1.94E15; ki0 = 6.26E19; // h-1
Ed = 44500; Ei = 59500; // cal/mol
R = 1.987; // cal/(mol*K)
Tmin = 500.0; dT = 0.1; Tmax = 650.0; T = Tmin:dT:Tmax; // K
kd = kd0*exp(-Ed./(R*T)); // Ecuación de Arrhenius directa
ki = ... |
f1b72c40cbde33be3d12ffc6d2ec4655c977af33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH1/EX1.21/Ex1_21.sce | 74cd6ef6b6f2606a3551324eedae4c9623c0be4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | Ex1_21.sce | //Ex:1.21
clc;
clear;
close;
i=20*10^-3;//in amps
r=1000;//in ohms
p=(i^2)*r;
printf("Power dissipated = %f watts",p); |
f62b7f0f96406b774a77aec5c73006ec8c9eba6a | 2a391c9f5e3283e1b5d74c97948b42e04218b435 | /PARTE I/Practica 1/jj.sce | 2a84defada68792d2c14cc709c1ca4c52603b39b | [] | no_license | seradiazpin/ParalelaDistribuida | 3f50f8c4d712c294d75271ee61a608bf257517f0 | 5875f9f46363e1c09a9842b1b1a21f5cb950e7f5 | refs/heads/master | 2020-06-06T15:36:21.945186 | 2017-01-25T17:55:19 | 2017-01-25T17:55:19 | 41,097,788 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | jj.sce | t=[0.004 0
0.004 0.005
0.004 0.005
0.005 0.005
0.005 0.005
0.006 0.006
0.012 0.012
0.049 0.046
0.377 0.354
10.131 7.550];
r=[0.004
0.004
0.004
0.004
0.004
0.006
0.018
0.106
1.042
26.654
];
x=[2
4
8
16
32
64
128
256
512
1024
];
plot(x,t,"-o",x,r,"-*");
hl=legend(['2 procesos';'4 procesos';'normal'],"in_upper_left");
t... |
c3e24c7026ae4f33dfa5d70ba73721c10958398a | e806e966b06a53388fb300d89534354b222c2cad | /macros/whitepoint.sci | 6f5d8af4783df15e78229920fbe6efe32e1e87fd | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sci | whitepoint.sci | function[xyz] = whitepoint(input_string)
out = whitepoint(input_string)
channels = size(out)
for i = 1:channels
xyz(:,:,1) = out(1)
end
endfunction
|
e9b78cc3663b4bdcaea7ba5b483df99003b721c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.49/Ex2_49.sce | 15102ddaf0ddc7ae8841a88f74cd9a355d73b304 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,230 | sce | Ex2_49.sce | clear
//
//
dell=0.25 //mm //Instantaneous Extension
//Bar-A
b1=25 //mm //width of bar
D1=500 //mm //Depth of bar
//Bar-B
b2_1=25 //mm //width of upper bar
b2_2=15 //mm //Width of Lower Bar
L2=200 //mm //Length of upper bar
L1=300 //mm //Length of Lower bar
E=2*10**5 //N/mm**2 //Youngs Modulus of bar
//Calculatio... |
2993f80fd86da171d031abee50ed7e8f2ac71b68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.17/3_17.sci | 5c5aca438ffcbe15c7541b53fea2b8ade281d528 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 3_17.sci | // calculate the per unit change in the value of spring for different temperature ranges
clc;
dG_pu=-240*10^-6;
dD_pu=11.8*10^-6;
disp('for temperature change of 20 degree C to 50 degree C (%) =')
d_th=30;
dK_pu=(dG_pu+dD_pu)*d_th*100;
disp(dK_pu)
disp('for temperature change of 20 degree C to -50 degree C (%) ... |
e8017f9487a677a9faa089d5a4cf8650ef7c2995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH8/EX8.2/2.sce | 944f52c62aa510e41dd39ac73fdc0a04abe6f627 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 2.sce |
//Variable declaration
mewn=0.3; //mobility of electrons(m**2/Vs)
rho=0.25; //resistivity(ohm m)
e=1.6*10**-19;
//Calculation
n=1/(rho*e*mewn); //number of donor atoms(per m**3)
//Result
printf('number of donor atoms is %0.3f *10**19 per m**3 \n',(n/10**19)) |
47218a252c0fa6283d3172060f14fdce3b33365c | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/dffctcmd.tst | a4511dfa3d921ed33c3f93c6b46ae8afd87e55d9 | [] | 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 | 288 | tst | dffctcmd.tst | (unwatch all)
(clear)
(dribble-on "dffctcmd.out")
(batch "dffctcmd.bat")
(dribble-off)
(clear)
(open "dffctcmd.rsl" dffctcmd "w")
(load "compline.clp")
(printout dffctcmd "dffctcmd.bat differences are as follows:" crlf)
(compare-files dffctcmd.exp dffctcmd.out dffctcmd)
(close dffctcmd)
|
eca33d2d134fd3937d34b09bbbf14511d481dcd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH30/EX30.5/Ex30_5.sce | 0e70bef0f9a8a6ac9e49c1f6e6aed328b5017591 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,146 | sce | Ex30_5.sce | //Example 30.5
n=3;//Shell
number_subshell=0;//To store value of number of subshells
for i=0:1:n-1
number_subshell=number_subshell+1;
end
printf('Number of subshells in the nth shell = %d\n\n',number_subshell)
Max=0;//To store value of Maximum number of electrons in a shell
for l=0:1:2
electrons_in_sub... |
68de2b30ce6219fedc30c37e9dc04df23168ca97 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-InverseCumulativeDistribuionFunctions/FLInvCDFTriangular-Netezza-01.tst | 93f03aea1bcd84d9537ee894cd28485a758b5d31 | [] | 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 | 3,115 | tst | FLInvCDFTriangular-Netezza-01.tst |
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.... |
956258ff8365ca48a6eb1b40095628c75df3d2d5 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex10q2.sci | 3fa817b5b8282d3f561d0bf92bad5087baa59ff3 | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sci | ex10q2.sci | function[y]=f2(t,u)
y(1)=u(2);
y(2)=-4*u(2)-3*u(1);
endfunction
N=101;
t0=0;
t=linspace(t0,5,N);
h=(5-0)/(N-1);
y2=zeros(2,N);
y2(:,1)=[1;1];
for i=1:N-1
yd=y2(:,i)+h*f2(t(i),y2(:,i));
y2(:,i+1)=y2(:,i)+(h/2)*(f2(t(:,i),y2(:,i))+f2(t(:,i+1),yd));
end
plot2d(t,y2(1,:),5)
plot2d(t,y2(2,:),3)
legend(['1'... |
3faedc8bee7956b4dedbb3bfad3f9298acdcc451 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.vowel-10-1tra/result0s0.tst | abfc03fd933ec8e9a08e4f353458a5499f3a1875 | [] | 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 | 977 | tst | result0s0.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 ... |
be3e1e02344b1f5b2a708964a213d3998a8949f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH8/EX8.5/Ex8_5.sce | 5dd6d8135504c92902ec73e3386a5dc3e65b57b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Ex8_5.sce | //fiber optic communications by joseph c. palais
//example 8.5
//OS=Windows XP sp3
//Scilab version 5.4.1
//given
clc
clear all
NA=0.2//numerical aperture
dia=50*(10^(-6))//core diameter in m
a=dia/2//core radius in m
lateral_loss=0.5//allowable lateral loss in dB
Beam_dai=2//beam daimeter in mm
dby2a=0.09... |
97b11134574ab0ca7738502c0360a7b79db0ec51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH4/EX4.2/4_2.sci | 72842d75b2b322f202ab18bd6909516219e48f12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sci | 4_2.sci | //Series and Parallel Connection of Thyristors//
//Example 4.2//
Ed=20;//permissible difference in voltage across devices in Volts//
Id=1*10^-3;//maximum difference in latching current across devices in Amperes//
Qd=10;//difference in recovery charge in Micro coloumbs//
Vd=20;//permissible difference in blocking v... |
fbc87583bb89df2a6f09486639bcf043432aa97a | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH8/EX8.9/Example8_9.sce | 82793022436f65d4ee6bd682f0ddc611ba840818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sce | Example8_9.sce | //Example 8.9
clear;
clc;
rd=1*10^6;
g1=2*10^(-3);
R1=100*10^(3);
g2=10*10^(-3);
R2=50*10^3;
ro=100;
f1=100*10^3;
f2=1*10^6;
f3=10*10^6;
PM=45;
a0=g1*R1*g2*R2;
C1=1/(2*%pi*f1*R1);
b1=1;
C21=1/(2*%pi*f2*R2);
f2newap1=g2/[2*%pi*(C1+C21)];
fx1=f3;
f1new1=f3/(b1*a0);... |
4901f31101e5c58e358adf958fd1704ae50eb5c9 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_p2mm.sci | c3e65ff75f10b50ec937d7e51e42eda5413f9de1 | [] | 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 | 431 | sci | kiks_p2mm.sci | function [res] = kiks_p2mm(pulses)
// Ouput variables initialisation (not found in input variables)
res=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.ts... |
0f4a29f2c3712e9d8de650bd82cc5a167c0906cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH13/EX13.4/13_4.sce | f67c1c3a0b9b9847ecf2d10c45ae97a152de7df8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | 13_4.sce | // about the analytical integration for the analytical solution
//Eg-13.4
//pg-529
clear
clc
x(1) = 0;
yb(1) = 0;
y(1) = 1; //Initial condition
h = 0.1;
deff('out = func(in1,in2)','out = 0.5*(1+in1)*in2^2')
//Taking the exact values using the expression calculated analytically as y = 4/(4-2*x-x^2)
... |
bfc1ac54801af21c5b0a132818ab2bff8d35b0e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH2/EX2.3/Ex2_3.sce | bce226f862dc2ea3b150873bb00ce9dae5ed20b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Ex2_3.sce |
epsilon=8.854D-12
AB=.05
BC=.07
AC=sqrt(.05^2+.07^2)
V1=2D-10/(4*%pi*epsilon*.05)//potential at A due to charge at B
V2=-8D-10/(4*%pi*epsilon*AC)//potential at A due to charge at C
V3=4D-10/(4*%pi*epsilon*.07)//potential at A due to charge at D
V=V1+V2+V3
mprintf("Potential at A due to charges at B, C and D=... |
a36dc1643d35d6f9765d0cbceb24a21a8d8e18ef | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/besself.sci | f65b12ad3ffff0bbe74a0d2d1b1a7863612e8edb | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 1,789 | sci | besself.sci | function [a, b, c, d] = besself (n, w, varargin)
//This function generates a Bessel filter.
//Calling Sequence
//[a, b] = besself(n, w)
//[a, b] = besself (n, w, "high")
//[a, b, c] = besself (…)
//[a, b, c, d] = besself (…)
//[…] = besself (…, "z")
//Parameters
//n: positive integer value
//w: positive real value
//D... |
581e85fe55026947bea0f6dc372fb92280ba6e90 | 4058f38b392324aa5099819881f3c7d7219a174f | /LOGIC GATES/XOR/XOR.sce | 2ec0f030ffb20d48db601b22eae153e71995851a | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | XOR.sce | ok=open_serial(1,2,115200);
if ok~=0 then error('Unable to open serial port, please check'); end
for i=1:10000
p=cmd_digital_in(1,5)
q=cmd_digital_in(1,6)
if p==0 & q==0
cmd_digital_out(1,9,0)
sleep(5)
else if p==1 & q==1
cmd_digital_out(1,9,0)
sleep(5)
els... |
e1fe82ab8c97028b8f876661ef3e4053821c163e | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.20/EX3_20.sce | 2728dc99e75362885e3f955d419d80802eabc164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | EX3_20.sce | //Calculate voltsge to be applied//Chapter 3
//Example 3.20
//page 226
clear;
clc;
disp("Example 3.20")
kVA=100;
V1=6600; //primary voltage in volts
V2=330; //secondary voltage in volts
f=50; //frequency in hertz
V1sc=100; //short circuit... |
31e25f6df0cca50cf259ce56ec2eec994841c2a9 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /db/others/sql/dynamic_sql/test_dao_joins2.tst | 72b57c62f78e23774f0f98a46b4a9807b7d8ffd5 | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,376 | tst | test_dao_joins2.tst | PL/SQL Developer Test script 3.0
80
declare
a anydata;
obj xxdoo.xxdoo_cntr_site_typ;
coll xxdoo.xxdoo_cntr_sites_typ;
l_dummy pls_integer;
dao xxdoo.xxdoo_db_dao;
l_start_time timestamp;
--
function get_xml(a anydata) return xmltype is
l_result xmltype;
begin
l_dummy := a.getObject(obj);
... |
bdc4ac03954c2627c0276fa71397c6a9c0bdeb22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH13/EX13.14/Ex13_14.sce | 1c7867e31d26af2febadfd2868d3108f6722d6cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex13_14.sce | clc
clear
//Initialization of variables
nn=0.95
p1=50 //psia
p2=30 //psia
v1=8.515
m=1 //lbm
//calculations
cv=sqrt(nn)
V2rev=1372
V2act=cv*V2rev
n=1.283
v2=v1*(p1/p2)^(1/n)
A=m*v2/V2act *144
D=sqrt(A*4/%pi)
//results
printf("Area = %.2f in^2",A)
printf("\n diameter = %.3f in",D)
|
9eef821127a598c11921336d026fea84bc75ba7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH7/EX7.9/Ex7_9.sce | 722ebef97d96fee4edd2eaed1e3d99165919b18d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex7_9.sce | // chapter 7 , Example7.9 , pg 213
ni=2.4*10^19 //intrinsic carrier density(in m^-3)
Un=0.39 //electron mobility (in m^2/(V*s))
up=0.19 //hole mobility (in m^2/(V*s))
e=1.6*10^-19 //charge in electron (in C)
sigma=ni*e*(Un+up) // electrical conductivity
printf("Electrical conductivity\n")
... |
2a7df88710a8a8ca174aa31f5e2ba186b82045b5 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/struct_initialization_runme.sci | fcdb3fcccc579ecf663aaaff8e05b743f5265f1b | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 461 | sci | struct_initialization_runme.sci | exec("swigtest.start", -1);
if StructC_x_get(instanceC1_get()) <> 10 then swigtesterror(); end
if StructD_x_get(instanceD1_get()) <> 10 then swigtesterror(); end
if StructD_x_get(instanceD2_get()) <> 20 then swigtesterror(); end
if StructD_x_get(instanceD3_get()) <> 30 then swigtesterror(); end
if StructE_x_get(in... |
4e9439d17f65a1e3d1152fcf0ffc0cbf63634aa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH4/EX4.2/ex4_2.sce | f01ed8e66e860b7581347ea28ba9d0ed6fa9583b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | ex4_2.sce | // Exa 4.2
clc;
clear;
close;
// Given data
N_D = 10^17 * 10^6;// in atoms/m^3
N_A = 0.5*10^16*10^6;// in atoms/m^3
Epsilon_r = 10;
Epsilon_o = 8.85*10^-12;
Epsilon = Epsilon_r*Epsilon_o;// in F/m
e = 1.602*10^-19;// in C
V = 0;
V_B = 0.7;// in V
W = sqrt( ((2*Epsilon*V_B)/e)*(1/N_A+1/N_D) );// in m
disp(... |
46fd1389096b7893f3b129d0e3b78a3221797910 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.23/2_23.sci | 7d213e958630844b8f06b004faaf2982352e3471 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 2_23.sci | // 2.23
clc;
Rth0=100;
ath0=0.00392;
dth=65-25;
R65=Rth0*[1+ath0*dth];
printf("resistance at 65 degree C= %.2f ohm ",R65)
th={[(150/100)-1]/ath0}+25;
printf("\n Temperature = %.2f degree C ",th) |
5226693c07d5777bfc48c4e97ec69b39fb5bddd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH2/EX2.2.5/CH02Exa2_2_5.sci | c79e7c66aebaac874f0169177e4614228b5a3246 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,371 | sci | CH02Exa2_2_5.sci | // Scilab code Exa2.2.5 To determine the most stable isotopes for A = 27, A = 118, A = 238 : Page 69 (2011)
a_v = 15.5; // Volume energy, MeV
a_s = 16.8; // Surface energy, MeV
a_c = 0.7; // Coulomb energy, MeV
a_a = 23.0; // Asymmetric energy, MeV
a_p = 34.0; // Pairing energy, MeV
z = poly(0, 'z')
// For A =... |
e553fae6b89ee1c2c0c279d56b809156d63281c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH17/EX17.1/17_1.sce | c5512526d22dfac3e42fdc6913e1f0585df43a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | 17_1.sce | clc;
T1=15+273;//K
p2!p1=8;
y1=1.4;
T2s=T1*([p2!p1]^[(y1-1)/y1]);
T2=T1+(T2s-T1)/0.8;
T3=800+273;//K
p3!p4=p2!p1
y2=1.333;
T4s=T3/[(p3!p4)^([y2-1]/y2)];
T4=T3-0.82*(T3-T4s)
cv=1.11;
cp=1.005;
W=[cv*(T3-T4)-cp*(T2-T1)];
heat_supp=cv*(T3-T2);
cycle_eff=W/heat_supp;
disp("cycle efficiency is :"... |
e3fa86f74951e018b37c7ef966651d655c3852dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH9/EX9.1/ex9_1.sce | 617b769ac1e2a980d9585b10cc80ea24925b3922 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,731 | sce | ex9_1.sce | clc;
r=8; // Compression ratio of an engine
p1=100; // Pressure of air before compression in lPa
T1=300; // Temperature air before compression in kelvin
qH=1800; // Heat added to the air in kJ/kg
k=1.4; // Index of reversible adiabatic process
Cvo=0.7165; // Specific heat at constant volume in kJ/kg K
Cpo=1.0035... |
29adf949b773e52d9772d19e5cf6d41606a12f5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH5/EX5.12/pe5_12.sce | 8fca59647a3afa2b76c1cbdcf316e63f0ee3bc81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | pe5_12.sce | //example 5.12
clc; funcprot(0);
// Initialization of Variable
I=6;//current
V=.6;//voltage
D=.5;//duty cycle
//calculation
Rs=V/I;
disp(Rs,"resistance in ohm")
Pr=D*V*I;
disp(Pr,"power in W:")
Vp=28;
Pm=D*Vp*I;
disp(Pm,"MOSFET power in W")
T=40;//temperature
Tj=T+Pm*5.1;
disp(round(Tj),"temperature in ... |
bee05b803b899f1683f0086036134359fe3564a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH2/EX2.5/Example2_5.sce | 443d0520cfe21932b4944e6685132feb944f84f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Example2_5.sce | //Example 2.5
//Program to estimate total number of guided modes propagating in the fiber
clear;
clc ;
close ;
//Given data
NA=0.2; //NUMERICAL APERTURE
d=50*10^(-6); //metre - CORE DIAMETER
lambda=1*10^(-6); //metre - OPERATING WAVELENGTH
a=d/2; //CORE RADI... |
f6655a11dfad347a9ecb017583a8c331294217ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH8/EX8.9/8_9.sce | 959b8673feaa7d0e53152fa7280830348a8f18e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 8_9.sce | clc
//initialisation of variables
Q= 60 //ft^3/sec
v= 12 //m.p.h
A= 3 //ft^2
D= 64 //lbs/ft^3
g= 32.2 //ft/sec^2
M= 64 //lbs
//CALCULATIONS
vr= Q/A
u= v*44/30
v1= vr-u
P= M*Q*v1/g
//RESULTS
printf ('propelling force= %.1f lbs',P)
|
f4ca0442ee08b968a52ceec89766bdc0cde5dc05 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /prbs/controller/prbs_pp.sci | 44a4c3ab02eb285565151fc3e63912ef7f2cd9b0 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sci | prbs_pp.sci | mode(0)
function [temp] = prbs_pp(heat,fan, setpoint)
global heatdisp fandisp tempdisp setpointdisp sampling_time m name
temp = comm(heat,fan);
plotting([heat fan temp setpoint],[0 0 20 0],[100 100 40 1000])
m=m+1;
endfunction
|
fd5a4cde3509bbcf18c9858e26912eb660ece324 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.1/example1.sce | e30b573672eccbcf38100029f2a4994fed540782 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example1.sce | printf("\n trnsfer function of the given network ")
printf("\n Vi(s)=R*I(s)+s*L*I(s)")
printf("\n V0=s*L*I")
printf("\n V0(s)/Vi(s)=s*L*I/(R*I(s)+s*L*I(s))")
printf("V0(s)/Vi(s)=s*L/(R+s*L) is the required transfer function")
|
7b277575ffd64007f91000bfdba7cbb697d4aff7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH8/EX8.5/8_5.sce | f4a8f56f59452ff276d40894d72c0cce6d5cd0dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | 8_5.sce | clc
//initialisation of variables
V= 2.5*10^4 //m/sec
m= 30 //gms
s= 10*10^-16 //cm^2
N= 6.023*10^23 //molecules
T= 300 //K
k= 8.3*10^7
//CALCULATIONS
t= sqrt((m/(%pi*k*T)))*(V/(4*s*N))
//RESULTS
printf (' lifetime = %.e sec',t)
|
909009dcc1c443ca85dd251eea0973fa2c741fea | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH1/EX1.1/1_1.sce | 69af4276a4381e10b86d687d5f4c207bb688a79e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | 1_1.sce | clc
//initialisation of variables
L= 20 //ft
angle= 30 //degrees
//CALCULATIONS
d= L*sind(angle)
//RESULTS
printf ('Desitance from foot of Ladder= %.2f ft',d)
|
6941f25ac93286ac770c6631c5104024adb11fac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH4/EX4.3/ex4_3.sce | 744df816d98c1ff339d69a660938490b66655157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | ex4_3.sce | // Example 4.3, page no-123
clear
clc
m=2950 //initial mass of the satellite
F=450 //required thrust
T=10 // thrust for time period
i=300 //specific impulse of a propellant
g=9.807 // acceleration due to gravity
mi=F*T/(i*g)
printf("Mass of propellant that would be consumed is, ... |
fe277f76b8c7e1cdb8c45b7b48eeb4c6daf3fc82 | 8bc8cad4ff08d4d9e353e7a5a1baa8b188b994f3 | /SamplingThm/samplingThm.sce | 73380c848efce3767ac3573e8ae0e36b827ac8b8 | [] | no_license | ROHITDH/scilabBasics | 259c74030901258dbe8d77c61eacd467fc58b9de | f29b20b645d0f8181a3abc14c0d03ff59b69bd40 | refs/heads/main | 2023-02-22T12:21:31.459103 | 2021-01-27T01:24:22 | 2021-01-27T01:24:22 | 333,165,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,081 | sce | samplingThm.sce | //nequest theorem
clc
clear
close
/////////////////////////////////////////
/////////////////////////////////////////
a1 = input("amplitude of signal 1: ")
a2 = input("amplitude of signal 2: ")
a3 = input("amplitude of signal 3: ")
f1 = input("freq. of signal 1: ")
f2 = input("freq. of signal 2: ")
f3 = input("fre... |
b5794e1f2ae2d24e6616d9a4fc22116c4ca95889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.1/1.sce | 3cfc559248cd777fd7ccbb0740b0b4e3f643170e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | 1.sce | clc
V1=300; //m/s
p1=78; //kN/m^2
T1=313; //K
p2=117; //kN/m^2
R=287; //J/kg K
y=1.4;
//Let r1=p1/rho1
r1=R*T1;
V2=sqrt(2*(y/(y-1)*r1*(1-(p2/p1)^((y-1)/y)) + V1^2/2));
disp("Velocity of gas at section 2 =")
disp(V2)
disp("m/s") |
b9a9f3b40b4aa430d6ebbdf252f73c2d0a476efd | a224e73b03e44940d761ce34b72d5b3cee86880b | /2prova/aula1604.2.sce | 000e3ba302dee728eb48823853e0123d08cc7301 | [] | no_license | DericsonPablo/controledesistemas | 5092eab41134fe752add986b457278776a1bad90 | 74d4263c4819fa7e4e7b689b38e083dd87440777 | refs/heads/master | 2020-07-31T05:33:17.109455 | 2019-09-24T03:10:19 | 2019-09-24T03:10:19 | 210,500,755 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | aula1604.2.sce | // abordagem 2
GH = (Kf*s)/(s*(s+5)*(s+15))
// malha secundaria
// ponto de entrada e saida = -10
// assintotas
// sigmaA = -10
// tetheA = pi/2 , 3pi/2, 5pi/2
// qsi = 0.8 (enunciado)
// tetha1 = 37
// a = -10 + 7.5i
// K = 81.25
// malha primaria
// Tsec = G / 1+GH
// Tsec = 1/(s*(s+5)*(s+15)+(Kf*s))
// ----> ... |
a19da42c9413f531ae1c376f557d2db3ca8de8c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH13/EX13.15/13_15.sce | 927e2dd7656d0b2d80254aa22a8f3dd37bd52391 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 13_15.sce | clc;
clear;
format('e',11);
f=10*10^9;
Pr=1*10^-6;
D=10;
r=5*10^3;
sigma=10;
c=3*10^8;
lemda=c/f;
Ae=lemda^2*D/(4*%pi);
Pt=Pr*(4*%pi*5000)^2/(D*sigma*Ae);
disp(Pt,"The transmitted power(in watt)=");
|
c75a65610944c0fa967bae35ffeadbdeab43c0a3 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/12/MemoryTest/MemoryTest.tst | 2871a6c6dc7d56aa7b00481ef59108f510299496 | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | tst | MemoryTest.tst | // File name: projects/12/MemoryTest/MemoryTest.tst
load,
output-file MemoryTest.out,
compare-to MemoryTest.cmp,
output-list RAM[8000]%D2.6.1 RAM[8001]%D2.6.1 RAM[8002]%D2.6.1 RAM[8003]%D2.6.1 RAM[8004]%D2.6.1 RAM[8005]%D2.6.1;
repeat 1000000 {
vmstep;
}
output;
|
3946812a0a9e27d40002dcc965e829a0f48737df | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0007.tst | de5d64ba4f69fc7c002cc226c4e6c054e1a76dc7 | [] | 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 | 405 | tst | 0007.tst | SPlitter QP {}
FILter WQ { }
fILter s {PbT }
Y -> z
grouPeR y {mOduLE J{ } AgGreGATE BITor(U.uk) aS IWU ,Sum(P) AS f }
UngRoUpeR b { }
GroUPFiLteR Ce {BITOR (A:fD::c5aB:F, ) not biTaNd ( ) oR NoT A ( , BItANd ( BItOR (f, 7, ), , fdc8:d:Bd:0A:E:f:252.7.151.5/0, 15., e, c::DE, ), ::A:aC:b:7cb7:69.246.180.250... |
6841496ebc1e9a7f3a6c8f4f35b163ae16603c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH1/EX1.2/Ex1_2.sce | 0355ed31b272363e77ac2418f7b58032b052655d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | Ex1_2.sce | // exa 1.2 Pg 14
clc;clear;close;
Pmax=100;// kW
Pmin=10;// kW
z=5;// no. of models
//Rn=Pmax/Pmin=fi**(z-1)
fi=(Pmax/Pmin)**(1/(z-1));// common ratio
printf('The power of generating sets are:')
P1=Pmin;// kW
for i=1:z
printf('\n\t\t\tP%d = %.1f kW',i,P1)
P1=fi*P1;//kW
end;
printf('\nExpanding for 10 models.... |
0bbd0385183afca5e2f5e6e4627bcf574da548a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.21/3_21.sce | 22dfd69340b17b39ffedc80dfdbe5a13ec1b51b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | 3_21.sce | clc,clear
printf('Example 3.21\n\n')
V_avg = (220+190)/2 //average voltage across load
I_avg=12,R_a=0.5,R_sh=250
W_dash=V_avg*I_avg //power absorbed
t_1=30,t_2=5
W=W_dash*(t_2/(t_1-t_2))
V=250,I=22 //input current
I_sh = V/R_sh
I_a= I - I_sh
arm_cu_loss = R_a*I_a^2 //armature copper loss
shunt_field_cu... |
da53eb554131801f224d35bfbb0cbb3bfee77813 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH7/EX7.5.1/exa_7_5_1.sce | 217046c2fe9a1716e7dfad40bb5fa8953a27f574 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | exa_7_5_1.sce | //Exa 7.4
clc;
clear;
close;
//given data
A=5;// in m^2
intensity=660;// in W/m^2
disp("alpha= 2*rho or rho=alpha/2")
disp("alpha= 3*toh or toh=alpha/3")
disp("as alpha + rho + toh =1")
disp("then alpha+alpha/2+alpha/3 = 1")
disp("alpha = 6/11")
disp("rho = 6/22")
disp("toh = 6/33")
alpha=6/11... |
44e6aa454299200af914ce8ee76bfcd287eb2fa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH3/EX3.23/Ex3_23.sce | f185c27ff2490566d103c963e6f64468940f2501 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | Ex3_23.sce | //Ex:3.23
clc;
clear;
close;
n=80;
// sinx=y/(nd)
// sinx=y/(n*y/2)=2/n
sinx=2/n;
x=asin(sinx)*(180/%pi);// in degree
dx=2*x;// the first nulls beam width in degree
printf("The first nulls beam width = %f degree",dx);
|
c10820399a233cc909203d7eb87c3d51746eb984 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH29/EX29.7/Example29_7.sce | 9d5c41dc64fd274ecd319b7d20718fae328b0d98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,350 | sce | Example29_7.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 3: SYMMETRICAL COMPONENTS' ANALYSIS
// EXAMPLE : 3.7 :
// Page number 492-493
clear ; clc ; close ; // Clear the work space... |
2575e05a6d97d0def2ae600189a48b001aa45f32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH4/EX4.17/Ex4_17.sce | 66cbdc538ce167591a3ed7f797d1fe42f780e526 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,220 | sce | Ex4_17.sce |
// Variable Declaration
r = 25.0 //Resistance/phase(ohm)
x = 90.0 //Reactance/phase(ohm)
V_S = 145.0 //Sending end voltage(kV)
V_R = 132.0 //Receiving end voltage(kV)
P_R_1 = 0 //Power(MW)
P_R_2 = 50.0 //Power(MW)
// Calculation Section
A = 1.0*exp(%i*0*%pi/180) //Line constant
B = comp... |
3e72536e3f862750260c2ea0f81518ae5ff51e45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.14/25_14.sce | 49b5f74824b2f707d3592d07c8aeafacebe88406 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | 25_14.sce | //ques-25.14
//Calculating pressure for ammonia gas using ideal gas equation and van der Waals equation
clc
n=0.6;//moles of NH3
V=3;//volume (in L)
T=273+25;//temperature (in K)
a=4.17;//(in L^2 atm/mol^2)
b=0.0371;//(in L/mol)
//Van der Waal's
P1=(n*0.0821*T)/(V-n*b)-(a*n^2)/V^2;
//Ideal Gas'
P2=(n*0.0821*... |
90b86f80f779b2593e0c8b62b48e38846c6100e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.15/Ch01Ex15.sci | 978e4ef6c1a3db6864aa50aafab067485aa90b3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sci | Ch01Ex15.sci | // Scilab Code Ex1.15 Speed at total energy twice the rest mass energy: Pg: 25 (2008)
c = 1; // Speed of light is assumed to be unity, m/s
m0 = 1; // For convenience, rest mass of the particle is assumed to be unity, kg
m = 2*m0; // Mass of the moving particle when m*c^2 = 2*m0*c^2, kg
// As m = m0/sqrt(1 ... |
60aa7f56cefcd28016f4d53cf13a97836fc4c0c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH6/EX6.7/ex6_7.sce | afc707f8922a9bf1efcb82c563c7606eb11cf6c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | ex6_7.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
h=3//in
s=10.2//tonf/in^2
v=0.006//in
d=0.5//in
d1=0.75//in
w=20//lbf
q=v/8//tonf/in^2
x=0.029//in
//CALCULATIONS
M=s/q//tonf/in^2
E=M*(x)/(h*12)//tonf/in^2
//RESULTS
printf('the corresponding stress=% f ... |
044498a800bab36390e183e671c4aa49bfd4d64c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.55/Exa2_55.sce | 8a10652f4d66281bb06a81819103eba0c3373d94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Exa2_55.sce | //Exa 2.55
clc;
clear;
close;
//Given data :
format('v',6);
Output=3;//in H.P.
Output=3*735.5;//in watts
Efficiency=0.83;//unitless
cosfi=0.8;//power factor
Vl=500;//in volt
Input=Output/Efficiency;//in watts
//Formula : Input=sqrt(3)*Vl*Il*cosfi
Il=Input/(sqrt(3)*Vl*cosfi);//in Ampere
ISCbyIFL=3.5;//rati... |
0f6cef76bb5ef1a138cd2288e375ac0379ca7da8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH3/EX3.6/C3P6.sce | 7e5dc888e0359e5249241d9c95ecb7d070a825da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | C3P6.sce |
clear
clc
//To find frictional force of the box on the cart
// referrinf to same problem as 3-5 on page no.55
//Given :
// mass of flat-bed cart
mc =360 //kg
// mass of box
mb =150 //kg
// magnitude of acceleration for cart
ac =0.167 // m/s^2
// magnitude of acceleration for box
ab =1... |
c6b2a09875d89a1e500d1eb68e13c23ba4f65d48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH9/EX9.7/Example9_7.sce | c84384dadc1eb1cf0f6dec4931f23b347b44cdc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,181 | sce | Example9_7.sce |
clear ;
clc;
printf("\t Example 9.7\n");
T1=373; //saturated temp.of water, K
a=958 ; //desity difference,kg/m^3
s=0.0589; //surface tension,kg/s^2
Hfg=2257*1000; //latent heat,J/kg
a2=0.597; //density of gas, kg/m^3
A=400*10^-4; //area of mettalic body,m^2
V... |
2a34d3dd5135e0618021dddad6a2c5de35da26b2 | abd7728083df51a785c94e61999237380b32c4f8 | /examples/Presentation Packs/Cognitive Psychology Experiments III (Version 3)/Vigilance/Scenarios/Vigilance.sce | 0029a2ae34025559e333faaf7e33f8361ed5bea2 | [] | no_license | LCTO-TLCO/UAVpresentation | 93b0c0e0eb123b550218bbae4e0bb1db8c30cb5e | 83e0f22cfdc2b7172bf0b90a9a14ddf77e6ccf2a | refs/heads/master | 2023-07-25T14:03:39.874916 | 2021-09-07T07:19:38 | 2021-09-07T07:19:38 | 301,918,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,061 | sce | Vigilance.sce | # -------------------------- Header Parameters --------------------------
scenario = "Vigilance";
write_codes = EXPARAM( "Send ERP Codes" );
default_font_size = EXPARAM( "Default Font Size" );
default_background_color = EXPARAM( "Default Background Color" );
default_text_color = EXPARAM( "Default Font Color" );
defa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.