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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1b7a3fc9f64ae9c9c53e34a98717ac97eba3fd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.8/Example_a_9_8.sce | 67788d01474771eae8706049979aa16e40d4733c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_9_8.sce | //Example_a_9_8 page no:408
clc;
Iph=10;
Vl=440;
pi=30;
Il=sqrt(3)*Iph;
Pac=sqrt(3)*Vl*Il*cosd(pi);
Pac=Pac/1000;//converting to killo Watt
Prc=sqrt(3)*Vl*Il*sind(pi);
Prc=Prc/1000;//converting to killo VAR
disp(Il,"the line current is (in A)");
disp(Pac,"the total active power is (in KW)");
disp(Prc,"the t... |
e6fee88a05c32542b2cdaae79dcfb6d0d88305a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.10/7_10.sce | dc2493da4ce361d7ed31de2c2f3d9755ea1d52fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_10.sce | clc,clear
printf('Example 7.10\n')
printf('Answer might mismatch because of improper approximation done in book\n\n')
V_L=415
V_ph=V_L //due to delta connection
E_bline=520
R_a=0.5,X_s=4 //armature reactance and synchronous reactance
Z_s=complex(R_a,X_s) //synchronous impedance
theta=(%pi/180)*phasemag(Z_s) /... |
9c593a6595232817367bc54478aaf5583bac2d06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.13/Ex4_13.sce | 108099539367ea44a82050081b474e40d29b8c1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,805 | sce | Ex4_13.sce | clear;
clc;
disp('Example 4.13');
// aim : To determine
// the dryness fraction of steam
// and the internal diameter of the pipe
// Given values
// steam1
P1 = 2;// pressure before throttling, [MN/m^2]
t = 300;// temperature,[C]
ms1_dot = 2;// steam flow rate, [kg/s]
P2 = 800;// pressure afte... |
4bf7b2a5608e07de480eadda545ed6fb5800340a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_2.tst | 02363072c78eeb6712866c33f2798b8c19a39e48 | [] | 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 | 35,227 | tst | bow.5_2.tst | 5 10:0.25 11:0.1111111111111111 28:0.23529411764705882 29:1.5 30:0.2 39:0.5 43:0.5 46:0.5 59:0.5 63:0.25 68:0.2 107:1.0 126:0.5 139:0.5 156:0.5 170:0.16666666666666666 369:0.2 370:1.0 419:0.5 551:1.0 611:1.0 652:1.0 847:1.0 875:1.0 1022:2.0 1083:1.0 1120:1.0 1209:1.0 1210:1.0 1275:1.0 1452:0.5 1817:2.0 2917:1.0 3325:0.... |
771b7c25f0d9d4f3ce05adf52ef5cf041763a6e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH6/EX6.16/Ex6_16.sce | 5d3fb665aebd7b69752b5e6aafad04a840653de0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex6_16.sce | //Example 6.16
clc
clear
x = [0 1 2 4];
y = [1 1 2 5];
n = length(x);
del = %nan*ones(n,4);
del(:,1) = y';
for j = 2:4
for i = 1:n-j+1
del(i,j) = (del(i+1,j-1) - del(i,j-1)) / (x(i+j-1) - x(i));
end
end
del(:,1) = [];
Y = 0;
X = poly(0, "X");
for i = 1:n
t = x;
t(i) = [... |
12cf7539f54688bcf2904a5a6319098f5653e790 | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Exercise 20/BottomFlow.sce | 163c42d9705a711dce114bc5f7e7933bf10bc009 | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,955 | sce | BottomFlow.sce | //*******************************************
// This is the Scilab script for Exercise 20.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2015 (updated)
//********************************************
// This script produces a graph showing float tr... |
c468b6a9b34414e2001f69bee418abb13a401c9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH27/EX27.23/EX27_23.sce | 776b6224e9fa39795ea8bb988ae9ea72bab1514b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,586 | sce | EX27_23.sce | //EXAMPLE 27.23
//DC GENERATORS
clc;
funcprot(0);
//Variable Initialisation
emfA=400;....//emf of generator A in Volts
RiA=0.25;.....//Internal resistance of generator A in Ohms
emfB=410;.....//emf of generator B in Volts
RiB=0.4;.......//internal resistance of generator B in Ohms
lV=390;........//Load vol... |
5b359e92eecc7d51736fff0e2d03affb99d72bdb | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BVA6.prev.tst | aae431b950a78ad35c3ba6f320281914fa7dfb6b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | tst | BVA6.prev.tst | BigVectorArray.parseRecurrence("-(n+5)*(n-4)*a(n) +2*n*(2*n-1)*a(n-1)=0")
vname=a_0, k=0, kmax=0, kmin=0, poly=20*a_0 - a_0*n - 2*a_1*n - a_0*n^2 + 4*a_1*n^2
vname=a_1, k=-1, kmax=0, kmin=-1, poly=20*a_0 - a_0*n - 2*a_1*n - a_0*n^2 + 4*a_1*n^2
shift by 0
create bva[3]
bva[2]=20 - n - n^2, vector=[20,-1,-1], poly= ... |
a6c316a6b38dbabcdbc2ade92e2a330c16e77059 | 9110ad109e15cc1ca881fb88246a137d7d8063e0 | /convolution.sce | 9e7d0766adcb81eaea8dc400644670507c1d3ceb | [] | no_license | S-SHASHANK/scilab_codes | aee26d14a12426c63122b6a0706602fc15b8f333 | 26334a114caacbe7375bab22ae14c445f5ab715c | refs/heads/master | 2021-01-19T20:18:40.064520 | 2015-05-07T16:59:53 | 2015-05-07T16:59:53 | 35,232,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | convolution.sce | x = linspace(1,720,100)
h = sind(x)
z = cosd(x)
y = convol(h,z)
subplot(421)
plot2d(x)
xlabel("time")
ylabel("x(t)-->")
subplot(423)
plot2d(h)
ylabel("h(t)-->")
xlabel("time")
subplot(425)
plot2d(z)
xlabel("time")
ylabel("z(t)-->")
subplot(427)
plot2d(y)
xlabel("time")
ylabel("y(t) = x(t)convolved with z(t)")
subplot... |
e20a5421f389aa06477845332f6c9f2e45122e81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH5/EX5.5/Ex5_5.sce | 349d43faa03d971298cd2cb62d7965b4422b91c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,025 | sce | Ex5_5.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 5
//example 5.5
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
P=40; //load of an industrial plant in Mw
pf=.85; //power factor lagging
pfnew=.95 ... |
521a6c90ac4a5af3644f61c12af2bc6708b900e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH2/EX2.8.5/Ex2_5.sce | 79e6390bb4e6ea87412a5bf4fdadb2e3e1217de1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | Ex2_5.sce | //Example 5 // Ch 2
clc;
clear;
close;
// given data :
R=0.25; // in meter sphere radius
R1=0.75;//gap b/w two spheres in meters
S=1; // in meter is equal to R1+R2
S1=0.067; // in meter
S2=0.0048;
S3=0.01795;
S4=0.00128;
Epsilon_o=8.85*1e-12;
Q1 = %pi*Epsilon_o;
Q=Q1/(2*%pi*Epsilon_o);
Qp=S1*Q;
Qpp=S... |
ac7ea85cbb26baa62b3380ff647fb382fa5d014d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.16/16.sce | dd7616b6bbb64c23b3b2a1c624e5db4734bdeb23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | 16.sce | clc
T1=600; //K
T2=300; //K
disp("(i) When Q1=Q2")
T3=2*T1/(T1/T2+1);
disp("T3=")
disp(T3)
disp("K")
disp("(ii) Efficiency of Carnot engine and COP of carnot refrigerator")
n=(T1-T3)/T1; //carnot engine
COP=T2/(T3-T2); //refrigerator
disp("Efficiency of carnot engine = ")
disp(n)
disp("COP of c... |
b191791921c782f8880e385be1daaf239aa3ea6f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH2/EX2.5/2_05.sce | 4d9bec7060ce08dabc5b9da3bc858cc35d63c002 | [] | 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 | 242 | sce | 2_05.sce | errcatch(-1,"stop");mode(2);//Chapter 2, Problem 5
;
V=12; //voltage
I=50*10^-3; //current
R=V/I; //calculating resistance using Ohms law
printf("Resistance of coil = %d ohms",R);
exit();
|
a4e6db0c93ab7089d6a0be85b2d0227494b77908 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.18/3_18.sce | 60a9da2ba74f8407a1e3cd266245eac44441491c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | 3_18.sce | pathname=get_absolute_file_path('3_18.sce')
filename=pathname+filesep()+'3_18_data.sci'
exec(filename)
//Compression ratio
r=(p2/p1)^(1/y)
//Temperature at end of compression(in K)
T2=r^(y-1)*T1
//Temperature at start of expansion stroke(in K)
T3=(Hs/Cp)+T2
//Cutoff ratio
rc=T3/T2
//Efficiency of diesel cycl... |
2371f3be8cca9c027d591b99b466c4eb95720b1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.47.a/ex_5_47a.sce | 876bf28b22119c98ddc69df2ee3b6dbe83014268 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_5_47a.sce | clear;
clc;
fmin=0.1;
fmax=100;
f=fmin:0.1:fmax;
Hdb=20*log(abs(1+%i*f/10));
figure
a=gca();
a.data_bounds=[fmin,-20;fmax,40];
a.log_flags="lnn";
subplot(2,1,1)
plot(f,Hdb);
xtitle('|H(w)|db','w')
subplot(2,1,2)
plot(f,atan(f/10));
xtitle('theta(H(w))','w')
a=gca();
a.data_bounds=[fmin,0;fmax,%pi/2]... |
fbdee46cf839ce2e40148bcf1d8d6efeeec31371 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/REF1.prev.tst | d8ece25d2a8247435fb10aef6a2dd5ebbbc13b5c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | tst | REF1.prev.tst | TranspositionSet={[1,0,2]}
Expanding for base=2, level=4, reasons+features=base,transpose,same norm
Refined variables=x,y,z
ReasonFactory: base,transpose,same norm
|
941d23394141bb9e8e8eef26a0dc021f1ce8e5ff | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Replanning/SCENARIO/Pr2HumanAndShelfNav.sce | f03e5588178c6a5242a5eca0a6e86c73bd1e52fc | [] | 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 | 5,677 | sce | Pr2HumanAndShelfNav.sce | #************************************************************
# Scenario of Ikea
#
# date : Tue Apr 24 11:42:22 2012
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT Lampe
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.... |
75ee70afd930fae434895c92d6f8ca53bd7bb339 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH10/EX10.21/example10_21.sce | 1d0445224f8f006e8a93b9f532aa0d252e0b1c20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | example10_21.sce | clc
// Given that
v = 1000 // potential through which alpha particle accelerated in V
q = 3.2e-19 // charge on an alpha particle in C
e0 = 8.85e-12 // electric permittivity of space
// Sample Problem 21 on page no. 10.44
printf("\n # PROBLEM 21 # \n")
E = q * v
printf("Standard formula used \n E = q * v.\n")
printf(" ... |
e44aba9de3af93abf20bd6fd5876e7776430de9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.36/Example8_36.sce | f67116ff9fb9cbf56451b84ec70efb39c036b2fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Example8_36.sce | //Example 8.36
clc
disp("A binary counter may be combined with a decoder to obtain a set of 1-out-of-M coded signals, where one signal is asserted in each count state. This is useful when counters are used to control a set of devices, where a different devices is enabled in each counter state.")
disp("The fig.8.74 s... |
476506243f6a247faa7825771782b927ffe392df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.4/Ch03Ex4.sce | 4c4573845d44e84ba03bf4f72d0d898a70efc1bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,081 | sce | Ch03Ex4.sce | // Scilab code Ex3.4: Pg 83-84 (2008)
clc; clear;
d = 4e-03; // Thickness of air, m
Q = 2e-04; // Electric charge on plates, C
V = 125; // Supply voltage, V
D = 15; // Electric field density, coulomb-per-metre-square
// Part (a)
// Since elec... |
ba5891376fbe3be470339df34138f9671b676cb4 | 717ddeb7e700373742c617a95e25a2376565112c | /2825/CH14/EX14.8/Ex14_8.sce | 512a21b6a850b961004be33e7b181690580914f2 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 562 | sce | Ex14_8.sce | //Ex14_8 Pg-698
clc
n1=1.52 //core refracrive index
n2=1.46 //cladding refractive index
del=(n1-n2)/n1 //fractional difference of refractive indices
NA=n1*sqrt(2*del) //numerical apperture
printf("Numerical apperture = %.3f \n",NA)
AA_rad=asin(NA/n) //maximum Acceptance angle in rad
AA=AA_rad*180/%pi //... |
93f41e18b66338cc78b7878c9ab2b22f1cfb0090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH15/EX15.2/15_02.sce | 6eb530685e85ecf6cc360506590039978fd87c59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | 15_02.sce | //Example No. 15_02
//Liebmann's Iterative method
//Pg No. 489
clear ; close ; clc ;
f(1,1:4) = 100 ;
f(1:4,1) = 100 ;
f(4,1:4) = 0 ;
f(1:4,4) = 0 ;
f(3,3) = 0
for n = 1:5
for i = 2:3
for j = 2:3
if n == 1 & i == 2 & j == 2 then
f(i,j) = ( f(i+1,j+1) + f(i-1,j-1) +... |
dd30869fa6cce21444f4452cd2ebc1278ec50010 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH19/EX19.08/19_08.sce | bfbff96d8c95c67b27b27c12e7c398f0cee41d1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | 19_08.sce | //Problem 19.08: Three 12
ohms resistors are connected in star to a 415 V, 3-phase supply. Determine the total power dissipated by the resistors.
//initializing the variables:
Rp = 12; // in ohms
VL = 415; // in Volts
//calculation:
//Power dissipated, P = VL*IL*(3^0.5)*cos(phi) or P = 3*Ip*Ip*Rp)
Vp = VL/... |
ce96311f7ad90e7fdef222aa40856b165bffc9f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.11/Ex8_11.sce | e9c44d8a94e5e9f95cb023850509da75af41099e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_11.sce | //half power radiation pattern and beamwidth between first null
//given
clc
Da=12//metre
f=10d+9//hertz
v=3d+8//m/s
lemda=v/f//metre
ie=0.6//illumination efficiency
gp=ie*(Da/lemda)^2//gain pattern
gp_decibles=10*log10(gp)//changing to db
gp_decibles=round(gp_decibles*100)/100///rounding off decimals
disp(gp... |
10cdcefb0f275933c040cff9f393b473ed24f042 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTh/enth.7.tst | ef550d135ef433dbe8ba69ad1db525dfb798a882 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134,392 | tst | enth.7.tst | a - n e t เ อ เ น ็ ต
a . e . เ อ อ ี
a a r o n แ อ ร อ น
a b d u l อ ั บ ด ุ ล
a b e l s เ อ เ บ ิ ล ส ์
a b e l s o n แ อ บ ิ ล ส ั น
a b l e เ อ เ บ ิ ล
a b u s e อ บ ิ ว ส ์
a c a c i a อ ะ เ ค เ ช ี ย
a c a c i a อ ะ เ ค เ ซ ี ย
a c h เ อ ซ ี เ อ ช
a c h e s o n แ อ ช ิ ส ั น
a c h e s o n แ อ เ ช อ ส ั น
a c h i ... |
d0629b69863cb26eba4419cff54bab675ebd9e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH18/EX18.7/Exa18_7.sci | a3711cb68fc1a2215d00979611a38538e4d68135 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sci | Exa18_7.sci | //Determine the offered load and channels required
CPH = 4000;
ACH = 150
A = (CPH*ACH)/3600;
disp(A, 'Offered Load');
disp(182, 'Channels REquired (using Erlang B table)') |
9d7a0afa8ea5e15d52eb5e06304d5e59b181aaf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH13/EX13.10/Ex13_10.sce | 352763705b0b75a311054001cce200f90301bae0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex13_10.sce | clc
sigma_0 = 250 // N/mm^2
d1 = 5 // initial wire diameter in mm
d0 = 15 // final wire diameter in mm
r0 = d0/2
r1 = d1/2
x = (r0/r1)^2 // mm
alpha = 45 // angle of contact
alpha = alpha*%pi/180
mu = 0.1 // coefficient of friction
B = mu*cotg(alpha)
sigma_x0 = (sigma_0*(1+B)*(1-(x)^B))/B // N/mm^2
sigma... |
f8329926ba082edcbbc24529438a4e61517b0d53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH8/EX8.06/8_06.sce | 697f7cb9c1496996118a6782a4059ff203f0b342 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | 8_06.sce | //Problem 8.06: A coil is wound on a rectangular former of width 24 mm and length 30 mm. The former is pivoted about an axis passing through the middle of the two shorter sides and is placed in a uniform magnetic field of flux density 0.8 T, the axis being perpendicular to the field. If the coil carries a current of 50... |
d05b5a9c9efe7bc738acb251c915f79872340d95 | be2d2a8f4f52eaee8321843e3982b31822f8eb00 | /random_walk_1D.sce | 6c2c8a0550af49304358e55e0a8c609a72e4657f | [] | no_license | betacord/SK | dbe99f8e767a225fffac30935084d001a12facbb | 8ac1f424f85f595285db0f2f47f8a0fb3afa4033 | refs/heads/master | 2020-03-31T21:35:18.805098 | 2018-12-13T13:16:13 | 2018-12-13T13:16:13 | 152,585,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | random_walk_1D.sce | // random walk 1D
// parametry
Nsteps = 1000;
grand('setsd', getdate('s'));
steps = [0, 2 * grand(1, Nsteps, 'uin', 0, 1) - 1];
x = cumsum(steps, 2);
xmean = cumsum(steps, 2) ./ [1:Nsteps + 1];
xsq = cumsum(steps.^2, 2) ./ [1:Nsteps + 1];
subplot(131);
plot([1:Nsteps + 1], x);
xtitle('Trajektoria', 'Nr kroku', 'Poloz... |
8b2c32cc476857a64613f15deeeee9c15e95f969 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/SxP_InteViewer/bak/SxP_InteViewer_v1.1.sce | c63ca4c8abc1e1d8dcf4044629e04d9ebe2bf88e | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53,436 | sce | SxP_InteViewer_v1.1.sce | // ====================== S-params Converter ====================
//
// (Semi)Intelligent Viewer
//
// (c)2014 L. Rayzman
//
// See "Generalized Mixed-Mode S-parameters"
// A. Ferroro, M. Pirola, IEEE 2006
//
//
//
// GUI interface based on UICONTROL2 GUI demo
//
// Created : 02/25/2014... |
a28c3a07c1441bf31593e2d2f9e92ed7f18c2510 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH11/EX11.8/Ex11_8.sce | 8955f3cfefe75e0653a55373b2b7e1c4d85fc11d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Ex11_8.sce | clc
clear
//Initialization of variables
c1=4.97 //Btu/mol R
c2=5.02 //Btu/mol R
n1=2
n2=1
T1=86.6+460 //R
T2=50+460 //R
//calculations
du=(n1*c1+n2*c2)*(T2-T1)
ds=(n1*c1+n2*c2)*log(T2/T1)
//results
printf("Change in internal energy = %d Btu",du)
printf("\n Change in entropy = %.3f Btu/R",ds)
|
232a1d21138b5d1035abafe9ec131c3ad4c7f931 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH11/EX11.11/11_11.sce | 411d4706fc61def93f5ec408600c7e89730aa3fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | 11_11.sce | clear;
clc;
Zin=400+(%i*4000);Zout1=100+(%i*1000);Zout2=38+(%i*380);
Zoc1=Zin;Zoc2=Zout1;Zsc2=Zout2;
Z3=sqrt(Zoc1*(Zoc2-Zsc2));
Z1=Zoc1-Z3;
Z2=Zoc2-Z3;
A=real(Z1);
B=imag(Z1);
C=real(Z2);
D=imag(Z2);
E=real(Z3);
F=imag(Z3);
printf("-Z1 = %f + j(%f) ohms\n",round(A*10)/10,round(B*10)/10);
printf("-Z2 = %f ... |
d4674a4a1d8c1d8c6a8d8bc347e215f7fc9042e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH6/EX6.2/Ex6_2.sce | 61513d8d92ce89962c82da1a4f2d838d349a15ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex6_2.sce | // Ex6_2 Page:96 (2014)
clc;clear;
v0 = 6.43e+013; // The vibrational frequecy of CO molecule, Hz
e = 1.6e-019; // Energy conversion factor, J/eV
mu = 1.1385e-026; // The reduced mass of CO molecule, kg
h = 6.626e-034; // Planck's constant, Js
E0 = 1/(2*e)*h*v0; // Zero point energy, eV
k = 4*(22/... |
75d47fd0eb2d28a50a9541dc0f348d58d0cb3d87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH7/EX7.5/7_5.sce | d9f2cf4dfccc1523136cf0a8085771e88dce9c2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 7_5.sce | clc
//initialisation of variables
m= 0.01 //M
CB= 235 //mm
R= 426.3 //ohms
M= 265
C= 0.448
//CALCULATIONS
k= M*C/(R*CB)
A= k*1000/m
//RESULTS
printf (' equivalent conductance= %.1f ohms',A)
|
95715265788b621030724b6794e5e935f7f486dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.14/Exa_2_14.sce | 38a21ef3e473ae5d6a8547d4ec9e2d36791303a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_2_14.sce | //Exa 2.14
clc;
clear;
close;
format('v',7);
//Given Data :
m=50/1000;//Kg
t1=14;//degree_centigrade
t2=74;//degree_centigrade
t_heating=300;//sec
Pheater=10.04;//Watts
Gamma=1.4;
Q=Pheater*t_heating;//J
//Q=m*Cp*(t2-t1)
Cp=Q/m/(t2-t1);//J/KgK
disp(Cp,"Specific heat of air in J/KgK : ");
//Cp*(1-... |
29cc9c782370626771eb4b6ea69cc364c4bca904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH5/EX5.2/eg5_2.sce | 5982ae6e3b22f832c2ba2161982fe5e8f4d2af18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | eg5_2.sce | clear;
//clc();
n=6;
k1=0.1;
k=sqrt(k1);
a=sinh((n-1)*k)/sinh(n*k);
b=1-a;
printf("\n the voltage across lowest unit is: %.2f V\n ",b*100);
eff=1/(n*b);
printf("\n the string efficiency is: %.2f percent",eff*100);
|
f2d30ee7a7826de584c029ae6190c6347c877c9b | 80c4f32677abf57e118950a28c918a042269200c | /UI_Edit/Scenes/RRRR.sce | ea70c66d6c2ed548594af5961065725004f84385 | [
"MIT"
] | permissive | ggcrunchy/ui-edit-v1 | ab31697a8db0387e71edd1e61f3bcc3cd0bcbc7e | e5b1b1867f5f9bca941e3638a0274f8133711759 | refs/heads/master | 2021-01-19T14:24:13.514011 | 2012-10-16T07:09:52 | 2012-10-16T07:09:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | RRRR.sce | <nButton>0</nButton>
<nSlider>0</nSlider>
<nListbox>0</nListbox>
<nTextbox>1</nTextbox>
<Textbox>
<ID>"Textbox1"</ID>
<m>
<D>"HText"</D>
<HT>"HText"</HT>
<PE>"HText"</PE>
<F>"HText"</F>
</m>
<max>11</max>
<offset>0</offset>
<cursor>2</cursor>
<selectIndex>0</selectIndex>
<selectCount>0</selectCount>
<t... |
1e5b1e5d02262e62263ab4231899b2ad3e1a606f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH9/EX9.6/9_6.sce | 2fbf22927da8607189eb797208afc694c8702f9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 9_6.sce | clc
//initialisation of variables
Fr= 20 //gpm
P= 2500 //psi
sf= 4
Ts= 55000 //psi
V= 15 //fps
//CALCULATIONS
A= Fr*0.3208/V
ID= 2*sqrt(A/%pi)
Wt= P*ID/(2*(Ts-P))
Wt1= Wt*sf
//RESULTS
printf ('Wall thcikness = %.3f in',Wt1)
|
337a0d999b77f0c4f80f6c2a06b53f662b579278 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH4/EX4.1/Example4_1.sce | a055977361c88bf077c626567130c523941cbd8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Example4_1.sce | //chapter-4,Example4_1,pg 488
//it is a half-adder circuit with the output 'a' and carry 'c' given by the boolean equations
b1=1//input-1
b2=1//input-2
a=bitand(b1,bitcmp(b2,1))+bitand(bitcmp(b1,1),b2)//sum
c=bitand(b1,b2)//carry
printf("sum\n")
printf("a=%.f\n",a)
printf("carry\n")
printf("c... |
57ab60da2a278dc64ebf69f12e1dbb07211efbfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.48/Ex5_48.txt | 325565f3e221f008b76cb92238c53ca542e99960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | txt | Ex5_48.txt | //Ex:5.48
clc;
clear;
close;
A=12.5;// cross section area of the target in m^2
pr=10^-13;// max received power in Watt
Gr=2000;// receiver gain
Gt=2000;// transmitter gain
y=16/100;// wavelength in m
pt=250*10^3;// transmitted power in Watts
Rmax=((pt*Gt^2*y^2*A)/((4*%pi)^3*pr))^(1/4);// max range in m
Rmax2... |
e48b7fedb14ab3381f70eb2f80b8f799471ceb66 | 029f754c34151afb975b05a723720675cb9281ac | /tst/mcA.tst | 16618c312c11f9ec9d150440fd2a26f44644cc13 | [] | no_license | Ohado/Hebrew-xfst | 8f46b4c1c672f98a3c80394fa54da6422e7cb40e | 7ee7192fe82be5b1e99a9fabdb7d214024923f6a | refs/heads/master | 2022-11-16T18:14:34.668692 | 2020-07-13T12:53:12 | 2020-07-13T12:53:12 | 279,302,231 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,044 | tst | mcA.tst | !mcA test suite
+PEL^[{mcA}.m>.{+Pst+1P+Mas+Sg}^]
+PEL^[{mcA}.m>.{+Pst+1P+Mas+Pl}^]
+PEL^[{mcA}.m>.{+Pst+1P+Fem+Sg}^]
+PEL^[{mcA}.m>.{+Pst+1P+Fem+Pl}^]
+PEL^[{mcA}.m>.{+Pst+2P+Mas+Sg}^]
+PEL^[{mcA}.m>.{+Pst+2P+Mas+Pl}^]
+PEL^[{mcA}.m>.{+Pst+2P+Fem+Sg}^]
+PEL^[{mcA}.m>.{+Pst+2P+Fem+Pl}^]
+PEL^[{mcA}.m>.{+Pst+3P+Mas+Sg}^... |
e01efd381edf5753f8d7ef675cbd3ec7cd821755 | 399252dd10344a5bf910cf9d25663fd3ce2d5482 | /etude_bataille.sce | 7e7c8794404e7a9469ed3a6b003fddff5d19a3e5 | [
"Apache-2.0"
] | permissive | DYNXTSX/Bataille_Carte | 1a8483fb5a48e38fd96a32c08fc729e16f5d397f | 25354303e62d2136dfa5a440d07575c2c632c06b | refs/heads/main | 2023-02-24T15:01:30.513765 | 2021-02-02T15:20:17 | 2021-02-02T15:20:17 | 335,332,013 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,389 | sce | etude_bataille.sce |
// Deux lignes utiles à mettre au début de chaque script :
xdel(winsid()); // ferme toutes les fenetres a chaque nouvel appel du script
clear; // nettoie toutes les variables a chaque nouvel appel du script
mode(0); // pour que le script se comporte comme... |
67be608f92d0262e080206e649b3bd52b514b5c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH24/EX24.15/example15.sce | e3145739ab123729012e57be718d54a282ea7981 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | example15.sce | // find output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 24-15, page 984
clear; clc; close;
// Given data
R1=2.21*10^3;// in ohms
R2=2.8*10^3 ;// in ohms
Vref=2.21;// in volts
// Calculations
Vout=((R1+R2)/R1)*Vref;//... |
af3c24dd189a9b9075a0620f04fd1c059c85b220 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH17/EX17.7/Ex17_7.sce | efb04fbb44df6528f4dd69d7be9f555d987863bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | Ex17_7.sce | clc;
close();
clear();
//page no 556
//prob no. 17.7
l=127-70.2; //Difference in longitude
L=40.5 //Latitude of New York
d_km=35.786*10^3*sqrt(1+0.42*(1-cos(L*%pi/180)*cos(l*%pi/180)));
mprintf('The distance is %.0f km \n',d_km)
|
94af9424259fe5a2e7e800981e0cf81fb96481ba | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/gaussdesign.sci | fa4a82cefbcb3df3afe2d348dd0a268cb0894436 | [] | 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 | 4,372 | sci | gaussdesign.sci | function filter_coeffs = gaussdesign(BwSt_prod, num_of_symb, samp_per_symb)
// GAUSSDESIGN designs a Gaussian pulse-shaping filter which is a low pass FIR
// filter
// Inputs:
// BwSt_prod: it stands for 3 dB bandwidth symbol-time product.
// Bandwidth is the one-sided and in hertz. Symbol-time ... |
a12d2e6fbb8c4a6e3a26d41098df7dc61d914eed | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.9.sce | 9528a295dd30e40ae4ba56d9e1eff2e6884e0167 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | Ch_6_Eg_6.9.sce | //Use of the xstring function.
str=['lower left', 'upper left', 'centre','lower right', 'upper right'];
xstring([0,0,.5,1,1],[0,1,.5,0,1],str)// Strings at various locations
xstring(.1,.1,str);// Strings concatenated together
xstring(.2,.2,'at angle',30)// String drawn at an angle
xstring(.3,.3,'In the box',0,1)... |
8c87e44f2d6b6c92ff47f7812a59d9ef7d810e1e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Algebra_And_Its_Applications_G._Strang_70.zip/Linear_Algebra_And_Its_Applications_G._Strang_70/CH3/EX3.4.1/3_4_1.sci | 40357005db3d8f562046c3f2c498c34a4eca138a | [] | 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 | 383 | sci | 3_4_1.sci | errcatch(-1,"stop");mode(2);//page 175
;
;
thetha=45;//Taking some value for thetha.
Q=[cos(thetha) -sin(thetha);sin(thetha) cos(thetha)];
disp(Q,'Q=');
disp(Q','Q''=inv(Q)=');
disp('Q rotates every vector through an angle thetha, and Q'' rotates it back through -thetha.The columns are ly orthogonal and they are ortho... |
24f22ed095bbf69334470e4793601177730a3f75 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment3_Team8/Q2/testCase12.tst | 87a5131daaf84496ee06b6ad51c2db86b3a3ed35 | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 310 | tst | testCase12.tst | load CLA4b16buA.hdl,
output-file testCase12.out,
compare-to testCase12.cmp,
output-list x%B3.16.3 y%B3.16.3 z%B3.16.3 isoverflow%B5.1.4;
//test case 1 for unsigned int
set x %D37, set y %D45,
eval,
output;
//test case 2 for unsigned int
set x %B1000000000000001, set y %B0111111111111111,
eval,
output;
|
429591c42e9dab8ff890f8059969d4808b45b99e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/tests/calpol.tst | ce3ce0604d8d7fa30377bdde10e126c3575f5486 | [
"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 | 13,006 | tst | calpol.tst | //
deff('[ok]=cmpr(h1,h2,eps)',['h1=h1-h2;';
'if norm(coeff(h1(2)))>eps then ok=0,else ok=1,end'])
comp(cmpr)
s=poly(0,'s');
//
//rationals
//
num=1;den=1+s;
eps=5000*%eps;
if cmpr(num/den,list('r',num,den,[]),eps)<>1 then pause,end
if cmpr(den\num,list('r',num,den,[]),eps)<>1 then pause,end
if cmpr(num./den,l... |
663b22ce408c6eb51b969dc70f577eec501eb672 | 75bbd82f0bfa2040e92161597c5e36931ff7767b | /Cotg.sce | 4ebb583180af71ef7df166f489b5daa1e18f613d | [] | no_license | v0ltmx/scilab-MAT | d7da8e73b9d7551c2a00be04d2a2d64e80346c1d | b2f7cdc994ad49d77f90c24393769a5fdcac0568 | refs/heads/master | 2022-01-20T10:00:26.830030 | 2019-07-20T02:42:56 | 2019-07-20T02:42:56 | 197,870,163 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | sce | Cotg.sce | x=[1,%i];
cotg(x)-cos(x)./sin(x)
plot(x,cotg,(x))
|
9fee83778e3dda32aed07e87d0104ef5b85ee968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH9/EX9.9/9.sce | db9bd897dffe8711579c20373dffcf1c0832d8b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 9.sce | clc
clear
//input
t=2.14*10^6*365*24*60*60//half time
//calculation
l=0.693/t//decay constant
t1=1.1097/l//decay law
t2=t1/(365*60*60*24)//time in yrs
//output
printf("time taken is %3.3e yrs",t2)
|
e1131957cb825ac7c8a56fdb6fedca54e6248053 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.11/example_3_11.sce | 9c2166be8d244fe9f925933f9b6ad6fce43bc76d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | example_3_11.sce | clear;
clc;
disp("--------------Example 3.11---------------")
B=20; //bandwidth in Hz
fh=60; //highest frequency in Hz
fl=fh-B; // formula to calculate lowest frequency
printf("The lowest frequency = %d Hz\nThe spectrum contains all integer frequencies which is shown as a series of spikes in the figure.",fl); ... |
17edae1d295bef7df45d682a39f91bd177e754bd | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub5/VP5_OneBack.sce | 3262bc40e870e053e7df1caea84262d5c3d38984 | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,886 | sce | VP5_OneBack.sce | array <int> finalSeq[432] = {9,52,7,7,61,35,30,59,49,48,48,13,48,28,28,17,38,54,20,49,38,31,54,62,66,1,33,34,68,61,54,72,25,23,1,1,29,37,13,32,24,72,11,21,40,49,49,36,36,6,4,3,69,12,16,22,69,69,23,26,46,46,24,26,29,53,26,4,18,1,7,38,22,62,12,55,6,20,45,45,44,15,46,14,35,29,23,13,15,25,40,40,30,40,39,43,59,8,17,30,9,66,... |
1b7a48afe6f0657c305f7c8eb4db799c9fbc0b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH10/EX10.6/Ex10_6.sce | b1b9776b89e3f9b69f7262fb9c2db29dd7551e62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_6.sce | //Ex10_6
clc
x='110';
disp("Octal number="+string(x))// octal value
str=oct2dec(x)//octal to decimal
disp("Eqivalent Decimal number="+string(str))
|
f0c521780af66e69d666ff7b6d5959725fdb7a1d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_toc.sci | d2d8141cacb34627077f349099e8560b8253ef6b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sci | sci_toc.sci | function [stk,txt,top]=sci_toc()
// Copyright INRIA
stk=list('timer()','0','1','1','1')
|
d18fedaa7a493583b80b627074e94f69bf2175e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH9/EX9.3/3.sce | 2cf6d4858d0a40b2b3b12deb7e779bb0a8e0f3d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3.sce | clc
clear
//input
sig=6//stephans constant
//calculation
x=3^4*6*2^2/6//ratio of rate of emission
//output
printf("the ratio of rate of emission is %d and hence larger cube emits faster than smaller",x)
|
b55a8c4358fd1c2b5155fb987d909b8db9e4ff98 | 47ac5406ac2e294734b1e698676d065110195d9f | /Design of Oil Storage Tanks.sci | eea2c752724bdce884cb5edad51b28389cbb3742 | [] | no_license | gabao55/Chemical-Engineering-Programs | dc17ed28ade2044d072792f979e44593c8b823d6 | ab2bd012157cad437aa2ce5b57c93d26b933f3e9 | refs/heads/main | 2023-01-20T20:48:17.039299 | 2020-11-14T12:38:12 | 2020-11-14T12:38:12 | 311,427,096 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,410 | sci | Design of Oil Storage Tanks.sci | // Cálculo da espessura mínima de anéis de costado de um tanque (API 650 - básico) //
clc
clear
// Dados de Entrada://
densidade = input('Insira a densidade do produto a ser armazenado (g/cm³): ')
largura = input('Insira a largura das chapas a serem usadas (ft): ')
C = input('Insira a sobre espessura p... |
005b54c70e340b08a0041f57581051038176c519 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.11_19.tst | 7c2baa6c337b76986ebf48da4bf4f3dfe8af8a9d | [] | 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 | 772,581 | tst | 5.11_19.tst | 11 3:1 62:1 134:1 520:1 901:1 1185:1 1223:1 1454:2 1457:1 1464:1 1595:2 1677:1 1709:1 1751:1 1903:1 1909:1 2012:1 2099:1 2185:1 2235:2 2295:1 2324:1 2386:1 2620:1 2834:1 2862:1 3027:1 3181:1 3310:1 3374:1 3389:1 3574:1 3615:1 3630:1 3669:1 3933:1 4036:2 4166:1 4519:1 4522:1 4671:2 4699:1 4798:1 4829:2 4945:1 5168:1 527... |
a82ff40d2a2ed679df3c98cb073be6f7881808ef | d2c0e716bb199ca2755e187572e361ba34f3f781 | /misc/talleres/UAC2011/Scilab/analin.sci | dc3520bc49ac89ab9f8064ddd6e1b84612b7eed6 | [] | no_license | digitalfredy/altaimpedancia | 0c866bcbd049cd129635d7b05e471283f64b9403 | de5763d0955743f09d9858f154f22dbdbb7ced3f | refs/heads/master | 2016-09-06T17:22:58.421583 | 2015-04-18T21:52:23 | 2015-04-18T21:52:23 | 33,036,105 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,378 | sci | analin.sci | function [risetime, peaktime, overshoot, settlingtime] = analin(time, gs, settling_amp)
// analin - analysis of a simulation (time response) of linear system
//
// Calling Sequence
// [risetime, peaktime, overshoot, settlingtime] = analin(time, gs, settling_amp) //
// Parameters
// time:
// gs:
// settling_amp:
// r... |
a52ceec23b5c8a8696ed2185777390b5556fb4c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH2/EX2.3/Ex2_3.sce | a52c72aefd4731becaad22a8329a09e865528e2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | Ex2_3.sce | //Chapter 2
//page no 52
//given
clc;
clear ;
l=10*10^-3; //in m
w=2*10^-3; //in m
h=2*10^-3; //in m
V=12; //in V
u_n=0.14; //in m*m/V*s
u_p=0.05; //in m*m/V*s
q_n=1.6*10^-19; //in Columbs
q_p=1.6*10^-19; //in Columbs
p_i=2.4*10^19; //in colum... |
68806e2ca4c9c0e265c1a2820fd0fc7f10f3b34c | 993c10f7706af779d36ea4b5254792a34da554c1 | /ann/practice/Treinamento_Perceptron/run.sci | ad1a650e77d2d998ee0effbd8bd7c1af3e7945eb | [] | no_license | francislz/college_codes | e1c113a29fcb704a243e5a942bf2c629157d315a | 41bbefbe13135eb2654815aeb546a44462847b87 | refs/heads/master | 2022-01-29T11:15:15.597217 | 2018-11-01T22:40:13 | 2018-11-01T22:40:13 | 155,784,263 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sci | run.sci | clear;
exec('treina_perceptron.sce',-1);
//Entradas Logicas
X = [[0, 1, 0, 1],
[0, 0, 1, 1]];
W = (rand(1,2) * 100)/100 ; //Pesos
b = 0.3; //Bias
yand = [0 0 0 1]; //Saidas Para Porta AND
max_epocas = 1000; //DEfine max de epocas
alfa = 1.2; // Alfa de ajuste
tol = 0.001; //Tolerancia
[Wand, band, VetorSEQ1] = trei... |
f1bbefe82c776f3b8ad64bc5a8b4ccb9b12f5c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.17.p/prob1_17.sce | 63239a086fd1e97e9f1d4c8179b28a7f39ecf3f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | prob1_17.sce | // Prob 1.17
clc;
clear;
close;
format('v',6);
// Given data :
Poles=4;//no. of poles
m=3;//no. of phase
f=50;//in Hz
V=7000;//in volt/phase
I=1400;//in A/phase
Xs=1.2;//in ohm/phase
E=sqrt(V^2+(I*Xs)^2);//in volt
disp(E,"Induced emf in volt : ");
cosfi=1;//for resistive load
P=3*V*I*cosfi;//in watts
P=... |
156f9179829d44c091d3e6dcce5bf3c44ea18b11 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/demos/icse/icot.sci | 63e8bde8e484cb62e8128aadc9e3031bb7bce06a | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sci | icot.sci | //<ytot>=icot(dtv)
//<ytot>=icot(dtv)
//extraction de l'etat total
//variables d'entree :
//dtv(ndtv) : tableau de travail double precision obtenu par
//la mise en oeuvre de icse,icsu,icsua ou icsuq
//variables de sortie:
//ytot(ny,nt) : etat du systeme
//!
ytot(ny,nti+ntf)=0.d0;
lot=ndtu+ny+ntob+nob*ny+nex*ntob*nob+2*... |
0973e024f49e72ee54afc6f9466820349a09cbfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH20/EX20.26/20_26.sce | da2bf97236ef4614c8bae24b529c1a4635d682bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | 20_26.sce | //Problem 20.26: Determine the saving in the volume of copper used in an auto transformer compared with a double-wound transformer for (a) a 200 V:150 V transformer, and (b) a 500 V:100 V transformer.
//initializing the variables:
V1a = 200; // in Volts
V2a = 150; // in Volts
V1b = 500; // in Volts
V2b = 100; //... |
3a116f3caeb531009b72d76322da9df525b65d53 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/joinshre.tst | dc514796bc01aad5b668fae3cc212d20574b608e | [] | 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 | 600 | tst | joinshre.tst | (unwatch all)
(watch compilations)
(clear)
(dribble-on "joinshre.out")
(load "joinshre.clp")
(reset)
(agenda)
(assert (a-1) (a-2) (a-3) (a-4) (a-5))
(agenda)
(assert (d-1) (e-1) (f-1) (b-2) (b-3) (b-4) (b-5))
(agenda)
(assert (b-1) (c-2) (c-3) (c-4) (c-5))
(agenda)
(assert (c-1) (d-2) (d-3) (d-5))
(agenda)
(assert (e-5... |
9e9a8a4dca95fcee954be0a3ff7abb699cf3d3b2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%ip_p.sci | ac1109eb478cd588ef0dd56b0bf077ca3d1db69f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sci | %ip_p.sci | function %ip_p(x)
disp(sci2exp(x(1),0)+':'+sci2exp(x(2),0)+':'+sci2exp(x(3),0))
|
39c52585836be34dbab7666023b70bae9a98dce8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH5/EX5.10/Ex5_10.sce | b3417db249fe9a305a67aa95d126229f44522489 | [] | 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 | 708 | sce | Ex5_10.sce | errcatch(-1,"stop");mode(2);//caption:Find reading of voltmeter and percentage error when(a)sensitivity of voltmeter is 100 kilo ohm per volt(b)sensitivity of voltmeter is 500 kilo ohm per volt
//Ex5.10
Rl=50000//load resistance(in ohm)
S1=10000//sensitivity (in kilo ohm per volt)
S2=50000//sensitivity (in ki... |
ea46884866fea0901f08fd84f0ad2c855dffd68e | 66637dac260ebe5085a872c9f57355e817410679 | /RootFind-NRAlgo.sce | e57087181e52a7d61c7a85c7a630133e92689c11 | [] | no_license | SnehaSahu05/Root-Finding-Problem | 289710cca05712a80ced18a7ccec6b6af14145cf | 410524bc1ad88f8313d509cf9f7d1a9f950eda52 | refs/heads/master | 2021-01-11T15:44:07.177987 | 2017-01-24T13:52:51 | 2017-01-24T13:52:51 | 79,915,602 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | RootFind-NRAlgo.sce | //root finding by Newton-Raphson Algorithm : Linear Equation
function eqn=f(x)
eqn=(x.^2)-(6*x)+5; // roots=1,5
endfunction
x=-7;//root=1
//x=7;//root=5
xR=-10:10;
plot(xR,f(xR));
xtitle("plot: f(x)=(x^2)-6x+5","x","f(x)");
xgrid(color("grey"));
while(f(x)<>0),
plot(x,f(x),'r-o');
dfdx = n... |
27b9a7dfc97bcbc26e0e2df49552fe34a32a598f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH3/EX3.16/Ex3_16.sce | cdd7a580d798f5ce0138c58acd8d001c971c350a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_16.sce | //Ex3_16
// Image Sharpning using Un-Sharp Masking and High-Boost Filtering
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. W... |
52022f241115a2218de387088237c13df2598a3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH7/EX7.7/Ex7_7.sce | 6ef19c66ff59be6f9a0cb0616648451148ae51fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | Ex7_7.sce | // chapter 7 example 7
//-----------------------------------------------------------------------------
clc;
clear;
// given data
// given (lamda/10) wire dipole
// Radiation resistance of short dipoles is Rr = 790*(1/lamda)^2;
// Rr = 790*(lamda/(10*lamda))^2;
// Rr = 7.9;
mprintf('Radiation resistance = ... |
1d69f34610aafa41f17640ae87f3b340dca8e77c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH14/EX14.5/Example14_5.sce | 16faa5a575a218e440a74c18398df21d1131604b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Example14_5.sce | ////Chapter No 14 Air Standard Cycles
////Example No 14.5 Page No 308
///Find compression ratio
///Input data
clc;
clear;
P1=1; //Isentropic Compression in bar
P2=20; //Isentropic Compression in bar
//Consider air as the working fluid therefore
gamma1=1.4;
... |
6b3d2437f19c647640f107965486f0ff09f5e855 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH13/EX13.5/13_5.sce | 9eae00b260dbb40ad3010c89b4a8e3e3c0c6bd17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_5.sce | clear;
clc
E=1.1
V=1
xg=.7
xt=.1
x1=.2
X1=x1+xg+xt
X2=.2
xL=.5
xC=-.5
X=X1+X2
P1=E*V/X
mprintf("\n(a) Steady State limit = %.4f", P1)
X3=xL
X=((X1*X2) + (X2*X3) + (X1*X3))/X3
P2=E*V/X
mprintf("\n(b) Steady State limit = %.4f", P2)
X3=xC
X=((X1*X2) + (X2*X3) + (X1*X3))/X3
P3=E*V/X
mprintf(... |
f2b2ca1acb90263db793cb7cc89349afa5924a37 | bf5755ded671dac6e8bb0a1df3cac29ad7628045 | /lab2/Add32/Add32.tst | 2d1bd5c95385fd89ee471aad789aba84e5f6140d | [] | no_license | RohithS98/CSDLab | 3050b18fd72f8f439a5f904fe76c731b6b356223 | 46328f5ec88afdd635535c08fbd92116ab3ad451 | refs/heads/master | 2020-07-10T15:13:19.806382 | 2019-11-05T11:22:44 | 2019-11-05T11:22:44 | 204,295,049 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | tst | Add32.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load Add32.hdl,
output-file Add32.out,
compare-to Add32.cmp,
output-list a1%B1.16.1 a2%B1.16.1 b1%B1.16.1 b2%B1.16.1 out1%B1.16.1 out2%B1.16.1... |
e3c792f330730695b8835d52c04ac0079d71f633 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH5/EX5.5/5_5.sce | 1f154b8a42134d503ff1d21d4e4266665fa0b1d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 5_5.sce | clc
//Initialization of variables
cp=0.25
T1=3460 //R
T2=520 //R
//calculations
Q=cp*(T2-T1)
ds=cp*log(T2/T1)
G= Q - T2*ds
eta= G/Q
//results
printf("Thermal efficiency = %.1f percent",eta*100)
|
da4e2b1ea4be22a4c6b21410617c75a40f6dd5f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH12/EX12.8/example12_8.sce | d05d490352576091228b594e02cbcc6ef7d3caed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example12_8.sce | im=0.05;
s=1/im;
rm=3;
v1=5;
v2=15;
v3=50;
r1=s*v1-rm;
disp("the value of R1 (in kΩ) is"); disp(r1);
r2=s*v2-(rm+r1);
disp("the value of R2 (in kΩ) is"); disp(r2);
r3=s*v3-(rm+r1+r2);
disp("the value of R1 (in kΩ) is"); disp(r3); |
21f5cdd96377694bb55538ae776a606cb1833707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH6/EX6.14/Exa6_14.sce | 9991f6f3b3eccc3202768e99cb4a0a0b87c9fc79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Exa6_14.sce | //Exa 6.14
clc;
clear;
close;
//given data
VCC=10;//in volt
RC=8;//in Kohm
Beta=40;//unitless
IB=15;//in uA
IB=IB*10^-3;//in mA
// For VCE = 0 Volts
IC=VCC/RC;//in mA
disp(IC,"VCE=0V and IC in mA = ");
disp("This gives a point on loasd line.");
//For IC=0 VCE=VCC=10V :
disp("For IC=0, VCE=VCC=10V :")
di... |
3be3e297a7c81bd20d8fd0b291159aa4218b7ebe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH5/EX5.4/5_4.sce | 73d14f3b7e3ab234d017fc6b4fe44e60323a273e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | 5_4.sce | clc;
//page no 5-11
//Example 5.4
//Given amplitude of the wave as 5V and frequency as 1kHz
amp=5;
fs=50;//frequency sensitivity
fd=amp*fs;//frequency deviation
disp(+'Hz',fd,'Frequency Deviation=');
fm=1*10^3;//in Hz
mod=fd/fm;
disp(mod,'Modulation index=');
|
e3be636aa41bbbb435491ddf3d0dd28b98cae4e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.11/2_11.sce | d3409f6ba7da9e7904f4adc41274fb878c0d050d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 2_11.sce | clear
clc
disp('Exa-2.11');
m=1.67*10^-27;c= 3*10^8;v=0.86*c; //all the given values and constants
p=m*v/(sqrt(1-((v/c)^2))); // in terms of Kgm/sec
printf('The value of momentum was found out to be %.3e Kg-m/sec.\n',p);
c=938;v=0.86*c;mc2=938 // all the energies in MeV where m... |
54764b0e226b90925a1492b5af979b79f7a919e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH1/EX1.2/Ex1_2.sce | fc5fea80950f2cdb81057cacde852fef3bc72df6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,485 | sce | Ex1_2.sce | //Ex1_2
clc
d=0.5*10^(-2)
disp("d = "+string(d)+"metre") //initializing value of distance b/w plates
l=2*10^(-2)
disp("l = "+string(l)+"metre") //initializing value of length of plates
L=20*10^(-2)
disp("L = "+string(L)+"metre") //initializing value of distance b/w centre of plates and screen
Va=2000
disp("Va ... |
5dcd9aeb0d16dc1c6800bc73597e09ea551d71d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH3/EX3.3/Example_3_3.sce | 39b2fd9a69d0286a05d560d988038a4f3283a1cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sce | Example_3_3.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.3
clear;
clc;
//Given
P = 1;//constant pressure throughout the process in atm
T1 = 273;//Initial temperature in K
T2 = 373;//Final temperature in K
V1 = 0;//Volume of liquid water or initial volume
V0 = 22.4;//vol... |
6e895b84910906f763df92902a90e18575eb4cb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH3/EX3.16/Ex3_16.sce | a1ce9199a450d221f9924e9c3daef7104fb02c94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex3_16.sce | //Example 3.16
clear;
clc;
no = 2; //Assume the amount of time shift =2
L = 10; //Length of given signal
for n = 1:L
x(n)=sin(n);
end
n=2;
for i=1:L
y(i)=x(n-1);
n=n+1;
end
//First shift the input signal only
Input_shift = x(L-no);
Output_shift = y(L-no);
if(Input_shift == Outp... |
233e0b3bdcb0575a76b457b35ca8b4102d2335bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH1/EX1.7/Ex1_7.sce | d4e6c370fbaf009a8cb3a30f5bd5b2cd302b64e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Ex1_7.sce | //variable declaration
d=2.351 //bond lenght
N=6.02*10**26 //Avagadro number
n=8 //number of atoms in unit cell
A=28.09 //Atomin mass of silicon
m=6.02*10**26 //1mole
//Calculations
a=(4*d)/sqrt(3)
p=(n*A)/((a*10**-10)*m) //density
... |
7b7eafdbe1a2483e647cc21171508cd1cd393c47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH10/EX10.6/Ex10_6.sce | 24a2b42d6569b3c2ab4822c4cc4acf5e79832ac7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,111 | sce | Ex10_6.sce | clc
P1 = 700 // Initial pressure of gas in kPa
T1 = 260 // Initial temperature of gas in degree Celcius
T3 = T1 // Temperature at state 3
V1 = 0.028 // Initial volume of gas in m^3
V2 = 0.084 // Final volume of gas in m^3
R = 0.287 // Gas constant
m = (P1*V1)/(R*(T1+273)) // mass of gas
P2 = P1 // Pressure a... |
5a11576ad0f961ac449ac5e781c7f370b02d020d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.38/Example8_38.sce | f6b8bcb77c46efc0c1c70983d294e3612f40c386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,427 | sce | Example8_38.sce | //Example 8.38
clc
disp("Excitation table")
disp(" Input Present State Next State Flip-flop Inputs")
disp("UP/DOWN'' QC QB QA Q_C+1 Q_B+1 Q_A+1 JK_C JK_B JK_A")
disp(" UD")
disp(" 0 0 0 0 1 1 1 1 1 1")
disp(" 0 ... |
6e6dba381b689870c601f9c0eb747c49ee6fa583 | 940067908a620ecf3af07168e750cd30769047e4 | /SensitivityAnnalysisLHCPRCC.sce | f22c4f8fddd3c5bd55afffff97d0ee5f9ff5e398 | [
"MIT"
] | permissive | davidfotsa/Numerical_Methods_With_Scilab | 9bada60e6feba012fa7a52ce0e0ea85a40afd0d4 | a3c731888b8a7a77f0d851210bc62e00e348ace9 | refs/heads/main | 2023-08-01T13:11:14.528993 | 2021-09-28T04:19:38 | 2021-09-28T04:19:38 | 407,939,339 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,533 | sce | SensitivityAnnalysisLHCPRCC.sce | funcprot(0);
clc();
clear();
Parameter=["$\Pi$","$v$","$w$","$p$","$q$","$\alpha_{1}$","$\alpha_{2}$","$\beta_{I}$","$\beta_{P}$","$\sigma$","$\mu$","$\mu_{P}$","$\delta$","$\phi$","$\tau$","$\eta$"];
//disp(Parameter)
n=size(Parameter)(2)
Range=ones(n,2);
Range(:,1)=ones(n,1)*10^(-2);
Range(:,2)=ones(n,1);
Range(2,:... |
2a2c30230d51efa27d6f667346e4d235b336cc31 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MX44.prev.tst | ddd6c402a8a6a196e2549c262247c67b907c4cbc | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,166 | tst | MX44.prev.tst | chain 2, fact 27 [[-5,3,-6,-6],[-4,-2,6,0],[0,2,0,3],[6,0,3,6]] [3,4,5,-6] => [3,10,-10,-3] => [93,-92,11,-30] ?? [-627,-122,-274,411]
chain 2, fact 27 [[-5,3,0,-1],[-4,5,-3,0],[0,0,3,3],[6,-5,3,1]] [3,4,5,-6] => [3,-7,-3,7] => [-43,-38,12,51] ?? [50,-54,189,19]
chain 2, fact 27 [[-5,0,0,-2],[0,1,2,3],[-4,3,3,2],[6,-... |
31d5c71a873d29db52883a7a3a40749a3eba7ec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH24/EX24.7/24_7.sce | 2a4fde7293e9cfcf15eafcda3b2eadb6f063a3b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 24_7.sce | //ques-24.7
//Calculating concentration of an ethereal solution
clc
//1st case
C1=0.07/10;//concentration of water (in g/mL)
C2=0.013/10;//concentration of ether (in g/mL)
K=C1/C2;//partition coefficient
//2nd case
C1=0.024/10;//concentration of water (in g/mL)
C2=C1/K;
printf("The concentration of the ethere... |
e87164e4ed0b2703d961fdcd5cd44b40a137a196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.2/Example_a_4_2.sce | 350658f5b6a51605d63473bc75a2cb1ee787a445 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Example_a_4_2.sce | //Example_a_4_2 page no:176
clc;
Ip=10;//peak value of current form the current equation(in milliAmpere)
Irms=Ip/sqrt(2);
Ipp=2*Ip;
Iav=Ip*0.637;
disp(Ip,"the peak value of current is (in mA)");
disp(Irms,"the rms value of current is (in mA)");
disp(Ipp,"the peak to peak value of current is (in mA)");
disp(Iav... |
bf5d1de2523084f6e8146eb37d64b90f26bc4439 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.43/2_43.sce | 81d2d48556d25144979770aa9496dbad5662896d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | 2_43.sce |
clear;
clc;
//Example 2.43
//Given
rho=8600 //[kg/cubic m]
Cp=0.42 //kJ/(kg.K)
Cp=Cp*1000 //J/(kg.K)
dia=0.71 //[mm]
dia=dia/1000 //[dia in m]
R=dia/2 //radius [m]
h=600 //convective coeff W/(sq m.K)
//Let length =L=1
L=1 //[m]
A=2*%pi*R*L;
V=%pi*(R^2)*L;
tao=(rho*Cp*V)/(h*A);
printf("T... |
c5dfbac2e1761550450d73077d9fc107d1132870 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/feval.man.tst | c66386a4c0bd9b83dfe64cfda7faafde69c6c12f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | tst | feval.man.tst | clear;lines(0);
deff('[z]=f(x,y)','z=x^2+y^2');
feval(1:10,1:5,f)
deff('[z]=f(x,y)','z=x+%i*y');
feval(1:10,1:5,f)
feval(1:10,1:5,'parab') //See ffeval.f file
feval(1:10,'parab')
// For dynamic link (see example ftest in ffeval.f)
// you can use the link command (the parameters depend on the machine):
// unix('make f... |
f247414473c33d3d9d55a9d2535a23849b7abca0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH9/EX9.6/EX9_6.sce | d54896a8a91b372902bfed8f72f872d43f9a2825 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | EX9_6.sce | //Example9.6 // to determine the center frequency of VCO lock and capture range of PLL
clc;
clear;
close;
R = 15 ; // K ohm
C = 0.12 ; // uF
Vcc = 12 ;
// the center frequency of VCO fo
fo = (1.2/4*R*C);
disp('The center frequency of VCO is is = '+string(fo)+ ' Hz ');
fo = 4 ; // KHz
// the lock range o... |
d075d4e68ead0f5895128c366fb57ebde8b4be47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.27/Ex25_27.sce | 4f7a559bb017ab70b30cf86070e6df039b88e756 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Ex25_27.sce | clear
//Given
mp=10.016125
mn=4.003874
mp1=13.007490
mn1=1.008146
a=931.5
//Calculation
Mr=mp+mn
Mp=mp1+mn1
Md=Mr-Mp
A=a*Md
//Result
printf("\n Energy released in the reaction is %0.3f Mev",A)
|
6b434365d61b2871dc6cec778988a6b94558d4e9 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Cancoordpara.sci | 1574d812ccc41b3887e3b6db626ba866956ffac4 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sci | Cancoordpara.sci | // 13.08.13
function Out=Cancoordpara(P)
global PHI THETA;
Xz=P(1); Yz=P(2); Zz=P(3);
X=-Xz*sin(PHI)-Yz*cos(PHI)*cos(THETA)+Zz*cos(PHI)*sin(THETA);
Y=Xz*cos(PHI)-Yz*sin(PHI)*cos(THETA)+Zz*sin(PHI)*sin(THETA);
Z=Yz*sin(THETA)+Zz*cos(THETA);
Out=[X,Y,Z];
endfunction
|
23a333f7d8023ba5781373ee89c09abf99c20935 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.5/Ex_7_5.sce | 1f0669f00ebf8140405c9fea0fbf43d8c37c1423 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Ex_7_5.sce | // Example 7.5;//optical power emitted
clc;
clear;
close;
F=0.68;//transmission factore
nx=3.6;//refractive index
n=1;//refractive index of air
Px=((F*n^2)/(4*nx^2))*100;//optical power emitter
disp(Px,"percentage of emiiter power in terms of power generated internally")
|
f049d6ad6ee9f84449ab7a1aff25e4c2fe71f94e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH6/EX6.9/6_9.sce | e231e7bed30d0e6c2eed50b856bdee2907d71886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | 6_9.sce | //machine efficiency and effort lost in friction
//For third order system of pulleys
W=1000
VR=(2^3)-1
eta=(1000*100)/(180*7) //percent
//ideal effort
Pi=(W)/(VR) //N
P=180 //N
//effort lost in friction
Pl=P-Pi //N
printf("Efficiency=%.2f percent\nEffort lost in friction=%.2f N",eta,Pl)
|
e55458e0e071cfeb5ab365abecc8b3a8dcbe04fc | 881e0bcc7118244a24f736786ac36140acfb885e | /pima/results/GAssist-ADI-C.pima-1/result10s0.tst | 74d48b92c615dd027c4f2d3bae6839c8f1cd3265 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,819 | tst | result10s0.tst | @relation pima
@attribute Preg real[0.0,17.0]
@attribute Plas real[0.0,199.0]
@attribute Pres real[0.0,122.0]
@attribute Skin real[0.0,99.0]
@attribute Insu real[0.0,846.0]
@attribute Mass real[0.0,67.1]
@attribute Pedi real[0.078,2.42]
@attribute Age real[21.0,81.0]
@attribute Class{tested_negative,tested_positive}
@i... |
fe35e9547f67f31699498df4b41c1e8b52c50ff7 | f5bb8d58446077a551e4d9a6461a55255db523fe | /zero_de_funcoes/atividade/questao2.sce | 88ee2adf1b1cb9c0cb7fac209b61f10d024bd0e3 | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | questao2.sce | function y=f2(d)
y = 55.*(d.^2) + log(d) - 20 - 0.0095
endfunction
axes = get("default_axes");
axes.x_location = "origin";
axes.y_location = "origin";
t = 0.4:0.05:1
plot(t, f2(t))
a = 0.5
b = 0.7
secante(f2, a, b, 0.00001)
// k= 1 x(1)= 0.5000000 |f(x(1))|= 6.9526472
// k= 2 x(2)= ... |
8d1b06b8625ee108acf70d0a2b05773310d856cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.24/ex8_24.sce | a69c1723609f7a31b79bc63ac5de5d9808178ef2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | ex8_24.sce | //Page Number: 8.25
//Example 8.24
clc;
//Given, band limited gaussian noise with psd,
S=9.6D-5; //W/Hz for |f|<8kHz
L=100D-3; //H
R=100; //Ohms
//(a) Noise power at input of filter
x0=-8000;
x1=8000;
Pni=S*(integrate('1','f',x0,x1));
disp('W',Pni,'Noise power at input of filter:');
//Plot
x=linspace(-8,8,3);
y=l... |
6ea077a5e5af8588584a343a6b3de20ed7c8db3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH10/EX10.9/Ex10_9.sce | 709028d7e050d2163d77fdd26b1a795b1499bf54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex10_9.sce | clc;
clear;
Eg=1.43 //Energy band gap in eV
h=4.14*10^-15 //planck's constant in eV/s
c=3*10^8 //in m/s
//Calculation
lamda=(h*c)/Eg
format("v",8)
disp(lamda,"Wavelength (m)= ") //The answers vary due to round off error
|
502ff922065f0b9bb4c3fdde22201651e7efdc24 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Mercedes-Benz/MBN LV 124 2013/E-13 Pin interruption 1.tst | 27c4c8d49a000910bbfa1bf383e1206810cedca2 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,075 | tst | E-13 Pin interruption 1.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTest version="2.0.0" wavetype="15">
<Title>Test Case 1-Power Lines</Title>
<Organization>Mercedes-Benz</Organization>
<Standard>MBN LV 124 2013</Standard>
<Item>E-13 Pin interruption</Item>
<system>
<PowerSystem>3</PowerSystem>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.