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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c4cd40f6b8ff8897954e6ffc02bdf13fb8bdad52 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/IKine3.sci | f0dfd50a66e251bf1bb3a41bcb25e2d86b00d7f8 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 4,657 | sci | IKine3.sci | // ikine3.sci Inverse kinematics for 3-axis robot with no wrist
// www.controlsystemslab.com August 2012
// This function is adapted from the Robotic Toolbox for MATLAB, Copyright (C)
// 1993-2011, by Peter I. Corke
// q = IKine3(robot, T) is the joint coordinates corresponding to the robot
// end-effecto... |
c16136e0a817ee1c8f52c3f2e27178bbdb6732bd | 5b14d330ace788383138f839d8d4a7ab563dc101 | /scilab/zad_01_intro/title.sce | b792deeca6ad158cc948aa3c1f12639022efe811 | [] | no_license | cereberus/chartula | 3b8c4aebf761186e01ec751b29abf99ade685243 | 3f261e37f98ffa435e55fa68295e4a233f83aff2 | refs/heads/master | 2020-05-29T22:54:24.022137 | 2017-06-20T14:23:14 | 2017-06-20T14:23:14 | 28,778,262 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | title.sce | t=cell2mat(tytuly);
proporcja=dane(:,4)./dane(:,3);
bar(proporcja);
a=gca();
a.rotation_angles=[0,180]
a.x_ticks=tlist(["ticks","locations","labels"],(1:36)',t);
|
0b7d12459f3f30128db0e8f8ee233895b5f4366f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH3/EX3.3/Ex3_3.sce | 9ddf469afe9b5a77bb7f950f88c3a64fb32d54a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex3_3.sce | clc
T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
a=10^20// cm^-4
W=0.809*10^-4
epsilonx=8.85*10^-14
epsilonm=((q*a*W^2)/(8*epsilonx*11.9))
disp(epsilonm,"epsilonm in V/cm =")
|
8acba331be83b5def325513e3971cc3fee3edfef | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH3/EX3.1/example1.sce | 883373f4f248381013147453e5fbf62eae1a756b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,234 | sce | example1.sce | //Chapter_3 Generalized Performance Characteristics Of Instruments
//Caption:Gaussian Distribution
// Example 1
clc;
close;
disp("me=7")
disp("stddev=0.5")
disp("x = 6 ")
disp("y= 7.5")
me=7 ;
stddev=0.5;
x = 6 //('enter the lower limit of the range=:')
y= 7.5 //('enter the upper limit of the range=:')
... |
5a1b8bbd42ff3d7dd26385c8d364261e05906b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH9/EX9.8a/Exa_9_8a.sce | b6864a0c4157aec95b18df7818fd5cb190a14a28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Exa_9_8a.sce | //Bilinear transformation
//To convert bessel analog filter to digital filter
s=%s;
z=%z;
HS=3/(s^2+3*s+3);
Wa=4;//analog omega
Wd=%pi/2;//digital omega
T=(2/Wa)*(tan(Wd/2));
HZ=horner(HS,(2/T)*(z-1)/(z+1))
f=0:0.1:6;
HS1=horner(HS,(%i*4*f'/3));
HS1=abs(HS1);
HZ1=horner(HZ,exp(-%i*%pi*f'/6));
HZ1=abs(HZ1);... |
a217f84ce7cef1bd6532ca926cd7d589fe4923e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH3/EX3.15/Example3_15.sce | 08afb469fc65924da2b9dc1d9616ab8a483f1651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example3_15.sce | //Caption: Circular correlation between two signals
//Example3.15
//page 131
clc;
x = [1,5;2,4];
h = [3,2;4,1];
h = h(:,$:-1:1);
h = h($:-1:1,:);
X = fft2d(x);
H = fft2d(h);
Y = X.*H;
y = ifft2d(Y);
disp(y,'Circular Correlation result y=')
//Result
//Circular Correlation result y=
//
// 37. 23... |
e35a67e1d8dd099bfcc038f99494c4d1b9de1ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.43/Ex5_43.sce | c568ee6b9371ed3e863eca522587b57b1f0ac9c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Ex5_43.sce | clc
c = 50000 // components
R=500 // cost of ordering in Rs per order
A=12000 //annual consumption units
C=3.00 // unit cost of item
K=1.50 // unit storage cost
I=0.2 // interest rate
function y=f(N)
function G=f2(N)
G=0.02*N+1500000/N
endfunction
y=derivative(f2,N)
endfunction
funcprot(0... |
1baad3ad22e4f15aa6db2a82ba16e47753218c5c | 4b9c097ca22b5c8ccd28a75ce626422c90535bc7 | /test_vcast/example/environment/ADDITION/ADDITION.tst | 7cb11e1f6958b3323e2c81029017c137bf6eb9a3 | [] | no_license | narethim/cpp_examples | f227ba6f12da756159eed31ef9c81236890a4be1 | 7f2fa3ed6ddba646420175a8c7802ed6376d362c | refs/heads/master | 2022-12-29T01:12:28.535346 | 2020-10-17T22:05:03 | 2020-10-17T22:05:03 | 292,093,588 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,156 | tst | ADDITION.tst | -- VectorCAST 20.sp1 (05/27/20)
-- Test Case Script
--
-- Environment : ADDITION
-- Unit(s) Under Test: Addition
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT... |
b675392821385e477dae41c36808410e88604d74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH12/EX12.9/CH12Exa9.sce | 4d74db4e88930e4c8ced5a1ab6c7d61b85346c23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,200 | sce | CH12Exa9.sce | // Scilab code Exa12.9 : : Page-575 (2011)
clc; clear;
E_0 = 2e+06; // Average energy of the neutron, electron volts
E = 0.025; // Thermal energy of the neutron, electron volts
// For graphite
A = 12 // Mass number
sigma_g = 33.5; // The value of sigma for graphite
tau_0 = 1/(6*sigma_g^2... |
1f05f1639d8d85861c8183dc2d2491560144e81c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH9/EX9.7/S_9_7.sce | f545d1c3795502212102a97888b2806d68dfd6de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,098 | sce | S_9_7.sce | clc;
Ix=4.31*10^6;//mm^4,Moment of inertia about x axis
Iy=2.90*10^6;//mm^4,Moment of inertia about y axis
n=3; // no of rectangle
b=12.7;//mm, Width of all rectangles
L=[76,102-2*b,76];//mm, Lengths of rectangle I, II and III respectively
x=[-L(1)/2+b/2,0,L(3)/2-b/2];//mm, x components of centroids of segment ... |
7f8aa178911cc6b7bf4aab08008ae3dfcb2a2c55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.13/Ex10_13.sce | 36b8409925c265788af0184a45273abd95d05c17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Ex10_13.sce | clear
//
//
//
//Variable declaration
epsilonr=1.0000684; //dielectric constant
N=2.7*10^25; //number of atoms
X=1/(9*10^9);
E=10^6; //electric field(V/m)
Z=2; //atomic number
e=1.6*10^-19; //electron charge(coulomb)
//Calculations
R=((epsilonr-1)/(4*%pi*N))^(1/3); /... |
6a466dc57c423b81211d2cf1d4ed530f1b4c3fc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.26/10_26.sce | a8603ff2f879444a6ac5349a836a2eafd83dbab3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 759 | sce | 10_26.sce | //Example 10.26
//Milne Simpson and Picard Method
//Page no. 341
clc;clear;close;
deff('y=f(x,y)','y=x-y^2')
y(1)=0;h=0.2;
for i=1:4
x(i)=(i-1)*h
y(i+1)=y(1)+integrate('f(x,y(i))','x',0,x(i))
printf('\n y%g = %.4g\n\n y`%g = %.4g\n\n',i-1,y(i+1),i-1,f(x(i),y(i+1)))
end
for i=5:6
x(i)=(i-1)*h... |
e28e3a0480b04dabf6e438f8da928acd75d233b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.5/4_5.sce | 04d10fb8fed58810a22001544c9245259eaf51e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 4_5.sce | clc
//initialisation of variables
T= 300 //K
T1= 400 //K
k= 6.0954
k1= 3.2533*10^-3
k2= -1.0171*10^-6
R= 1.98719 //cal/mol K
//CALCULATIONS
S= 2*(k*log(T1/T)+k1*(T1-T)+k2*(T1^2-T^2)/2)
S1= S-2*R*log(T1/T)
//RESULTS
printf (' Entropy= %.4f cal deg^-1',S)
printf (' \n Entropy = %.4f cal deg^-1',S1)
|
a010f400ce0609bd0aa406e663b9501e70124ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.32/Ex12_32.sce | 335f31f49af4e1a049db7b8bb88a28afecb2a7d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | Ex12_32.sce |
//Chapter 12
//page no 518
//given
clc;
clear all ;
l=1550; //wavelength in nm
fb=10; //system bit rate Gb/s
Df=17; //fiber dispersion in ps/nm-km
L=10^5/Df/fb^2; //fiber length in km
printf("\n Transmission length is %0.1f km",L);
fb2=2.5; //system bit rate Gb/s
disp("for f... |
f6522fd8687b9e26cdfc2ecb0d661b82b33e038a | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH3/EX3.5c/eg3_5c.sce | 522a9785569c6c6665c5da34b594fe0e5b38724a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | eg3_5c.sce | men = 6;
women = 4;
disp(factorial(men+women), "No of different rankings possible is")
women_top4 = factorial(women)*factorial(men);
prob = women_top4/factorial(men+women);
disp(prob, "Probability that women receive the top 4 scores is") |
06dc0adaa23bc395eab9ea9042d8d8582d48283b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1316/CH2/EX2.8/example2_8.sce | 38bc4c129e4a7db55e520d46500826b28090ade2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | example2_8.sce | //Chapter 2
//Example 2.8
//Page 66
clear;
clc;
R1 = 1000.00;
R2 = 1000.00;
R3 = 605.00;
R4 = 500.00;
V =10.00;
//Finding Unknown Potential
printf("Here simply we use the equation to solve for Vx \n")
//Calculation of Vx
x = -[(V*R3)/(R3+R1)]+[(V*R4)/(R4+R2)]
printf("Vx = %f V \n",x)
printf("... |
d74248aa03cdd97fe86121ec7d859915f9ac2dc7 | c3c2a2b04082bc735cff2cb13db4e82defd9163b | /Swisscom_Virtualization_Suite/Tests/TC1.tst | b3874b9c55fe5d42f4559fcd6729f159101893cd | [] | no_license | Sdeepak2017/Docs | 02d07603d50b3898756913e2eec3448f09aa8f45 | 016f34b47eeb79f7cc131167f12dda9f61a627d7 | refs/heads/master | 2020-03-19T11:36:17.521201 | 2018-09-12T10:02:42 | 2018-09-12T10:02:42 | 136,464,259 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,583 | tst | TC1.tst | <?xml version="1.0" ?>
<TestCase name="TC1" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="02/27/2017" host="STECON1" />
<lastEdited version="9.1.0" buildNumber="9.1.0.399" author="admin" date="02/28/2017" host="INBASDLP00207" />
</meta>
<id>41F80F73FCFD11E6... |
8db53f0915e3653423c4d6e707e59c3f7208cb86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH14/EX14.8/ex14_8.sce | 0c1244b33f94539d806678f9923c72fd87e30927 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sce | ex14_8.sce | clc;
warning("off");
printf("\n\n example14.8 - pg737");
// given
M=153.82; //[kg/mole] - molecular weight of ccl4
T1=349.90; //[K] - temperature1
T2=293.15; //[K] - temperature 2
cp1=0.9205; //[KJ/kg*K] - heat capacity at temperature T1
cp2=0.8368; //[KJ/kg*K] - heat capacity at temperature T2
p1=1480; ... |
18102b814ce050dd2c24c0d59cef6d6c0e4ef67f | 297b29fb450286d0f7fa619e58c9f4a86949544a | /MultiplexedInterleaver.sci | 624b0302c7f0c283345c6710dda04842c3a9aa26 | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,778 | sci | MultiplexedInterleaver.sci | function [y,state,index] = MultiplexedInterleaver(in,delay,inist,stindex)
y=[];
state=[];
index=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//MultiplexedInterleaver Permute symbols using a set of shift registers with specified delays.
... |
e312aeec70bf96c544519baa06bcaa2937b72a0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH4/EX4.8/Ex4_8.sce | 0d53855aab5e2620decab112d5fc934974ff61cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ex4_8.sce | // Initilization of variables
b1=20 //cm // width of top flange
t1=5 //cm // thickness of top flange
b2=5 //cm // width of web
t2=15 //cm // thickness or height of the web
b3=30 //cm // width of bottom flange
t3=5 //cm // thickness of bottom flange
// Calculations
A1=b1*t1 //cm^2 // area of bottom flange
A2=b2... |
95df0a504d6eae544dbf74aefb501d507b1ef418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH34/EX34.7/Ex34_7.sce | 2136ed5a8ca393fffa17e1ec04837af07d2f1709 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex34_7.sce | clc;
//e.g 34.7
Vz=5.1;
rz=10;
Izmin=1*10**-3;
Izmax=15*10**-3;
Rs=600;
Vomin=Vz+Izmin*rz;
disp('V',Vomin*1,"Vomin=");
Vsmin=Izmin*Rs+Vomin;
disp('V',Vsmin*1,"Vsmin=");
Vomax=Vz+Izmax*rz;
disp('V',Vomax*1,"Vomax=");
Vsmax=Izmax*Rs+Vomax;
disp('V',Vsmax*1,"Vsmax=");
|
ea782ae3f18c76cfecf27fafa46e77cc3d231933 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH12/EX12.4/Ex12_4.sce | 45955df8ec4f53070e67bfbc02bd95310991bf86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex12_4.sce | //example 12.4
clc; funcprot(0);
Nc=9;
Ap=%pi/4*1.5^2;
cu=105;
Qpnet=Ap*cu*Nc;
disp(Qpnet,"net ultimate bearing point capacity in kN");
//part2
alpha=0.4;
Ds=1.5;
p=%pi*Ds;
Qs=alpha*p*(50*8+105*3);
disp(Qs,"skin resistance in kN");
//part3
FS=3;
Qu=Qpnet/FS+Qs/FS;
disp(Qu,"working load in kN");
|
3d731c55326a3cadf805d3737a9fa45713539162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH17/EX17.14/17_14.sce | 9d69d4db2cc9d88906c892607d6608ecb772280c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,235 | sce | 17_14.sce | clear;
clc;
//Example - 17.14
//Page number - 614
printf("Example - 17.14 and Page number - 614\n\n");
// Given
T = 25 + 298.15;//[K] - Temperature
R = 8.314;//[J/mol-K]
delta_G_298 = -1000;//[J] - Gibbs free energy change at 298 K
// G_E/(R*T) = x_1*x_2
// We know that delta_G_rkn = - R*T*log(K), th... |
9ab0dc3c67a5e240571c886ef021c2f375e3eac1 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/mds.sci | a6278143e6128791f38eaa4d206877c1296ad40c | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,346 | sci | mds.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: Feb. 2010
// Description: multidimensional scaling (MDS)
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modifica... |
1f5cd55d921addf1acde8adbbaba4f39bce66a24 | d193c210f310f28e916580a6243505126d60f40e | /Simulation_encoleuse.sce | d8c39283893ea39e0a7c30dfde6941dec7ba62b1 | [] | no_license | RPapin/Projet-cobotique | 6f33aab36eae315ecb50aab0ea10cd73f59e6280 | 9e4f953074af2ee77f8257acb8282910534737a8 | refs/heads/main | 2023-04-24T00:41:03.144070 | 2021-05-18T13:57:34 | 2021-05-18T13:57:34 | 357,167,601 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,129 | sce | Simulation_encoleuse.sce | // Ruby la p'tit Geek 06/11/2019
// Variable avec uniquement des lettres majuscules : Vecteur
// Boite de dialogue
txt = ['Déplacement e en mm';'vitesse Vx en mm/mn'; 'hauteur h en mm';'diamètre aiguille 2r'];
param = x_mdialog('Entrer les paramètres d''encollage',txt,['0.4';'200';'0.2';'0.58']);
ee = evstr(param(1));... |
1855f5533e51bef95b2eac09f799933753e84a60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.10/Ex7_10.sce | e4accd1017706944ef04f589552156b251cf230e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex7_10.sce | //Example 7.10
//Transformation of Thermal System from Control to Modal Form
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space matrices of the given system
Ac=[-7 1; -12 0];
Bc=[1;2];
Cc=[1 0];
Dc=0;
//----------------... |
b308303828e67687780e79d47830f2afad257395 | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/cs142_testcases_project3/Public/tests/test2.tst | 48981d2217e30e9939dfe5f757cd5d03c3388934 | [] | no_license | abrageddon/DLXCompiler | e153430de4412fe48a34955851352d0fd73ab2d8 | 2d1abd102f723c2e1f0ed5893e86c7d0ceb42914 | refs/heads/master | 2020-12-30T10:50:20.955331 | 2011-12-02T03:34:59 | 2011-12-02T03:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | tst | test2.tst | main
var x, y;
{
x <- call inputnum();
y <- call inputnum();
while x < y do
call outputnum(x);
call outputnewline();
x <- x + 1
od
}.
|
2f46330a3c0400fa33c78717cc22659ce2f44a68 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Elevatiles Manwing.sce | 383da7a742830982b77edc795e13cab57ae3f6d6 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40,852 | sce | Elevatiles Manwing.sce | Name=Elevatiles Manwing
PlayerCharacters=Shooter
BotCharacters=Elevatiles Rotation.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Shooter
AddedBots=Elevatiles Rotation.rot;Elevatiles Rotation.rot;Elevatiles Rotation.rot;Elevatiles Rotation.rot;Elevatiles Rotation.rot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0
P... |
b428510e0ccbf3f8ca0cb6407db4778562e5fd58 | c03689c3547a8d6a40f80aaf7e53c4edf766eaab | /get_odd_component.sce | ad2c6f2b273498c7fb90e0cd976e6c0d0f99cd35 | [] | no_license | DoanTanLoc-2203/Digital-Signal-Processing-Scilab | 2951686f7a8f015ff966f21c8324508a84cb2fba | eccea257fd10c8bdafba4d7af1ddf8cde9d4dc5c | refs/heads/main | 2023-01-07T15:26:51.606190 | 2020-11-13T15:48:16 | 2020-11-13T15:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,098 | sce | get_odd_component.sce | function myevent=get_odd_component(xn,n0)//Hàm lấy tín hiệu chẵn y(n)=xo(n)
//Tiền xử lí
if n0==(length(xn)/2)+0.5 then
a=length(xn);// a là độ rộng của tín hiệu y(n)=xo(n)
b=0;//b=0 thì n0 nằm giữa tín hiệu đầu vào
elseif n0<=length(xn)/2 then
a=1+(length(xn)-n0)*2;
b... |
9b1eb7b6a689efb610821b8adb07e26412c68914 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/erfc.man.tst | b4007c901d925c248d6ceaccd9eb9ec5faaedce9 | [
"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 | 47 | tst | erfc.man.tst | clear;lines(0);
erf([0.5,0.2])+erfc([0.5,0.2])
|
cfa016c0e0c5c0d85e14a30a8bbbabea54016f2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH8/EX8.5.1/8_5_1.sce | d85fb653cf144b7fddbc47b77c5fb4697b2beac6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | 8_5_1.sce | clc
pathname=get_absolute_file_path('8_5_1.sce')
filename=pathname+filesep()+'851.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
nHCl=mdot*x*10^3 /M1
nH2O=mdot*(1-x)*10^3 /M2
function[Cp1]=fun(T)
Cp1=29.13*10^(-3) - ... |
4781f7fb23d0d32054f1693dddf4cf61d2319c26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.4/4.sci | 5125628dec3bea4a6299def3c28547ebf6a753a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sci | 4.sci | clc;
clear all;
disp("Thickness of brick")
t1=1325;// degree C
t2=1200;// degree C
t3=25 ;// degree C
L=0.32;// m
kA=0.84 ;// W/(m*C)
kB=0.16 ;// W/(m*C)
// q = (t1-t3)/(La/kA +Lb/kB) = (t1-t2)/(La/kA)=(t2-t3)/(Lb/kB)
//(1325-25)/(La/0.84+Lb/0.16)=(1325-1200)/(La/0.84)
//(1325-25)/(La/0.84+(L-La)/0.16)=(1325... |
e230daa6596210d139b28d6547597625a77fac04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH6/EX6.11/Ex6_11.sce | 1f01e4e5e874221ff2867896a0c210cb642eb2a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex6_11.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 6 Example 11")
p2=200;//feed water pump pressure in Kpa
disp("from 1st and 2nd law;")
disp("T*ds=dh-v*dp")
disp("for isentropic process,ds=0")
disp("hence dh=v... |
e59c564cde49d1d70a99fc18498fbb3196b7a247 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/calpol/factors.sci | 5ff724e487372617640303e76bd4e82ad3e18ac2 | [
"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 | 554 | sci | factors.sci | function [lnum,lden,g]=factors(rat,flag)
//Given a polynomial or rational rat, returns in list lnum polynomials of
//degree 1 or two which are the factors of numerators of rat.
// and in lden the factors of denominator of rat. g is the gain.
// if flag='c' unstable roots are reflected vs the imaginary axis
// if flag... |
07897faf7a125891d98cb9f880e317c10feaee4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH1/EX1.11/Ex1_11.sce | a5e2eaadf654139a507d0ee595dd779f34d97e14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex1_11.sce | //Example 1.11
clc();
clear;
//To calculate refractive Index of liquid
d10=1.40
d_10=1.27
u=(d10/d_10)^2
printf("The refractive index of liquid is %.3f",u)
|
aa3d6d371626b3532c4719cada4f6e157f9c21c8 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.5_14.tst | 6c7f9c168de6a51d379e1f833188d921647de9cc | [] | 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 | 585,557 | tst | 5.5_14.tst | 5 10:1 34:1 527:1 550:1 750:1 767:1 773:1 825:2 828:1 874:1 1000:1 1315:1 1386:1 1555:2 1751:1 1875:1 1957:1 1978:1 2098:1 2120:1 2311:1 2413:1 2467:2 2522:1 2801:1 3067:1 3068:1 3199:1 3236:1 3344:1 3448:1 3577:1 3582:1 3592:1 3749:1 3969:1 3975:1 4006:1 4084:1 4225:1 4234:1 4282:1 4345:1 4527:1 4685:1 4794:1 4893:1 5... |
ce3ea3fa796ed29f96bc674c36e5cc5f0e3b114f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.15.b/2_15_soln.sce | 0e5d8597603f94675a905e4b1b1f21de2a0d7091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | 2_15_soln.sce | clc;
pathname=get_absolute_file_path('2_15_soln.sce')
filename=pathname+filesep()+'2_15_data.sci'
exec(filename)
// Solution:
// specific Weight of water,
gamma1=9800; //N/m^3
// we know pressure,
// p=(specific weight of liquid * liquid column height)
p=(gamma1*H); //Pa
pK=p/1000; //kPa
// Results:
printf("\... |
7ddb619e51da327d72dde0f72c8255050e132368 | 711e63cb432d74ecfbd8cd696b13e810a1342782 | /02/Add32.tst | a02117a87539db3e92631eb1880da88e283cb0f8 | [] | no_license | Sparkzz-33/csd_lab | 65e1f097e57e61cd6f09788c27bb190976f3ff2c | fce4c53278b483101b218cc8e54b55e6b91d6863 | refs/heads/master | 2023-01-10T15:32:26.111764 | 2020-11-04T16:41:46 | 2020-11-04T16:41:46 | 296,067,026 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 705 | 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 a%B1.32.1 b%B1.32.1 out%B1.32.1;
set a %B0000000000000000000000000... |
dda1592807e65afcf56bdebafeb6431d488b509d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.18/Ex4_18.sce | a3b486385596d284003ec775f7337f48aaf24588 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Ex4_18.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
//parta
GMT=0;//GMT in hr
ET=10.0/60+1.8/3600;//ET in hrs
//calculaion
GAT=GMT+ET;
GAT=degtodms... |
dd19e1da4d1e4ed07ffd30c3ea3eaad586ba1084 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH18/EX18.1/Ex18_1.sce | 7e576677000e9d290d9b805e0d945248b7d3f914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex18_1.sce | clc
ho = 12 // Outside convective heat transfer coefficient in W/m^2K
x1 = 0.23// Thickness of brick in m
k1 = 0.98 // Thermal conductivity of brick in W/mK
x2 = 0.08 // Thickness of foam in m
k2 = 0.02// Thermal conductivity of foam in W/mK
x3 = 1.5// Thickness of wood in cm
k3 = 0.17// Thermal conductivity of... |
cf2ad2e1659237b3957c5ad53fc6ce6ff7397b17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH13/EX13.1/Ch13Ex1.sci | 4a60c9c2340045a1f2c86391577f483db261f075 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch13Ex1.sci | // Scilab Code Ex13.1: Electronic Polarizability of atom : Page-287 (2010)
epsilon_0 = 8.854e-012; // Absolute electrical permittivity of free space, farad per metre
R = 0.52e-010; // Radius of hydrogen atom, angstrom
n = 9.7e+026; // Number density of hydrogen, per metre cube
alpha_e = 4*%pi*epsilon_0*R^3... |
bc16e8bb14d6e7be2c4c634f0f3c6d720621f34d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH8/EX8.1/Ex8_1.sce | 3c10905e332c018eb1e1baa4ce462008b49faef5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,046 | sce | Ex8_1.sce | //=====================================================================================================================================
// chapter 8 example 1
clc;
clear;
// Variable declaration
Ephoton = 1.5; // energy of photon in eV
Eg = 1.4; // energy gap in eV
m = 9.1*10^-31... |
4aff56ec0019e9bc4fa7d8bf78b9415313f27ded | b667735486117d0c7bb30d616ee6ed37032e947d | /online/labca3_7/documentation/xmlhelp/en_US/lcaGetUnits.sci | 063e542ceae7aa79ef75ecb87597a9cf86920e3d | [
"EPICS",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KIT-IBPT/MML | 6b8093aec421162c56ada56daa2d43a1b6977e62 | 4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26 | refs/heads/master | 2021-08-28T07:39:45.693497 | 2021-08-04T13:14:01 | 2021-08-04T13:14:01 | 226,303,582 | 0 | 0 | null | 2019-12-06T10:28:11 | 2019-12-06T10:28:11 | null | UTF-8 | Scilab | false | false | 539 | sci | lcaGetUnits.sci | function lcaGetUnits
// Retrieve the engineering units of a number of PVs.
//
// Calling Sequence
//
//units = lcaGetUnits(pvs)
//
// Description
//
// Retrieve the engineering units of a number of PVs.
//
// Parameters
//
// pvs
// Column vector (in matlab: m x 1 cell- matrix) of m strings.
//
// uni... |
306209e36323200134fc9ce1665f960b0f57a732 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH8/EX8.1/ex8_1.sce | de64ef07324fe76b74af125c70d81886bcbeb30b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | ex8_1.sce | // Exa 8.1
clc;
clear;
close;
format('v',6)
// Given data
I_DSS= 10;// in mA
V_P= -4;// in V
V_GS= 0:-0.1:V_P;// in V
// The value of I_D,
I_D= I_DSS*(1-V_GS/V_P)^2;// in mA
plot(V_GS,I_D)
xlabel("V_GS in volts");
ylabel("I_D in mA");
title("Transfer characteristics for an n-channel depletion-type MOSFET"... |
6214042a213123d8e96ea10d7d1dfc7fdd15c1e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH3/EX3.7/Example3_7.sci | 851fd95656316a5ae00d9d89fe4100b87446bcec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sci | Example3_7.sci | clear;
clc();
// To compute shape factor for the special section in figure
// Ratio of diameter of circle to the side of square is 0.5. Hence required lines have been estabilished by trial and error method.
M=8*9; // number of flow channels for the entire section
N=8.37; // ... |
1746eef71a2507a8563e5ff95ba3a1a847b21522 | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/oscFM.sci | 735974fa6c0e5501b2f094909d6ae3438e6596b2 | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sci | oscFM.sci | function [s]= oscFM(f,m,Fe,d) //f-> fréquence(t) , d-> durée ,m amplitude(t), Fe -> frequence echantillonage, d-> durée son
// on veut retourner s(t)=m(t)cos(phi(t)) avec phi(t)=2*pi*(intégrale entre 0 et t de f(t) + f(0)) cf poly. synthèse FM
pi=3.14159;
Te= 1/Fe; //temps échantillonage
... |
acb1a56737c6a90c0732fc57c22e7be4e95a9628 | 903f095ccddc6ac2990aff02be300cd6229a2a99 | /practical-classes/rotate-lena.sce | bb84860ae203fe8f1fcbecfc423985c9867706bd | [] | no_license | pdelfino/linear-algebra-numerical-methods | dfb39b8500eba28cc884ecb31a948f51517f1503 | 065353c0be82db134506a7b4922e08cfe77d918c | refs/heads/master | 2021-06-10T20:45:46.654441 | 2020-06-15T11:48:01 | 2020-06-15T11:48:01 | 98,227,297 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 897 | sce | rotate-lena.sce | function lenna_up = rotate(A)
close
clear
clc
m=512;
n=512;
A_t=A';
x=[1:m];
y=[1:n];
xy = [x;y];
//esse comando faz a imagem rotacionar 90°, o descobri pesquisando a documentação
//fiz algo semelhante ao ex da documentação
xy_rot = rotate(xy,%pi);
... |
f9175dcfd08d1fb684f36c8e1cf032ba4eb07d2c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/auto/dscr.sci | 2dcd496fe536c0b33296cb8a40454ba0cd599173 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sci | dscr.sci | function [f,r]=dscr(a,dt,m)
[lhs,rhs]=argn(0);lst=0
flag=a(1);
select flag(1)
case 'r' then
error('dscr: state-space only, use tf2ss');
case 'lss' then
[a,b,c,d,x0,dom]=a(2:7)
if dom<>'c' then
warning('dscr: time domain assumed to be continuous'),end
else error(97,1),
end;
[n1,m1]=size... |
d0f835b8377ceb850760bd1e279ab88eab761b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH11/EX11.3/Example_11_3.sce | ed48d98b0c53ba1497fddb9d1da8e5a6329896a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | Example_11_3.sce | //Exaple 11.3
clear;
clc;
printf("\tExample 11.3\n");
k1_B=6.90565;
k2_B=1211.033;
k3_B=220.79;
k1_T=6.95334;
k2_T=1343.943;
k3_T=219.377;
t=338-273; //in Degree celsius
P=101.3; //in kN/m^2
xB=0.5;
xT=0.5;
function[p0]=antoine(k1,k2,k3,T)
p0=10^(k1-(k2/(T+k3)));
funcprot(0)
endf... |
37f2c11051a00ba747a1edb4fd87f351dbb89231 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH12/EX12.26/12_26.sce | 7290747e69396a61ab06381ef2d294578f8a70af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_26.sce | clear;
clc;
V=100;R1=50;R2=60;R3=40;R4=60;R5=40;
Rac=1/((1/(R2+R3))+(1/(R4+R5)));
Rt=Rac+R1;
I=V/Rt;
V1=I*R1;
Vac=V-V1;
Vab=R2*Vac/(R2+R3);
Vad=R5*Vac/(R4+R5);
Vbd=Vab-Vad;
Voc=Vbd;
R1y=R5*R1/(R1+R4+R5);
R2y=R1*R4/(R1+R4+R5);
R3y=R4*R5/(R1+R4+R5);
Rbd=R3y+(1/((1/(R1y+R2))+(1/(R2y+R3))));
printf("The equ... |
95d0b735fdc68b1fca519192f3fed704b928c955 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/%s2sci.sci | bc7b70b1fd06ebe1391007cf024467df99e0d47e | [
"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 | 593 | sci | %s2sci.sci | function [stk,txt,top]=%s2sci()
// genere le code relatif a la soustraction et au changement de signe
//!
// Copyright INRIA
txt=[]
s2=stk(top)
if s2(2)=='2'|s2(2)=='3' then s2(1)='('+s2(1)+')',end
if op(3)=='2' then
s1=stk(top-1)
if s1(2)=='3' then s1(1)='('+s1(1)+')',end
if s1(3)=='1'&s1(4)=='1' then
st... |
e5b812d683c7ae957043fc7d4f8ac706202f41ea | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_27/results/27/g20-4/result3s0.tst | d89529991ffc2e87cf44e1961b35405ef6537a60 | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,750 | tst | result3s0.tst | @relation unknow
@attribute mcg real[0.11,1.0]
@attribute gvh real[0.13,1.0]
@attribute alm real[0.21,1.0]
@attribute mit real[0.0,1.0]
@attribute erl real[0.5,1.0]
@attribute pox real[0.0,0.83]
@attribute vac real[0.0,0.73]
@attribute nuc real[0.0,1.0]
@attribute class{MIT,NUC,CYT,ME1,ME2,ME3,EXC,VAC,POX,ERL}
@inputs... |
49501d65e3b932c9476c74f0b3dfc96214a3ddd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.5/ex3_5.sce | a4c6d55f7ae12e068b6ac56237237f0ff7b46379 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | ex3_5.sce | clc
l=50 //Assigning values to parameters
w=800
c=50
xl=w*l
xc=1/(w*c)
z1=0+%i*40
z2=50
z3=0-%i*25
zph=z1+z2*z3/(z2+z3)
[r,t]=polar(zph)
vl=550
vph=vl
iph=vph/zph
il=sqrt(3)*iph
p=sqrt(3)*vl*il*cos(t)
pf=cos(t)
q=sqrt(3)*vl*il*sin(t)
s=sqrt(3)*vl*il
disp("Amperes",polar(iph),"The p... |
41ae4e955f1ad49140193e556919b2c2c7dc89d0 | 463377b6374a24bbe111707a34e24949f3bd2543 | /predict.sci | fcd4b23252d74f6ac58741922c1cf37ed8580f73 | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,989 | sci | predict.sci | //[y,x0] = predict(data,idpoly,k)
//References
//Digital Control(11.1.2) by Kanna M.Moudgalya
//System Identification Theory for User Second Edition (3.2) by Lennart Ljung
// Code Aurthor - Ashutosh Kumar Bhargava
function varargout = predict(varargin)
[lhs,rhs] = argn(0)
//---------------------------------------... |
41ca7b0e0ed372f11c2cba2b82b9f00c7b9b81ac | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/scicos/splitfilepath.sci | dddd80ef045e0c1730471b87566ea45a6df70ddd | [
"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 | 538 | sci | splitfilepath.sci | function [path,name,ext]=splitfilepath(fname)
// Copyright INRIA
l=length(fname)
//getting the extension part
n=l
while n>0
cn=part(fname,n)
if cn=='.'|cn=='/'|cn=='\' then break,end
n=n-1
end
if n==0 then
ext=emptystr()
elseif cn=='/'|cn=='\' then
ext=emptystr()
n=l
else
ext=part(fname,n+1:l)
n=n-1
end... |
a3700f15c2daac952510dd831e23ebe883c924ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH8/EX8.15/Example8_15.sce | e7f8a70ecd46cb1ec5a3b250a1cd41d416afa7f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | Example8_15.sce | //chapter8,Example8_15,pg 209
lam=5893*10^-8
grat=2.54/2540//converting into cm
//(a+b)=grat
//(a+b)sin(theta)=n*lam
//n=nmax, if sin(theta)=1
nmax=(grat/lam)
printf("maximum order\n")
printf("nmax=%.2f ",nmax)
printf("so maximum order=16\n")
|
2eec9ce982a8042fe234252f878154a673598631 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH18/EX18.10/Ex18_10.sce | f4302600af21ba346abfde328a28b1a5690d5f6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,073 | sce | Ex18_10.sce | //Variable declaration:
T1 = 2000 //Hot gas temperature ( F)
T2 = 550 //Cool gas temperature ( F)
T3 = 330 //Steam temperature ( F)
T4 = 140 //Water temperature ( F)
m = 30000 //Mass flow rate of steam (lb/h... |
e5d47081040050088e6d43fe931cccfd9df37725 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH3/EX3.4/Example3_4.sce | b2dff7a1454d2ebe5c0bc1e4de73943b44181b3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | Example3_4.sce | clear;
clc;
// Example: 3.4
// Page: 90
printf("Example: 3.4 - Page: 90\n\n");
// Solution
//*****Data*****//
T1 = 450 + 273;// [K]
P1 = 3;// [bar]
//***************//
// Soluton(a)
// From Fig. 3.7, (Page 90)
// Since the weight remains the same, therefore, the final pressure is equal to the init... |
dfcc345de58b8903214e00f3a88929c57b1b7abb | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.6/4_6.sce | d9cb015546cdbb9be8d23abeddbd3712bdb1fcd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 4_6.sce | Z1=complex(10,15)
Z2=complex(6,-8)
I=complex(15,0)
I1=I*Z2/(Z1+Z2)
I2=I*Z1/(Z1+Z2)
phase=[atan(imag(I1)/real(I1));atan(imag(I2)/real(I2))]
disp(phase*180/%pi)
V=I1*Z1
disp(180/%pi*atan(imag(V)/real(V))) |
9a348b0ff02bf29b1e3afa5b662d66bba6aee054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH11/EX11.8/a_8.sce | d8ebbf63edcee48243ccef5bdddfa85fcdc8a3d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | a_8.sce | clc;
disp("Example A.8")
Re=90000
f1=0.3313/((log(5.74/(Re^0.9)))^2)
f2=0.079/(Re^0.25)
if((f1-f2)<0.001) then
disp("Excellent agreement in friction factor is seen")
end
|
822460b0bd3a8bcfac066f57e564ebd19674f586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.7/ex1_7.sce | 30308290d86574f93c02890a8e3acbc7cebcf3a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | ex1_7.sce | // Exa 1.7
clc;
clear;
close;
format('v',9)
// Given data
R = 1;// in k ohm
R = R * 10^3;// in ohm
L = 400;// in µm
L = L * 10^-6;// in m
W = 20;// in µm
W = W * 10^-6;// in m
a = L*W;// in m^2
l = 4;// in mm
l = l * 10^-3;// in m
rho_i = (R*a)/l;// in ohm-m
sigma_i = 1/rho_i;// in S/m
e = 1.6*10^-19;/... |
253b644db730d15b6351999bb8748a764dffadf1 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/CylFlow_MovBody.tst | 87014703e1cd967942bd81b48d5cd39829dd7d16 | [
"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 | 1,011 | tst | CylFlow_MovBody.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D flexible cylinder flow simulation using "MovingBody" module</description>
<executable>IncNavierStokesSolver</executable>
<parameters>CylFlow_MovBody.xml</parameters>
<files>
<file description="Session File">CylFlow_MovBody.xml</file>
... |
35bb44b06b074a3bb4fdf8aad4336ebabc9e2ea6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.41/Chapter3_Exampl41.sce | 60fd69fb07fa72bebfbf727e922cfc84f7b2a3e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,758 | sce | Chapter3_Exampl41.sce | clc
clear
//INPUT DATA
cp=1.005;//specific pressure
R=0.287;//gas constant
g=1.4;//constant
t1=303;//temperature in K
t3=1073;//temperature in K in case I
t5=1123;//temperature in K
Rp=4;//pressure ratio
p1=1;//atmospheric pressure in bar
p2=4;//exit pressure in bar
//CALCULATIONS
//case 1
t2=t1*(Rp^(... |
8adcbe8c6401cd3b5c9b302613ef587b495ef9b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH3/EX3.1/ex_3_1.sce | 8e0a214147514512506cabee0782d2f58be423c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | ex_3_1.sce | //Example 3.1 // range of propagation constants and maximum no. of modes
clc;
clear;
close;
format('v',9)
n1=1.5;//core refractive index
n2=1.49;//cladding refrative index
t=9.83;//thickness of guided layer in micro meter
h=0.85;//wavelength in µm
b1=((2*%pi*n1)/(h*10^-6));//phase propagation constant in m^-1
b2=((2*%p... |
5b27db7204fedc4fac6b63c08d57a03477751725 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.25/EX25.sce | 2284531b35bdb218d2dc742a6d5cbe7efec29112 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | EX25.sce | // Example 3.25: (a) Output voltage waveform
// (b) Transfer curve
clc, clear
t=[0:0.001:12];
vin=15*sin(2*%pi*t/12); // Input voltage in volts
// From Fig. 3.56(a)
// Sketching of output voltage waveform
for i=1:length(vin)
if vin(i)<16/3 then
// D1 OFF and D2 ON
I2=(10-3)/(... |
47446edee2c603bed5ead80f001bd6cbd6e5065c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH1/EX1.3/Ex1_3.sce | 3009f62d7d070c00e85742a951c04b8a5b203e38 | [] | 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 | 522 | sce | Ex1_3.sce | errcatch(-1,"stop");mode(2);//Caption:Find number of turns per limb on the (a) high voltage and (b) low voltage sides
//Exa:1.3
;
;
A=0.0386//cross sectional area of core(in m^2)
B=1//maximum flux density (in weber/m^2)
f=50//frequency (in hertz)
V_1=3300//voltage on primary side (in volt)
V_2=240//voltage on... |
aeaff89a13fb19e8db6ba4a290517dfef2d509e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/adamsbashforth3.sci | dfc65961f480d72ca63add8465c8fdf311eeaf6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sci | adamsbashforth3.sci | function [u,t] = adamsbashforth3(u0,t0,tn,h,f)
//adamsbashforth3 3rd order method solving ODE
// du/dt = f(u,t), with initial
//conditions u=u0 at t=t0. The
//solution is obtained for t = [t0:h:tn]
//and returned in u
umaxAllowed = 1e+100;
t = [t0:h:tn]; u = zeros(t); n = length(u); u(1) = u0;
for j =... |
d2167aab00926f59d6acb3d8f1ad82332071e836 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.15/6_15.sce | 58541bb06d78c993b5fabb4944d7951289f7d59e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 6_15.sce | clc
//initialisation
l1=23*10^-6
l0=19*10^-6
d=0.1785
p=10^5//n
//CALCULATIONS
df=(l1-l0)*sqrt(3/(p*d))/0.4
//results
printf(' difference in mean free path= % 1e m',df)
|
718a90efbe14ef402dee8cd7a0470cb823aaf9be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH12/EX12.3/Ex12_3.sce | 8a8fe9eca22d65bd7ac5d441cedd6188a3b21a51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex12_3.sce |
clc
//initialisation of variables
p=5//tons
q=200//ft
t1=20//F
t2=60//F
s=0.01468//Btu per lb
g=80.49//ft
f=67.94//ft
h=21.57//Btu per lb
h1=84.82//ft
d=42.4//tons
v=1.121//ft
v2=1.1097//ft per min
//CALCULATIONS
H=g-s*f//Btu per lb
H1=(p*q)/(H-h)//lb per min
H2=H1*(h1-H)//Btu per min
G=H2/d//hp
Cv=... |
95386165a61bc3817cad7b7a7fcb14d6f4a7a632 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3480/CH3/EX3.3/Ex3_3.sce | 54d37291d528c79df4db995dc099e06d63cb0cd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex3_3.sce | //Example 3.3, page 77
clc
n=1
n1=1.5
r=10//in cm
s=40//in cm
p=(n1-n)/.1
v1=n/.4
s1=n1/v1
printf("\n The power of image is %dD",p)
printf("\n The image distance is %f m",s1) |
0a83811a24cd3ea038a477b9f1829bde2b77bcd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH11/EX11.22/11_22.sce | edc6a46d970e32bc8a07ef7a25ab48c6a4829bbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | 11_22.sce | clc
//Initialization of variables
T=77+460 //R
x1=0.21
x2=1-x1
G=-169557 //Btu/mole
n1=1
n2=3.76
R0=1.986
v=0.0885
pi=14.7
J=778
//calculations
dg1=-n1*R0*T*log(x1)
dg2=-n2*R0*T*log(x2)
dg=dg1+dg2
dG=dg+G
W=-dG
W2=-G
p=0.0004 //atm
G1=-n1*R0*T*log(1/p)
W3= -(dg1+G+G1)
dgf=v*pi*144/J
//results
pr... |
31ccb2f1ec042897aeb1fb72c1e71a7c89e1e979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH10/EX10.4/Example10_4.sce | 22b950dec99b096c618ca10e6e9ecd78696137c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | Example10_4.sce | //clear//
//Example10.4:Z-transform of sine signal
syms n z;
Wo =%pi/4;
a = (0.33)^n;
x1=%e^(sqrt(-1)*Wo*n);
X1=symsum(a*x1*(z^(-n)),n,0,%inf)
x2=%e^(-sqrt(-1)*Wo*n)
X2=symsum(a*x2*(z^(-n)),n,0,%inf)
X =(1/(2*sqrt(-1)))*(X1-X2)
disp(X,"ans=")
|
86930b983a244a6c33d23d3f920fd8030372fd24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH10/EX10.1/Chap10_Ex1.sce | 95be23a0e7d80d162a89ac290aa3532a0a4824c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,255 | sce | Chap10_Ex1.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-10, Example 1, Page 253
//Title: Estimate Interchange Coefficients in Bubbling Beds
//==========================================================================================================
clea... |
15eb37ff7e58cf1aceea3f223ef61144b42138f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.17/Example7_17.sce | 4720ff7173c9fbf3609c9010c0426b28eacf6939 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 929 | sce | Example7_17.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.17 Page No:128
/// Find bernoulli's equation for discharge
//input data
//refer figure 12
clc;
clear;
Q1=0.04; //Water flows at rate in m**2/s
DA=0.22; //Pipe diameter at section A in m
DB=0.12; //Pipe diameter at section B in m
PA... |
3b6a7d48b6f4449d1204f05e19156354029850a3 | 46e52b7010c1dc6beb86c615f0d59494c00e6554 | /tp3/src/tests/test4.tst | cc9a3582f751d387cc8980b960d67f570724203a | [] | no_license | impronunciable/so2015 | 22bd1cf0831c29d091a3f94bc36342ebb51b7aed | 8bdabf28dc17ca4c92a264036c0fbe9c31430de3 | refs/heads/master | 2020-04-14T12:25:47.123488 | 2015-11-10T22:00:51 | 2015-11-10T22:00:51 | 41,392,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | tst | test4.tst | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccccccccccc
dddddddddddddddddddddddddddddddddddddddd
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccccccccccc
dddddddddddddddddddddddddddddddddddddddd
ccccccccccccccccccccccccccccccccc... |
a4b52d41286f778f8e7bcfd8cfbc8bc262a731da | 717ddeb7e700373742c617a95e25a2376565112c | /116/CH7/EX7.2/exa7_2.sce | 26ef7ae208cd87bedf9f2a4d9c6e78747f94ee51 | [] | 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 | 536 | sce | exa7_2.sce |
//Caption:Program to determine relative accuracy of maintaining a mutual slip rate ojective of one slip in 20hrs
//Example 7.2
//Page 350
disp('The slip rate objective implies that thee frame rate produced by one clock can be different than the frame rate produced by the other clock by no more then')
d... |
cfde35e892b3483cdcb369c30db8f8447a4195a0 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex11.sci | e6cd3a03d163209d6e5ee8012247b7ba518861b2 | [] | 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 | 224 | sci | ex11.sci | clf
clear
function[y]=f11(t,u)
y(1)=u(2);
y(2)=g-(r/m)*u(2);
endfunction
global g;
global m;
global r;
m=1;g=9.8;r=0.1;
N=101;
t=linspace(0,5,N);
y=ode([-100;-100],0,t,f11);
comet(t,y(1,:))
plot2d(t,y(1,:),5)
|
b84245cd812f8c9e04d576862d5910cf10cb9a43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.13/Ex9_13.sce | 20fa3a420a5434692521c1b951ad8dd5b574f81b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Ex9_13.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 316
clear;
clc;
//Given
fT=150D6;//transition frequency in hertz
Gv_mid=25;//midband voltage gain
//Solution
BW=fT/Gv_mid;//bandwidth in hertz
printf("BW = %.f MHz",BW/10^6);
|
808b2baa64377e99140ca265a1a4317b43591325 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.7.a/ex_9_7_a.sce | 054f3a17ae15c1d68dbcf3956b6d6ebe4b6967df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | ex_9_7_a.sce | //Example 9.7.a //find ampere-hour efficiency
clc;
clear;
close;
I=30;// in amperes
t=6;// in hours
Vt=2;// terminal voltage
Ic=40;// in amperes
tc=5;// in hours
Vc=2.5;// in volts
Aho=I*t;// ampere hour output of the battery
Ahi=Ic*tc;// ampere hour input of the battery
nAh=(Aho/Ahi)*100;// ampere hour efficiency
disp... |
f3bfd9612658edb9da29070a414997c3f3cdcedf | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/2. Automated_server_script/main.sci | 228b5944e10a7f04e4565237cd0f31c9f6440110 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sci | main.sci | // Macro to run machine learning models -- Scilab
pyImport pickle;
py = pyBuiltin();
pyImport numpy;
pyImport os.path
os = os.path;
pyImport time
function status = machineLearn(modelName, data)
if(strcmp(modelName, 'linear_regression') == 0)
fprintfMat('dataMat', data)
txt = mgetl('../python_local.py')
mai... |
75cb960f8c0d5072e767897ea9b6cb84560c9a29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH10/EX10.3.a/Example10_3_a.sce | 94012ab5ed2d2fbf4e397b5f2fef2ed7d96eb33c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Example10_3_a.sce | //Example 10.3(a)
//Program to Determine the Second, Third & Fourth Harmonic Distortions
clear;
clc ;
close ;
//Given Circuit Data
//io=15*sin(600*t)+1.5*sin(1200*t)+1.2*sin(1800*t)+0.5*sin(2400*t)
I1=15;
I2=1.5;
I3=1.2;
I4=0.5;
//Calculation
D2=(I2/I1)*100;
D3=(I3/I1)*100;
D4=(I4/I1)*100;
//Displaying ... |
3ea426603177cb8b1ebb09468d2405f476124ab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH3/EX3.18/Ex3_18.sce | efa6f18cb35ef61119682b724debafc49fd219c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | Ex3_18.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 101 and 102
clear;
clc;
//Given Data
Vin=20;//supply input voltage in volts
Vz=9.1;//zener breakdown voltage in volts
Pmax=400D-3;//diode maximum power dissipation in watts
Izmin=5;//minimum current for d... |
838e003c0478d61b3647a4d8cdfe840d01ee5069 | aabc784ad4384696dcb99763a32c603be176d52e | /intdump/ex_intdump.sce | 9a3cbbee0fd49e0d2140e2b4c85a037128bfdc93 | [] | no_license | senthilkumarIRTT/ScilabCommunication | d86ed9be85aba09c74794d858decd76a39aa6ef0 | 95de422e6d0075f6e1e3f40a2afb9a8bc45a3b0c | refs/heads/master | 2020-12-26T02:59:42.678982 | 2015-09-23T17:07:26 | 2015-09-23T17:07:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | ex_intdump.sce | //Written by Maitreyee Mordekar, FOSSEE, IIT Bombay.
nSamp=4;
in=[1:3;2:4;3:5;0:2];
disp("The input sequence is=")
disp(in)
out=intdump(in, nSamp);
disp("The integrate and dump output is=")
disp(out) |
8953292d116561f2e0495192558499af6cd76cbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH19/EX19.3/Ex19_3.sce | 2906083e6123e8c3aa9a1dca9744d6cf762316b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex19_3.sce | clc
clear
//Initalization of variables
eff=0.97
c1=94.9 //Btu/lb
c2=138.8 //Btu/lb
ntee=246 //Btu/lb
//calculations
cwork=c1/eff
twork=c2*eff
net=twork-cwork
etat=net/ntee *100
//results
printf("Compressor work = %.1f Btu/lb",cwork)
printf("\n Turbine work = %.1f Btu/lb",twork)
printf("\n Net work = %.1f... |
6b1b0776bfea59119fc4d92b60633b2c8ade800a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_13.tst | 1fa3ba9f2f6865a04b028ba1fb95739a3a079269 | [] | 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 | 4,404 | tst | bow.15_13.tst | 15 15:1.0 17:1.0 19:0.4 35:0.07407407407407407 37:0.3333333333333333 63:0.3333333333333333 109:1.0 220:2.0 227:1.0 247:1.0 392:1.0
15 4:0.05555555555555555 37:0.3333333333333333 50:1.0 68:1.0 85:0.16666666666666666 89:0.5 147:0.5 668:1.0 893:1.0 999:1.0 1061:1.0
15 4:0.05555555555555555 12:0.2857142857142857 15:4.0 37:... |
3b83c29572cc4c8a73649216a3b948b0aee95be9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH19/EX19.5/19_5.sce | bb9238806aaaf9ff170900e4eba86c0b93cf8feb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | 19_5.sce | //Car going around a curve
//refer fig. 19.9
v=26.667 //m/sec
F=20*(((26.667^2)/(9.81*60))-sind(30)) //kN
//Taking moment about point of contact of outer wheel with road surface, we get
R1=20*(((0.8*sind(30))/(1.6))+((cosd(30))/(2))+((26.667^2)/(9.81*60))*(((sind(30))/(2))-((0.8*cosd(30))/(1.6)))) //kN
//Takin... |
47555f87b6bdb02a4aec0ccede32777aee210ae8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH11/EX11.11/Ex11_11.sce | ba17c5e84d74e2cf898a5eee11d755d1df95040c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,830 | sce | Ex11_11.sce | clear
//
P = 200.0 //K The force on the beam
L = 15 //ft - The length of the rod
F_y = 50.0 //ksi
F_a = F_y/(5.0/3) //ksi -AISC MANUAL ,allowable axial stress if axial force is alone
F_b = F_a //Allowable compressive bending stress
M_1 = 600.0 //k-in - The moment acting on the ends of the r... |
600e6aaf43ea17af6575843f8485d82f513c708f | e403de2515866ca491d918150e6474ed3c975655 | /nand2tetris/projects/Parralel Shift Register/shiftRegister.tst | 90977e2f0fc733bb5dacc86715de78eb752c9b56 | [] | no_license | rajat2004/Computer-Systems-Design | 1afb3f662f1d6f1f6f14c30b9246a2bf5e268377 | 5fb630bc249666b7ede397677c567d61807bc738 | refs/heads/master | 2020-03-29T10:09:13.779801 | 2018-10-31T20:03:08 | 2018-10-31T20:03:08 | 149,791,645 | 0 | 0 | null | 2018-10-31T20:03:11 | 2018-09-21T16:46:42 | Scilab | UTF-8 | Scilab | false | false | 507 | tst | shiftRegister.tst | load shiftRegister.hdl,
output-file shiftRegister.out,
// compare-to shiftRegister.cmp,
output-list time%S1.4.1 in%B1.8.1 siL%B2.1.2 siR%B2.1.2 Shift%B2.1.2 Load%B2.1.2 out%B1.8.1 soR%B2.1.2 soL%B2.1.2;
set in 42,
set siL 0,
set siR 0,
set Shift 0,
set Load 0,
tick,
output;
tock,
output;
set Load 1,
tick,
output;
... |
7b1eaf14b686fb449bc13af9879a6768258f139a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3877/CH1/EX1.4/Ex1_4.sce | 95be3b42877a27175eb0aa4403fdb859d3808d3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_4.sce | //Given
N = 11 //The number of total links
L = 4//The number of loops
//calculation
P1= (N+L-1)//The enumber of joints or pairs
F = 3*(N-1)-(2*P1)//The number of degrees of freedom
//Result
clc
printf('The total number of links is %f \n',N)
printf(' The number of joints is %f \n',P1)
printf(' The nu... |
87aa0727988fbe67ac3f84de2eb2e67da8d69f43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH5/EX5.3/Ex5_3.sce | e381bb118d129e18c376b07a2e7fba194c01a588 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sce | Ex5_3.sce | //Caption:Find the (a)induced emf in the armature winding (b)induced emf per coil (c)induced emf per turn (d)induced emf per conductor
//Ex:5.3
clc;
clear;
close;
C=24;//no. of coils
N_c=18;//no. of turns per coil
P=2;//no. of pole
W_m=183.2;//angular velocity(in rad/sec)
Z=2*C*N_c;//total armature conductors
... |
d757e7f97d60a5704c265f66bca65e2e07a67e88 | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/brack_command_5.tst | 60dd90152ce93ecd0daab1504f5cb9d418edb610 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | tst | brack_command_5.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
{ echo melanie; echo adolphie; echo melanie; echo adolphie; } ; { echo melanie; echo adolphie; echo melanie; echo adolphie; }
</stdin> |
a8e6e3cd389f19b888252ef8cc0e6bec319f618d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH8/EX8.3/Ex8_3.sce | 978874ec5b7e6e6f974cc2a9eb560e156bcf7f0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | Ex8_3.sce | //Example 8_3
clc();
clear;
//To find out how long does it take to accelerate and how far does wheel turn in this time and the rotational kinetic energy
force=8 //units in Newtons
arm=0.25 //units in meters
tou=force*arm //units in Newton meter
m=80 //units in Kg
b=arm //units in meters
I=0.5*m*b^2... |
2ade2d16a48821549f68516cd9558053b44e0801 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/TX40CDR/ATWM1_Working_Memory_MRI_TX40CDR/ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | a22cde822c73d0b182d7439891f1eff8ff8b38bd | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,442 | sce | ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_salient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = fa... |
335f0f87ed50bc0450720e30916366b17b17c2e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH8/EX8.4/ex_4.sce | 4314b66132f45393995ebb4163e22b6970400965 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4.sce | // Chapter 8_Metal Semiconductor and Semiconductor heterojunctions
//Caption_Current voltage relationship
//Ex_4/page 318
phi_bn=0.67 //barrier height
Jst=6*10^-5 //reverse saturation current density
T=300
e=1.6*10^-19
A=Jst/(T^2)*exp(phi_bn/0.0259)
printf('The effective Richardson constant is %1.0f A/K^2... |
47f45ef972a745a919156dce4a0654fafc0ac710 | 817f2178b7e89c26c650444100ebeb803301f493 | /fuzzy/Faz_operacao_fuzzy.txt | d66420406c581a53a374dfb5509a4469271d064a | [] | no_license | neiva098/AI---Lab | 3151a448dabf27762c7fc2ec2ac90ef1cd1a43a0 | e6b891f4a9562ca489fca4d62d1691c04b810c0d | refs/heads/main | 2023-05-28T21:44:14.817617 | 2021-06-13T20:48:18 | 2021-06-13T20:48:18 | 373,568,786 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | txt | Faz_operacao_fuzzy.txt | close;
clear;
clc;
x=linspace(0,1,100)';
mf_value=min(0.3, trimf(x,[0 0.2 0.4]));
plot2d(x,mf_value);
mf_value1=min(0.5, trimf(x,[0.3 0.6 0.9]));
plot2d(x,mf_value1);
figure(1);
mf_valuef=max(mf_value, mf_value1);
plot2d(x,mf_valuef);
y_centroide=defuzzm(x,mf_valuef,"centroide")
y_bisector=defuzzm(x,mf_valuef,"bis... |
e47b98d15fad127ffe278b982784c97db436fef4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH1/EX1.13/Chapter1_Example13.sce | 4ee46d1b1f66b51a7aa9267565b16c39c0611c7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,816 | sce | Chapter1_Example13.sce | clc
clear
//INPUT DATA
N=450;//speed in rpm
cv=44000;//calorific value in kJ/kg
T=450;//torque required
pmi=3;//mean effective pressure in bar
L=0.27;//stroke in m
d=0.22;//bore in m
pa=1.014;//atm.pressure
nc=1;//number of cylinders
n=1;//for single cylinder
mf=5.4;//mass flow rate in kg/hr
ra=1.20584;//d... |
f8ee6881c25e0da11e70496fd1800e05a6a1e454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH3/EX3.10/10.sce | e8f138d43ac153f6bd4f2fc12c722df26f0cfbb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | 10.sce |
//Variable declaration
lamda=1.54; //wavelength(angstrom)
h=1;
k=1;
l=1;
n=1;
theta=19.2; //angle(degrees)
//Calculation
theta=theta*%pi/180; //angle(radian)
d=n*lamda/(2*sin(theta));
a=d*sqrt(h**2+k**2+l**2); //cube edge of unit cell(angstrom)
//Result
printf('cube edge of unit cel... |
36cee04eeb49b27f7349c3d97f6398d30d0bd42d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.23/ex1_23.sce | bbe0ec3eaf0e8e6244da26999a4c75fbee526a25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | ex1_23.sce | // Exa 1.23
clc;
clear;
close;
// Given data
V_S = 5;// in V
V2 = 3;// in V
R = 500;// in ohm
I_D2 = (V_S-V2)/R;// in A
I_D2 = I_D2 * 10^3;// in mA
disp(I_D2,"The diode current in mA is");
|
02d5cc9765f78d38a00568812ce88b1a7d4cfb4c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_fscanf.sci | 44d1cfe8dc87fc781f3474d09c3529241af93fbf | [
"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 | 356 | sci | sci_fscanf.sci | function [stk,txt,top]=sci_fscanf()
// Copyright INRIA
txt=[]
RHS=[]
nam='mtlb_fscanf'
for k=1:rhs
RHS=[stk(top)(1),RHS]
top=top-1
end
top=top+1
if lhs==1 then
stk=list(nam+rhsargs(RHS),'0','?','?','1')
else
stk=list()
stk(1)=list(nam+rhsargs(RHS),'-1','?','?','1')
if lhs>=2 then
stk(2)=list(nam+rhsarg... |
9eb05e3cd8a1450b01199ed4d307258d53550005 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%r_d_r.sci | 3b91a545c34c6fd74be90cb21fde2e750e5c42e5 | [
"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 | 174 | sci | %r_d_r.sci | function f=%r_d_r(s1,s2)
// f=s1./s2
//!
// Copyright INRIA
[s1,s2]=sysconv(s1,s2)
[num,den]=simp(s1(2).*s2(3),s1(3).*s2(2))
f=tlist(['r','num','den','dt'],num,den,s1(4))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.